From f63e318ca39f2ecc6546fba69994456815727578 Mon Sep 17 00:00:00 2001 From: Ben Karl <5302342+BenRKarl@users.noreply.github.com> Date: Wed, 15 Jul 2020 10:17:12 -0400 Subject: [PATCH] Changes for release v4_0 and Deprecation of v1_0. (#290) --- ChangeLog | 6 + .../account_management/create_customer.py | 4 +- .../account_management/get_account_changes.py | 6 +- .../get_account_information.py | 2 +- .../link_manager_to_client.py | 12 +- .../list_accessible_customers.py | 2 +- .../add_ad_group_bid_modifier.py | 6 +- .../advanced_operations/add_app_campaign.py | 50 +- .../add_dynamic_page_feed.py | 36 +- .../add_dynamic_search_ads.py | 38 +- ...add_expanded_text_ad_with_upgraded_urls.py | 8 +- examples/advanced_operations/add_gmail_ad.py | 41 +- examples/advanced_operations/add_sitelink.py | 4 +- .../add_smart_display_ad.py | 32 +- .../create_and_attach_shared_keyword_set.py | 18 +- ...ind_and_remove_criteria_from_shared_set.py | 10 +- .../get_ad_group_bid_modifiers.py | 4 +- .../use_portfolio_bidding_strategy.py | 14 +- examples/basic_operations/add_ad_groups.py | 10 +- examples/basic_operations/add_campaigns.py | 10 +- .../basic_operations/add_expanded_text_ads.py | 8 +- examples/basic_operations/add_keywords.py | 39 +- .../add_responsive_search_ad.py | 12 +- examples/basic_operations/get_ad_groups.py | 2 +- .../basic_operations/get_artifact_metadata.py | 2 +- examples/basic_operations/get_campaigns.py | 2 +- .../basic_operations/get_expanded_text_ads.py | 4 +- examples/basic_operations/get_keywords.py | 2 +- .../get_responsive_search_ads.py | 6 +- examples/basic_operations/pause_ad.py | 6 +- examples/basic_operations/remove_ad.py | 4 +- examples/basic_operations/remove_ad_group.py | 4 +- examples/basic_operations/remove_campaign.py | 4 +- examples/basic_operations/remove_keyword.py | 27 +- examples/basic_operations/update_ad_group.py | 34 +- examples/basic_operations/update_campaign.py | 6 +- .../update_expanded_text_ad.py | 4 +- examples/basic_operations/update_keyword.py | 6 +- .../billing/add_account_budget_proposal.py | 6 +- .../billing/get_account_budget_proposals.py | 2 +- examples/billing/get_account_budgets.py | 4 +- examples/billing/get_billing_setup.py | 4 +- examples/billing/remove_billing_setup.py | 4 +- .../add_campaign_bid_modifier.py | 6 +- .../campaign_management/add_campaign_draft.py | 4 +- .../add_campaign_labels.py | 8 +- ...add_complete_campaigns_using_batch_job.py} | 151 +- .../create_campaign_experiment.py | 58 +- .../get_all_disapproved_ads.py | 4 +- .../get_campaigns_by_label.py | 2 +- .../campaign_management/set_ad_parameters.py | 8 +- .../update_campaign_criterion_bid_modifier.py | 12 +- .../campaign_management/validate_text_ad.py | 10 +- .../error_handling/handle_partial_failure.py | 12 +- examples/extensions/add_prices.py | 18 +- examples/extensions/add_sitelinks.py | 20 +- examples/hotel_ads/add_hotel_ad.py | 26 +- .../add_hotel_ad_group_bid_modifiers.py | 10 +- ...ate_complete_campaign_both_apis_phase_1.py | 14 +- ...ate_complete_campaign_both_apis_phase_2.py | 32 +- ...ate_complete_campaign_both_apis_phase_3.py | 50 +- ...ate_complete_campaign_both_apis_phase_4.py | 66 +- ...e_complete_campaign_google_ads_api_only.py | 82 +- examples/misc/get_all_image_assets.py | 2 +- examples/misc/get_all_videos_and_images.py | 4 +- examples/misc/upload_image.py | 6 +- examples/misc/upload_image_asset.py | 6 +- examples/misc/upload_media_bundle.py | 6 +- examples/planning/add_keyword_plan.py | 152 +- examples/planning/forecast_reach.py | 51 +- examples/planning/generate_keyword_ideas.py | 77 +- .../recommendations/apply_recommendation.py | 2 +- .../get_text_ad_recommendations.py | 2 +- examples/remarketing/add_conversion_action.py | 4 +- .../remarketing/add_remarketing_action.py | 10 +- .../upload_conversion_adjustment.py | 6 +- .../remarketing/upload_offline_conversion.py | 6 +- .../reporting/get_hotel_ads_performance.py | 2 +- examples/reporting/get_keyword_stats.py | 4 +- examples/shopping_ads/add_listing_scope.py | 10 +- .../add_shopping_product_ad.py | 28 +- .../get_product_bidding_category_constant.py | 2 +- .../add_campaign_targeting_criteria.py | 53 +- .../add_demographic_targeting_criteria.py | 8 +- .../get_campaign_targeting_criteria.py | 4 +- .../get_geo_target_constants_by_names.py | 8 +- google/ads/google_ads/__init__.py | 2 +- google/ads/google_ads/client.py | 2 +- google/ads/google_ads/v1/__init__.py | 1525 -------- .../proto/common/keyword_plan_common_pb2.py | 94 - .../v1/proto/common/targeting_setting_pb2.py | 151 - .../enums/conversion_action_category_pb2.py | 118 - .../proto/enums/conversion_action_type_pb2.py | 125 - .../v1/proto/enums/mutate_job_status_pb2.py | 105 - .../page_one_promoted_strategy_goal_pb2.py | 102 - .../errors/keyword_plan_keyword_error_pb2.py | 118 - ...keyword_plan_negative_keyword_error_pb2.py | 94 - .../v1/proto/errors/mutate_job_error_pb2.py | 113 - .../proto/resources/ad_group_ad_label_pb2.py | 104 - .../v1/proto/resources/ad_group_ad_pb2.py | 209 -- .../resources/ad_group_audience_view_pb2.py | 86 - .../resources/ad_group_criterion_label_pb2.py | 105 - .../ad_group_criterion_simulation_pb2.py | 173 - .../ad_group_extension_setting_pb2.py | 132 - .../v1/proto/resources/ad_group_feed_pb2.py | 140 - .../v1/proto/resources/ad_group_label_pb2.py | 104 - .../resources/ad_group_simulation_pb2.py | 190 - .../proto/resources/ad_schedule_view_pb2.py | 84 - .../v1/proto/resources/age_range_view_pb2.py | 83 - .../v1/proto/resources/asset_pb2.py | 173 - .../resources/campaign_audience_view_pb2.py | 87 - .../resources/campaign_bid_modifier_pb2.py | 135 - .../campaign_criterion_simulation_pb2.py | 174 - .../v1/proto/resources/campaign_draft_pb2.py | 165 - .../campaign_extension_setting_pb2.py | 132 - .../v1/proto/resources/campaign_feed_pb2.py | 140 - .../v1/proto/resources/campaign_label_pb2.py | 104 - .../resources/campaign_shared_set_pb2.py | 122 - .../proto/resources/carrier_constant_pb2.py | 115 - .../v1/proto/resources/change_status_pb2.py | 219 -- .../v1/proto/resources/click_view_pb2.py | 129 - .../proto/resources/conversion_action_pb2.py | 388 -- .../v1/proto/resources/customer_client_pb2.py | 119 - .../customer_extension_setting_pb2.py | 119 - .../v1/proto/resources/customer_feed_pb2.py | 130 - .../v1/proto/resources/customer_label_pb2.py | 109 - .../resources/customer_manager_link_pb2.py | 115 - .../resources/detail_placement_view_pb2.py | 142 - .../resources/display_keyword_view_pb2.py | 83 - .../v1/proto/resources/domain_category_pb2.py | 177 - ...dynamic_search_ads_search_term_view_pb2.py | 129 - .../expanded_landing_page_view_pb2.py | 96 - .../proto/resources/feed_item_target_pb2.py | 202 -- .../resources/feed_placeholder_view_pb2.py | 94 - .../v1/proto/resources/gender_view_pb2.py | 83 - .../resources/geo_target_constant_pb2.py | 147 - .../v1/proto/resources/geographic_view_pb2.py | 110 - .../proto/resources/google_ads_field_pb2.py | 239 -- .../resources/group_placement_view_pb2.py | 129 - .../proto/resources/hotel_group_view_pb2.py | 83 - .../resources/hotel_performance_view_pb2.py | 83 - .../resources/keyword_plan_keyword_pb2.py | 137 - .../keyword_plan_negative_keyword_pb2.py | 128 - .../v1/proto/resources/keyword_view_pb2.py | 83 - .../v1/proto/resources/label_pb2.py | 127 - .../proto/resources/landing_page_view_pb2.py | 95 - .../proto/resources/language_constant_pb2.py | 125 - .../v1/proto/resources/location_view_pb2.py | 84 - .../resources/managed_placement_view_pb2.py | 83 - .../resources/merchant_center_link_pb2.py | 117 - .../mobile_app_category_constant_pb2.py | 104 - .../resources/mobile_device_constant_pb2.py | 135 - .../v1/proto/resources/mutate_job_pb2.py | 235 -- .../operating_system_version_constant_pb2.py | 141 - .../paid_organic_search_term_view_pb2.py | 97 - .../resources/parental_status_view_pb2.py | 83 - .../proto/resources/payments_account_pb2.py | 140 - .../product_bidding_category_constant_pb2.py | 160 - .../proto/resources/product_group_view_pb2.py | 83 - .../proto/resources/remarketing_action_pb2.py | 119 - .../proto/resources/search_term_view_pb2.py | 118 - .../v1/proto/resources/shared_set_pb2.py | 153 - .../shopping_performance_view_pb2.py | 87 - .../v1/proto/resources/topic_constant_pb2.py | 119 - .../v1/proto/resources/topic_view_pb2.py | 83 - .../v1/proto/resources/user_interest_pb2.py | 147 - .../v1/proto/resources/video_pb2.py | 123 - .../services/account_budget_service_pb2.py | 107 - .../ad_group_audience_view_service_pb2.py | 107 - ..._group_criterion_simulation_service_pb2.py | 108 - .../ad_group_simulation_service_pb2.py | 107 - .../services/ad_schedule_view_service_pb2.py | 107 - .../services/age_range_view_service_pb2.py | 107 - .../campaign_audience_view_service_pb2.py | 107 - ...mpaign_criterion_simulation_service_pb2.py | 108 - .../services/carrier_constant_service_pb2.py | 107 - .../services/change_status_service_pb2.py | 107 - .../proto/services/click_view_service_pb2.py | 107 - .../services/customer_client_service_pb2.py | 107 - .../customer_manager_link_service_pb2.py | 345 -- .../detail_placement_view_service_pb2.py | 107 - .../display_keyword_view_service_pb2.py | 107 - .../services/domain_category_service_pb2.py | 107 - ...search_ads_search_term_view_service_pb2.py | 108 - .../expanded_landing_page_view_service_pb2.py | 108 - .../feed_placeholder_view_service_pb2.py | 107 - .../proto/services/gender_view_service_pb2.py | 107 - .../services/geographic_view_service_pb2.py | 107 - .../group_placement_view_service_pb2.py | 107 - .../services/hotel_group_view_service_pb2.py | 107 - .../hotel_performance_view_service_pb2.py | 107 - .../keyword_plan_keyword_service_pb2.py | 406 --- .../keyword_plan_keyword_service_pb2_grpc.py | 69 - ...yword_plan_negative_keyword_service_pb2.py | 407 --- ..._plan_negative_keyword_service_pb2_grpc.py | 69 - .../services/keyword_view_service_pb2.py | 107 - .../services/landing_page_view_service_pb2.py | 108 - .../services/language_constant_service_pb2.py | 107 - .../services/location_view_service_pb2.py | 107 - .../managed_placement_view_service_pb2.py | 107 - ...obile_app_category_constant_service_pb2.py | 107 - .../mobile_device_constant_service_pb2.py | 107 - .../proto/services/mutate_job_service_pb2.py | 627 ---- .../services/mutate_job_service_pb2_grpc.py | 125 - ...ing_system_version_constant_service_pb2.py | 107 - ...id_organic_search_term_view_service_pb2.py | 108 - .../parental_status_view_service_pb2.py | 107 - ...t_bidding_category_constant_service_pb2.py | 107 - .../product_group_view_service_pb2.py | 107 - .../services/search_term_view_service_pb2.py | 107 - .../shopping_performance_view_service_pb2.py | 107 - .../services/topic_constant_service_pb2.py | 107 - .../proto/services/topic_view_service_pb2.py | 107 - .../services/user_interest_service_pb2.py | 107 - .../v1/proto/services/video_service_pb2.py | 107 - ...t_budget_proposal_service_client_config.py | 33 - .../account_budget_service_client_config.py | 28 - ...ad_group_ad_label_service_client_config.py | 33 - .../ad_group_ad_service_client_config.py | 33 - ...oup_audience_view_service_client_config.py | 28 - ...roup_bid_modifier_service_client_config.py | 33 - ...p_criterion_label_service_client_config.py | 33 - ...d_group_criterion_service_client_config.py | 33 - ...terion_simulation_service_client_config.py | 28 - ...extension_setting_service_client_config.py | 33 - .../ad_group_feed_service_client_config.py | 33 - .../ad_group_label_service_client_config.py | 33 - .../ad_group_service_client_config.py | 33 - ..._group_simulation_service_client_config.py | 28 - .../ad_parameter_service_client_config.py | 33 - .../ad_schedule_view_service_client_config.py | 28 - .../age_range_view_service_client_config.py | 28 - .../services/asset_service_client_config.py | 33 - .../bidding_strategy_service_client_config.py | 33 - .../billing_setup_service_client_config.py | 33 - ...ign_audience_view_service_client_config.py | 28 - ...aign_bid_modifier_service_client_config.py | 33 - .../campaign_budget_service_client_config.py | 33 - ...ampaign_criterion_service_client_config.py | 33 - ...terion_simulation_service_client_config.py | 29 - .../campaign_draft_service_client_config.py | 43 - ...mpaign_experiment_service_client_config.py | 58 - ...extension_setting_service_client_config.py | 33 - .../campaign_feed_service_client_config.py | 33 - .../campaign_label_service_client_config.py | 33 - .../campaign_service_client_config.py | 33 - ...mpaign_shared_set_service_client_config.py | 33 - .../carrier_constant_service_client_config.py | 28 - .../change_status_service_client_config.py | 28 - .../click_view_service_client_config.py | 28 - ...conversion_action_service_client_config.py | 33 - ...adjustment_upload_service_client_config.py | 28 - ...conversion_upload_service_client_config.py | 33 - .../custom_interest_service_client_config.py | 33 - ...tomer_client_link_service_client_config.py | 33 - .../customer_client_service_client_config.py | 28 - ...extension_setting_service_client_config.py | 33 - .../customer_feed_service_client_config.py | 33 - .../customer_label_service_client_config.py | 33 - ...omer_manager_link_service_client_config.py | 33 - ...egative_criterion_service_client_config.py | 33 - .../customer_service_client_config.py | 43 - ...il_placement_view_service_client_config.py | 28 - ...play_keyword_view_service_client_config.py | 28 - .../domain_category_service_client_config.py | 28 - ..._search_term_view_service_client_config.py | 29 - ...landing_page_view_service_client_config.py | 28 - ...tension_feed_item_service_client_config.py | 33 - .../feed_item_service_client_config.py | 33 - .../feed_item_target_service_client_config.py | 33 - .../feed_mapping_service_client_config.py | 33 - ..._placeholder_view_service_client_config.py | 28 - .../v1/services/feed_service_client_config.py | 33 - .../gender_view_service_client_config.py | 28 - ...o_target_constant_service_client_config.py | 33 - .../geographic_view_service_client_config.py | 28 - .../google_ads_field_service_client_config.py | 33 - .../google_ads_service_client_config.py | 33 - ...up_placement_view_service_client_config.py | 28 - .../hotel_group_view_service_client_config.py | 28 - ..._performance_view_service_client_config.py | 28 - ...ord_plan_ad_group_service_client_config.py | 33 - ...ord_plan_campaign_service_client_config.py | 33 - ...keyword_plan_idea_service_client_config.py | 28 - ...word_plan_keyword_service_client_config.py | 33 - ..._negative_keyword_service_client_config.py | 33 - .../keyword_plan_service_client_config.py | 43 - .../keyword_view_service_client_config.py | 28 - .../services/label_service_client_config.py | 33 - ...landing_page_view_service_client_config.py | 28 - ...language_constant_service_client_config.py | 28 - .../location_view_service_client_config.py | 28 - ...ed_placement_view_service_client_config.py | 28 - .../media_file_service_client_config.py | 33 - ...chant_center_link_service_client_config.py | 38 - ...category_constant_service_client_config.py | 28 - ...e_device_constant_service_client_config.py | 28 - .../mutate_job_service_client_config.py | 48 - ..._version_constant_service_client_config.py | 29 - ..._search_term_view_service_client_config.py | 28 - ...ental_status_view_service_client_config.py | 28 - .../payments_account_service_client_config.py | 28 - ...category_constant_service_client_config.py | 29 - ...roduct_group_view_service_client_config.py | 28 - .../recommendation_service_client_config.py | 38 - ...emarketing_action_service_client_config.py | 33 - .../search_term_view_service_client_config.py | 28 - .../shared_criterion_service_client_config.py | 33 - .../shared_set_service_client_config.py | 33 - ..._performance_view_service_client_config.py | 28 - .../topic_constant_service_client_config.py | 28 - .../topic_view_service_client_config.py | 28 - .../user_interest_service_client_config.py | 28 - .../user_list_service_client_config.py | 33 - .../services/video_service_client_config.py | 28 - google/ads/google_ads/v1/types.py | 1110 ------ google/ads/google_ads/v4/__init__.py | 296 ++ .../google_ads/{v1 => v4}/proto/__init__.py | 0 .../{v1 => v4}/proto/common/__init__.py | 0 .../{v1 => v4}/proto/common/ad_asset_pb2.py | 50 +- .../proto/common/ad_asset_pb2_grpc.py | 0 .../proto/common/ad_type_infos_pb2.py | 817 +++-- .../proto/common/ad_type_infos_pb2_grpc.py | 0 .../proto/common/asset_types_pb2.py | 103 +- .../proto/common/asset_types_pb2_grpc.py | 0 .../{v1 => v4}/proto/common/bidding_pb2.py | 392 +- .../proto/common/bidding_pb2_grpc.py | 0 .../proto/common/click_location_pb2.py | 26 +- .../proto/common/click_location_pb2_grpc.py | 0 .../{v1 => v4}/proto/common/criteria_pb2.py | 879 ++--- .../proto/common/criteria_pb2_grpc.py | 0 .../criterion_category_availability_pb2.py | 64 +- ...riterion_category_availability_pb2_grpc.py | 0 .../proto/common/custom_parameter_pb2.py | 20 +- .../proto/common/custom_parameter_pb2_grpc.py | 0 .../{v1 => v4}/proto/common/dates_pb2.py | 24 +- .../{v1 => v4}/proto/common/dates_pb2_grpc.py | 0 .../explorer_auto_optimizer_setting_pb2.py | 23 +- ...xplorer_auto_optimizer_setting_pb2_grpc.py | 0 .../{v1 => v4}/proto/common/extensions_pb2.py | 336 +- .../proto/common/extensions_pb2_grpc.py | 0 .../proto/common/feed_common_pb2.py | 20 +- .../proto/common/feed_common_pb2_grpc.py | 0 .../proto/common/final_app_url_pb2.py | 26 +- .../proto/common/final_app_url_pb2_grpc.py | 0 .../proto/common/frequency_cap_pb2.py | 48 +- .../proto/common/frequency_cap_pb2_grpc.py | 0 .../proto/common/keyword_plan_common_pb2.py | 214 ++ .../common/keyword_plan_common_pb2_grpc.py | 0 .../proto/common/matching_function_pb2.py | 115 +- .../common/matching_function_pb2_grpc.py | 0 .../{v1 => v4}/proto/common/metrics_pb2.py | 407 ++- .../proto/common/metrics_pb2_grpc.py | 0 .../v4/proto/common/offline_user_data_pb2.py | 718 ++++ .../common/offline_user_data_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/policy_pb2.py | 260 +- .../proto/common/policy_pb2_grpc.py} | 0 .../common/real_time_bidding_setting_pb2.py | 18 +- .../real_time_bidding_setting_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/segments_pb2.py | 301 +- .../proto/common/segments_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/simulation_pb2.py | 347 +- .../proto/common/simulation_pb2_grpc.py} | 0 .../proto/common/tag_snippet_pb2.py | 34 +- .../proto/common/tag_snippet_pb2_grpc.py} | 0 .../v4/proto/common/targeting_setting_pb2.py | 256 ++ .../common/targeting_setting_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/text_label_pb2.py | 20 +- .../proto/common/text_label_pb2_grpc.py} | 0 .../proto/common/url_collection_pb2.py | 24 +- .../proto/common/url_collection_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/user_lists_pb2.py | 244 +- .../proto/common/user_lists_pb2_grpc.py} | 0 .../{v1 => v4}/proto/common/value_pb2.py | 28 +- .../proto/common/value_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/__init__.py | 0 .../proto/enums/access_reason_pb2.py | 18 +- .../proto/enums/access_reason_pb2_grpc.py} | 0 .../v4/proto/enums/access_role_pb2.py | 105 + .../proto/enums/access_role_pb2_grpc.py} | 0 .../account_budget_proposal_status_pb2.py | 18 +- ...ccount_budget_proposal_status_pb2_grpc.py} | 0 .../enums/account_budget_proposal_type_pb2.py | 18 +- .../account_budget_proposal_type_pb2_grpc.py} | 0 .../proto/enums/account_budget_status_pb2.py | 18 +- .../enums/account_budget_status_pb2_grpc.py} | 0 .../v4/proto/enums/account_link_status_pb2.py | 101 + .../enums/account_link_status_pb2_grpc.py} | 0 .../ad_customizer_placeholder_field_pb2.py | 18 +- ..._customizer_placeholder_field_pb2_grpc.py} | 0 .../enums/ad_group_ad_rotation_mode_pb2.py | 18 +- .../ad_group_ad_rotation_mode_pb2_grpc.py} | 0 .../proto/enums/ad_group_ad_status_pb2.py | 18 +- .../enums/ad_group_ad_status_pb2_grpc.py} | 0 .../ad_group_criterion_approval_status_pb2.py | 18 +- ...oup_criterion_approval_status_pb2_grpc.py} | 0 .../enums/ad_group_criterion_status_pb2.py | 18 +- .../ad_group_criterion_status_pb2_grpc.py} | 0 .../proto/enums/ad_group_status_pb2.py | 18 +- .../proto/enums/ad_group_status_pb2_grpc.py} | 0 .../proto/enums/ad_group_type_pb2.py | 30 +- .../proto/enums/ad_group_type_pb2_grpc.py} | 0 .../proto/enums/ad_network_type_pb2.py | 18 +- .../proto/enums/ad_network_type_pb2_grpc.py} | 0 .../ad_serving_optimization_status_pb2.py | 18 +- ...d_serving_optimization_status_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/ad_strength_pb2.py | 18 +- .../proto/enums/ad_strength_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/ad_type_pb2.py | 58 +- .../proto/enums/ad_type_pb2_grpc.py} | 0 .../enums/advertising_channel_sub_type_pb2.py | 28 +- .../advertising_channel_sub_type_pb2_grpc.py} | 0 .../enums/advertising_channel_type_pb2.py | 30 +- .../advertising_channel_type_pb2_grpc.py} | 0 ...ate_location_feed_relationship_type_pb2.py | 18 +- ...cation_feed_relationship_type_pb2_grpc.py} | 0 ...ffiliate_location_placeholder_field_pb2.py | 18 +- ...te_location_placeholder_field_pb2_grpc.py} | 0 .../proto/enums/age_range_type_pb2.py | 18 +- .../proto/enums/age_range_type_pb2_grpc.py} | 0 .../proto/enums/app_campaign_app_store_pb2.py | 18 +- .../enums/app_campaign_app_store_pb2_grpc.py} | 0 ...campaign_bidding_strategy_goal_type_pb2.py | 18 +- ...gn_bidding_strategy_goal_type_pb2_grpc.py} | 0 .../proto/enums/app_payment_model_type_pb2.py | 18 +- .../enums/app_payment_model_type_pb2_grpc.py} | 0 .../proto/enums/app_placeholder_field_pb2.py | 18 +- .../enums/app_placeholder_field_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/app_store_pb2.py | 18 +- .../proto/enums/app_store_pb2_grpc.py} | 0 .../app_url_operating_system_type_pb2.py | 18 +- ...app_url_operating_system_type_pb2_grpc.py} | 0 .../v4/proto/enums/asset_field_type_pb2.py | 117 + .../proto/enums/asset_field_type_pb2_grpc.py} | 0 .../enums/asset_performance_label_pb2.py | 113 + .../asset_performance_label_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/asset_type_pb2.py | 30 +- .../proto/enums/asset_type_pb2_grpc.py} | 0 .../proto/enums/attribution_model_pb2.py | 18 +- .../enums/attribution_model_pb2_grpc.py} | 0 .../v4/proto/enums/batch_job_status_pb2.py | 105 + .../proto/enums/batch_job_status_pb2_grpc.py} | 0 .../proto/enums/bid_modifier_source_pb2.py | 18 +- .../enums/bid_modifier_source_pb2_grpc.py} | 0 .../proto/enums/bidding_source_pb2.py | 18 +- .../proto/enums/bidding_source_pb2_grpc.py} | 0 .../enums/bidding_strategy_status_pb2.py | 18 +- .../bidding_strategy_status_pb2_grpc.py} | 0 .../proto/enums/bidding_strategy_type_pb2.py | 18 +- .../enums/bidding_strategy_type_pb2_grpc.py} | 0 .../proto/enums/billing_setup_status_pb2.py | 18 +- .../enums/billing_setup_status_pb2_grpc.py} | 0 .../enums/brand_safety_suitability_pb2.py | 18 +- .../brand_safety_suitability_pb2_grpc.py} | 0 .../proto/enums/budget_delivery_method_pb2.py | 18 +- .../enums/budget_delivery_method_pb2_grpc.py} | 0 .../proto/enums/budget_period_pb2.py | 30 +- .../proto/enums/budget_period_pb2_grpc.py} | 0 .../proto/enums/budget_status_pb2.py | 18 +- .../proto/enums/budget_status_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/budget_type_pb2.py | 18 +- .../proto/enums/budget_type_pb2_grpc.py} | 0 .../call_conversion_reporting_state_pb2.py | 18 +- ...ll_conversion_reporting_state_pb2_grpc.py} | 0 .../proto/enums/call_placeholder_field_pb2.py | 18 +- .../enums/call_placeholder_field_pb2_grpc.py} | 0 .../enums/callout_placeholder_field_pb2.py | 18 +- .../callout_placeholder_field_pb2_grpc.py} | 0 .../enums/campaign_criterion_status_pb2.py | 18 +- .../campaign_criterion_status_pb2_grpc.py} | 0 .../proto/enums/campaign_draft_status_pb2.py | 18 +- .../enums/campaign_draft_status_pb2_grpc.py} | 0 .../enums/campaign_experiment_status_pb2.py | 18 +- .../campaign_experiment_status_pb2_grpc.py} | 0 ...paign_experiment_traffic_split_type_pb2.py | 18 +- ...experiment_traffic_split_type_pb2_grpc.py} | 0 .../enums/campaign_experiment_type_pb2.py | 18 +- .../campaign_experiment_type_pb2_grpc.py} | 0 .../enums/campaign_serving_status_pb2.py | 18 +- .../campaign_serving_status_pb2_grpc.py} | 0 .../enums/campaign_shared_set_status_pb2.py | 18 +- .../campaign_shared_set_status_pb2_grpc.py} | 0 .../proto/enums/campaign_status_pb2.py | 18 +- .../proto/enums/campaign_status_pb2_grpc.py} | 0 .../enums/change_status_operation_pb2.py | 18 +- .../change_status_operation_pb2_grpc.py} | 0 .../enums/change_status_resource_type_pb2.py | 18 +- .../change_status_resource_type_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/click_type_pb2.py | 18 +- .../proto/enums/click_type_pb2_grpc.py} | 0 .../proto/enums/content_label_type_pb2.py | 46 +- .../enums/content_label_type_pb2_grpc.py} | 0 .../enums/conversion_action_category_pb2.py | 174 + .../conversion_action_category_pb2_grpc.py} | 0 .../conversion_action_counting_type_pb2.py | 18 +- ...nversion_action_counting_type_pb2_grpc.py} | 0 .../enums/conversion_action_status_pb2.py | 18 +- .../conversion_action_status_pb2_grpc.py} | 0 .../proto/enums/conversion_action_type_pb2.py | 181 + .../enums/conversion_action_type_pb2_grpc.py} | 0 .../enums/conversion_adjustment_type_pb2.py | 18 +- .../conversion_adjustment_type_pb2_grpc.py} | 0 .../conversion_attribution_event_type_pb2.py | 18 +- ...ersion_attribution_event_type_pb2_grpc.py} | 0 .../proto/enums/conversion_lag_bucket_pb2.py | 18 +- .../enums/conversion_lag_bucket_pb2_grpc.py} | 0 ...conversion_or_adjustment_lag_bucket_pb2.py | 18 +- ...sion_or_adjustment_lag_bucket_pb2_grpc.py} | 0 ..._category_channel_availability_mode_pb2.py | 18 +- ...ory_channel_availability_mode_pb2_grpc.py} | 0 ...n_category_locale_availability_mode_pb2.py | 25 +- ...gory_locale_availability_mode_pb2_grpc.py} | 0 .../criterion_system_serving_status_pb2.py | 18 +- ...iterion_system_serving_status_pb2_grpc.py} | 0 .../proto/enums/criterion_type_pb2.py | 18 +- .../proto/enums/criterion_type_pb2_grpc.py} | 0 .../enums/custom_interest_member_type_pb2.py | 18 +- .../custom_interest_member_type_pb2_grpc.py} | 0 .../proto/enums/custom_interest_status_pb2.py | 18 +- .../enums/custom_interest_status_pb2_grpc.py} | 0 .../proto/enums/custom_interest_type_pb2.py | 18 +- .../enums/custom_interest_type_pb2_grpc.py} | 0 .../enums/custom_placeholder_field_pb2.py | 18 +- .../custom_placeholder_field_pb2_grpc.py} | 0 .../customer_match_upload_key_type_pb2.py | 18 +- ...ustomer_match_upload_key_type_pb2_grpc.py} | 0 ...nversion_eligibility_failure_reason_pb2.py | 18 +- ...on_eligibility_failure_reason_pb2_grpc.py} | 0 .../enums/data_driven_model_status_pb2.py | 18 +- .../data_driven_model_status_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/day_of_week_pb2.py | 18 +- .../proto/enums/day_of_week_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/device_pb2.py | 18 +- .../proto/enums/device_pb2_grpc.py} | 0 .../enums/display_ad_format_setting_pb2.py | 18 +- .../display_ad_format_setting_pb2_grpc.py} | 0 .../enums/display_upload_product_type_pb2.py | 18 +- .../display_upload_product_type_pb2_grpc.py} | 0 .../v4/proto/enums/distance_bucket_pb2.py | 202 ++ .../proto/enums/distance_bucket_pb2_grpc.py} | 0 .../dsa_page_feed_criterion_field_pb2.py | 18 +- ...dsa_page_feed_criterion_field_pb2_grpc.py} | 0 .../enums/education_placeholder_field_pb2.py | 18 +- .../education_placeholder_field_pb2_grpc.py} | 0 .../enums/extension_setting_device_pb2.py | 18 +- .../extension_setting_device_pb2_grpc.py} | 0 .../proto/enums/extension_type_pb2.py | 32 +- .../proto/enums/extension_type_pb2_grpc.py} | 0 .../enums/external_conversion_source_pb2.py | 28 +- .../external_conversion_source_pb2_grpc.py} | 0 .../proto/enums/feed_attribute_type_pb2.py | 18 +- .../enums/feed_attribute_type_pb2_grpc.py} | 0 .../feed_item_quality_approval_status_pb2.py | 18 +- ..._item_quality_approval_status_pb2_grpc.py} | 0 ...eed_item_quality_disapproval_reason_pb2.py | 18 +- ...em_quality_disapproval_reason_pb2_grpc.py} | 0 .../proto/enums/feed_item_status_pb2.py | 18 +- .../proto/enums/feed_item_status_pb2_grpc.py} | 0 .../enums/feed_item_target_device_pb2.py | 18 +- .../feed_item_target_device_pb2_grpc.py} | 0 .../enums/feed_item_target_status_pb2.py | 101 + .../feed_item_target_status_pb2_grpc.py} | 0 .../proto/enums/feed_item_target_type_pb2.py | 18 +- .../enums/feed_item_target_type_pb2_grpc.py} | 0 .../enums/feed_item_validation_status_pb2.py | 18 +- .../feed_item_validation_status_pb2_grpc.py} | 0 .../proto/enums/feed_link_status_pb2.py | 18 +- .../proto/enums/feed_link_status_pb2_grpc.py} | 0 .../enums/feed_mapping_criterion_type_pb2.py | 18 +- .../feed_mapping_criterion_type_pb2_grpc.py} | 0 .../proto/enums/feed_mapping_status_pb2.py | 18 +- .../enums/feed_mapping_status_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/feed_origin_pb2.py | 18 +- .../proto/enums/feed_origin_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/feed_status_pb2.py | 18 +- .../proto/enums/feed_status_pb2_grpc.py} | 0 .../enums/flight_placeholder_field_pb2.py | 18 +- .../flight_placeholder_field_pb2_grpc.py} | 0 .../enums/frequency_cap_event_type_pb2.py | 18 +- .../frequency_cap_event_type_pb2_grpc.py} | 0 .../proto/enums/frequency_cap_level_pb2.py | 18 +- .../enums/frequency_cap_level_pb2_grpc.py} | 0 .../enums/frequency_cap_time_unit_pb2.py | 18 +- .../frequency_cap_time_unit_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/gender_type_pb2.py | 18 +- .../proto/enums/gender_type_pb2_grpc.py} | 0 .../enums/geo_target_constant_status_pb2.py | 18 +- .../geo_target_constant_status_pb2_grpc.py} | 0 .../enums/geo_targeting_restriction_pb2.py | 18 +- .../geo_targeting_restriction_pb2_grpc.py} | 0 .../proto/enums/geo_targeting_type_pb2.py | 18 +- .../enums/geo_targeting_type_pb2_grpc.py} | 0 .../enums/google_ads_field_category_pb2.py | 18 +- .../google_ads_field_category_pb2_grpc.py} | 0 .../enums/google_ads_field_data_type_pb2.py | 18 +- .../google_ads_field_data_type_pb2_grpc.py} | 0 .../enums/hotel_date_selection_type_pb2.py | 18 +- .../hotel_date_selection_type_pb2_grpc.py} | 0 .../enums/hotel_placeholder_field_pb2.py | 18 +- .../hotel_placeholder_field_pb2_grpc.py} | 0 .../v4/proto/enums/hotel_price_bucket_pb2.py | 101 + .../enums/hotel_price_bucket_pb2_grpc.py} | 0 .../proto/enums/hotel_rate_type_pb2.py | 18 +- .../proto/enums/hotel_rate_type_pb2_grpc.py} | 0 .../proto/enums/income_range_type_pb2.py | 18 +- .../enums/income_range_type_pb2_grpc.py} | 0 .../proto/enums/interaction_event_type_pb2.py | 18 +- .../enums/interaction_event_type_pb2_grpc.py} | 0 .../proto/enums/interaction_type_pb2.py | 18 +- .../proto/enums/interaction_type_pb2_grpc.py} | 0 .../v4/proto/enums/invoice_type_pb2.py | 101 + .../proto/enums/invoice_type_pb2_grpc.py} | 0 .../proto/enums/job_placeholder_field_pb2.py | 18 +- .../enums/job_placeholder_field_pb2_grpc.py} | 0 .../proto/enums/keyword_match_type_pb2.py | 18 +- .../enums/keyword_match_type_pb2_grpc.py} | 0 .../keyword_plan_competition_level_pb2.py | 18 +- ...eyword_plan_competition_level_pb2_grpc.py} | 0 .../keyword_plan_forecast_interval_pb2.py | 18 +- ...eyword_plan_forecast_interval_pb2_grpc.py} | 0 .../proto/enums/keyword_plan_network_pb2.py | 18 +- .../enums/keyword_plan_network_pb2_grpc.py} | 0 .../proto/enums/label_status_pb2.py | 18 +- .../proto/enums/label_status_pb2_grpc.py} | 0 .../legacy_app_install_ad_app_store_pb2.py | 18 +- ...gacy_app_install_ad_app_store_pb2_grpc.py} | 0 .../v4/proto/enums/linked_account_type_pb2.py | 97 + .../enums/linked_account_type_pb2_grpc.py} | 0 .../proto/enums/listing_group_type_pb2.py | 18 +- .../enums/listing_group_type_pb2_grpc.py} | 0 .../enums/local_placeholder_field_pb2.py | 18 +- .../local_placeholder_field_pb2_grpc.py} | 0 ...extension_targeting_criterion_field_pb2.py | 18 +- ...ion_targeting_criterion_field_pb2_grpc.py} | 0 .../enums/location_group_radius_units_pb2.py | 18 +- .../location_group_radius_units_pb2_grpc.py} | 0 .../enums/location_placeholder_field_pb2.py | 18 +- .../location_placeholder_field_pb2_grpc.py} | 0 .../proto/enums/location_source_type_pb2.py | 101 + .../enums/location_source_type_pb2_grpc.py} | 0 .../proto/enums/manager_link_status_pb2.py | 18 +- .../enums/manager_link_status_pb2_grpc.py} | 0 .../matching_function_context_type_pb2.py | 18 +- ...atching_function_context_type_pb2_grpc.py} | 0 .../enums/matching_function_operator_pb2.py | 18 +- .../matching_function_operator_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/media_type_pb2.py | 18 +- .../proto/enums/media_type_pb2_grpc.py} | 0 .../enums/merchant_center_link_status_pb2.py | 18 +- .../merchant_center_link_status_pb2_grpc.py} | 0 .../enums/message_placeholder_field_pb2.py | 18 +- .../message_placeholder_field_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/mime_type_pb2.py | 18 +- .../proto/enums/mime_type_pb2_grpc.py} | 0 .../proto/enums/minute_of_hour_pb2.py | 18 +- .../proto/enums/minute_of_hour_pb2_grpc.py} | 0 .../v4/proto/enums/mobile_app_vendor_pb2.py | 101 + .../enums/mobile_app_vendor_pb2_grpc.py} | 0 .../proto/enums/mobile_device_type_pb2.py | 18 +- .../enums/mobile_device_type_pb2_grpc.py} | 0 .../proto/enums/month_of_year_pb2.py | 18 +- .../proto/enums/month_of_year_pb2_grpc.py} | 0 .../enums/negative_geo_target_type_pb2.py | 26 +- .../negative_geo_target_type_pb2_grpc.py} | 0 ...ffline_user_data_job_failure_reason_pb2.py | 102 + ..._user_data_job_failure_reason_pb2_grpc.py} | 0 .../enums/offline_user_data_job_status_pb2.py | 109 + .../offline_user_data_job_status_pb2_grpc.py} | 0 .../enums/offline_user_data_job_type_pb2.py | 105 + .../offline_user_data_job_type_pb2_grpc.py} | 0 ...rating_system_version_operator_type_pb2.py | 18 +- ..._system_version_operator_type_pb2_grpc.py} | 0 .../proto/enums/optimization_goal_type_pb2.py | 101 + .../enums/optimization_goal_type_pb2_grpc.py} | 0 .../page_one_promoted_strategy_goal_pb2.py | 34 + ...ge_one_promoted_strategy_goal_pb2_grpc.py} | 0 .../proto/enums/parental_status_type_pb2.py | 18 +- .../enums/parental_status_type_pb2_grpc.py} | 0 .../proto/enums/payment_mode_pb2.py | 30 +- .../proto/enums/payment_mode_pb2_grpc.py} | 0 .../proto/enums/placeholder_type_pb2.py | 18 +- .../proto/enums/placeholder_type_pb2_grpc.py} | 0 .../proto/enums/placement_type_pb2.py | 18 +- .../proto/enums/placement_type_pb2_grpc.py} | 0 .../proto/enums/policy_approval_status_pb2.py | 18 +- .../enums/policy_approval_status_pb2_grpc.py} | 0 .../proto/enums/policy_review_status_pb2.py | 28 +- .../enums/policy_review_status_pb2_grpc.py} | 0 .../enums/policy_topic_entry_type_pb2.py | 18 +- .../policy_topic_entry_type_pb2_grpc.py} | 0 ...dence_destination_mismatch_url_type_pb2.py | 18 +- ...destination_mismatch_url_type_pb2_grpc.py} | 0 ...ence_destination_not_working_device_pb2.py | 18 +- ...estination_not_working_device_pb2_grpc.py} | 0 ...tination_not_working_dns_error_type_pb2.py | 102 + ...on_not_working_dns_error_type_pb2_grpc.py} | 0 .../enums/positive_geo_target_type_pb2.py | 28 +- .../positive_geo_target_type_pb2_grpc.py} | 0 .../proto/enums/preferred_content_type_pb2.py | 18 +- .../enums/preferred_content_type_pb2_grpc.py} | 0 .../price_extension_price_qualifier_pb2.py | 18 +- ...ice_extension_price_qualifier_pb2_grpc.py} | 0 .../enums/price_extension_price_unit_pb2.py | 18 +- .../price_extension_price_unit_pb2_grpc.py} | 0 .../proto/enums/price_extension_type_pb2.py | 18 +- .../enums/price_extension_type_pb2_grpc.py} | 0 .../enums/price_placeholder_field_pb2.py | 18 +- .../price_placeholder_field_pb2_grpc.py} | 0 .../product_bidding_category_level_pb2.py | 18 +- ...roduct_bidding_category_level_pb2_grpc.py} | 0 .../product_bidding_category_status_pb2.py | 18 +- ...oduct_bidding_category_status_pb2_grpc.py} | 0 .../enums/product_channel_exclusivity_pb2.py | 18 +- .../product_channel_exclusivity_pb2_grpc.py} | 0 .../proto/enums/product_channel_pb2.py | 18 +- .../proto/enums/product_channel_pb2_grpc.py} | 0 .../proto/enums/product_condition_pb2.py | 18 +- .../enums/product_condition_pb2_grpc.py} | 0 .../product_custom_attribute_index_pb2.py} | 42 +- ...roduct_custom_attribute_index_pb2_grpc.py} | 0 .../proto/enums/product_type_level_pb2.py | 18 +- .../enums/product_type_level_pb2_grpc.py} | 0 ...omotion_extension_discount_modifier_pb2.py | 18 +- ...n_extension_discount_modifier_pb2_grpc.py} | 0 .../enums/promotion_extension_occasion_pb2.py | 18 +- .../promotion_extension_occasion_pb2_grpc.py} | 0 .../enums/promotion_placeholder_field_pb2.py | 18 +- .../promotion_placeholder_field_pb2_grpc.py} | 0 .../proto/enums/proximity_radius_units_pb2.py | 18 +- .../enums/proximity_radius_units_pb2_grpc.py} | 0 .../proto/enums/quality_score_bucket_pb2.py | 18 +- .../enums/quality_score_bucket_pb2_grpc.py} | 0 .../proto/enums/reach_plan_ad_length_pb2.py | 105 + .../enums/reach_plan_ad_length_pb2_grpc.py} | 0 .../proto/enums/reach_plan_age_range_pb2.py | 197 + .../enums/reach_plan_age_range_pb2_grpc.py} | 0 .../v4/proto/enums/reach_plan_network_pb2.py | 105 + .../enums/reach_plan_network_pb2_grpc.py} | 0 .../real_estate_placeholder_field_pb2.py | 18 +- ...real_estate_placeholder_field_pb2_grpc.py} | 0 .../proto/enums/recommendation_type_pb2.py | 18 +- .../enums/recommendation_type_pb2_grpc.py} | 0 .../search_engine_results_page_type_pb2.py | 18 +- ...arch_engine_results_page_type_pb2_grpc.py} | 0 .../proto/enums/search_term_match_type_pb2.py | 18 +- .../enums/search_term_match_type_pb2_grpc.py} | 0 .../enums/search_term_targeting_status_pb2.py | 18 +- .../search_term_targeting_status_pb2_grpc.py} | 0 .../enums/served_asset_field_type_pb2.py | 18 +- .../served_asset_field_type_pb2_grpc.py} | 0 .../proto/enums/shared_set_status_pb2.py | 18 +- .../enums/shared_set_status_pb2_grpc.py} | 0 .../proto/enums/shared_set_type_pb2.py | 18 +- .../proto/enums/shared_set_type_pb2_grpc.py} | 0 .../simulation_modification_method_pb2.py | 18 +- ...imulation_modification_method_pb2_grpc.py} | 0 .../proto/enums/simulation_type_pb2.py | 26 +- .../proto/enums/simulation_type_pb2_grpc.py} | 0 .../enums/sitelink_placeholder_field_pb2.py | 18 +- .../sitelink_placeholder_field_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/slot_pb2.py | 18 +- .../proto/enums/slot_pb2_grpc.py} | 0 .../proto/enums/spending_limit_type_pb2.py | 18 +- .../enums/spending_limit_type_pb2_grpc.py} | 0 ...tructured_snippet_placeholder_field_pb2.py | 18 +- ...red_snippet_placeholder_field_pb2_grpc.py} | 0 .../v4/proto/enums/summary_row_setting_pb2.py | 105 + .../enums/summary_row_setting_pb2_grpc.py} | 0 .../enums/system_managed_entity_source_pb2.py | 18 +- .../system_managed_entity_source_pb2_grpc.py} | 0 ...rget_cpa_opt_in_recommendation_goal_pb2.py | 18 +- ...pa_opt_in_recommendation_goal_pb2_grpc.py} | 0 .../target_impression_share_location_pb2.py | 18 +- ...get_impression_share_location_pb2_grpc.py} | 0 .../proto/enums/targeting_dimension_pb2.py | 18 +- .../enums/targeting_dimension_pb2_grpc.py} | 0 .../{v1 => v4}/proto/enums/time_type_pb2.py | 18 +- .../proto/enums/time_type_pb2_grpc.py} | 0 .../enums/tracking_code_page_format_pb2.py | 18 +- .../tracking_code_page_format_pb2_grpc.py} | 0 .../proto/enums/tracking_code_type_pb2.py | 30 +- .../enums/tracking_code_type_pb2_grpc.py} | 0 .../enums/travel_placeholder_field_pb2.py | 18 +- .../travel_placeholder_field_pb2_grpc.py} | 0 .../enums/user_interest_taxonomy_type_pb2.py | 18 +- .../user_interest_taxonomy_type_pb2_grpc.py} | 0 .../enums/user_list_access_status_pb2.py | 18 +- .../user_list_access_status_pb2_grpc.py} | 0 .../enums/user_list_closing_reason_pb2.py | 18 +- .../user_list_closing_reason_pb2_grpc.py} | 0 .../user_list_combined_rule_operator_pb2.py | 18 +- ...r_list_combined_rule_operator_pb2_grpc.py} | 0 .../user_list_crm_data_source_type_pb2.py | 18 +- ...ser_list_crm_data_source_type_pb2_grpc.py} | 0 .../user_list_date_rule_item_operator_pb2.py | 18 +- ..._list_date_rule_item_operator_pb2_grpc.py} | 0 .../user_list_logical_rule_operator_pb2.py | 18 +- ...er_list_logical_rule_operator_pb2_grpc.py} | 0 .../enums/user_list_membership_status_pb2.py | 18 +- .../user_list_membership_status_pb2_grpc.py} | 0 ...user_list_number_rule_item_operator_pb2.py | 18 +- ...ist_number_rule_item_operator_pb2_grpc.py} | 0 .../user_list_prepopulation_status_pb2.py | 18 +- ...ser_list_prepopulation_status_pb2_grpc.py} | 0 .../proto/enums/user_list_rule_type_pb2.py | 18 +- .../enums/user_list_rule_type_pb2_grpc.py} | 0 .../proto/enums/user_list_size_range_pb2.py | 18 +- .../enums/user_list_size_range_pb2_grpc.py} | 0 ...user_list_string_rule_item_operator_pb2.py | 18 +- ...ist_string_rule_item_operator_pb2_grpc.py} | 0 .../proto/enums/user_list_type_pb2.py | 18 +- .../proto/enums/user_list_type_pb2_grpc.py} | 0 .../vanity_pharma_display_url_mode_pb2.py | 18 +- ...anity_pharma_display_url_mode_pb2_grpc.py} | 0 .../proto/enums/vanity_pharma_text_pb2.py | 18 +- .../enums/vanity_pharma_text_pb2_grpc.py} | 0 .../enums/webpage_condition_operand_pb2.py | 18 +- .../webpage_condition_operand_pb2_grpc.py} | 0 .../enums/webpage_condition_operator_pb2.py | 18 +- .../webpage_condition_operator_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/__init__.py | 0 .../errors/access_invitation_error_pb2.py | 101 + .../access_invitation_error_pb2_grpc.py} | 0 .../account_budget_proposal_error_pb2.py | 30 +- ...account_budget_proposal_error_pb2_grpc.py} | 0 .../v4/proto/errors/account_link_error_pb2.py | 34 + .../errors/account_link_error_pb2_grpc.py} | 0 .../proto/errors/ad_customizer_error_pb2.py | 18 +- .../errors/ad_customizer_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/ad_error_pb2.py | 82 +- .../proto/errors/ad_error_pb2_grpc.py} | 0 .../proto/errors/ad_group_ad_error_pb2.py | 30 +- .../errors/ad_group_ad_error_pb2_grpc.py} | 0 .../errors/ad_group_bid_modifier_error_pb2.py | 18 +- .../ad_group_bid_modifier_error_pb2_grpc.py} | 0 .../errors/ad_group_criterion_error_pb2.py | 58 +- .../ad_group_criterion_error_pb2_grpc.py} | 0 .../proto/errors/ad_group_error_pb2.py | 26 +- .../proto/errors/ad_group_error_pb2_grpc.py} | 0 .../proto/errors/ad_group_feed_error_pb2.py | 18 +- .../errors/ad_group_feed_error_pb2_grpc.py} | 0 .../proto/errors/ad_parameter_error_pb2.py | 18 +- .../errors/ad_parameter_error_pb2_grpc.py} | 0 .../proto/errors/ad_sharing_error_pb2.py | 18 +- .../errors/ad_sharing_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/adx_error_pb2.py | 18 +- .../proto/errors/adx_error_pb2_grpc.py} | 0 .../proto/errors/asset_error_pb2.py | 18 +- .../proto/errors/asset_error_pb2_grpc.py} | 0 .../v4/proto/errors/asset_link_error_pb2.py | 97 + .../errors/asset_link_error_pb2_grpc.py} | 0 .../proto/errors/authentication_error_pb2.py | 18 +- .../errors/authentication_error_pb2_grpc.py} | 0 .../proto/errors/authorization_error_pb2.py | 30 +- .../errors/authorization_error_pb2_grpc.py} | 0 .../v4/proto/errors/batch_job_error_pb2.py | 117 + .../proto/errors/batch_job_error_pb2_grpc.py} | 0 .../proto/errors/bidding_error_pb2.py | 26 +- .../proto/errors/bidding_error_pb2_grpc.py} | 0 .../errors/bidding_strategy_error_pb2.py | 18 +- .../bidding_strategy_error_pb2_grpc.py} | 0 .../proto/errors/billing_setup_error_pb2.py | 30 +- .../errors/billing_setup_error_pb2_grpc.py} | 0 .../proto/errors/campaign_budget_error_pb2.py | 26 +- .../errors/campaign_budget_error_pb2_grpc.py} | 0 .../errors/campaign_criterion_error_pb2.py | 18 +- .../campaign_criterion_error_pb2_grpc.py} | 0 .../proto/errors/campaign_draft_error_pb2.py | 18 +- .../errors/campaign_draft_error_pb2_grpc.py} | 0 .../proto/errors/campaign_error_pb2.py | 54 +- .../proto/errors/campaign_error_pb2_grpc.py} | 0 .../errors/campaign_experiment_error_pb2.py | 18 +- .../campaign_experiment_error_pb2_grpc.py} | 0 .../proto/errors/campaign_feed_error_pb2.py | 26 +- .../errors/campaign_feed_error_pb2_grpc.py} | 0 .../errors/campaign_shared_set_error_pb2.py | 18 +- .../campaign_shared_set_error_pb2_grpc.py} | 0 .../proto/errors/change_status_error_pb2.py | 18 +- .../errors/change_status_error_pb2_grpc.py} | 0 .../proto/errors/collection_size_error_pb2.py | 18 +- .../errors/collection_size_error_pb2_grpc.py} | 0 .../proto/errors/context_error_pb2.py | 18 +- .../proto/errors/context_error_pb2_grpc.py} | 0 .../errors/conversion_action_error_pb2.py | 26 +- .../conversion_action_error_pb2_grpc.py} | 0 .../conversion_adjustment_upload_error_pb2.py | 30 +- ...rsion_adjustment_upload_error_pb2_grpc.py} | 0 .../errors/conversion_upload_error_pb2.py | 18 +- .../conversion_upload_error_pb2_grpc.py} | 0 .../proto/errors/country_code_error_pb2.py | 18 +- .../errors/country_code_error_pb2_grpc.py} | 0 .../proto/errors/criterion_error_pb2.py | 228 +- .../proto/errors/criterion_error_pb2_grpc.py} | 0 .../proto/errors/currency_code_error_pb2.py | 97 + .../errors/currency_code_error_pb2_grpc.py} | 0 .../proto/errors/custom_interest_error_pb2.py | 18 +- .../errors/custom_interest_error_pb2_grpc.py} | 0 .../errors/customer_client_link_error_pb2.py | 26 +- .../customer_client_link_error_pb2_grpc.py} | 0 .../proto/errors/customer_error_pb2.py | 18 +- .../proto/errors/customer_error_pb2_grpc.py} | 0 .../proto/errors/customer_feed_error_pb2.py | 18 +- .../errors/customer_feed_error_pb2_grpc.py} | 0 .../errors/customer_manager_link_error_pb2.py | 26 +- .../customer_manager_link_error_pb2_grpc.py} | 0 .../proto/errors/database_error_pb2.py | 34 +- .../proto/errors/database_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/date_error_pb2.py | 18 +- .../proto/errors/date_error_pb2_grpc.py} | 0 .../proto/errors/date_range_error_pb2.py | 18 +- .../errors/date_range_error_pb2_grpc.py} | 0 .../proto/errors/distinct_error_pb2.py | 18 +- .../proto/errors/distinct_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/enum_error_pb2.py | 18 +- .../proto/errors/enum_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/errors_pb2.py | 918 +++-- .../proto/errors/errors_pb2_grpc.py} | 0 .../errors/extension_feed_item_error_pb2.py | 30 +- .../extension_feed_item_error_pb2_grpc.py} | 0 .../errors/extension_setting_error_pb2.py | 18 +- .../extension_setting_error_pb2_grpc.py} | 0 .../feed_attribute_reference_error_pb2.py | 18 +- ...eed_attribute_reference_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/feed_error_pb2.py | 30 +- .../proto/errors/feed_error_pb2_grpc.py} | 0 .../proto/errors/feed_item_error_pb2.py | 18 +- .../proto/errors/feed_item_error_pb2_grpc.py} | 0 .../errors/feed_item_target_error_pb2.py | 30 +- .../feed_item_target_error_pb2_grpc.py} | 0 .../errors/feed_item_validation_error_pb2.py | 30 +- .../feed_item_validation_error_pb2_grpc.py} | 0 .../proto/errors/feed_mapping_error_pb2.py | 26 +- .../errors/feed_mapping_error_pb2_grpc.py} | 0 .../proto/errors/field_error_pb2.py | 18 +- .../proto/errors/field_error_pb2_grpc.py} | 0 .../proto/errors/field_mask_error_pb2.py | 18 +- .../errors/field_mask_error_pb2_grpc.py} | 0 .../proto/errors/function_error_pb2.py | 18 +- .../proto/errors/function_error_pb2_grpc.py} | 0 .../errors/function_parsing_error_pb2.py | 18 +- .../function_parsing_error_pb2_grpc.py} | 0 ...eo_target_constant_suggestion_error_pb2.py | 18 +- ...get_constant_suggestion_error_pb2_grpc.py} | 0 .../proto/errors/header_error_pb2.py | 26 +- .../proto/errors/header_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/id_error_pb2.py | 18 +- .../proto/errors/id_error_pb2_grpc.py} | 0 .../proto/errors/image_error_pb2.py | 26 +- .../proto/errors/image_error_pb2_grpc.py} | 0 .../proto/errors/internal_error_pb2.py | 28 +- .../proto/errors/internal_error_pb2_grpc.py} | 0 .../v4/proto/errors/invoice_error_pb2.py | 101 + .../proto/errors/invoice_error_pb2_grpc.py} | 0 .../errors/keyword_plan_ad_group_error_pb2.py | 18 +- .../keyword_plan_ad_group_error_pb2_grpc.py} | 0 ...keyword_plan_ad_group_keyword_error_pb2.py | 122 + ...d_plan_ad_group_keyword_error_pb2_grpc.py} | 0 .../errors/keyword_plan_campaign_error_pb2.py | 26 +- .../keyword_plan_campaign_error_pb2_grpc.py} | 0 ...keyword_plan_campaign_keyword_error_pb2.py | 98 + ...d_plan_campaign_keyword_error_pb2_grpc.py} | 0 .../proto/errors/keyword_plan_error_pb2.py | 18 +- .../errors/keyword_plan_error_pb2_grpc.py} | 0 .../errors/keyword_plan_idea_error_pb2.py | 18 +- .../keyword_plan_idea_error_pb2_grpc.py} | 0 .../proto/errors/label_error_pb2.py | 18 +- .../proto/errors/label_error_pb2_grpc.py} | 0 .../proto/errors/language_code_error_pb2.py | 18 +- .../errors/language_code_error_pb2_grpc.py} | 0 .../proto/errors/list_operation_error_pb2.py | 18 +- .../errors/list_operation_error_pb2_grpc.py} | 0 .../proto/errors/manager_link_error_pb2.py | 34 +- .../errors/manager_link_error_pb2_grpc.py} | 0 .../proto/errors/media_bundle_error_pb2.py | 18 +- .../errors/media_bundle_error_pb2_grpc.py} | 0 .../proto/errors/media_file_error_pb2.py | 18 +- .../errors/media_file_error_pb2_grpc.py} | 0 .../proto/errors/media_upload_error_pb2.py | 34 +- .../errors/media_upload_error_pb2_grpc.py} | 0 .../proto/errors/multiplier_error_pb2.py | 18 +- .../errors/multiplier_error_pb2_grpc.py} | 0 .../proto/errors/mutate_error_pb2.py | 30 +- .../proto/errors/mutate_error_pb2_grpc.py} | 0 .../errors/new_resource_creation_error_pb2.py | 18 +- .../new_resource_creation_error_pb2_grpc.py} | 0 .../proto/errors/not_empty_error_pb2.py | 18 +- .../proto/errors/not_empty_error_pb2_grpc.py} | 0 .../proto/errors/not_whitelisted_error_pb2.py | 18 +- .../errors/not_whitelisted_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/errors/null_error_pb2.py | 18 +- .../proto/errors/null_error_pb2_grpc.py} | 0 .../errors/offline_user_data_job_error_pb2.py | 201 ++ .../offline_user_data_job_error_pb2_grpc.py} | 0 .../operation_access_denied_error_pb2.py | 18 +- ...operation_access_denied_error_pb2_grpc.py} | 0 .../proto/errors/operator_error_pb2.py | 18 +- .../proto/errors/operator_error_pb2_grpc.py} | 0 .../proto/errors/partial_failure_error_pb2.py | 18 +- .../errors/partial_failure_error_pb2_grpc.py} | 0 .../errors/payments_account_error_pb2.py | 98 + .../payments_account_error_pb2_grpc.py} | 0 .../proto/errors/policy_finding_error_pb2.py | 18 +- .../errors/policy_finding_error_pb2_grpc.py} | 0 .../policy_validation_parameter_error_pb2.py | 18 +- ...cy_validation_parameter_error_pb2_grpc.py} | 0 .../errors/policy_violation_error_pb2.py | 18 +- .../policy_violation_error_pb2_grpc.py} | 0 .../proto/errors/query_error_pb2.py | 104 +- .../proto/errors/query_error_pb2_grpc.py} | 0 .../proto/errors/quota_error_pb2.py | 18 +- .../proto/errors/quota_error_pb2_grpc.py} | 0 .../proto/errors/range_error_pb2.py | 18 +- .../proto/errors/range_error_pb2_grpc.py} | 0 .../v4/proto/errors/reach_plan_error_pb2.py | 94 + .../errors/reach_plan_error_pb2_grpc.py} | 0 .../proto/errors/recommendation_error_pb2.py | 18 +- .../errors/recommendation_error_pb2_grpc.py} | 0 .../proto/errors/region_code_error_pb2.py | 18 +- .../errors/region_code_error_pb2_grpc.py} | 0 .../proto/errors/request_error_pb2.py | 38 +- .../proto/errors/request_error_pb2_grpc.py} | 0 .../resource_access_denied_error_pb2.py | 18 +- .../resource_access_denied_error_pb2_grpc.py} | 0 ...resource_count_limit_exceeded_error_pb2.py | 26 +- ...ce_count_limit_exceeded_error_pb2_grpc.py} | 0 .../proto/errors/setting_error_pb2.py | 48 +- .../proto/errors/setting_error_pb2_grpc.py} | 0 .../errors/shared_criterion_error_pb2.py | 18 +- .../shared_criterion_error_pb2_grpc.py} | 0 .../proto/errors/shared_set_error_pb2.py | 18 +- .../errors/shared_set_error_pb2_grpc.py} | 0 .../proto/errors/size_limit_error_pb2.py | 18 +- .../errors/size_limit_error_pb2_grpc.py} | 0 .../proto/errors/string_format_error_pb2.py | 18 +- .../errors/string_format_error_pb2_grpc.py} | 0 .../proto/errors/string_length_error_pb2.py | 30 +- .../errors/string_length_error_pb2_grpc.py} | 0 ...hird_party_app_analytics_link_error_pb2.py | 34 + ...arty_app_analytics_link_error_pb2_grpc.py} | 0 .../v4/proto/errors/time_zone_error_pb2.py | 97 + .../proto/errors/time_zone_error_pb2_grpc.py} | 0 .../proto/errors/url_field_error_pb2.py | 18 +- .../proto/errors/url_field_error_pb2_grpc.py} | 0 .../v4/proto/errors/user_data_error_pb2.py | 105 + .../proto/errors/user_data_error_pb2_grpc.py} | 0 .../proto/errors/user_list_error_pb2.py | 18 +- .../proto/errors/user_list_error_pb2_grpc.py} | 0 .../youtube_video_registration_error_pb2.py | 28 +- ...tube_video_registration_error_pb2_grpc.py} | 0 .../{v1 => v4}/proto/resources/__init__.py | 0 .../proto/resources/account_budget_pb2.py | 386 +- .../resources/account_budget_pb2_grpc.py} | 0 .../resources/account_budget_proposal_pb2.py | 252 +- .../account_budget_proposal_pb2_grpc.py} | 0 .../v4/proto/resources/account_link_pb2.py | 230 ++ .../proto/resources/account_link_pb2_grpc.py} | 0 .../resources/ad_group_ad_asset_view_pb2.py | 229 ++ .../ad_group_ad_asset_view_pb2_grpc.py} | 0 .../proto/resources/ad_group_ad_label_pb2.py | 110 + .../resources/ad_group_ad_label_pb2_grpc.py} | 0 .../v4/proto/resources/ad_group_ad_pb2.py | 221 ++ .../proto/resources/ad_group_ad_pb2_grpc.py} | 0 .../resources/ad_group_audience_view_pb2.py | 91 + .../ad_group_audience_view_pb2_grpc.py} | 0 .../resources/ad_group_bid_modifier_pb2.py | 146 +- .../ad_group_bid_modifier_pb2_grpc.py} | 0 .../resources/ad_group_criterion_label_pb2.py | 112 + .../ad_group_criterion_label_pb2_grpc.py} | 0 .../proto/resources/ad_group_criterion_pb2.py | 500 +-- .../resources/ad_group_criterion_pb2_grpc.py} | 0 .../ad_group_criterion_simulation_pb2.py | 187 + ...ad_group_criterion_simulation_pb2_grpc.py} | 0 .../ad_group_extension_setting_pb2.py | 140 + .../ad_group_extension_setting_pb2_grpc.py} | 0 .../v4/proto/resources/ad_group_feed_pb2.py | 148 + .../resources/ad_group_feed_pb2_grpc.py} | 0 .../v4/proto/resources/ad_group_label_pb2.py | 110 + .../resources/ad_group_label_pb2_grpc.py} | 0 .../proto/resources/ad_group_pb2.py | 191 +- .../proto/resources/ad_group_pb2_grpc.py} | 0 .../resources/ad_group_simulation_pb2.py | 226 ++ .../ad_group_simulation_pb2_grpc.py} | 0 .../proto/resources/ad_parameter_pb2.py | 56 +- .../proto/resources/ad_parameter_pb2_grpc.py} | 0 .../{v1 => v4}/proto/resources/ad_pb2.py | 260 +- .../proto/resources/ad_pb2_grpc.py} | 0 .../proto/resources/ad_schedule_view_pb2.py | 88 + .../resources/ad_schedule_view_pb2_grpc.py} | 0 .../v4/proto/resources/age_range_view_pb2.py | 87 + .../resources/age_range_view_pb2_grpc.py} | 0 .../v4/proto/resources/asset_pb2.py | 197 + .../proto/resources/asset_pb2_grpc.py} | 0 .../v4/proto/resources/batch_job_pb2.py | 252 ++ .../proto/resources/batch_job_pb2_grpc.py} | 0 .../proto/resources/bidding_strategy_pb2.py | 145 +- .../resources/bidding_strategy_pb2_grpc.py} | 0 .../proto/resources/billing_setup_pb2.py | 204 +- .../resources/billing_setup_pb2_grpc.py} | 0 .../resources/campaign_audience_view_pb2.py | 92 + .../campaign_audience_view_pb2_grpc.py} | 0 .../resources/campaign_bid_modifier_pb2.py | 143 + .../campaign_bid_modifier_pb2_grpc.py} | 0 .../proto/resources/campaign_budget_pb2.py | 166 +- .../resources/campaign_budget_pb2_grpc.py} | 0 .../proto/resources/campaign_criterion_pb2.py | 333 +- .../resources/campaign_criterion_pb2_grpc.py} | 0 .../campaign_criterion_simulation_pb2.py | 187 + ...campaign_criterion_simulation_pb2_grpc.py} | 0 .../v4/proto/resources/campaign_draft_pb2.py | 176 + .../resources/campaign_draft_pb2_grpc.py} | 0 .../resources/campaign_experiment_pb2.py | 119 +- .../campaign_experiment_pb2_grpc.py} | 0 .../campaign_extension_setting_pb2.py | 140 + .../campaign_extension_setting_pb2_grpc.py} | 0 .../v4/proto/resources/campaign_feed_pb2.py | 148 + .../resources/campaign_feed_pb2_grpc.py} | 0 .../v4/proto/resources/campaign_label_pb2.py | 110 + .../resources/campaign_label_pb2_grpc.py} | 0 .../proto/resources/campaign_pb2.py | 777 ++-- .../proto/resources/campaign_pb2_grpc.py} | 0 .../resources/campaign_shared_set_pb2.py | 132 + .../campaign_shared_set_pb2_grpc.py} | 0 .../proto/resources/carrier_constant_pb2.py | 122 + .../resources/carrier_constant_pb2_grpc.py} | 0 .../v4/proto/resources/change_status_pb2.py | 236 ++ .../resources/change_status_pb2_grpc.py} | 0 .../v4/proto/resources/click_view_pb2.py | 153 + .../proto/resources/click_view_pb2_grpc.py} | 0 .../proto/resources/conversion_action_pb2.py | 543 +++ .../resources/conversion_action_pb2_grpc.py} | 0 .../proto/resources/currency_constant_pb2.py | 134 + .../resources/currency_constant_pb2_grpc.py} | 0 .../proto/resources/custom_interest_pb2.py | 81 +- .../resources/custom_interest_pb2_grpc.py} | 0 .../resources/customer_client_link_pb2.py | 61 +- .../customer_client_link_pb2_grpc.py} | 0 .../v4/proto/resources/customer_client_pb2.py | 197 + .../resources/customer_client_pb2_grpc.py} | 0 .../customer_extension_setting_pb2.py | 126 + .../customer_extension_setting_pb2_grpc.py} | 0 .../v4/proto/resources/customer_feed_pb2.py | 137 + .../resources/customer_feed_pb2_grpc.py} | 0 .../v4/proto/resources/customer_label_pb2.py | 116 + .../resources/customer_label_pb2_grpc.py} | 0 .../resources/customer_manager_link_pb2.py | 122 + .../customer_manager_link_pb2_grpc.py} | 0 .../customer_negative_criterion_pb2.py | 115 +- .../customer_negative_criterion_pb2_grpc.py} | 0 .../proto/resources/customer_pb2.py | 210 +- .../proto/resources/customer_pb2_grpc.py} | 0 .../resources/detail_placement_view_pb2.py | 152 + .../detail_placement_view_pb2_grpc.py} | 0 .../resources/display_keyword_view_pb2.py | 88 + .../display_keyword_view_pb2_grpc.py} | 0 .../v4/proto/resources/distance_view_pb2.py | 117 + .../resources/distance_view_pb2_grpc.py} | 0 .../v4/proto/resources/domain_category_pb2.py | 194 + .../resources/domain_category_pb2_grpc.py} | 0 ...dynamic_search_ads_search_term_view_pb2.py | 173 + ...c_search_ads_search_term_view_pb2_grpc.py} | 0 .../expanded_landing_page_view_pb2.py | 101 + .../expanded_landing_page_view_pb2_grpc.py} | 0 .../resources/extension_feed_item_pb2.py | 192 +- .../extension_feed_item_pb2_grpc.py} | 0 .../proto/resources/feed_item_pb2.py | 320 +- .../proto/resources/feed_item_pb2_grpc.py} | 0 .../proto/resources/feed_item_target_pb2.py | 230 ++ .../resources/feed_item_target_pb2_grpc.py} | 0 .../proto/resources/feed_mapping_pb2.py | 368 +- .../proto/resources/feed_mapping_pb2_grpc.py} | 0 .../{v1 => v4}/proto/resources/feed_pb2.py | 207 +- .../proto/resources/feed_pb2_grpc.py} | 0 .../resources/feed_placeholder_view_pb2.py | 100 + .../feed_placeholder_view_pb2_grpc.py} | 0 .../v4/proto/resources/gender_view_pb2.py | 87 + .../proto/resources/gender_view_pb2_grpc.py} | 0 .../resources/geo_target_constant_pb2.py | 157 + .../geo_target_constant_pb2_grpc.py} | 0 .../v4/proto/resources/geographic_view_pb2.py | 117 + .../resources/geographic_view_pb2_grpc.py} | 0 .../proto/resources/google_ads_field_pb2.py | 257 ++ .../resources/google_ads_field_pb2_grpc.py | 3 + .../resources/group_placement_view_pb2.py | 138 + .../group_placement_view_pb2_grpc.py | 3 + .../proto/resources/hotel_group_view_pb2.py | 87 + .../resources/hotel_group_view_pb2_grpc.py | 3 + .../resources/hotel_performance_view_pb2.py | 87 + .../hotel_performance_view_pb2_grpc.py | 3 + .../proto/resources/income_range_view_pb2.py | 87 + .../resources/income_range_view_pb2_grpc.py | 3 + .../v4/proto/resources/invoice_pb2.py | 469 +++ .../v4/proto/resources/invoice_pb2_grpc.py | 3 + .../keyword_plan_ad_group_keyword_pb2.py | 158 + .../keyword_plan_ad_group_keyword_pb2_grpc.py | 3 + .../resources/keyword_plan_ad_group_pb2.py | 50 +- .../keyword_plan_ad_group_pb2_grpc.py | 3 + .../keyword_plan_campaign_keyword_pb2.py | 146 + .../keyword_plan_campaign_keyword_pb2_grpc.py | 3 + .../resources/keyword_plan_campaign_pb2.py | 80 +- .../keyword_plan_campaign_pb2_grpc.py | 3 + .../proto/resources/keyword_plan_pb2.py | 74 +- .../proto/resources/keyword_plan_pb2_grpc.py | 3 + .../v4/proto/resources/keyword_view_pb2.py | 87 + .../proto/resources/keyword_view_pb2_grpc.py | 3 + .../v4/proto/resources/label_pb2.py | 133 + .../v4/proto/resources/label_pb2_grpc.py | 3 + .../proto/resources/landing_page_view_pb2.py | 101 + .../resources/landing_page_view_pb2_grpc.py | 3 + .../proto/resources/language_constant_pb2.py | 134 + .../resources/language_constant_pb2_grpc.py | 3 + .../v4/proto/resources/location_view_pb2.py | 88 + .../proto/resources/location_view_pb2_grpc.py | 3 + .../resources/managed_placement_view_pb2.py | 88 + .../managed_placement_view_pb2_grpc.py | 3 + .../proto/resources/media_file_pb2.py | 218 +- .../v4/proto/resources/media_file_pb2_grpc.py | 3 + .../resources/merchant_center_link_pb2.py | 124 + .../merchant_center_link_pb2_grpc.py | 3 + .../mobile_app_category_constant_pb2.py | 110 + .../mobile_app_category_constant_pb2_grpc.py | 3 + .../resources/mobile_device_constant_pb2.py | 144 + .../mobile_device_constant_pb2_grpc.py | 3 + .../resources/offline_user_data_job_pb2.py | 185 + .../offline_user_data_job_pb2_grpc.py | 3 + .../operating_system_version_constant_pb2.py | 148 + ...rating_system_version_constant_pb2_grpc.py | 3 + .../paid_organic_search_term_view_pb2.py | 102 + .../paid_organic_search_term_view_pb2_grpc.py | 3 + .../resources/parental_status_view_pb2.py | 88 + .../parental_status_view_pb2_grpc.py | 3 + .../proto/resources/payments_account_pb2.py | 161 + .../resources/payments_account_pb2_grpc.py | 3 + .../product_bidding_category_constant_pb2.py | 174 + ...duct_bidding_category_constant_pb2_grpc.py | 3 + .../proto/resources/product_group_view_pb2.py | 87 + .../resources/product_group_view_pb2_grpc.py | 3 + .../proto/resources/recommendation_pb2.py | 994 +++--- .../resources/recommendation_pb2_grpc.py | 3 + .../proto/resources/remarketing_action_pb2.py | 126 + .../resources/remarketing_action_pb2_grpc.py | 3 + .../proto/resources/search_term_view_pb2.py | 125 + .../resources/search_term_view_pb2_grpc.py | 3 + .../proto/resources/shared_criterion_pb2.py | 123 +- .../resources/shared_criterion_pb2_grpc.py | 3 + .../v4/proto/resources/shared_set_pb2.py | 162 + .../v4/proto/resources/shared_set_pb2_grpc.py | 3 + .../shopping_performance_view_pb2.py | 91 + .../shopping_performance_view_pb2_grpc.py | 3 + .../third_party_app_analytics_link_pb2.py | 104 + ...third_party_app_analytics_link_pb2_grpc.py | 3 + .../v4/proto/resources/topic_constant_pb2.py | 128 + .../resources/topic_constant_pb2_grpc.py | 3 + .../v4/proto/resources/topic_view_pb2.py | 87 + .../v4/proto/resources/topic_view_pb2_grpc.py | 3 + .../v4/proto/resources/user_interest_pb2.py | 157 + .../proto/resources/user_interest_pb2_grpc.py | 3 + .../proto/resources/user_list_pb2.py | 202 +- .../v4/proto/resources/user_list_pb2_grpc.py | 3 + .../proto/resources/user_location_view_pb2.py | 116 + .../resources/user_location_view_pb2_grpc.py | 3 + .../v4/proto/resources/video_pb2.py | 132 + .../v4/proto/resources/video_pb2_grpc.py | 3 + .../{v1 => v4}/proto/services/__init__.py | 0 .../account_budget_proposal_service_pb2.py | 130 +- ...ccount_budget_proposal_service_pb2_grpc.py | 32 +- .../services/account_budget_service_pb2.py | 112 + .../account_budget_service_pb2_grpc.py | 16 +- .../services/account_link_service_pb2.py | 368 ++ .../services/account_link_service_pb2_grpc.py | 66 + .../ad_group_ad_asset_view_service_pb2.py | 112 + ...ad_group_ad_asset_view_service_pb2_grpc.py | 51 + .../services/ad_group_ad_label_service_pb2.py | 132 +- .../ad_group_ad_label_service_pb2_grpc.py | 26 +- .../proto/services/ad_group_ad_service_pb2.py | 141 +- .../services/ad_group_ad_service_pb2_grpc.py | 26 +- .../ad_group_audience_view_service_pb2.py | 112 + ...ad_group_audience_view_service_pb2_grpc.py | 16 +- .../ad_group_bid_modifier_service_pb2.py | 140 +- .../ad_group_bid_modifier_service_pb2_grpc.py | 26 +- .../ad_group_criterion_label_service_pb2.py | 134 +- ..._group_criterion_label_service_pb2_grpc.py | 26 +- .../ad_group_criterion_service_pb2.py | 143 +- .../ad_group_criterion_service_pb2_grpc.py | 26 +- ..._group_criterion_simulation_service_pb2.py | 112 + ...p_criterion_simulation_service_pb2_grpc.py | 16 +- .../ad_group_extension_setting_service_pb2.py | 140 +- ...roup_extension_setting_service_pb2_grpc.py | 26 +- .../services/ad_group_feed_service_pb2.py | 139 +- .../ad_group_feed_service_pb2_grpc.py | 26 +- .../services/ad_group_label_service_pb2.py | 131 +- .../ad_group_label_service_pb2_grpc.py | 26 +- .../proto/services/ad_group_service_pb2.py | 137 +- .../services/ad_group_service_pb2_grpc.py | 26 +- .../ad_group_simulation_service_pb2.py | 112 + .../ad_group_simulation_service_pb2_grpc.py | 16 +- .../services/ad_parameter_service_pb2.py | 137 +- .../services/ad_parameter_service_pb2_grpc.py | 26 +- .../services/ad_schedule_view_service_pb2.py | 111 + .../ad_schedule_view_service_pb2_grpc.py | 16 +- .../v4/proto/services/ad_service_pb2.py | 344 ++ .../v4/proto/services/ad_service_pb2_grpc.py | 69 + .../services/age_range_view_service_pb2.py | 111 + .../age_range_view_service_pb2_grpc.py | 16 +- .../proto/services/asset_service_pb2.py | 126 +- .../proto/services/asset_service_pb2_grpc.py | 26 +- .../proto/services/batch_job_service_pb2.py | 768 ++++ .../services/batch_job_service_pb2_grpc.py | 125 + .../services/bidding_strategy_service_pb2.py | 139 +- .../bidding_strategy_service_pb2_grpc.py | 26 +- .../services/billing_setup_service_pb2.py | 122 +- .../billing_setup_service_pb2_grpc.py | 34 +- .../campaign_audience_view_service_pb2.py | 112 + ...campaign_audience_view_service_pb2_grpc.py | 16 +- .../campaign_bid_modifier_service_pb2.py | 138 +- .../campaign_bid_modifier_service_pb2_grpc.py | 26 +- .../services/campaign_budget_service_pb2.py | 139 +- .../campaign_budget_service_pb2_grpc.py | 26 +- .../campaign_criterion_service_pb2.py | 137 +- .../campaign_criterion_service_pb2_grpc.py | 26 +- ...mpaign_criterion_simulation_service_pb2.py | 112 + ...n_criterion_simulation_service_pb2_grpc.py | 16 +- .../services/campaign_draft_service_pb2.py | 207 +- .../campaign_draft_service_pb2_grpc.py | 44 +- .../campaign_experiment_service_pb2.py | 321 +- .../campaign_experiment_service_pb2_grpc.py | 64 +- .../campaign_extension_setting_service_pb2.py | 140 +- ...aign_extension_setting_service_pb2_grpc.py | 26 +- .../services/campaign_feed_service_pb2.py | 139 +- .../campaign_feed_service_pb2_grpc.py | 26 +- .../services/campaign_label_service_pb2.py | 132 +- .../campaign_label_service_pb2_grpc.py | 26 +- .../proto/services/campaign_service_pb2.py | 137 +- .../services/campaign_service_pb2_grpc.py | 26 +- .../campaign_shared_set_service_pb2.py | 134 +- .../campaign_shared_set_service_pb2_grpc.py | 26 +- .../services/carrier_constant_service_pb2.py | 111 + .../carrier_constant_service_pb2_grpc.py | 16 +- .../services/change_status_service_pb2.py | 111 + .../change_status_service_pb2_grpc.py | 16 +- .../proto/services/click_view_service_pb2.py | 111 + .../services/click_view_service_pb2_grpc.py | 16 +- .../services/conversion_action_service_pb2.py | 141 +- .../conversion_action_service_pb2_grpc.py | 26 +- ...onversion_adjustment_upload_service_pb2.py | 171 +- ...sion_adjustment_upload_service_pb2_grpc.py | 14 +- .../services/conversion_upload_service_pb2.py | 254 +- .../conversion_upload_service_pb2_grpc.py | 24 +- .../services/currency_constant_service_pb2.py | 111 + .../currency_constant_service_pb2_grpc.py | 47 + .../services/custom_interest_service_pb2.py | 133 +- .../custom_interest_service_pb2_grpc.py | 26 +- .../customer_client_link_service_pb2.py | 130 +- .../customer_client_link_service_pb2_grpc.py | 26 +- .../services/customer_client_service_pb2.py | 111 + .../customer_client_service_pb2_grpc.py | 16 +- .../customer_extension_setting_service_pb2.py | 140 +- ...omer_extension_setting_service_pb2_grpc.py | 26 +- .../services/customer_feed_service_pb2.py | 139 +- .../customer_feed_service_pb2_grpc.py | 26 +- .../services/customer_label_service_pb2.py | 132 +- .../customer_label_service_pb2_grpc.py | 26 +- .../customer_manager_link_service_pb2.py | 484 +++ .../customer_manager_link_service_pb2_grpc.py | 47 +- ...customer_negative_criterion_service_pb2.py | 131 +- ...mer_negative_criterion_service_pb2_grpc.py | 26 +- .../proto/services/customer_service_pb2.py | 231 +- .../services/customer_service_pb2_grpc.py | 46 +- .../detail_placement_view_service_pb2.py | 112 + .../detail_placement_view_service_pb2_grpc.py | 16 +- .../display_keyword_view_service_pb2.py | 112 + .../display_keyword_view_service_pb2_grpc.py | 16 +- .../services/distance_view_service_pb2.py | 111 + .../distance_view_service_pb2_grpc.py | 51 + .../services/domain_category_service_pb2.py | 111 + .../domain_category_service_pb2_grpc.py | 16 +- ...search_ads_search_term_view_service_pb2.py | 112 + ...h_ads_search_term_view_service_pb2_grpc.py | 16 +- .../expanded_landing_page_view_service_pb2.py | 112 + ...nded_landing_page_view_service_pb2_grpc.py | 16 +- .../extension_feed_item_service_pb2.py | 161 +- .../extension_feed_item_service_pb2_grpc.py | 26 +- .../proto/services/feed_item_service_pb2.py | 137 +- .../services/feed_item_service_pb2_grpc.py | 26 +- .../services/feed_item_target_service_pb2.py | 126 +- .../feed_item_target_service_pb2_grpc.py | 26 +- .../services/feed_mapping_service_pb2.py | 131 +- .../services/feed_mapping_service_pb2_grpc.py | 26 +- .../feed_placeholder_view_service_pb2.py | 112 + .../feed_placeholder_view_service_pb2_grpc.py | 16 +- .../proto/services/feed_service_pb2.py | 137 +- .../proto/services/feed_service_pb2_grpc.py | 26 +- .../proto/services/gender_view_service_pb2.py | 111 + .../services/gender_view_service_pb2_grpc.py | 16 +- .../geo_target_constant_service_pb2.py | 137 +- .../geo_target_constant_service_pb2_grpc.py | 26 +- .../services/geographic_view_service_pb2.py | 111 + .../geographic_view_service_pb2_grpc.py | 16 +- .../services/google_ads_field_service_pb2.py | 97 +- .../google_ads_field_service_pb2_grpc.py | 26 +- .../proto/services/google_ads_service_pb2.py | 1588 +++++--- .../services/google_ads_service_pb2_grpc.py | 51 +- .../group_placement_view_service_pb2.py | 112 + .../group_placement_view_service_pb2_grpc.py | 16 +- .../services/hotel_group_view_service_pb2.py | 111 + .../hotel_group_view_service_pb2_grpc.py | 16 +- .../hotel_performance_view_service_pb2.py | 112 + ...hotel_performance_view_service_pb2_grpc.py | 16 +- .../services/income_range_view_service_pb2.py | 111 + .../income_range_view_service_pb2_grpc.py | 51 + .../v4/proto/services/invoice_service_pb2.py | 195 + .../services/invoice_service_pb2_grpc.py | 50 + ...yword_plan_ad_group_keyword_service_pb2.py | 413 +++ ..._plan_ad_group_keyword_service_pb2_grpc.py | 77 + .../keyword_plan_ad_group_service_pb2.py | 140 +- .../keyword_plan_ad_group_service_pb2_grpc.py | 26 +- ...yword_plan_campaign_keyword_service_pb2.py | 412 +++ ..._plan_campaign_keyword_service_pb2_grpc.py | 75 + .../keyword_plan_campaign_service_pb2.py | 140 +- .../keyword_plan_campaign_service_pb2_grpc.py | 26 +- .../services/keyword_plan_idea_service_pb2.py | 251 +- .../keyword_plan_idea_service_pb2_grpc.py | 14 +- .../services/keyword_plan_service_pb2.py | 580 ++- .../services/keyword_plan_service_pb2_grpc.py | 69 +- .../services/keyword_view_service_pb2.py | 111 + .../services/keyword_view_service_pb2_grpc.py | 16 +- .../proto/services/label_service_pb2.py | 135 +- .../proto/services/label_service_pb2_grpc.py | 26 +- .../services/landing_page_view_service_pb2.py | 111 + .../landing_page_view_service_pb2_grpc.py | 16 +- .../services/language_constant_service_pb2.py | 111 + .../language_constant_service_pb2_grpc.py | 16 +- .../services/location_view_service_pb2.py | 111 + .../location_view_service_pb2_grpc.py | 16 +- .../managed_placement_view_service_pb2.py | 112 + ...managed_placement_view_service_pb2_grpc.py | 16 +- .../proto/services/media_file_service_pb2.py | 129 +- .../services/media_file_service_pb2_grpc.py | 26 +- .../merchant_center_link_service_pb2.py | 165 +- .../merchant_center_link_service_pb2_grpc.py | 38 +- ...obile_app_category_constant_service_pb2.py | 112 + ..._app_category_constant_service_pb2_grpc.py | 16 +- .../mobile_device_constant_service_pb2.py | 111 + ...mobile_device_constant_service_pb2_grpc.py | 16 +- .../offline_user_data_job_service_pb2.py | 508 +++ .../offline_user_data_job_service_pb2_grpc.py | 106 + ...ing_system_version_constant_service_pb2.py | 111 + ...ystem_version_constant_service_pb2_grpc.py | 16 +- ...id_organic_search_term_view_service_pb2.py | 112 + ...ganic_search_term_view_service_pb2_grpc.py | 16 +- .../parental_status_view_service_pb2.py | 112 + .../parental_status_view_service_pb2_grpc.py | 16 +- .../services/payments_account_service_pb2.py | 67 +- .../payments_account_service_pb2_grpc.py | 24 +- ...t_bidding_category_constant_service_pb2.py | 112 + ...ding_category_constant_service_pb2_grpc.py | 16 +- .../product_group_view_service_pb2.py | 112 + .../product_group_view_service_pb2_grpc.py | 16 +- .../proto/services/reach_plan_service_pb2.py | 1523 ++++++++ .../services/reach_plan_service_pb2_grpc.py | 112 + .../services/recommendation_service_pb2.py | 332 +- .../recommendation_service_pb2_grpc.py | 36 +- .../remarketing_action_service_pb2.py | 138 +- .../remarketing_action_service_pb2_grpc.py | 26 +- .../services/search_term_view_service_pb2.py | 111 + .../search_term_view_service_pb2_grpc.py | 16 +- .../services/shared_criterion_service_pb2.py | 133 +- .../shared_criterion_service_pb2_grpc.py | 26 +- .../proto/services/shared_set_service_pb2.py | 137 +- .../services/shared_set_service_pb2_grpc.py | 26 +- .../shopping_performance_view_service_pb2.py | 112 + ...pping_performance_view_service_pb2_grpc.py | 16 +- ...rd_party_app_analytics_link_service_pb2.py | 110 + ...rty_app_analytics_link_service_pb2_grpc.py | 49 + .../services/topic_constant_service_pb2.py | 111 + .../topic_constant_service_pb2_grpc.py | 16 +- .../proto/services/topic_view_service_pb2.py | 111 + .../services/topic_view_service_pb2_grpc.py | 16 +- .../proto/services/user_data_service_pb2.py | 271 ++ .../services/user_data_service_pb2_grpc.py | 52 + .../services/user_interest_service_pb2.py | 111 + .../user_interest_service_pb2_grpc.py | 16 +- .../proto/services/user_list_service_pb2.py | 137 +- .../services/user_list_service_pb2_grpc.py | 26 +- .../user_location_view_service_pb2.py | 112 + .../user_location_view_service_pb2_grpc.py | 51 + .../v4/proto/services/video_service_pb2.py | 111 + .../proto/services/video_service_pb2_grpc.py | 16 +- .../{v1 => v4}/services/__init__.py | 0 .../account_budget_proposal_service_client.py | 129 +- ...t_budget_proposal_service_client_config.py | 36 + .../services/account_budget_service_client.py | 100 +- .../account_budget_service_client_config.py | 31 + .../services/account_link_service_client.py} | 172 +- .../account_link_service_client_config.py | 36 + .../ad_group_ad_asset_view_service_client.py | 226 ++ ...oup_ad_asset_view_service_client_config.py | 31 + .../ad_group_ad_label_service_client.py | 137 +- ...ad_group_ad_label_service_client_config.py | 36 + .../services/ad_group_ad_service_client.py | 155 +- .../ad_group_ad_service_client_config.py | 36 + .../ad_group_audience_view_service_client.py | 89 +- ...oup_audience_view_service_client_config.py | 31 + .../ad_group_bid_modifier_service_client.py | 126 +- ...roup_bid_modifier_service_client_config.py | 36 + ...ad_group_criterion_label_service_client.py | 126 +- ...p_criterion_label_service_client_config.py | 36 + .../ad_group_criterion_service_client.py | 137 +- ...d_group_criterion_service_client_config.py | 36 + ...oup_criterion_simulation_service_client.py | 93 +- ...terion_simulation_service_client_config.py | 31 + ..._group_extension_setting_service_client.py | 130 +- ...extension_setting_service_client_config.py | 36 + .../services/ad_group_feed_service_client.py | 155 +- .../ad_group_feed_service_client_config.py | 36 + .../services/ad_group_label_service_client.py | 156 +- .../ad_group_label_service_client_config.py | 36 + .../services/ad_group_service_client.py | 153 +- .../ad_group_service_client_config.py | 36 + .../ad_group_simulation_service_client.py | 89 +- ..._group_simulation_service_client_config.py | 31 + .../services/ad_parameter_service_client.py | 155 +- .../ad_parameter_service_client_config.py | 36 + .../ad_schedule_view_service_client.py | 100 +- .../ad_schedule_view_service_client_config.py | 31 + .../services/ad_service_client.py} | 165 +- .../v4/services/ad_service_client_config.py | 36 + .../services/age_range_view_service_client.py | 100 +- .../age_range_view_service_client_config.py | 31 + .../services/asset_service_client.py | 149 +- .../services/asset_service_client_config.py | 36 + .../services/batch_job_service_client.py} | 341 +- .../batch_job_service_client_config.py | 51 + .../bidding_strategy_service_client.py | 137 +- .../bidding_strategy_service_client_config.py | 36 + .../services/billing_setup_service_client.py | 156 +- .../billing_setup_service_client_config.py | 36 + .../campaign_audience_view_service_client.py | 89 +- ...ign_audience_view_service_client_config.py | 31 + .../campaign_bid_modifier_service_client.py | 126 +- ...aign_bid_modifier_service_client_config.py | 36 + .../campaign_budget_service_client.py | 137 +- .../campaign_budget_service_client_config.py | 36 + .../campaign_criterion_service_client.py | 137 +- ...ampaign_criterion_service_client_config.py | 36 + ...ign_criterion_simulation_service_client.py | 93 +- ...terion_simulation_service_client_config.py | 31 + .../services/campaign_draft_service_client.py | 241 +- .../campaign_draft_service_client_config.py | 46 + .../campaign_experiment_service_client.py | 307 +- ...mpaign_experiment_service_client_config.py | 61 + ...mpaign_extension_setting_service_client.py | 130 +- ...extension_setting_service_client_config.py | 36 + .../services/campaign_feed_service_client.py | 156 +- .../campaign_feed_service_client_config.py | 36 + .../services/campaign_label_service_client.py | 156 +- .../campaign_label_service_client_config.py | 36 + .../services/campaign_service_client.py | 155 +- .../campaign_service_client_config.py | 36 + .../campaign_shared_set_service_client.py | 126 +- ...mpaign_shared_set_service_client_config.py | 36 + .../carrier_constant_service_client.py | 100 +- .../carrier_constant_service_client_config.py | 31 + .../services/change_status_service_client.py | 100 +- .../change_status_service_client_config.py | 31 + .../services/click_view_service_client.py | 99 +- .../click_view_service_client_config.py | 31 + .../conversion_action_service_client.py | 137 +- ...conversion_action_service_client_config.py | 36 + ...ersion_adjustment_upload_service_client.py | 95 +- ...adjustment_upload_service_client_config.py | 31 + .../conversion_upload_service_client.py | 136 +- ...conversion_upload_service_client_config.py | 36 + .../currency_constant_service_client.py | 225 ++ ...currency_constant_service_client_config.py | 31 + .../custom_interest_service_client.py | 137 +- .../custom_interest_service_client_config.py | 36 + .../customer_client_link_service_client.py | 126 +- ...tomer_client_link_service_client_config.py | 36 + .../customer_client_service_client.py | 100 +- .../customer_client_service_client_config.py | 31 + ...stomer_extension_setting_service_client.py | 130 +- ...extension_setting_service_client_config.py | 36 + .../services/customer_feed_service_client.py | 156 +- .../customer_feed_service_client_config.py | 36 + .../services/customer_label_service_client.py | 156 +- .../customer_label_service_client_config.py | 36 + .../customer_manager_link_service_client.py | 356 ++ ...omer_manager_link_service_client_config.py | 41 + ...tomer_negative_criterion_service_client.py | 130 +- ...egative_criterion_service_client_config.py | 36 + .../services/customer_service_client.py | 235 +- .../customer_service_client_config.py | 46 + .../detail_placement_view_service_client.py | 89 +- ...il_placement_view_service_client_config.py | 31 + .../display_keyword_view_service_client.py | 89 +- ...play_keyword_view_service_client_config.py | 31 + .../services/distance_view_service_client.py | 226 ++ .../distance_view_service_client_config.py | 31 + .../domain_category_service_client.py | 100 +- .../domain_category_service_client_config.py | 31 + ...rch_ads_search_term_view_service_client.py | 97 +- ..._search_term_view_service_client_config.py | 31 + .../google_ads/{v1 => v4}/services/enums.py | 3178 ++++++++++++++--- ...panded_landing_page_view_service_client.py | 93 +- ...landing_page_view_service_client_config.py | 31 + .../extension_feed_item_service_client.py | 132 +- ...tension_feed_item_service_client_config.py | 36 + .../services/feed_item_service_client.py | 155 +- .../feed_item_service_client_config.py | 36 + .../feed_item_target_service_client.py | 137 +- .../feed_item_target_service_client_config.py | 36 + .../services/feed_mapping_service_client.py | 155 +- .../feed_mapping_service_client_config.py | 36 + .../feed_placeholder_view_service_client.py | 89 +- ..._placeholder_view_service_client_config.py | 31 + .../services/feed_service_client.py | 153 +- .../v4/services/feed_service_client_config.py | 36 + .../services/gender_view_service_client.py | 99 +- .../gender_view_service_client_config.py | 31 + .../geo_target_constant_service_client.py | 125 +- ...o_target_constant_service_client_config.py | 36 + .../geographic_view_service_client.py | 100 +- .../geographic_view_service_client_config.py | 31 + .../google_ads_field_service_client.py | 125 +- .../google_ads_field_service_client_config.py | 36 + .../services/google_ads_service_client.py | 259 +- .../google_ads_service_client_config.py | 41 + .../group_placement_view_service_client.py | 89 +- ...up_placement_view_service_client_config.py | 31 + .../hotel_group_view_service_client.py | 100 +- .../hotel_group_view_service_client_config.py | 31 + .../hotel_performance_view_service_client.py | 89 +- ..._performance_view_service_client_config.py | 31 + .../income_range_view_service_client.py | 226 ++ ...income_range_view_service_client_config.py | 31 + .../v4/services/invoice_service_client.py | 227 ++ .../services/invoice_service_client_config.py | 31 + ...rd_plan_ad_group_keyword_service_client.py | 306 ++ ..._ad_group_keyword_service_client_config.py | 36 + .../keyword_plan_ad_group_service_client.py | 126 +- ...ord_plan_ad_group_service_client_config.py | 36 + ...d_plan_campaign_keyword_service_client.py} | 169 +- ..._campaign_keyword_service_client_config.py | 36 + .../keyword_plan_campaign_service_client.py | 126 +- ...ord_plan_campaign_service_client_config.py | 36 + .../keyword_plan_idea_service_client.py | 159 +- ...keyword_plan_idea_service_client_config.py | 31 + .../services/keyword_plan_service_client.py | 288 +- .../keyword_plan_service_client_config.py | 51 + .../services/keyword_view_service_client.py | 99 +- .../keyword_view_service_client_config.py | 31 + .../services/label_service_client.py | 153 +- .../services/label_service_client_config.py | 36 + .../landing_page_view_service_client.py | 100 +- ...landing_page_view_service_client_config.py | 31 + .../language_constant_service_client.py | 100 +- ...language_constant_service_client_config.py | 31 + .../services/location_view_service_client.py | 100 +- .../location_view_service_client_config.py | 31 + .../managed_placement_view_service_client.py | 89 +- ...ed_placement_view_service_client_config.py | 31 + .../services/media_file_service_client.py | 155 +- .../media_file_service_client_config.py | 36 + .../merchant_center_link_service_client.py | 164 +- ...chant_center_link_service_client_config.py | 41 + ...le_app_category_constant_service_client.py | 90 +- ...category_constant_service_client_config.py | 31 + .../mobile_device_constant_service_client.py | 89 +- ...e_device_constant_service_client_config.py | 31 + .../offline_user_data_job_service_client.py | 421 +++ ...ine_user_data_job_service_client_config.py | 46 + ..._system_version_constant_service_client.py | 93 +- ..._version_constant_service_client_config.py | 31 + ...organic_search_term_view_service_client.py | 93 +- ..._search_term_view_service_client_config.py | 31 + .../parental_status_view_service_client.py | 89 +- ...ental_status_view_service_client_config.py | 31 + .../payments_account_service_client.py | 103 +- .../payments_account_service_client_config.py | 31 + ...idding_category_constant_service_client.py | 93 +- ...category_constant_service_client_config.py | 31 + .../product_group_view_service_client.py | 100 +- ...roduct_group_view_service_client_config.py | 31 + .../v4/services/reach_plan_service_client.py | 462 +++ .../reach_plan_service_client_config.py | 46 + .../services/recommendation_service_client.py | 208 +- .../recommendation_service_client_config.py | 41 + .../remarketing_action_service_client.py | 137 +- ...emarketing_action_service_client_config.py | 36 + .../search_term_view_service_client.py | 100 +- .../search_term_view_service_client_config.py | 31 + .../shared_criterion_service_client.py | 156 +- .../shared_criterion_service_client_config.py | 36 + .../services/shared_set_service_client.py | 155 +- .../shared_set_service_client_config.py | 36 + ...hopping_performance_view_service_client.py | 90 +- ..._performance_view_service_client_config.py | 31 + ...party_app_analytics_link_service_client.py | 229 ++ ...pp_analytics_link_service_client_config.py | 31 + .../services/topic_constant_service_client.py | 100 +- .../topic_constant_service_client_config.py | 31 + .../services/topic_view_service_client.py | 99 +- .../topic_view_service_client_config.py | 31 + .../services/transports/__init__.py | 0 ..._budget_proposal_service_grpc_transport.py | 21 +- .../account_budget_service_grpc_transport.py | 17 +- .../account_link_service_grpc_transport.py | 136 + ...up_ad_asset_view_service_grpc_transport.py | 123 + ...d_group_ad_label_service_grpc_transport.py | 18 +- .../ad_group_ad_service_grpc_transport.py | 17 +- ...up_audience_view_service_grpc_transport.py | 18 +- ...oup_bid_modifier_service_grpc_transport.py | 21 +- ..._criterion_label_service_grpc_transport.py | 21 +- ..._group_criterion_service_grpc_transport.py | 21 +- ...erion_simulation_service_grpc_transport.py | 18 +- ...xtension_setting_service_grpc_transport.py | 21 +- .../ad_group_feed_service_grpc_transport.py | 17 +- .../ad_group_label_service_grpc_transport.py | 17 +- .../ad_group_service_grpc_transport.py | 17 +- ...group_simulation_service_grpc_transport.py | 18 +- .../ad_parameter_service_grpc_transport.py | 17 +- ...ad_schedule_view_service_grpc_transport.py | 17 +- .../transports/ad_service_grpc_transport.py} | 39 +- .../age_range_view_service_grpc_transport.py | 17 +- .../asset_service_grpc_transport.py | 17 +- .../batch_job_service_grpc_transport.py} | 63 +- ...bidding_strategy_service_grpc_transport.py | 18 +- .../billing_setup_service_grpc_transport.py | 17 +- ...gn_audience_view_service_grpc_transport.py | 18 +- ...ign_bid_modifier_service_grpc_transport.py | 21 +- .../campaign_budget_service_grpc_transport.py | 18 +- ...mpaign_criterion_service_grpc_transport.py | 21 +- ...erion_simulation_service_grpc_transport.py | 18 +- .../campaign_draft_service_grpc_transport.py | 18 +- ...paign_experiment_service_grpc_transport.py | 36 +- ...xtension_setting_service_grpc_transport.py | 21 +- .../campaign_feed_service_grpc_transport.py | 17 +- .../campaign_label_service_grpc_transport.py | 17 +- .../campaign_service_grpc_transport.py | 17 +- ...paign_shared_set_service_grpc_transport.py | 21 +- ...carrier_constant_service_grpc_transport.py | 17 +- .../change_status_service_grpc_transport.py | 17 +- .../click_view_service_grpc_transport.py | 17 +- ...onversion_action_service_grpc_transport.py | 21 +- ...djustment_upload_service_grpc_transport.py | 18 +- ...onversion_upload_service_grpc_transport.py | 21 +- ...urrency_constant_service_grpc_transport.py | 123 + .../custom_interest_service_grpc_transport.py | 18 +- ...omer_client_link_service_grpc_transport.py | 21 +- .../customer_client_service_grpc_transport.py | 17 +- ...xtension_setting_service_grpc_transport.py | 21 +- .../customer_feed_service_grpc_transport.py | 17 +- .../customer_label_service_grpc_transport.py | 17 +- ...mer_manager_link_service_grpc_transport.py | 38 +- ...gative_criterion_service_grpc_transport.py | 21 +- .../customer_service_grpc_transport.py | 17 +- ...l_placement_view_service_grpc_transport.py | 18 +- ...lay_keyword_view_service_grpc_transport.py | 18 +- .../distance_view_service_grpc_transport.py | 123 + .../domain_category_service_grpc_transport.py | 17 +- ...search_term_view_service_grpc_transport.py | 18 +- ...anding_page_view_service_grpc_transport.py | 18 +- ...ension_feed_item_service_grpc_transport.py | 21 +- .../feed_item_service_grpc_transport.py | 17 +- ...feed_item_target_service_grpc_transport.py | 18 +- .../feed_mapping_service_grpc_transport.py | 17 +- ...placeholder_view_service_grpc_transport.py | 18 +- .../transports/feed_service_grpc_transport.py | 17 +- .../gender_view_service_grpc_transport.py | 17 +- ..._target_constant_service_grpc_transport.py | 21 +- .../geographic_view_service_grpc_transport.py | 17 +- ...google_ads_field_service_grpc_transport.py | 18 +- .../google_ads_service_grpc_transport.py | 59 +- ...p_placement_view_service_grpc_transport.py | 18 +- ...hotel_group_view_service_grpc_transport.py | 17 +- ...performance_view_service_grpc_transport.py | 18 +- ...ncome_range_view_service_grpc_transport.py | 123 + .../invoice_service_grpc_transport.py | 123 + ...ad_group_keyword_service_grpc_transport.py | 137 + ...rd_plan_ad_group_service_grpc_transport.py | 21 +- ...ampaign_keyword_service_grpc_transport.py} | 35 +- ...rd_plan_campaign_service_grpc_transport.py | 21 +- ...eyword_plan_idea_service_grpc_transport.py | 18 +- .../keyword_plan_service_grpc_transport.py | 37 +- .../keyword_view_service_grpc_transport.py | 17 +- .../label_service_grpc_transport.py | 17 +- ...anding_page_view_service_grpc_transport.py | 17 +- ...anguage_constant_service_grpc_transport.py | 18 +- .../location_view_service_grpc_transport.py | 17 +- ...d_placement_view_service_grpc_transport.py | 18 +- .../media_file_service_grpc_transport.py | 17 +- ...hant_center_link_service_grpc_transport.py | 26 +- ...ategory_constant_service_grpc_transport.py | 18 +- ..._device_constant_service_grpc_transport.py | 18 +- ...ne_user_data_job_service_grpc_transport.py | 170 + ...version_constant_service_grpc_transport.py | 18 +- ...search_term_view_service_grpc_transport.py | 18 +- ...ntal_status_view_service_grpc_transport.py | 18 +- ...payments_account_service_grpc_transport.py | 20 +- ...ategory_constant_service_grpc_transport.py | 18 +- ...oduct_group_view_service_grpc_transport.py | 18 +- .../reach_plan_service_grpc_transport.py | 165 + .../recommendation_service_grpc_transport.py | 17 +- ...marketing_action_service_grpc_transport.py | 21 +- ...search_term_view_service_grpc_transport.py | 17 +- ...shared_criterion_service_grpc_transport.py | 18 +- .../shared_set_service_grpc_transport.py | 17 +- ...performance_view_service_grpc_transport.py | 18 +- ...p_analytics_link_service_grpc_transport.py | 123 + .../topic_constant_service_grpc_transport.py | 17 +- .../topic_view_service_grpc_transport.py | 17 +- .../user_data_service_grpc_transport.py | 123 + .../user_interest_service_grpc_transport.py | 17 +- .../user_list_service_grpc_transport.py | 17 +- ...er_location_view_service_grpc_transport.py | 123 + .../video_service_grpc_transport.py | 17 +- .../v4/services/user_data_service_client.py | 237 ++ .../user_data_service_client_config.py | 31 + .../services/user_interest_service_client.py | 100 +- .../user_interest_service_client_config.py | 31 + .../services/user_list_service_client.py | 155 +- .../user_list_service_client_config.py | 36 + .../user_location_view_service_client.py | 226 ++ ...ser_location_view_service_client_config.py | 31 + .../services/video_service_client.py | 98 +- .../services/video_service_client_config.py | 31 + google/ads/google_ads/v4/types.py | 1824 ++++++++++ setup.py | 2 +- tests/client_test.py | 2 +- 1829 files changed, 68522 insertions(+), 44368 deletions(-) rename examples/campaign_management/{add_complete_campaigns_using_mutate_job.py => add_complete_campaigns_using_batch_job.py} (79%) mode change 100644 => 100755 examples/campaign_management/create_campaign_experiment.py rename examples/{shopping => shopping_ads}/add_shopping_product_ad.py (96%) rename examples/{shopping => shopping_ads}/get_product_bidding_category_constant.py (99%) delete mode 100644 google/ads/google_ads/v1/__init__.py delete mode 100644 google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/common/targeting_setting_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/enums/conversion_action_category_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/enums/conversion_action_type_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/enums/mutate_job_status_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/enums/page_one_promoted_strategy_goal_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/errors/keyword_plan_keyword_error_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/errors/keyword_plan_negative_keyword_error_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/errors/mutate_job_error_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_ad_label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_ad_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_group_simulation_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/ad_schedule_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/age_range_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/asset_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_audience_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_bid_modifier_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_criterion_simulation_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_draft_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_feed_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/campaign_shared_set_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/carrier_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/change_status_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/click_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/conversion_action_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/customer_client_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/customer_feed_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/customer_label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/customer_manager_link_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/detail_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/domain_category_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/feed_item_target_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/gender_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/geographic_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/google_ads_field_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/group_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/keyword_plan_negative_keyword_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/keyword_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/label_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/landing_page_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/language_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/location_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/managed_placement_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/merchant_center_link_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/mobile_app_category_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/mobile_device_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/mutate_job_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/paid_organic_search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/parental_status_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/payments_account_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/product_group_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/remarketing_action_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/search_term_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/shared_set_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/topic_constant_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/topic_view_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/user_interest_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/resources/video_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/account_budget_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/ad_group_audience_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/ad_group_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/age_range_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/campaign_audience_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/campaign_criterion_simulation_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/change_status_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/click_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/customer_client_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/domain_category_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/gender_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/geographic_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v1/proto/services/keyword_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/language_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/location_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/mutate_job_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/mutate_job_service_pb2_grpc.py delete mode 100644 google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/paid_organic_search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/parental_status_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/product_group_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/search_term_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/topic_constant_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/topic_view_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/user_interest_service_pb2.py delete mode 100644 google/ads/google_ads/v1/proto/services/video_service_pb2.py delete mode 100644 google/ads/google_ads/v1/services/account_budget_proposal_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/account_budget_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_ad_label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_ad_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_audience_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_criterion_label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_criterion_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_extension_setting_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_feed_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_group_simulation_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_parameter_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/ad_schedule_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/age_range_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/asset_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/bidding_strategy_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/billing_setup_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_audience_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_bid_modifier_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_budget_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_criterion_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_draft_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_experiment_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_extension_setting_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_feed_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/campaign_shared_set_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/carrier_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/change_status_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/click_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/conversion_action_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/conversion_upload_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/custom_interest_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_client_link_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_client_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_extension_setting_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_feed_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_manager_link_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_negative_criterion_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/customer_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/detail_placement_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/display_keyword_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/domain_category_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/expanded_landing_page_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/extension_feed_item_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/feed_item_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/feed_item_target_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/feed_mapping_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/feed_placeholder_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/feed_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/gender_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/geo_target_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/geographic_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/google_ads_field_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/google_ads_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/group_placement_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/hotel_group_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/hotel_performance_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_campaign_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_idea_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_keyword_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_plan_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/keyword_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/label_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/landing_page_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/language_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/location_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/managed_placement_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/media_file_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/merchant_center_link_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/mobile_app_category_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/mobile_device_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/mutate_job_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/operating_system_version_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/parental_status_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/payments_account_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/product_bidding_category_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/product_group_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/recommendation_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/remarketing_action_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/search_term_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/shared_criterion_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/shared_set_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/shopping_performance_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/topic_constant_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/topic_view_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/user_interest_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/user_list_service_client_config.py delete mode 100644 google/ads/google_ads/v1/services/video_service_client_config.py delete mode 100644 google/ads/google_ads/v1/types.py create mode 100644 google/ads/google_ads/v4/__init__.py rename google/ads/google_ads/{v1 => v4}/proto/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/ad_asset_pb2.py (76%) rename google/ads/google_ads/{v1 => v4}/proto/common/ad_asset_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/ad_type_infos_pb2.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/common/ad_type_infos_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/asset_types_pb2.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/common/asset_types_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/bidding_pb2.py (52%) rename google/ads/google_ads/{v1 => v4}/proto/common/bidding_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/click_location_pb2.py (78%) rename google/ads/google_ads/{v1 => v4}/proto/common/click_location_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/criteria_pb2.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/common/criteria_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/criterion_category_availability_pb2.py (76%) rename google/ads/google_ads/{v1 => v4}/proto/common/criterion_category_availability_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/custom_parameter_pb2.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/common/custom_parameter_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/dates_pb2.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/common/dates_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/explorer_auto_optimizer_setting_pb2.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/extensions_pb2.py (80%) rename google/ads/google_ads/{v1 => v4}/proto/common/extensions_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/feed_common_pb2.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/common/feed_common_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/final_app_url_pb2.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/common/final_app_url_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/frequency_cap_pb2.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/common/frequency_cap_pb2_grpc.py (100%) create mode 100644 google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/common/keyword_plan_common_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/matching_function_pb2.py (79%) rename google/ads/google_ads/{v1 => v4}/proto/common/matching_function_pb2_grpc.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/metrics_pb2.py (74%) rename google/ads/google_ads/{v1 => v4}/proto/common/metrics_pb2_grpc.py (100%) create mode 100644 google/ads/google_ads/v4/proto/common/offline_user_data_pb2.py rename google/ads/google_ads/{v1/proto/common/policy_pb2_grpc.py => v4/proto/common/offline_user_data_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/policy_pb2.py (71%) rename google/ads/google_ads/{v1/proto/common/real_time_bidding_setting_pb2_grpc.py => v4/proto/common/policy_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/real_time_bidding_setting_pb2.py (70%) rename google/ads/google_ads/{v1/proto/common/segments_pb2_grpc.py => v4/proto/common/real_time_bidding_setting_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/segments_pb2.py (65%) rename google/ads/google_ads/{v1/proto/common/simulation_pb2_grpc.py => v4/proto/common/segments_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/simulation_pb2.py (59%) rename google/ads/google_ads/{v1/proto/common/tag_snippet_pb2_grpc.py => v4/proto/common/simulation_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/tag_snippet_pb2.py (68%) rename google/ads/google_ads/{v1/proto/common/targeting_setting_pb2_grpc.py => v4/proto/common/tag_snippet_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/common/targeting_setting_pb2.py rename google/ads/google_ads/{v1/proto/common/text_label_pb2_grpc.py => v4/proto/common/targeting_setting_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/text_label_pb2.py (73%) rename google/ads/google_ads/{v1/proto/common/url_collection_pb2_grpc.py => v4/proto/common/text_label_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/url_collection_pb2.py (77%) rename google/ads/google_ads/{v1/proto/common/user_lists_pb2_grpc.py => v4/proto/common/url_collection_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/user_lists_pb2.py (80%) rename google/ads/google_ads/{v1/proto/common/value_pb2_grpc.py => v4/proto/common/user_lists_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/common/value_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/access_reason_pb2_grpc.py => v4/proto/common/value_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/access_reason_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/account_budget_proposal_status_pb2_grpc.py => v4/proto/enums/access_reason_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/access_role_pb2.py rename google/ads/google_ads/{v1/proto/enums/account_budget_proposal_type_pb2_grpc.py => v4/proto/enums/access_role_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/account_budget_proposal_status_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/account_budget_status_pb2_grpc.py => v4/proto/enums/account_budget_proposal_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/account_budget_proposal_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py => v4/proto/enums/account_budget_proposal_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/account_budget_status_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py => v4/proto/enums/account_budget_status_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/account_link_status_pb2.py rename google/ads/google_ads/{v1/proto/enums/ad_group_ad_status_pb2_grpc.py => v4/proto/enums/account_link_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_customizer_placeholder_field_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py => v4/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_ad_rotation_mode_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/ad_group_criterion_status_pb2_grpc.py => v4/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_ad_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/ad_group_status_pb2_grpc.py => v4/proto/enums/ad_group_ad_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_criterion_approval_status_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/ad_group_type_pb2_grpc.py => v4/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_criterion_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/ad_network_type_pb2_grpc.py => v4/proto/enums/ad_group_criterion_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/ad_serving_optimization_status_pb2_grpc.py => v4/proto/enums/ad_group_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_group_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/ad_strength_pb2_grpc.py => v4/proto/enums/ad_group_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_network_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/ad_type_pb2_grpc.py => v4/proto/enums/ad_network_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_serving_optimization_status_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/advertising_channel_sub_type_pb2_grpc.py => v4/proto/enums/ad_serving_optimization_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_strength_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/advertising_channel_type_pb2_grpc.py => v4/proto/enums/ad_strength_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/ad_type_pb2.py (63%) rename google/ads/google_ads/{v1/proto/enums/affiliate_location_feed_relationship_type_pb2_grpc.py => v4/proto/enums/ad_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/advertising_channel_sub_type_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/affiliate_location_placeholder_field_pb2_grpc.py => v4/proto/enums/advertising_channel_sub_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/advertising_channel_type_pb2.py (67%) rename google/ads/google_ads/{v1/proto/enums/age_range_type_pb2_grpc.py => v4/proto/enums/advertising_channel_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/affiliate_location_feed_relationship_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/app_campaign_app_store_pb2_grpc.py => v4/proto/enums/affiliate_location_feed_relationship_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/affiliate_location_placeholder_field_pb2.py (82%) rename google/ads/google_ads/{v1/proto/enums/app_campaign_bidding_strategy_goal_type_pb2_grpc.py => v4/proto/enums/affiliate_location_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/age_range_type_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/app_payment_model_type_pb2_grpc.py => v4/proto/enums/age_range_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_campaign_app_store_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/app_placeholder_field_pb2_grpc.py => v4/proto/enums/app_campaign_app_store_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_campaign_bidding_strategy_goal_type_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/app_store_pb2_grpc.py => v4/proto/enums/app_campaign_bidding_strategy_goal_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_payment_model_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/app_url_operating_system_type_pb2_grpc.py => v4/proto/enums/app_payment_model_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_placeholder_field_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/asset_type_pb2_grpc.py => v4/proto/enums/app_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_store_pb2.py (71%) rename google/ads/google_ads/{v1/proto/enums/attribution_model_pb2_grpc.py => v4/proto/enums/app_store_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/app_url_operating_system_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/bid_modifier_source_pb2_grpc.py => v4/proto/enums/app_url_operating_system_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/asset_field_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/bidding_source_pb2_grpc.py => v4/proto/enums/asset_field_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/asset_performance_label_pb2.py rename google/ads/google_ads/{v1/proto/enums/bidding_strategy_status_pb2_grpc.py => v4/proto/enums/asset_performance_label_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/asset_type_pb2.py (62%) rename google/ads/google_ads/{v1/proto/enums/bidding_strategy_type_pb2_grpc.py => v4/proto/enums/asset_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/attribution_model_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/billing_setup_status_pb2_grpc.py => v4/proto/enums/attribution_model_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/batch_job_status_pb2.py rename google/ads/google_ads/{v1/proto/enums/brand_safety_suitability_pb2_grpc.py => v4/proto/enums/batch_job_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/bid_modifier_source_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/budget_delivery_method_pb2_grpc.py => v4/proto/enums/bid_modifier_source_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/bidding_source_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/budget_period_pb2_grpc.py => v4/proto/enums/bidding_source_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/bidding_strategy_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/budget_status_pb2_grpc.py => v4/proto/enums/bidding_strategy_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/bidding_strategy_type_pb2.py (83%) rename google/ads/google_ads/{v1/proto/enums/budget_type_pb2_grpc.py => v4/proto/enums/bidding_strategy_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/billing_setup_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/call_conversion_reporting_state_pb2_grpc.py => v4/proto/enums/billing_setup_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/brand_safety_suitability_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/call_placeholder_field_pb2_grpc.py => v4/proto/enums/brand_safety_suitability_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/budget_delivery_method_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/callout_placeholder_field_pb2_grpc.py => v4/proto/enums/budget_delivery_method_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/budget_period_pb2.py (60%) rename google/ads/google_ads/{v1/proto/enums/campaign_criterion_status_pb2_grpc.py => v4/proto/enums/budget_period_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/budget_status_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/campaign_draft_status_pb2_grpc.py => v4/proto/enums/budget_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/budget_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/campaign_experiment_status_pb2_grpc.py => v4/proto/enums/budget_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/call_conversion_reporting_state_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py => v4/proto/enums/call_conversion_reporting_state_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/call_placeholder_field_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/campaign_experiment_type_pb2_grpc.py => v4/proto/enums/call_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/callout_placeholder_field_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/campaign_serving_status_pb2_grpc.py => v4/proto/enums/callout_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_criterion_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/campaign_shared_set_status_pb2_grpc.py => v4/proto/enums/campaign_criterion_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_draft_status_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/campaign_status_pb2_grpc.py => v4/proto/enums/campaign_draft_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_experiment_status_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/change_status_operation_pb2_grpc.py => v4/proto/enums/campaign_experiment_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_experiment_traffic_split_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/change_status_resource_type_pb2_grpc.py => v4/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_experiment_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/click_type_pb2_grpc.py => v4/proto/enums/campaign_experiment_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_serving_status_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/content_label_type_pb2_grpc.py => v4/proto/enums/campaign_serving_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_shared_set_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/conversion_action_category_pb2_grpc.py => v4/proto/enums/campaign_shared_set_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/campaign_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/conversion_action_counting_type_pb2_grpc.py => v4/proto/enums/campaign_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/change_status_operation_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/conversion_action_status_pb2_grpc.py => v4/proto/enums/change_status_operation_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/change_status_resource_type_pb2.py (81%) rename google/ads/google_ads/{v1/proto/enums/conversion_action_type_pb2_grpc.py => v4/proto/enums/change_status_resource_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/click_type_pb2.py (92%) rename google/ads/google_ads/{v1/proto/enums/conversion_adjustment_type_pb2_grpc.py => v4/proto/enums/click_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/content_label_type_pb2.py (62%) rename google/ads/google_ads/{v1/proto/enums/conversion_attribution_event_type_pb2_grpc.py => v4/proto/enums/content_label_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/conversion_action_category_pb2.py rename google/ads/google_ads/{v1/proto/enums/conversion_lag_bucket_pb2_grpc.py => v4/proto/enums/conversion_action_category_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_action_counting_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/conversion_or_adjustment_lag_bucket_pb2_grpc.py => v4/proto/enums/conversion_action_counting_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_action_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/criterion_category_channel_availability_mode_pb2_grpc.py => v4/proto/enums/conversion_action_status_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/conversion_action_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/criterion_category_locale_availability_mode_pb2_grpc.py => v4/proto/enums/conversion_action_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_adjustment_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/criterion_system_serving_status_pb2_grpc.py => v4/proto/enums/conversion_adjustment_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_attribution_event_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/criterion_type_pb2_grpc.py => v4/proto/enums/conversion_attribution_event_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_lag_bucket_pb2.py (85%) rename google/ads/google_ads/{v1/proto/enums/custom_interest_member_type_pb2_grpc.py => v4/proto/enums/conversion_lag_bucket_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/conversion_or_adjustment_lag_bucket_pb2.py (91%) rename google/ads/google_ads/{v1/proto/enums/custom_interest_status_pb2_grpc.py => v4/proto/enums/conversion_or_adjustment_lag_bucket_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/criterion_category_channel_availability_mode_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/custom_interest_type_pb2_grpc.py => v4/proto/enums/criterion_category_channel_availability_mode_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/criterion_category_locale_availability_mode_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/custom_placeholder_field_pb2_grpc.py => v4/proto/enums/criterion_category_locale_availability_mode_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/criterion_system_serving_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/customer_match_upload_key_type_pb2_grpc.py => v4/proto/enums/criterion_system_serving_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/criterion_type_pb2.py (87%) rename google/ads/google_ads/{v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py => v4/proto/enums/criterion_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/custom_interest_member_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/data_driven_model_status_pb2_grpc.py => v4/proto/enums/custom_interest_member_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/custom_interest_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/day_of_week_pb2_grpc.py => v4/proto/enums/custom_interest_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/custom_interest_type_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/device_pb2_grpc.py => v4/proto/enums/custom_interest_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/custom_placeholder_field_pb2.py (85%) rename google/ads/google_ads/{v1/proto/enums/display_ad_format_setting_pb2_grpc.py => v4/proto/enums/custom_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/customer_match_upload_key_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/display_upload_product_type_pb2_grpc.py => v4/proto/enums/customer_match_upload_key_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py (81%) rename google/ads/google_ads/{v1/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py => v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/data_driven_model_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/education_placeholder_field_pb2_grpc.py => v4/proto/enums/data_driven_model_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/day_of_week_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/extension_setting_device_pb2_grpc.py => v4/proto/enums/day_of_week_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/device_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/extension_type_pb2_grpc.py => v4/proto/enums/device_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/display_ad_format_setting_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/external_conversion_source_pb2_grpc.py => v4/proto/enums/display_ad_format_setting_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/display_upload_product_type_pb2.py (82%) rename google/ads/google_ads/{v1/proto/enums/feed_attribute_type_pb2_grpc.py => v4/proto/enums/display_upload_product_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/distance_bucket_pb2.py rename google/ads/google_ads/{v1/proto/enums/feed_item_quality_approval_status_pb2_grpc.py => v4/proto/enums/distance_bucket_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/dsa_page_feed_criterion_field_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py => v4/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/education_placeholder_field_pb2.py (84%) rename google/ads/google_ads/{v1/proto/enums/feed_item_status_pb2_grpc.py => v4/proto/enums/education_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/extension_setting_device_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/feed_item_target_device_pb2_grpc.py => v4/proto/enums/extension_setting_device_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/extension_type_pb2.py (68%) rename google/ads/google_ads/{v1/proto/enums/feed_item_target_type_pb2_grpc.py => v4/proto/enums/extension_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/external_conversion_source_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/feed_item_validation_status_pb2_grpc.py => v4/proto/enums/external_conversion_source_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_attribute_type_pb2.py (81%) rename google/ads/google_ads/{v1/proto/enums/feed_link_status_pb2_grpc.py => v4/proto/enums/feed_attribute_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_quality_approval_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/feed_mapping_criterion_type_pb2_grpc.py => v4/proto/enums/feed_item_quality_approval_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_quality_disapproval_reason_pb2.py (86%) rename google/ads/google_ads/{v1/proto/enums/feed_mapping_status_pb2_grpc.py => v4/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_status_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/feed_origin_pb2_grpc.py => v4/proto/enums/feed_item_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_target_device_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/feed_status_pb2_grpc.py => v4/proto/enums/feed_item_target_device_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2.py rename google/ads/google_ads/{v1/proto/enums/flight_placeholder_field_pb2_grpc.py => v4/proto/enums/feed_item_target_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_target_type_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/frequency_cap_event_type_pb2_grpc.py => v4/proto/enums/feed_item_target_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_item_validation_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/frequency_cap_level_pb2_grpc.py => v4/proto/enums/feed_item_validation_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_link_status_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/frequency_cap_time_unit_pb2_grpc.py => v4/proto/enums/feed_link_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_mapping_criterion_type_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/gender_type_pb2_grpc.py => v4/proto/enums/feed_mapping_criterion_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_mapping_status_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/geo_target_constant_status_pb2_grpc.py => v4/proto/enums/feed_mapping_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_origin_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/geo_targeting_restriction_pb2_grpc.py => v4/proto/enums/feed_origin_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/feed_status_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/geo_targeting_type_pb2_grpc.py => v4/proto/enums/feed_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/flight_placeholder_field_pb2.py (84%) rename google/ads/google_ads/{v1/proto/enums/google_ads_field_category_pb2_grpc.py => v4/proto/enums/flight_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/frequency_cap_event_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/google_ads_field_data_type_pb2_grpc.py => v4/proto/enums/frequency_cap_event_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/frequency_cap_level_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/hotel_date_selection_type_pb2_grpc.py => v4/proto/enums/frequency_cap_level_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/frequency_cap_time_unit_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/hotel_placeholder_field_pb2_grpc.py => v4/proto/enums/frequency_cap_time_unit_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/gender_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/hotel_rate_type_pb2_grpc.py => v4/proto/enums/gender_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/geo_target_constant_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/income_range_type_pb2_grpc.py => v4/proto/enums/geo_target_constant_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/geo_targeting_restriction_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/interaction_event_type_pb2_grpc.py => v4/proto/enums/geo_targeting_restriction_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/geo_targeting_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/interaction_type_pb2_grpc.py => v4/proto/enums/geo_targeting_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/google_ads_field_category_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/job_placeholder_field_pb2_grpc.py => v4/proto/enums/google_ads_field_category_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/google_ads_field_data_type_pb2.py (80%) rename google/ads/google_ads/{v1/proto/enums/keyword_match_type_pb2_grpc.py => v4/proto/enums/google_ads_field_data_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/hotel_date_selection_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/keyword_plan_competition_level_pb2_grpc.py => v4/proto/enums/hotel_date_selection_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/hotel_placeholder_field_pb2.py (85%) rename google/ads/google_ads/{v1/proto/enums/keyword_plan_forecast_interval_pb2_grpc.py => v4/proto/enums/hotel_placeholder_field_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/hotel_price_bucket_pb2.py rename google/ads/google_ads/{v1/proto/enums/keyword_plan_network_pb2_grpc.py => v4/proto/enums/hotel_price_bucket_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/hotel_rate_type_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/label_status_pb2_grpc.py => v4/proto/enums/hotel_rate_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/income_range_type_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py => v4/proto/enums/income_range_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/interaction_event_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/listing_custom_attribute_index_pb2_grpc.py => v4/proto/enums/interaction_event_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/interaction_type_pb2.py (71%) rename google/ads/google_ads/{v1/proto/enums/listing_group_type_pb2_grpc.py => v4/proto/enums/interaction_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/invoice_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/local_placeholder_field_pb2_grpc.py => v4/proto/enums/invoice_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/job_placeholder_field_pb2.py (83%) rename google/ads/google_ads/{v1/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py => v4/proto/enums/job_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/keyword_match_type_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/location_group_radius_units_pb2_grpc.py => v4/proto/enums/keyword_match_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/keyword_plan_competition_level_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/location_placeholder_field_pb2_grpc.py => v4/proto/enums/keyword_plan_competition_level_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/keyword_plan_forecast_interval_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/manager_link_status_pb2_grpc.py => v4/proto/enums/keyword_plan_forecast_interval_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/keyword_plan_network_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/matching_function_context_type_pb2_grpc.py => v4/proto/enums/keyword_plan_network_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/label_status_pb2.py (71%) rename google/ads/google_ads/{v1/proto/enums/matching_function_operator_pb2_grpc.py => v4/proto/enums/label_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/legacy_app_install_ad_app_store_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/media_type_pb2_grpc.py => v4/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/linked_account_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/merchant_center_link_status_pb2_grpc.py => v4/proto/enums/linked_account_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/listing_group_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/message_placeholder_field_pb2_grpc.py => v4/proto/enums/listing_group_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/local_placeholder_field_pb2.py (85%) rename google/ads/google_ads/{v1/proto/enums/mime_type_pb2_grpc.py => v4/proto/enums/local_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/location_extension_targeting_criterion_field_pb2.py (80%) rename google/ads/google_ads/{v1/proto/enums/minute_of_hour_pb2_grpc.py => v4/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/location_group_radius_units_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/mobile_device_type_pb2_grpc.py => v4/proto/enums/location_group_radius_units_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/location_placeholder_field_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/month_of_year_pb2_grpc.py => v4/proto/enums/location_placeholder_field_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/location_source_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/mutate_job_status_pb2_grpc.py => v4/proto/enums/location_source_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/manager_link_status_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/negative_geo_target_type_pb2_grpc.py => v4/proto/enums/manager_link_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/matching_function_context_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/operating_system_version_operator_type_pb2_grpc.py => v4/proto/enums/matching_function_context_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/matching_function_operator_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py => v4/proto/enums/matching_function_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/media_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/parental_status_type_pb2_grpc.py => v4/proto/enums/media_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/merchant_center_link_status_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/payment_mode_pb2_grpc.py => v4/proto/enums/merchant_center_link_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/message_placeholder_field_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/placeholder_type_pb2_grpc.py => v4/proto/enums/message_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/mime_type_pb2.py (80%) rename google/ads/google_ads/{v1/proto/enums/placement_type_pb2_grpc.py => v4/proto/enums/mime_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/minute_of_hour_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/policy_approval_status_pb2_grpc.py => v4/proto/enums/minute_of_hour_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2.py rename google/ads/google_ads/{v1/proto/enums/policy_review_status_pb2_grpc.py => v4/proto/enums/mobile_app_vendor_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/mobile_device_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/policy_topic_entry_type_pb2_grpc.py => v4/proto/enums/mobile_device_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/month_of_year_pb2.py (80%) rename google/ads/google_ads/{v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py => v4/proto/enums/month_of_year_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/negative_geo_target_type_pb2.py (63%) rename google/ads/google_ads/{v1/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py => v4/proto/enums/negative_geo_target_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/offline_user_data_job_failure_reason_pb2.py rename google/ads/google_ads/{v1/proto/enums/positive_geo_target_type_pb2_grpc.py => v4/proto/enums/offline_user_data_job_failure_reason_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/offline_user_data_job_status_pb2.py rename google/ads/google_ads/{v1/proto/enums/preferred_content_type_pb2_grpc.py => v4/proto/enums/offline_user_data_job_status_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/offline_user_data_job_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/price_extension_price_qualifier_pb2_grpc.py => v4/proto/enums/offline_user_data_job_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/operating_system_version_operator_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/price_extension_price_unit_pb2_grpc.py => v4/proto/enums/operating_system_version_operator_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/optimization_goal_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/price_extension_type_pb2_grpc.py => v4/proto/enums/optimization_goal_type_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/page_one_promoted_strategy_goal_pb2.py rename google/ads/google_ads/{v1/proto/enums/price_placeholder_field_pb2_grpc.py => v4/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/parental_status_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/product_bidding_category_level_pb2_grpc.py => v4/proto/enums/parental_status_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/payment_mode_pb2.py (61%) rename google/ads/google_ads/{v1/proto/enums/product_bidding_category_status_pb2_grpc.py => v4/proto/enums/payment_mode_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/placeholder_type_pb2.py (84%) rename google/ads/google_ads/{v1/proto/enums/product_channel_exclusivity_pb2_grpc.py => v4/proto/enums/placeholder_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/placement_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/product_channel_pb2_grpc.py => v4/proto/enums/placement_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/policy_approval_status_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/product_condition_pb2_grpc.py => v4/proto/enums/policy_approval_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/policy_review_status_pb2.py (62%) rename google/ads/google_ads/{v1/proto/enums/product_type_level_pb2_grpc.py => v4/proto/enums/policy_review_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/policy_topic_entry_type_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py => v4/proto/enums/policy_topic_entry_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py (80%) rename google/ads/google_ads/{v1/proto/enums/promotion_extension_occasion_pb2_grpc.py => v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/promotion_placeholder_field_pb2_grpc.py => v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py rename google/ads/google_ads/{v1/proto/enums/proximity_radius_units_pb2_grpc.py => v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/positive_geo_target_type_pb2.py (63%) rename google/ads/google_ads/{v1/proto/enums/quality_score_bucket_pb2_grpc.py => v4/proto/enums/positive_geo_target_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/preferred_content_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/real_estate_placeholder_field_pb2_grpc.py => v4/proto/enums/preferred_content_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/price_extension_price_qualifier_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/recommendation_type_pb2_grpc.py => v4/proto/enums/price_extension_price_qualifier_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/price_extension_price_unit_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/search_engine_results_page_type_pb2_grpc.py => v4/proto/enums/price_extension_price_unit_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/price_extension_type_pb2.py (79%) rename google/ads/google_ads/{v1/proto/enums/search_term_match_type_pb2_grpc.py => v4/proto/enums/price_extension_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/price_placeholder_field_pb2.py (92%) rename google/ads/google_ads/{v1/proto/enums/search_term_targeting_status_pb2_grpc.py => v4/proto/enums/price_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_bidding_category_level_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/served_asset_field_type_pb2_grpc.py => v4/proto/enums/product_bidding_category_level_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_bidding_category_status_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/shared_set_status_pb2_grpc.py => v4/proto/enums/product_bidding_category_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_channel_exclusivity_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/shared_set_type_pb2_grpc.py => v4/proto/enums/product_channel_exclusivity_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_channel_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/simulation_modification_method_pb2_grpc.py => v4/proto/enums/product_channel_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_condition_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/simulation_type_pb2_grpc.py => v4/proto/enums/product_condition_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1/proto/enums/listing_custom_attribute_index_pb2.py => v4/proto/enums/product_custom_attribute_index_pb2.py} (53%) rename google/ads/google_ads/{v1/proto/enums/sitelink_placeholder_field_pb2_grpc.py => v4/proto/enums/product_custom_attribute_index_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/product_type_level_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/slot_pb2_grpc.py => v4/proto/enums/product_type_level_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/promotion_extension_discount_modifier_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/spending_limit_type_pb2_grpc.py => v4/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/promotion_extension_occasion_pb2.py (89%) rename google/ads/google_ads/{v1/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py => v4/proto/enums/promotion_extension_occasion_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/promotion_placeholder_field_pb2.py (82%) rename google/ads/google_ads/{v1/proto/enums/system_managed_entity_source_pb2_grpc.py => v4/proto/enums/promotion_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/proximity_radius_units_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py => v4/proto/enums/proximity_radius_units_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/quality_score_bucket_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/target_impression_share_location_pb2_grpc.py => v4/proto/enums/quality_score_bucket_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2.py rename google/ads/google_ads/{v1/proto/enums/targeting_dimension_pb2_grpc.py => v4/proto/enums/reach_plan_ad_length_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2.py rename google/ads/google_ads/{v1/proto/enums/time_type_pb2_grpc.py => v4/proto/enums/reach_plan_age_range_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/reach_plan_network_pb2.py rename google/ads/google_ads/{v1/proto/enums/tracking_code_page_format_pb2_grpc.py => v4/proto/enums/reach_plan_network_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/real_estate_placeholder_field_pb2.py (84%) rename google/ads/google_ads/{v1/proto/enums/tracking_code_type_pb2_grpc.py => v4/proto/enums/real_estate_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/recommendation_type_pb2.py (82%) rename google/ads/google_ads/{v1/proto/enums/travel_placeholder_field_pb2_grpc.py => v4/proto/enums/recommendation_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/search_engine_results_page_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/user_interest_taxonomy_type_pb2_grpc.py => v4/proto/enums/search_engine_results_page_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/search_term_match_type_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/user_list_access_status_pb2_grpc.py => v4/proto/enums/search_term_match_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/search_term_targeting_status_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/user_list_closing_reason_pb2_grpc.py => v4/proto/enums/search_term_targeting_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/served_asset_field_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/user_list_combined_rule_operator_pb2_grpc.py => v4/proto/enums/served_asset_field_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/shared_set_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/enums/user_list_crm_data_source_type_pb2_grpc.py => v4/proto/enums/shared_set_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/shared_set_type_pb2.py (72%) rename google/ads/google_ads/{v1/proto/enums/user_list_date_rule_item_operator_pb2_grpc.py => v4/proto/enums/shared_set_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/simulation_modification_method_pb2.py (75%) rename google/ads/google_ads/{v1/proto/enums/user_list_logical_rule_operator_pb2_grpc.py => v4/proto/enums/simulation_modification_method_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/simulation_type_pb2.py (69%) rename google/ads/google_ads/{v1/proto/enums/user_list_membership_status_pb2_grpc.py => v4/proto/enums/simulation_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/sitelink_placeholder_field_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/user_list_number_rule_item_operator_pb2_grpc.py => v4/proto/enums/sitelink_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/slot_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/user_list_prepopulation_status_pb2_grpc.py => v4/proto/enums/slot_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/spending_limit_type_pb2.py (71%) rename google/ads/google_ads/{v1/proto/enums/user_list_rule_type_pb2_grpc.py => v4/proto/enums/spending_limit_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/structured_snippet_placeholder_field_pb2.py (76%) rename google/ads/google_ads/{v1/proto/enums/user_list_size_range_pb2_grpc.py => v4/proto/enums/structured_snippet_placeholder_field_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/enums/summary_row_setting_pb2.py rename google/ads/google_ads/{v1/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py => v4/proto/enums/summary_row_setting_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/system_managed_entity_source_pb2.py (74%) rename google/ads/google_ads/{v1/proto/enums/user_list_type_pb2_grpc.py => v4/proto/enums/system_managed_entity_source_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/target_cpa_opt_in_recommendation_goal_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py => v4/proto/enums/target_cpa_opt_in_recommendation_goal_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/target_impression_share_location_pb2.py (77%) rename google/ads/google_ads/{v1/proto/enums/vanity_pharma_text_pb2_grpc.py => v4/proto/enums/target_impression_share_location_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/targeting_dimension_pb2.py (78%) rename google/ads/google_ads/{v1/proto/enums/webpage_condition_operand_pb2_grpc.py => v4/proto/enums/targeting_dimension_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/time_type_pb2.py (71%) rename google/ads/google_ads/{v1/proto/enums/webpage_condition_operator_pb2_grpc.py => v4/proto/enums/time_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/tracking_code_page_format_pb2.py (74%) rename google/ads/google_ads/{v1/proto/errors/account_budget_proposal_error_pb2_grpc.py => v4/proto/enums/tracking_code_page_format_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/tracking_code_type_pb2.py (62%) rename google/ads/google_ads/{v1/proto/errors/ad_customizer_error_pb2_grpc.py => v4/proto/enums/tracking_code_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/travel_placeholder_field_pb2.py (85%) rename google/ads/google_ads/{v1/proto/errors/ad_error_pb2_grpc.py => v4/proto/enums/travel_placeholder_field_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_interest_taxonomy_type_pb2.py (77%) rename google/ads/google_ads/{v1/proto/errors/ad_group_ad_error_pb2_grpc.py => v4/proto/enums/user_interest_taxonomy_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_access_status_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/ad_group_bid_modifier_error_pb2_grpc.py => v4/proto/enums/user_list_access_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_closing_reason_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/ad_group_criterion_error_pb2_grpc.py => v4/proto/enums/user_list_closing_reason_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_combined_rule_operator_pb2.py (74%) rename google/ads/google_ads/{v1/proto/errors/ad_group_error_pb2_grpc.py => v4/proto/enums/user_list_combined_rule_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_crm_data_source_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/ad_group_feed_error_pb2_grpc.py => v4/proto/enums/user_list_crm_data_source_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_date_rule_item_operator_pb2.py (77%) rename google/ads/google_ads/{v1/proto/errors/ad_parameter_error_pb2_grpc.py => v4/proto/enums/user_list_date_rule_item_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_logical_rule_operator_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/ad_sharing_error_pb2_grpc.py => v4/proto/enums/user_list_logical_rule_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_membership_status_pb2.py (74%) rename google/ads/google_ads/{v1/proto/errors/adx_error_pb2_grpc.py => v4/proto/enums/user_list_membership_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_number_rule_item_operator_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/asset_error_pb2_grpc.py => v4/proto/enums/user_list_number_rule_item_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_prepopulation_status_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/authentication_error_pb2_grpc.py => v4/proto/enums/user_list_prepopulation_status_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_rule_type_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/authorization_error_pb2_grpc.py => v4/proto/enums/user_list_rule_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_size_range_pb2.py (84%) rename google/ads/google_ads/{v1/proto/errors/bidding_error_pb2_grpc.py => v4/proto/enums/user_list_size_range_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_string_rule_item_operator_pb2.py (80%) rename google/ads/google_ads/{v1/proto/errors/bidding_strategy_error_pb2_grpc.py => v4/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/user_list_type_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/billing_setup_error_pb2_grpc.py => v4/proto/enums/user_list_type_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/vanity_pharma_display_url_mode_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/campaign_budget_error_pb2_grpc.py => v4/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/vanity_pharma_text_pb2.py (82%) rename google/ads/google_ads/{v1/proto/errors/campaign_criterion_error_pb2_grpc.py => v4/proto/enums/vanity_pharma_text_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/webpage_condition_operand_pb2.py (77%) rename google/ads/google_ads/{v1/proto/errors/campaign_draft_error_pb2_grpc.py => v4/proto/enums/webpage_condition_operand_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/enums/webpage_condition_operator_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/campaign_error_pb2_grpc.py => v4/proto/enums/webpage_condition_operator_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/__init__.py (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/access_invitation_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/campaign_experiment_error_pb2_grpc.py => v4/proto/errors/access_invitation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/account_budget_proposal_error_pb2.py (79%) rename google/ads/google_ads/{v1/proto/errors/campaign_feed_error_pb2_grpc.py => v4/proto/errors/account_budget_proposal_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/account_link_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/campaign_shared_set_error_pb2_grpc.py => v4/proto/errors/account_link_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_customizer_error_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/change_status_error_pb2_grpc.py => v4/proto/errors/ad_customizer_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_error_pb2.py (85%) rename google/ads/google_ads/{v1/proto/errors/collection_size_error_pb2_grpc.py => v4/proto/errors/ad_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_group_ad_error_pb2.py (69%) rename google/ads/google_ads/{v1/proto/errors/context_error_pb2_grpc.py => v4/proto/errors/ad_group_ad_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_group_bid_modifier_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/conversion_action_error_pb2_grpc.py => v4/proto/errors/ad_group_bid_modifier_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_group_criterion_error_pb2.py (58%) rename google/ads/google_ads/{v1/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py => v4/proto/errors/ad_group_criterion_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_group_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/conversion_upload_error_pb2_grpc.py => v4/proto/errors/ad_group_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_group_feed_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/country_code_error_pb2_grpc.py => v4/proto/errors/ad_group_feed_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_parameter_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/criterion_error_pb2_grpc.py => v4/proto/errors/ad_parameter_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/ad_sharing_error_pb2.py (74%) rename google/ads/google_ads/{v1/proto/errors/custom_interest_error_pb2_grpc.py => v4/proto/errors/ad_sharing_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/adx_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/errors/customer_client_link_error_pb2_grpc.py => v4/proto/errors/adx_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/asset_error_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/customer_error_pb2_grpc.py => v4/proto/errors/asset_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/asset_link_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/customer_feed_error_pb2_grpc.py => v4/proto/errors/asset_link_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/authentication_error_pb2.py (85%) rename google/ads/google_ads/{v1/proto/errors/customer_manager_link_error_pb2_grpc.py => v4/proto/errors/authentication_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/authorization_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/errors/database_error_pb2_grpc.py => v4/proto/errors/authorization_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/batch_job_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/date_error_pb2_grpc.py => v4/proto/errors/batch_job_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/bidding_error_pb2.py (82%) rename google/ads/google_ads/{v1/proto/errors/date_range_error_pb2_grpc.py => v4/proto/errors/bidding_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/bidding_strategy_error_pb2.py (77%) rename google/ads/google_ads/{v1/proto/errors/distinct_error_pb2_grpc.py => v4/proto/errors/bidding_strategy_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/billing_setup_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/enum_error_pb2_grpc.py => v4/proto/errors/billing_setup_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_budget_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/errors_pb2_grpc.py => v4/proto/errors/campaign_budget_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_criterion_error_pb2.py (82%) rename google/ads/google_ads/{v1/proto/errors/extension_feed_item_error_pb2_grpc.py => v4/proto/errors/campaign_criterion_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_draft_error_pb2.py (81%) rename google/ads/google_ads/{v1/proto/errors/extension_setting_error_pb2_grpc.py => v4/proto/errors/campaign_draft_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/feed_attribute_reference_error_pb2_grpc.py => v4/proto/errors/campaign_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_experiment_error_pb2.py (81%) rename google/ads/google_ads/{v1/proto/errors/feed_error_pb2_grpc.py => v4/proto/errors/campaign_experiment_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_feed_error_pb2.py (69%) rename google/ads/google_ads/{v1/proto/errors/feed_item_error_pb2_grpc.py => v4/proto/errors/campaign_feed_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/campaign_shared_set_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/feed_item_target_error_pb2_grpc.py => v4/proto/errors/campaign_shared_set_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/change_status_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/feed_item_validation_error_pb2_grpc.py => v4/proto/errors/change_status_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/collection_size_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/feed_mapping_error_pb2_grpc.py => v4/proto/errors/collection_size_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/context_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/field_error_pb2_grpc.py => v4/proto/errors/context_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/conversion_action_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/field_mask_error_pb2_grpc.py => v4/proto/errors/conversion_action_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/conversion_adjustment_upload_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/function_error_pb2_grpc.py => v4/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/conversion_upload_error_pb2.py (86%) rename google/ads/google_ads/{v1/proto/errors/function_parsing_error_pb2_grpc.py => v4/proto/errors/conversion_upload_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/country_code_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py => v4/proto/errors/country_code_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/criterion_error_pb2.py (50%) rename google/ads/google_ads/{v1/proto/errors/header_error_pb2_grpc.py => v4/proto/errors/criterion_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/currency_code_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/id_error_pb2_grpc.py => v4/proto/errors/currency_code_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/custom_interest_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/image_error_pb2_grpc.py => v4/proto/errors/custom_interest_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/customer_client_link_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/internal_error_pb2_grpc.py => v4/proto/errors/customer_client_link_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/customer_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py => v4/proto/errors/customer_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/customer_feed_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_campaign_error_pb2_grpc.py => v4/proto/errors/customer_feed_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/customer_manager_link_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_error_pb2_grpc.py => v4/proto/errors/customer_manager_link_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/database_error_pb2.py (56%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_idea_error_pb2_grpc.py => v4/proto/errors/database_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/date_error_pb2.py (80%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_keyword_error_pb2_grpc.py => v4/proto/errors/date_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/date_range_error_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py => v4/proto/errors/date_range_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/distinct_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/label_error_pb2_grpc.py => v4/proto/errors/distinct_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/enum_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/errors/language_code_error_pb2_grpc.py => v4/proto/errors/enum_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/errors_pb2.py (55%) rename google/ads/google_ads/{v1/proto/errors/list_operation_error_pb2_grpc.py => v4/proto/errors/errors_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/extension_feed_item_error_pb2.py (86%) rename google/ads/google_ads/{v1/proto/errors/manager_link_error_pb2_grpc.py => v4/proto/errors/extension_feed_item_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/extension_setting_error_pb2.py (93%) rename google/ads/google_ads/{v1/proto/errors/media_bundle_error_pb2_grpc.py => v4/proto/errors/extension_setting_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_attribute_reference_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/media_file_error_pb2_grpc.py => v4/proto/errors/feed_attribute_reference_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/media_upload_error_pb2_grpc.py => v4/proto/errors/feed_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_item_error_pb2.py (80%) rename google/ads/google_ads/{v1/proto/errors/multiplier_error_pb2_grpc.py => v4/proto/errors/feed_item_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_item_target_error_pb2.py (68%) rename google/ads/google_ads/{v1/proto/errors/mutate_error_pb2_grpc.py => v4/proto/errors/feed_item_target_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_item_validation_error_pb2.py (92%) rename google/ads/google_ads/{v1/proto/errors/mutate_job_error_pb2_grpc.py => v4/proto/errors/feed_item_validation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/feed_mapping_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/new_resource_creation_error_pb2_grpc.py => v4/proto/errors/feed_mapping_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/field_error_pb2.py (77%) rename google/ads/google_ads/{v1/proto/errors/not_empty_error_pb2_grpc.py => v4/proto/errors/field_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/field_mask_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/not_whitelisted_error_pb2_grpc.py => v4/proto/errors/field_mask_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/function_error_pb2.py (83%) rename google/ads/google_ads/{v1/proto/errors/null_error_pb2_grpc.py => v4/proto/errors/function_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/function_parsing_error_pb2.py (81%) rename google/ads/google_ads/{v1/proto/errors/operation_access_denied_error_pb2_grpc.py => v4/proto/errors/function_parsing_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/geo_target_constant_suggestion_error_pb2.py (78%) rename google/ads/google_ads/{v1/proto/errors/operator_error_pb2_grpc.py => v4/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/header_error_pb2.py (62%) rename google/ads/google_ads/{v1/proto/errors/partial_failure_error_pb2_grpc.py => v4/proto/errors/header_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/id_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/errors/policy_finding_error_pb2_grpc.py => v4/proto/errors/id_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/image_error_pb2.py (86%) rename google/ads/google_ads/{v1/proto/errors/policy_validation_parameter_error_pb2_grpc.py => v4/proto/errors/image_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/internal_error_pb2.py (61%) rename google/ads/google_ads/{v1/proto/errors/policy_violation_error_pb2_grpc.py => v4/proto/errors/internal_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/invoice_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/query_error_pb2_grpc.py => v4/proto/errors/invoice_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/keyword_plan_ad_group_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/errors/quota_error_pb2_grpc.py => v4/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/range_error_pb2_grpc.py => v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/keyword_plan_campaign_error_pb2.py (69%) rename google/ads/google_ads/{v1/proto/errors/recommendation_error_pb2_grpc.py => v4/proto/errors/keyword_plan_campaign_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2.py rename google/ads/google_ads/{v1/proto/errors/region_code_error_pb2_grpc.py => v4/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/keyword_plan_error_pb2.py (83%) rename google/ads/google_ads/{v1/proto/errors/request_error_pb2_grpc.py => v4/proto/errors/keyword_plan_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/keyword_plan_idea_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/errors/resource_access_denied_error_pb2_grpc.py => v4/proto/errors/keyword_plan_idea_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/label_error_pb2.py (79%) rename google/ads/google_ads/{v1/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py => v4/proto/errors/label_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/language_code_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/setting_error_pb2_grpc.py => v4/proto/errors/language_code_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/list_operation_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/shared_criterion_error_pb2_grpc.py => v4/proto/errors/list_operation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/manager_link_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/errors/shared_set_error_pb2_grpc.py => v4/proto/errors/manager_link_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/media_bundle_error_pb2.py (86%) rename google/ads/google_ads/{v1/proto/errors/size_limit_error_pb2_grpc.py => v4/proto/errors/media_bundle_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/media_file_error_pb2.py (86%) rename google/ads/google_ads/{v1/proto/errors/string_format_error_pb2_grpc.py => v4/proto/errors/media_file_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/media_upload_error_pb2.py (62%) rename google/ads/google_ads/{v1/proto/errors/string_length_error_pb2_grpc.py => v4/proto/errors/media_upload_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/multiplier_error_pb2.py (83%) rename google/ads/google_ads/{v1/proto/errors/url_field_error_pb2_grpc.py => v4/proto/errors/multiplier_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/mutate_error_pb2.py (66%) rename google/ads/google_ads/{v1/proto/errors/user_list_error_pb2_grpc.py => v4/proto/errors/mutate_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/new_resource_creation_error_pb2.py (76%) rename google/ads/google_ads/{v1/proto/errors/youtube_video_registration_error_pb2_grpc.py => v4/proto/errors/new_resource_creation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/not_empty_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/resources/account_budget_pb2_grpc.py => v4/proto/errors/not_empty_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/not_whitelisted_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/resources/account_budget_proposal_pb2_grpc.py => v4/proto/errors/not_whitelisted_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/null_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/resources/ad_group_ad_label_pb2_grpc.py => v4/proto/errors/null_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/ad_group_ad_pb2_grpc.py => v4/proto/errors/offline_user_data_job_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/operation_access_denied_error_pb2.py (83%) rename google/ads/google_ads/{v1/proto/resources/ad_group_audience_view_pb2_grpc.py => v4/proto/errors/operation_access_denied_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/operator_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/resources/ad_group_bid_modifier_pb2_grpc.py => v4/proto/errors/operator_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/partial_failure_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/resources/ad_group_criterion_label_pb2_grpc.py => v4/proto/errors/partial_failure_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/payments_account_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/ad_group_criterion_pb2_grpc.py => v4/proto/errors/payments_account_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/policy_finding_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/resources/ad_group_criterion_simulation_pb2_grpc.py => v4/proto/errors/policy_finding_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/policy_validation_parameter_error_pb2.py (77%) rename google/ads/google_ads/{v1/proto/resources/ad_group_extension_setting_pb2_grpc.py => v4/proto/errors/policy_validation_parameter_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/policy_violation_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/resources/ad_group_feed_pb2_grpc.py => v4/proto/errors/policy_violation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/query_error_pb2.py (61%) rename google/ads/google_ads/{v1/proto/resources/ad_group_label_pb2_grpc.py => v4/proto/errors/query_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/quota_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/resources/ad_group_pb2_grpc.py => v4/proto/errors/quota_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/range_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/resources/ad_group_simulation_pb2_grpc.py => v4/proto/errors/range_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/ad_parameter_pb2_grpc.py => v4/proto/errors/reach_plan_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/recommendation_error_pb2.py (83%) rename google/ads/google_ads/{v1/proto/resources/ad_pb2_grpc.py => v4/proto/errors/recommendation_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/region_code_error_pb2.py (70%) rename google/ads/google_ads/{v1/proto/resources/ad_schedule_view_pb2_grpc.py => v4/proto/errors/region_code_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/request_error_pb2.py (71%) rename google/ads/google_ads/{v1/proto/resources/age_range_view_pb2_grpc.py => v4/proto/errors/request_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/resource_access_denied_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/resources/asset_pb2_grpc.py => v4/proto/errors/resource_access_denied_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/resource_count_limit_exceeded_error_pb2.py (76%) rename google/ads/google_ads/{v1/proto/resources/bidding_strategy_pb2_grpc.py => v4/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/setting_error_pb2.py (62%) rename google/ads/google_ads/{v1/proto/resources/billing_setup_pb2_grpc.py => v4/proto/errors/setting_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/shared_criterion_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/resources/campaign_audience_view_pb2_grpc.py => v4/proto/errors/shared_criterion_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/shared_set_error_pb2.py (75%) rename google/ads/google_ads/{v1/proto/resources/campaign_bid_modifier_pb2_grpc.py => v4/proto/errors/shared_set_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/size_limit_error_pb2.py (72%) rename google/ads/google_ads/{v1/proto/resources/campaign_budget_pb2_grpc.py => v4/proto/errors/size_limit_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/string_format_error_pb2.py (73%) rename google/ads/google_ads/{v1/proto/resources/campaign_criterion_pb2_grpc.py => v4/proto/errors/string_format_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/string_length_error_pb2.py (62%) rename google/ads/google_ads/{v1/proto/resources/campaign_criterion_simulation_pb2_grpc.py => v4/proto/errors/string_length_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/campaign_draft_pb2_grpc.py => v4/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/time_zone_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/campaign_experiment_pb2_grpc.py => v4/proto/errors/time_zone_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/url_field_error_pb2.py (92%) rename google/ads/google_ads/{v1/proto/resources/campaign_extension_setting_pb2_grpc.py => v4/proto/errors/url_field_error_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/errors/user_data_error_pb2.py rename google/ads/google_ads/{v1/proto/resources/campaign_feed_pb2_grpc.py => v4/proto/errors/user_data_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/user_list_error_pb2.py (87%) rename google/ads/google_ads/{v1/proto/resources/campaign_label_pb2_grpc.py => v4/proto/errors/user_list_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/errors/youtube_video_registration_error_pb2.py (65%) rename google/ads/google_ads/{v1/proto/resources/campaign_pb2_grpc.py => v4/proto/errors/youtube_video_registration_error_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/account_budget_pb2.py (56%) rename google/ads/google_ads/{v1/proto/resources/campaign_shared_set_pb2_grpc.py => v4/proto/resources/account_budget_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/account_budget_proposal_pb2.py (55%) rename google/ads/google_ads/{v1/proto/resources/carrier_constant_pb2_grpc.py => v4/proto/resources/account_budget_proposal_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/account_link_pb2.py rename google/ads/google_ads/{v1/proto/resources/change_status_pb2_grpc.py => v4/proto/resources/account_link_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/click_view_pb2_grpc.py => v4/proto/resources/ad_group_ad_asset_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2.py rename google/ads/google_ads/{v1/proto/resources/conversion_action_pb2_grpc.py => v4/proto/resources/ad_group_ad_label_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2.py rename google/ads/google_ads/{v1/proto/resources/custom_interest_pb2_grpc.py => v4/proto/resources/ad_group_ad_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_client_link_pb2_grpc.py => v4/proto/resources/ad_group_audience_view_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/ad_group_bid_modifier_pb2.py (52%) rename google/ads/google_ads/{v1/proto/resources/customer_client_pb2_grpc.py => v4/proto/resources/ad_group_bid_modifier_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_extension_setting_pb2_grpc.py => v4/proto/resources/ad_group_criterion_label_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/ad_group_criterion_pb2.py (54%) rename google/ads/google_ads/{v1/proto/resources/customer_feed_pb2_grpc.py => v4/proto/resources/ad_group_criterion_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_label_pb2_grpc.py => v4/proto/resources/ad_group_criterion_simulation_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_manager_link_pb2_grpc.py => v4/proto/resources/ad_group_extension_setting_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_feed_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_negative_criterion_pb2_grpc.py => v4/proto/resources/ad_group_feed_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_label_pb2.py rename google/ads/google_ads/{v1/proto/resources/customer_pb2_grpc.py => v4/proto/resources/ad_group_label_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/ad_group_pb2.py (56%) rename google/ads/google_ads/{v1/proto/resources/detail_placement_view_pb2_grpc.py => v4/proto/resources/ad_group_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2.py rename google/ads/google_ads/{v1/proto/resources/display_keyword_view_pb2_grpc.py => v4/proto/resources/ad_group_simulation_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/ad_parameter_pb2.py (55%) rename google/ads/google_ads/{v1/proto/resources/domain_category_pb2_grpc.py => v4/proto/resources/ad_parameter_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/ad_pb2.py (56%) rename google/ads/google_ads/{v1/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py => v4/proto/resources/ad_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/expanded_landing_page_view_pb2_grpc.py => v4/proto/resources/ad_schedule_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/age_range_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/extension_feed_item_pb2_grpc.py => v4/proto/resources/age_range_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/asset_pb2.py rename google/ads/google_ads/{v1/proto/resources/feed_item_pb2_grpc.py => v4/proto/resources/asset_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/batch_job_pb2.py rename google/ads/google_ads/{v1/proto/resources/feed_item_target_pb2_grpc.py => v4/proto/resources/batch_job_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/bidding_strategy_pb2.py (53%) rename google/ads/google_ads/{v1/proto/resources/feed_mapping_pb2_grpc.py => v4/proto/resources/bidding_strategy_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/billing_setup_pb2.py (51%) rename google/ads/google_ads/{v1/proto/resources/feed_pb2_grpc.py => v4/proto/resources/billing_setup_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/feed_placeholder_view_pb2_grpc.py => v4/proto/resources/campaign_audience_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2.py rename google/ads/google_ads/{v1/proto/resources/gender_view_pb2_grpc.py => v4/proto/resources/campaign_bid_modifier_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/campaign_budget_pb2.py (55%) rename google/ads/google_ads/{v1/proto/resources/geo_target_constant_pb2_grpc.py => v4/proto/resources/campaign_budget_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/campaign_criterion_pb2.py (55%) rename google/ads/google_ads/{v1/proto/resources/geographic_view_pb2_grpc.py => v4/proto/resources/campaign_criterion_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2.py rename google/ads/google_ads/{v1/proto/resources/google_ads_field_pb2_grpc.py => v4/proto/resources/campaign_criterion_simulation_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_draft_pb2.py rename google/ads/google_ads/{v1/proto/resources/group_placement_view_pb2_grpc.py => v4/proto/resources/campaign_draft_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/campaign_experiment_pb2.py (54%) rename google/ads/google_ads/{v1/proto/resources/hotel_group_view_pb2_grpc.py => v4/proto/resources/campaign_experiment_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2.py rename google/ads/google_ads/{v1/proto/resources/hotel_performance_view_pb2_grpc.py => v4/proto/resources/campaign_extension_setting_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_feed_pb2.py rename google/ads/google_ads/{v1/proto/resources/keyword_plan_ad_group_pb2_grpc.py => v4/proto/resources/campaign_feed_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_label_pb2.py rename google/ads/google_ads/{v1/proto/resources/keyword_plan_campaign_pb2_grpc.py => v4/proto/resources/campaign_label_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/campaign_pb2.py (57%) rename google/ads/google_ads/{v1/proto/resources/keyword_plan_keyword_pb2_grpc.py => v4/proto/resources/campaign_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2.py rename google/ads/google_ads/{v1/proto/resources/keyword_plan_negative_keyword_pb2_grpc.py => v4/proto/resources/campaign_shared_set_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/carrier_constant_pb2.py rename google/ads/google_ads/{v1/proto/resources/keyword_plan_pb2_grpc.py => v4/proto/resources/carrier_constant_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/change_status_pb2.py rename google/ads/google_ads/{v1/proto/resources/keyword_view_pb2_grpc.py => v4/proto/resources/change_status_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/click_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/label_pb2_grpc.py => v4/proto/resources/click_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/conversion_action_pb2.py rename google/ads/google_ads/{v1/proto/resources/landing_page_view_pb2_grpc.py => v4/proto/resources/conversion_action_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/currency_constant_pb2.py rename google/ads/google_ads/{v1/proto/resources/language_constant_pb2_grpc.py => v4/proto/resources/currency_constant_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/custom_interest_pb2.py (59%) rename google/ads/google_ads/{v1/proto/resources/location_view_pb2_grpc.py => v4/proto/resources/custom_interest_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/customer_client_link_pb2.py (50%) rename google/ads/google_ads/{v1/proto/resources/managed_placement_view_pb2_grpc.py => v4/proto/resources/customer_client_link_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/customer_client_pb2.py rename google/ads/google_ads/{v1/proto/resources/media_file_pb2_grpc.py => v4/proto/resources/customer_client_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2.py rename google/ads/google_ads/{v1/proto/resources/merchant_center_link_pb2_grpc.py => v4/proto/resources/customer_extension_setting_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/customer_feed_pb2.py rename google/ads/google_ads/{v1/proto/resources/mobile_app_category_constant_pb2_grpc.py => v4/proto/resources/customer_feed_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/customer_label_pb2.py rename google/ads/google_ads/{v1/proto/resources/mobile_device_constant_pb2_grpc.py => v4/proto/resources/customer_label_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/customer_manager_link_pb2.py rename google/ads/google_ads/{v1/proto/resources/mutate_job_pb2_grpc.py => v4/proto/resources/customer_manager_link_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/customer_negative_criterion_pb2.py (53%) rename google/ads/google_ads/{v1/proto/resources/operating_system_version_constant_pb2_grpc.py => v4/proto/resources/customer_negative_criterion_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/customer_pb2.py (56%) rename google/ads/google_ads/{v1/proto/resources/paid_organic_search_term_view_pb2_grpc.py => v4/proto/resources/customer_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/parental_status_view_pb2_grpc.py => v4/proto/resources/detail_placement_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/payments_account_pb2_grpc.py => v4/proto/resources/display_keyword_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/distance_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/product_bidding_category_constant_pb2_grpc.py => v4/proto/resources/distance_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/domain_category_pb2.py rename google/ads/google_ads/{v1/proto/resources/product_group_view_pb2_grpc.py => v4/proto/resources/domain_category_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/recommendation_pb2_grpc.py => v4/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/remarketing_action_pb2_grpc.py => v4/proto/resources/expanded_landing_page_view_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/extension_feed_item_pb2.py (53%) rename google/ads/google_ads/{v1/proto/resources/search_term_view_pb2_grpc.py => v4/proto/resources/extension_feed_item_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/feed_item_pb2.py (54%) rename google/ads/google_ads/{v1/proto/resources/shared_criterion_pb2_grpc.py => v4/proto/resources/feed_item_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/feed_item_target_pb2.py rename google/ads/google_ads/{v1/proto/resources/shared_set_pb2_grpc.py => v4/proto/resources/feed_item_target_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/feed_mapping_pb2.py (51%) rename google/ads/google_ads/{v1/proto/resources/shopping_performance_view_pb2_grpc.py => v4/proto/resources/feed_mapping_pb2_grpc.py} (100%) rename google/ads/google_ads/{v1 => v4}/proto/resources/feed_pb2.py (66%) rename google/ads/google_ads/{v1/proto/resources/topic_constant_pb2_grpc.py => v4/proto/resources/feed_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/topic_view_pb2_grpc.py => v4/proto/resources/feed_placeholder_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/gender_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/user_interest_pb2_grpc.py => v4/proto/resources/gender_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2.py rename google/ads/google_ads/{v1/proto/resources/user_list_pb2_grpc.py => v4/proto/resources/geo_target_constant_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/geographic_view_pb2.py rename google/ads/google_ads/{v1/proto/resources/video_pb2_grpc.py => v4/proto/resources/geographic_view_pb2_grpc.py} (100%) create mode 100644 google/ads/google_ads/v4/proto/resources/google_ads_field_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/google_ads_field_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/group_placement_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/group_placement_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/income_range_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/income_range_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/invoice_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/invoice_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_keyword_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_keyword_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/keyword_plan_ad_group_pb2.py (56%) create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_keyword_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_keyword_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/keyword_plan_campaign_pb2.py (58%) create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/keyword_plan_pb2.py (58%) create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_plan_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/keyword_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/label_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/label_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/landing_page_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/landing_page_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/language_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/language_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/location_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/location_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/media_file_pb2.py (54%) create mode 100644 google/ads/google_ads/v4/proto/resources/media_file_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/mobile_device_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/mobile_device_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/offline_user_data_job_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/offline_user_data_job_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/operating_system_version_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/operating_system_version_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/paid_organic_search_term_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/paid_organic_search_term_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/parental_status_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/parental_status_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/payments_account_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/payments_account_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/product_group_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/product_group_view_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/recommendation_pb2.py (60%) create mode 100644 google/ads/google_ads/v4/proto/resources/recommendation_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/remarketing_action_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/remarketing_action_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/search_term_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/search_term_view_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/shared_criterion_pb2.py (51%) create mode 100644 google/ads/google_ads/v4/proto/resources/shared_criterion_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/shared_set_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/shared_set_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/topic_constant_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/topic_constant_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/topic_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/topic_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/user_interest_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/user_interest_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/resources/user_list_pb2.py (57%) create mode 100644 google/ads/google_ads/v4/proto/resources/user_list_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/user_location_view_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/user_location_view_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/resources/video_pb2.py create mode 100644 google/ads/google_ads/v4/proto/resources/video_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/proto/services/account_budget_proposal_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/account_budget_proposal_service_pb2_grpc.py (75%) create mode 100644 google/ads/google_ads/v4/proto/services/account_budget_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/account_budget_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/account_link_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/account_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/ad_group_ad_asset_view_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_ad_label_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_ad_label_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_ad_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_ad_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_audience_view_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_bid_modifier_service_pb2.py (65%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_bid_modifier_service_pb2_grpc.py (74%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_criterion_label_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_criterion_label_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_criterion_service_pb2.py (65%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_criterion_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_extension_setting_service_pb2.py (66%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_extension_setting_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_feed_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_feed_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_label_service_pb2.py (62%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_label_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_service_pb2_grpc.py (69%) create mode 100644 google/ads/google_ads/v4/proto/services/ad_group_simulation_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/ad_group_simulation_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_parameter_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/ad_parameter_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/ad_schedule_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/ad_schedule_view_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/ad_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/ad_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/age_range_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/age_range_view_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/asset_service_pb2.py (57%) rename google/ads/google_ads/{v1 => v4}/proto/services/asset_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/batch_job_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/batch_job_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/bidding_strategy_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/bidding_strategy_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/billing_setup_service_pb2.py (60%) rename google/ads/google_ads/{v1 => v4}/proto/services/billing_setup_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_audience_view_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_bid_modifier_service_pb2.py (65%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_bid_modifier_service_pb2_grpc.py (74%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_budget_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_budget_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_criterion_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_criterion_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_criterion_simulation_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_draft_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_draft_service_pb2_grpc.py (76%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_experiment_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_experiment_service_pb2_grpc.py (81%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_extension_setting_service_pb2.py (66%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_extension_setting_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_feed_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_feed_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_label_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_label_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_service_pb2_grpc.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_shared_set_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/campaign_shared_set_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/carrier_constant_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/change_status_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/change_status_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/click_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/click_view_service_pb2_grpc.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_action_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_action_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_adjustment_upload_service_pb2.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_adjustment_upload_service_pb2_grpc.py (77%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_upload_service_pb2.py (69%) rename google/ads/google_ads/{v1 => v4}/proto/services/conversion_upload_service_pb2_grpc.py (74%) create mode 100644 google/ads/google_ads/v4/proto/services/currency_constant_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/currency_constant_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/custom_interest_service_pb2.py (61%) rename google/ads/google_ads/{v1 => v4}/proto/services/custom_interest_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_client_link_service_pb2.py (61%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_client_link_service_pb2_grpc.py (72%) create mode 100644 google/ads/google_ads/v4/proto/services/customer_client_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/customer_client_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_extension_setting_service_pb2.py (66%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_extension_setting_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_feed_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_feed_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_label_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_label_service_pb2_grpc.py (72%) create mode 100644 google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/customer_manager_link_service_pb2_grpc.py (52%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_negative_criterion_service_pb2.py (65%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_negative_criterion_service_pb2_grpc.py (75%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_service_pb2.py (55%) rename google/ads/google_ads/{v1 => v4}/proto/services/customer_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/detail_placement_view_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/display_keyword_view_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/distance_view_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/distance_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/domain_category_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/domain_category_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py (76%) create mode 100644 google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/expanded_landing_page_view_service_pb2_grpc.py (74%) rename google/ads/google_ads/{v1 => v4}/proto/services/extension_feed_item_service_pb2.py (57%) rename google/ads/google_ads/{v1 => v4}/proto/services/extension_feed_item_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_item_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_item_service_pb2_grpc.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_item_target_service_pb2.py (60%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_item_target_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_mapping_service_pb2.py (62%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_mapping_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/feed_placeholder_view_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/feed_service_pb2_grpc.py (68%) create mode 100644 google/ads/google_ads/v4/proto/services/gender_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/gender_view_service_pb2_grpc.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/geo_target_constant_service_pb2.py (68%) rename google/ads/google_ads/{v1 => v4}/proto/services/geo_target_constant_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/geographic_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/geographic_view_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/google_ads_field_service_pb2.py (59%) rename google/ads/google_ads/{v1 => v4}/proto/services/google_ads_field_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/google_ads_service_pb2.py (51%) rename google/ads/google_ads/{v1 => v4}/proto/services/google_ads_service_pb2_grpc.py (66%) create mode 100644 google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/group_placement_view_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/hotel_group_view_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/hotel_performance_view_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/income_range_view_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/income_range_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/invoice_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/invoice_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/keyword_plan_ad_group_keyword_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/keyword_plan_ad_group_keyword_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_ad_group_service_pb2.py (64%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_ad_group_service_pb2_grpc.py (74%) create mode 100644 google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_campaign_service_pb2.py (65%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_campaign_service_pb2_grpc.py (74%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_idea_service_pb2.py (53%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_idea_service_pb2_grpc.py (76%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_service_pb2.py (54%) rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_plan_service_pb2_grpc.py (57%) create mode 100644 google/ads/google_ads/v4/proto/services/keyword_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/keyword_view_service_pb2_grpc.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/label_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/label_service_pb2_grpc.py (67%) create mode 100644 google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/landing_page_view_service_pb2_grpc.py (72%) create mode 100644 google/ads/google_ads/v4/proto/services/language_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/language_constant_service_pb2_grpc.py (72%) create mode 100644 google/ads/google_ads/v4/proto/services/location_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/location_view_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/managed_placement_view_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/media_file_service_pb2.py (61%) rename google/ads/google_ads/{v1 => v4}/proto/services/media_file_service_pb2_grpc.py (70%) rename google/ads/google_ads/{v1 => v4}/proto/services/merchant_center_link_service_pb2.py (62%) rename google/ads/google_ads/{v1 => v4}/proto/services/merchant_center_link_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/mobile_app_category_constant_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/mobile_device_constant_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/operating_system_version_constant_service_pb2_grpc.py (76%) create mode 100644 google/ads/google_ads/v4/proto/services/paid_organic_search_term_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/paid_organic_search_term_view_service_pb2_grpc.py (75%) create mode 100644 google/ads/google_ads/v4/proto/services/parental_status_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/parental_status_view_service_pb2_grpc.py (73%) rename google/ads/google_ads/{v1 => v4}/proto/services/payments_account_service_pb2.py (52%) rename google/ads/google_ads/{v1 => v4}/proto/services/payments_account_service_pb2_grpc.py (65%) create mode 100644 google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/product_bidding_category_constant_service_pb2_grpc.py (76%) create mode 100644 google/ads/google_ads/v4/proto/services/product_group_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/product_group_view_service_pb2_grpc.py (72%) create mode 100644 google/ads/google_ads/v4/proto/services/reach_plan_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/reach_plan_service_pb2_grpc.py rename google/ads/google_ads/{v1 => v4}/proto/services/recommendation_service_pb2.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/recommendation_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/remarketing_action_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/remarketing_action_service_pb2_grpc.py (73%) create mode 100644 google/ads/google_ads/v4/proto/services/search_term_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/search_term_view_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/shared_criterion_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/shared_criterion_service_pb2_grpc.py (72%) rename google/ads/google_ads/{v1 => v4}/proto/services/shared_set_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/shared_set_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/shopping_performance_view_service_pb2_grpc.py (74%) create mode 100644 google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/topic_constant_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/topic_constant_service_pb2_grpc.py (71%) create mode 100644 google/ads/google_ads/v4/proto/services/topic_view_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/topic_view_service_pb2_grpc.py (69%) create mode 100644 google/ads/google_ads/v4/proto/services/user_data_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/user_data_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/user_interest_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/user_interest_service_pb2_grpc.py (71%) rename google/ads/google_ads/{v1 => v4}/proto/services/user_list_service_pb2.py (63%) rename google/ads/google_ads/{v1 => v4}/proto/services/user_list_service_pb2_grpc.py (70%) create mode 100644 google/ads/google_ads/v4/proto/services/user_location_view_service_pb2.py create mode 100644 google/ads/google_ads/v4/proto/services/user_location_view_service_pb2_grpc.py create mode 100644 google/ads/google_ads/v4/proto/services/video_service_pb2.py rename google/ads/google_ads/{v1 => v4}/proto/services/video_service_pb2_grpc.py (67%) rename google/ads/google_ads/{v1 => v4}/services/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/services/account_budget_proposal_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/account_budget_proposal_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/account_budget_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/account_budget_service_client_config.py rename google/ads/google_ads/{v1/services/keyword_plan_keyword_service_client.py => v4/services/account_link_service_client.py} (64%) create mode 100644 google/ads/google_ads/v4/services/account_link_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client.py create mode 100644 google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_ad_label_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/ad_group_ad_label_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_ad_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/ad_group_ad_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_audience_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/ad_group_audience_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_bid_modifier_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_criterion_label_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/ad_group_criterion_label_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_criterion_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/ad_group_criterion_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_criterion_simulation_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_extension_setting_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/ad_group_extension_setting_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_feed_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/ad_group_feed_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_label_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/ad_group_label_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/ad_group_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_group_simulation_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/ad_group_simulation_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_parameter_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/ad_parameter_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/ad_schedule_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/ad_schedule_view_service_client_config.py rename google/ads/google_ads/{v1/services/customer_manager_link_service_client.py => v4/services/ad_service_client.py} (64%) create mode 100644 google/ads/google_ads/v4/services/ad_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/age_range_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/age_range_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/asset_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/asset_service_client_config.py rename google/ads/google_ads/{v1/services/mutate_job_service_client.py => v4/services/batch_job_service_client.py} (58%) create mode 100644 google/ads/google_ads/v4/services/batch_job_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/bidding_strategy_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/bidding_strategy_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/billing_setup_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/billing_setup_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_audience_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/campaign_audience_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_bid_modifier_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/campaign_bid_modifier_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_budget_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/campaign_budget_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_criterion_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/campaign_criterion_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_criterion_simulation_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_draft_service_client.py (69%) create mode 100644 google/ads/google_ads/v4/services/campaign_draft_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_experiment_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/campaign_experiment_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_extension_setting_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/campaign_extension_setting_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_feed_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/campaign_feed_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_label_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/campaign_label_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/campaign_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/campaign_shared_set_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/campaign_shared_set_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/carrier_constant_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/carrier_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/change_status_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/change_status_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/click_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/click_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/conversion_action_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/conversion_action_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/conversion_adjustment_upload_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/conversion_upload_service_client.py (72%) create mode 100644 google/ads/google_ads/v4/services/conversion_upload_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/currency_constant_service_client.py create mode 100644 google/ads/google_ads/v4/services/currency_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/custom_interest_service_client.py (72%) create mode 100644 google/ads/google_ads/v4/services/custom_interest_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_client_link_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/customer_client_link_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_client_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/customer_client_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_extension_setting_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/customer_extension_setting_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_feed_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/customer_feed_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_label_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/customer_label_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/customer_manager_link_service_client.py create mode 100644 google/ads/google_ads/v4/services/customer_manager_link_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_negative_criterion_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/customer_negative_criterion_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/customer_service_client.py (64%) create mode 100644 google/ads/google_ads/v4/services/customer_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/detail_placement_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/detail_placement_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/display_keyword_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/display_keyword_view_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/distance_view_service_client.py create mode 100644 google/ads/google_ads/v4/services/distance_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/domain_category_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/domain_category_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/dynamic_search_ads_search_term_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/enums.py (79%) rename google/ads/google_ads/{v1 => v4}/services/expanded_landing_page_view_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/expanded_landing_page_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/extension_feed_item_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/extension_feed_item_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/feed_item_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/feed_item_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/feed_item_target_service_client.py (72%) create mode 100644 google/ads/google_ads/v4/services/feed_item_target_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/feed_mapping_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/feed_mapping_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/feed_placeholder_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/feed_placeholder_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/feed_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/feed_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/gender_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/gender_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/geo_target_constant_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/geo_target_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/geographic_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/geographic_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/google_ads_field_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/google_ads_field_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/google_ads_service_client.py (58%) create mode 100644 google/ads/google_ads/v4/services/google_ads_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/group_placement_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/group_placement_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/hotel_group_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/hotel_group_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/hotel_performance_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/hotel_performance_view_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/income_range_view_service_client.py create mode 100644 google/ads/google_ads/v4/services/income_range_view_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/invoice_service_client.py create mode 100644 google/ads/google_ads/v4/services/invoice_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client.py create mode 100644 google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/keyword_plan_ad_group_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client_config.py rename google/ads/google_ads/{v1/services/keyword_plan_negative_keyword_service_client.py => v4/services/keyword_plan_campaign_keyword_service_client.py} (62%) create mode 100644 google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/keyword_plan_campaign_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/keyword_plan_campaign_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/keyword_plan_idea_service_client.py (64%) create mode 100644 google/ads/google_ads/v4/services/keyword_plan_idea_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/keyword_plan_service_client.py (58%) create mode 100644 google/ads/google_ads/v4/services/keyword_plan_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/keyword_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/keyword_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/label_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/label_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/landing_page_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/landing_page_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/language_constant_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/language_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/location_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/location_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/managed_placement_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/managed_placement_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/media_file_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/media_file_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/merchant_center_link_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/merchant_center_link_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/mobile_app_category_constant_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/mobile_app_category_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/mobile_device_constant_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/mobile_device_constant_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/offline_user_data_job_service_client.py create mode 100644 google/ads/google_ads/v4/services/offline_user_data_job_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/operating_system_version_constant_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/operating_system_version_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/paid_organic_search_term_view_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/parental_status_view_service_client.py (78%) create mode 100644 google/ads/google_ads/v4/services/parental_status_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/payments_account_service_client.py (74%) create mode 100644 google/ads/google_ads/v4/services/payments_account_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/product_bidding_category_constant_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/product_bidding_category_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/product_group_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/product_group_view_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/reach_plan_service_client.py create mode 100644 google/ads/google_ads/v4/services/reach_plan_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/recommendation_service_client.py (68%) create mode 100644 google/ads/google_ads/v4/services/recommendation_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/remarketing_action_service_client.py (73%) create mode 100644 google/ads/google_ads/v4/services/remarketing_action_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/search_term_view_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/search_term_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/shared_criterion_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/shared_criterion_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/shared_set_service_client.py (71%) create mode 100644 google/ads/google_ads/v4/services/shared_set_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/shopping_performance_view_service_client.py (77%) create mode 100644 google/ads/google_ads/v4/services/shopping_performance_view_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client.py create mode 100644 google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/topic_constant_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/topic_constant_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/topic_view_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/topic_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/transports/__init__.py (100%) rename google/ads/google_ads/{v1 => v4}/services/transports/account_budget_proposal_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/account_budget_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v4/services/transports/account_link_service_grpc_transport.py create mode 100644 google/ads/google_ads/v4/services/transports/ad_group_ad_asset_view_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_ad_label_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_ad_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_audience_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_bid_modifier_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_criterion_label_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_criterion_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_criterion_simulation_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_extension_setting_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_feed_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_label_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_group_simulation_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_parameter_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/ad_schedule_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1/services/transports/keyword_plan_keyword_service_grpc_transport.py => v4/services/transports/ad_service_grpc_transport.py} (78%) rename google/ads/google_ads/{v1 => v4}/services/transports/age_range_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/asset_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1/services/transports/mutate_job_service_grpc_transport.py => v4/services/transports/batch_job_service_grpc_transport.py} (74%) rename google/ads/google_ads/{v1 => v4}/services/transports/bidding_strategy_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/billing_setup_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_audience_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_bid_modifier_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_budget_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_criterion_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_criterion_simulation_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_draft_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_experiment_service_grpc_transport.py (89%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_extension_setting_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_feed_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_label_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/campaign_shared_set_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/carrier_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/change_status_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/click_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/conversion_action_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/conversion_adjustment_upload_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/conversion_upload_service_grpc_transport.py (90%) create mode 100644 google/ads/google_ads/v4/services/transports/currency_constant_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/custom_interest_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_client_link_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_client_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_extension_setting_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_feed_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_label_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_manager_link_service_grpc_transport.py (79%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_negative_criterion_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/customer_service_grpc_transport.py (95%) rename google/ads/google_ads/{v1 => v4}/services/transports/detail_placement_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/display_keyword_view_service_grpc_transport.py (91%) create mode 100644 google/ads/google_ads/v4/services/transports/distance_view_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/domain_category_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/expanded_landing_page_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/extension_feed_item_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/feed_item_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/feed_item_target_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/feed_mapping_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/feed_placeholder_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/feed_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/gender_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/geo_target_constant_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/geographic_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/google_ads_field_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/google_ads_service_grpc_transport.py (79%) rename google/ads/google_ads/{v1 => v4}/services/transports/group_placement_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/hotel_group_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/hotel_performance_view_service_grpc_transport.py (91%) create mode 100644 google/ads/google_ads/v4/services/transports/income_range_view_service_grpc_transport.py create mode 100644 google/ads/google_ads/v4/services/transports/invoice_service_grpc_transport.py create mode 100644 google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_keyword_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/keyword_plan_ad_group_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py => v4/services/transports/keyword_plan_campaign_keyword_service_grpc_transport.py} (78%) rename google/ads/google_ads/{v1 => v4}/services/transports/keyword_plan_campaign_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/keyword_plan_idea_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/keyword_plan_service_grpc_transport.py (82%) rename google/ads/google_ads/{v1 => v4}/services/transports/keyword_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/label_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/landing_page_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/language_constant_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/location_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/managed_placement_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/media_file_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/merchant_center_link_service_grpc_transport.py (88%) rename google/ads/google_ads/{v1 => v4}/services/transports/mobile_app_category_constant_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/mobile_device_constant_service_grpc_transport.py (91%) create mode 100644 google/ads/google_ads/v4/services/transports/offline_user_data_job_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/operating_system_version_constant_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/paid_organic_search_term_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/parental_status_view_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/payments_account_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/product_bidding_category_constant_service_grpc_transport.py (91%) rename google/ads/google_ads/{v1 => v4}/services/transports/product_group_view_service_grpc_transport.py (91%) create mode 100644 google/ads/google_ads/v4/services/transports/reach_plan_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/recommendation_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/remarketing_action_service_grpc_transport.py (90%) rename google/ads/google_ads/{v1 => v4}/services/transports/search_term_view_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/shared_criterion_service_grpc_transport.py (92%) rename google/ads/google_ads/{v1 => v4}/services/transports/shared_set_service_grpc_transport.py (94%) rename google/ads/google_ads/{v1 => v4}/services/transports/shopping_performance_view_service_grpc_transport.py (91%) create mode 100644 google/ads/google_ads/v4/services/transports/third_party_app_analytics_link_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/topic_constant_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/topic_view_service_grpc_transport.py (93%) create mode 100644 google/ads/google_ads/v4/services/transports/user_data_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/user_interest_service_grpc_transport.py (93%) rename google/ads/google_ads/{v1 => v4}/services/transports/user_list_service_grpc_transport.py (94%) create mode 100644 google/ads/google_ads/v4/services/transports/user_location_view_service_grpc_transport.py rename google/ads/google_ads/{v1 => v4}/services/transports/video_service_grpc_transport.py (92%) create mode 100644 google/ads/google_ads/v4/services/user_data_service_client.py create mode 100644 google/ads/google_ads/v4/services/user_data_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/user_interest_service_client.py (76%) create mode 100644 google/ads/google_ads/v4/services/user_interest_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/user_list_service_client.py (70%) create mode 100644 google/ads/google_ads/v4/services/user_list_service_client_config.py create mode 100644 google/ads/google_ads/v4/services/user_location_view_service_client.py create mode 100644 google/ads/google_ads/v4/services/user_location_view_service_client_config.py rename google/ads/google_ads/{v1 => v4}/services/video_service_client.py (75%) create mode 100644 google/ads/google_ads/v4/services/video_service_client_config.py create mode 100644 google/ads/google_ads/v4/types.py diff --git a/ChangeLog b/ChangeLog index 9868f7665..8ed104e9c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +* 6.0.0 +- Google Ads v4_0 release +- Deprecate v1_0 +- Updates to various examples to standardize param names and make + changes to support v4. + * 5.1.0 - Google Ads v3_1 release - Add add_campaign_labels example diff --git a/examples/account_management/create_customer.py b/examples/account_management/create_customer.py index f811e4d57..771e6a1e3 100755 --- a/examples/account_management/create_customer.py +++ b/examples/account_management/create_customer.py @@ -29,8 +29,8 @@ def main(client, manager_customer_id): - customer_service = client.get_service('CustomerService', version='v3') - customer = client.get_type('Customer', version='v3') + customer_service = client.get_service('CustomerService', version='v4') + customer = client.get_type('Customer', version='v4') today = datetime.today().strftime('%Y%m%d %H:%M:%S') customer.descriptive_name.value = ('Account created with ' 'CustomerService on %s' % today) diff --git a/examples/account_management/get_account_changes.py b/examples/account_management/get_account_changes.py index 7b3e6eadf..ac006c2c0 100755 --- a/examples/account_management/get_account_changes.py +++ b/examples/account_management/get_account_changes.py @@ -56,7 +56,7 @@ def resource_name_for_resource_type(resource_type, row): def main(client, customer_id): - ads_service = client.get_service('GoogleAdsService', version='v3') + ads_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT change_status.resource_name, ' 'change_status.last_change_date_time, ' 'change_status.resource_type, ' @@ -74,9 +74,9 @@ def main(client, customer_id): page_size=ADS_PAGE_SIZE) resource_type_enum = (client.get_type( - 'ChangeStatusResourceTypeEnum', version='v3').ChangeStatusResourceType) + 'ChangeStatusResourceTypeEnum', version='v4').ChangeStatusResourceType) change_status_operation_enum = (client.get_type( - 'ChangeStatusOperationEnum', version='v3').ChangeStatusOperation) + 'ChangeStatusOperationEnum', version='v4').ChangeStatusOperation) try: for row in response: diff --git a/examples/account_management/get_account_information.py b/examples/account_management/get_account_information.py index 32b7380e8..15b2f39bd 100755 --- a/examples/account_management/get_account_information.py +++ b/examples/account_management/get_account_information.py @@ -25,7 +25,7 @@ def main(client, customer_id): - customer_service = client.get_service('CustomerService', version='v3') + customer_service = client.get_service('CustomerService', version='v4') resource_name = customer_service.customer_path(customer_id) diff --git a/examples/account_management/link_manager_to_client.py b/examples/account_management/link_manager_to_client.py index 138a0e8d2..a372f97b3 100755 --- a/examples/account_management/link_manager_to_client.py +++ b/examples/account_management/link_manager_to_client.py @@ -35,14 +35,14 @@ def main(client, customer_id, manager_customer_id): # Extend an invitation to the client while authenticating as the manager. client_link_operation = client.get_type( - 'CustomerClientLinkOperation', version='v3') + 'CustomerClientLinkOperation', version='v4') client_link = client_link_operation.create client_link.client_customer.value = 'customers/{}'.format(customer_id) client_link.status = client.get_type( 'ManagerLinkStatusEnum').PENDING customer_client_link_service = client.get_service( - 'CustomerClientLinkService', version='v3') + 'CustomerClientLinkService', version='v4') response = customer_client_link_service.mutate_customer_client_link( manager_customer_id, client_link_operation) resource_name = response.results[0].resource_name @@ -64,7 +64,7 @@ def main(client, customer_id, manager_customer_id): customer_client_link.resource_name = "{}" '''.format(resource_name) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') response = ga_service.search(manager_customer_id, query=query) # Since the google_ads_service.search method returns an iterator we need @@ -74,18 +74,18 @@ def main(client, customer_id, manager_customer_id): manager_link_id = row.customer_client_link.manager_link_id manager_link_operation = client.get_type( - 'CustomerManagerLinkOperation', version='v3') + 'CustomerManagerLinkOperation', version='v4') manager_link = manager_link_operation.update manager_link.resource_name.value = ( 'customers/{}/customerManagerLinks/{}~{}'.format( customer_id, manager_customer_id, manager_link_id)) - manager_link.status = client.get_type('ManagerLinkStatusEnum', version='v3') + manager_link.status = client.get_type('ManagerLinkStatusEnum', version='v4') field_mask = protobuf_helpers.field_mask(None, manager_link) manager_link_operation.update_mask.CopyFrom(field_mask) manager_link_service = client.get_service('ManagerLinkService', - version='v3') + version='v4') response = manager_link_service.mutate_manager_links( manager_customer_id, [manager_link_operation]) resource_name = response.results[0].resource_name diff --git a/examples/account_management/list_accessible_customers.py b/examples/account_management/list_accessible_customers.py index c90176611..265873028 100755 --- a/examples/account_management/list_accessible_customers.py +++ b/examples/account_management/list_accessible_customers.py @@ -27,7 +27,7 @@ def main(client): - customer_service = client.get_service('CustomerService', version='v3') + customer_service = client.get_service('CustomerService', version='v4') try: accessible_customers = customer_service.list_accessible_customers() diff --git a/examples/advanced_operations/add_ad_group_bid_modifier.py b/examples/advanced_operations/add_ad_group_bid_modifier.py index 6d51a01c4..531ff044c 100755 --- a/examples/advanced_operations/add_ad_group_bid_modifier.py +++ b/examples/advanced_operations/add_ad_group_bid_modifier.py @@ -25,9 +25,9 @@ def main(client, customer_id, ad_group_id, bid_modifier_value): - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_bm_service = client.get_service('AdGroupBidModifierService', - version='v3') + version='v4') # Create ad group bid modifier for mobile devices with the specified ad # group ID and bid modifier value. @@ -44,7 +44,7 @@ def main(client, customer_id, ad_group_id, bid_modifier_value): # Sets the device. ad_group_bid_modifier.device.type = client.get_type('DeviceEnum', - version='v3').MOBILE + version='v4').MOBILE # Add the ad group bid modifier. try: diff --git a/examples/advanced_operations/add_app_campaign.py b/examples/advanced_operations/add_app_campaign.py index 52f3db574..988181f4e 100755 --- a/examples/advanced_operations/add_app_campaign.py +++ b/examples/advanced_operations/add_app_campaign.py @@ -74,20 +74,20 @@ def _create_budget(client, customer_id): """ # Retrieves a new campaign budget operation object. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v2') + version='v4') # Creates a campaign budget. campaign_budget = campaign_budget_operation.create campaign_budget.name.value = f'Interplanetary Cruise #{uuid4()}' campaign_budget.amount_micros.value = 50000000 campaign_budget.delivery_method = client.get_type( - 'BudgetDeliveryMethodEnum', version='v2').STANDARD + 'BudgetDeliveryMethodEnum', version='v4').STANDARD # An App campaign cannot use a shared campaign budget. # explicitly_shared must be set to false. campaign_budget.explicitly_shared.value = False # Retrieves the campaign budget service. campaign_budget_service = client.get_service('CampaignBudgetService', - version='v2') + version='v4') # Submits the campaign budget operation to add the campaign budget. response = campaign_budget_service.mutate_campaign_budgets( customer_id, [campaign_budget_operation]) @@ -107,8 +107,8 @@ def _create_campaign(client, customer_id, budget_resource_name): Returns: A resource_name str for the newly created app campaign. """ - campaign_service = client.get_service('CampaignService', version='v2') - campaign_operation = client.get_type('CampaignOperation', version='v2') + campaign_service = client.get_service('CampaignService', version='v4') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = f'Interplanetary Cruise App #{uuid4()}' campaign.campaign_budget.value = budget_resource_name @@ -116,14 +116,14 @@ def _create_campaign(client, customer_id, budget_resource_name): # prevent the ads from immediately serving. Set to ENABLED once you've # added targeting and the ads are ready to serve. campaign.status = client.get_type( - 'CampaignStatusEnum', version='v2').PAUSED + 'CampaignStatusEnum', version='v4').PAUSED # All App campaigns have an advertising_channel_type of # MULTI_CHANNEL to reflect the fact that ads from these campaigns are # eligible to appear on multiple channels. campaign.advertising_channel_type = client.get_type( - 'AdvertisingChannelTypeEnum', version='v2').MULTI_CHANNEL + 'AdvertisingChannelTypeEnum', version='v4').MULTI_CHANNEL campaign.advertising_channel_sub_type = client.get_type( - 'AdvertisingChannelSubTypeEnum', version='v2').APP_CAMPAIGN + 'AdvertisingChannelSubTypeEnum', version='v4').APP_CAMPAIGN # Sets the target CPA to $1 / app install. # # campaign_bidding_strategy is a 'oneof' message so setting target_cpa @@ -136,11 +136,11 @@ def _create_campaign(client, customer_id, budget_resource_name): campaign.app_campaign_setting.app_id.value = ( 'com.google.android.apps.adwords') campaign.app_campaign_setting.app_store = client.get_type( - 'AppCampaignAppStoreEnum', version='v2').GOOGLE_APP_STORE + 'AppCampaignAppStoreEnum', version='v4').GOOGLE_APP_STORE # Optimize this campaign for getting new users for your app. campaign.app_campaign_setting.bidding_strategy_goal_type = (client .get_type('AppCampaignBiddingStrategyGoalTypeEnum', - version='v2').OPTIMIZE_INSTALLS_TARGET_INSTALL_COST) + version='v4').OPTIMIZE_INSTALLS_TARGET_INSTALL_COST) # Optional fields campaign.start_date.value = (datetime.now() + timedelta(1)).strftime('%Y%m%d') @@ -152,7 +152,7 @@ def _create_campaign(client, customer_id, budget_resource_name): # your campaign on people who are most likely to complete the # corresponding in-app actions. # selective_optimization1 = (client.get_type('StringValue', - # version='v2')) + # version='v4')) # selective_optimization1.value = ( # 'INSERT_CONVERSION_ACTION_RESOURCE_NAME_HERE') # campaign.selective_optimization.conversion_actions.extend( @@ -178,15 +178,15 @@ def _set_campaign_targeting_criteria(client, customer_id, campaign_resource_name: the campaign to apply targeting to """ campaign_criterion_service = client.get_service( - 'CampaignCriterionService', version='v2') + 'CampaignCriterionService', version='v4') geo_target_constant_service = client.get_service( - 'GeoTargetConstantService', version='v2') + 'GeoTargetConstantService', version='v4') language_constant_service = client.get_service( - 'LanguageConstantService', version='v2') + 'LanguageConstantService', version='v4') location_type = client.get_type( - 'CriterionTypeEnum', version='v2').LOCATION + 'CriterionTypeEnum', version='v4').LOCATION language_type = client.get_type( - 'CriterionTypeEnum', version='v2').LANGUAGE + 'CriterionTypeEnum', version='v4').LANGUAGE campaign_criterion_operations = [] # Creates the location campaign criteria. @@ -197,7 +197,7 @@ def _set_campaign_targeting_criteria(client, customer_id, for location_id in ['21137', # California '2484']: # Mexico campaign_criterion_operation = client.get_type( - 'CampaignCriterionOperation', version='v2') + 'CampaignCriterionOperation', version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_resource_name campaign_criterion.type = location_type @@ -209,7 +209,7 @@ def _set_campaign_targeting_criteria(client, customer_id, for language_id in ['1000', # English '1003']: # Spanish campaign_criterion_operation = client.get_type( - 'CampaignCriterionOperation', version='v2') + 'CampaignCriterionOperation', version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_resource_name campaign_criterion.type = language_type @@ -235,18 +235,18 @@ def _create_ad_group(client, customer_id, campaign_resource_name): Returns: A resource_name str for the newly created ad group. """ - ad_group_service = client.get_service('AdGroupService', version='v2') + ad_group_service = client.get_service('AdGroupService', version='v4') # Creates the ad group. # Note that the ad group type must not be set. # Since the advertising_channel_sub_type is APP_CAMPAIGN, # 1- you cannot override bid settings at the ad group level. # 2- you cannot add ad group criteria. - ad_group_operation = client.get_type('AdGroupOperation', version='v2') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.create ad_group.name.value = f'Earth to Mars cruises {uuid4()}' ad_group.status = client.get_type( - 'AdGroupStatusEnum', version='v2').ENABLED + 'AdGroupStatusEnum', version='v4').ENABLED ad_group.campaign.value = campaign_resource_name ad_group_response = ad_group_service.mutate_ad_groups( @@ -266,11 +266,11 @@ def _create_app_ad(client, customer_id, ad_group_resource_name): ad_group_resource_name: the ad group where the ad will be added. """ # Creates the ad group ad. - ad_group_ad_service = client.get_service('AdGroupAdService', version='v2') - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v2') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.status = client.get_type( - 'AdGroupAdStatusEnum', version='v2').ENABLED + 'AdGroupAdStatusEnum', version='v4').ENABLED ad_group_ad.ad_group.value = ad_group_resource_name # ad_data is a 'oneof' message so setting app_ad # is mutually exclusive with ad data fields such as @@ -293,7 +293,7 @@ def _create_app_ad(client, customer_id, ad_group_resource_name): def _create_ad_text_asset(client, text): - ad_text_asset = client.get_type('AdTextAsset', version='v2') + ad_text_asset = client.get_type('AdTextAsset', version='v4') ad_text_asset.text.value = text return ad_text_asset diff --git a/examples/advanced_operations/add_dynamic_page_feed.py b/examples/advanced_operations/add_dynamic_page_feed.py index 8eb91b74f..3767619f1 100755 --- a/examples/advanced_operations/add_dynamic_page_feed.py +++ b/examples/advanced_operations/add_dynamic_page_feed.py @@ -64,7 +64,7 @@ def main(client, customer_id, campaign_id, ad_group_id): # Associate the page feed with the campaign. update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details) - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_resource_name = ad_group_service.ad_group_path(customer_id, ad_group_id) @@ -94,14 +94,14 @@ def create_feed(client, customer_id): A FeedDetails instance with information about the newly created feed. """ # Retrieve a new feed operation object. - feed_operation = client.get_type('FeedOperation', version='v3') + feed_operation = client.get_type('FeedOperation', version='v4') # Create a new feed. feed = feed_operation.create feed.name.value = 'DSA Feed #{}'.format(uuid.uuid4()) - feed.origin = client.get_type('FeedOriginEnum', version='v3').USER + feed.origin = client.get_type('FeedOriginEnum', version='v4').USER feed_attribute_type_enum = client.get_type('FeedAttributeTypeEnum', - version='v3') + version='v4') # Create the feed's attributes. feed_attribute_url = feed.attributes.add() @@ -113,7 +113,7 @@ def create_feed(client, customer_id): feed_attribute_label.name.value = 'Label' # Retrieve the feed service. - feed_service = client.get_service('FeedService', version='v3') + feed_service = client.get_service('FeedService', version='v4') # Send the feed operation and add the feed. response = feed_service.mutate_feeds(customer_id, [feed_operation]) @@ -142,7 +142,7 @@ def get_feed_details(client, customer_id, resource_name): LIMIT 1 '''.format(resource_name) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') response = ga_service.search(customer_id, query=query) # Maps specific fields in each row in the response to a dict. This would @@ -167,14 +167,14 @@ def create_feed_mapping(client, customer_id, feed_details): """ # Retrieve a new feed mapping operation object. feed_mapping_operation = client.get_type('FeedMappingOperation', - version='v3') + version='v4') # Create a new feed mapping. feed_mapping = feed_mapping_operation.create feed_mapping.criterion_type = client.get_type( - 'FeedMappingCriterionTypeEnum', version='v3').DSA_PAGE_FEED + 'FeedMappingCriterionTypeEnum', version='v4').DSA_PAGE_FEED feed_mapping.feed.value = feed_details.resource_name dsa_page_feed_field_enum = client.get_type('DsaPageFeedCriterionFieldEnum', - version='v3') + version='v4') url_field_mapping = feed_mapping.attribute_field_mappings.add() url_field_mapping.feed_attribute_id.value = feed_details.url_attribute_id @@ -187,7 +187,7 @@ def create_feed_mapping(client, customer_id, feed_details): # Retrieve the feed mapping service. feed_mapping_service = client.get_service('FeedMappingService', - version='v3') + version='v4') # Submit the feed mapping operation and add the feed mapping. response = feed_mapping_service.mutate_feed_mappings( customer_id, [feed_mapping_operation]) @@ -213,7 +213,7 @@ def create_feed_items(client, customer_id, feed_details, label): "http://www.example.com/discounts/flight-deals"] def map_feed_urls(url): - feed_item_operation = client.get_type('FeedItemOperation', version='v3') + feed_item_operation = client.get_type('FeedItemOperation', version='v4') feed_item = feed_item_operation.create feed_item.feed.value = feed_details.resource_name @@ -235,7 +235,7 @@ def map_feed_urls(url): feed_item_operations = list(map(map_feed_urls, urls)) # Retrieve the feed item service. - feed_item_service = client.get_service('FeedItemService', version='v3') + feed_item_service = client.get_service('FeedItemService', version='v4') # Submit the feed item operations and add the feed items. response = feed_item_service.mutate_feed_items(customer_id, feed_item_operations) @@ -267,7 +267,7 @@ def update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details): LIMIT 1 '''.format(campaign_id) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') results = ga_service.search(customer_id, query=query) for row in results: @@ -282,7 +282,7 @@ def update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details): campaign_id)) # Retrieve a new campaign operation - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') # Copy the retrieved campaign onto the new campaign operation. campaign_operation.update.CopyFrom(campaign) updated_campaign = campaign_operation.update @@ -294,7 +294,7 @@ def update_campaign_dsa_setting(client, customer_id, campaign_id, feed_details): campaign_operation.update_mask.CopyFrom(field_mask) # Retrieve the campaign service. - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Submit the campaign operation and update the campaign. response = campaign_service.mutate_campaigns(customer_id, [campaign_operation]) @@ -315,7 +315,7 @@ def add_dsa_targeting(client, customer_id, ad_group_resource_name, label): """ # Retrieve a new ad group criterion operation object. ad_group_criterion_operation = client.get_type( - 'AdGroupCriterionOperation', version='v3') + 'AdGroupCriterionOperation', version='v4') # Create a new ad group criterion. ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group.value = ad_group_resource_name @@ -326,11 +326,11 @@ def add_dsa_targeting(client, customer_id, ad_group_resource_name, label): webpage_criterion_info = ad_group_criterion.webpage.conditions.add() webpage_criterion_info.argument.value = label webpage_criterion_info.operand = client.get_type( - 'WebpageConditionOperandEnum', version='v3').CUSTOM_LABEL + 'WebpageConditionOperandEnum', version='v4').CUSTOM_LABEL # Retrieve the ad group criterion service. ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') response = ad_group_criterion_service.mutate_ad_group_criteria( customer_id, [ad_group_criterion_operation]) resource_name = response.results[0].resource_name diff --git a/examples/advanced_operations/add_dynamic_search_ads.py b/examples/advanced_operations/add_dynamic_search_ads.py index 1009a857c..6c1d3d811 100755 --- a/examples/advanced_operations/add_dynamic_search_ads.py +++ b/examples/advanced_operations/add_dynamic_search_ads.py @@ -65,17 +65,17 @@ def create_budget(client, customer_id): """ # Creates a campaign budget operation. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') # Issues a mutate request to add campaign budgets. campaign_budget = campaign_budget_operation.create campaign_budget.name.value = f'Interplanetary Cruise #{uuid4()}' campaign_budget.amount_micros.value = 50000000 campaign_budget.delivery_method = client.get_type( - 'BudgetDeliveryMethodEnum', version='v3').STANDARD + 'BudgetDeliveryMethodEnum', version='v4').STANDARD # Retrieve the campaign budget service. campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') + version='v4') # Submit the campaign budget operation to add the campaign budget. response = campaign_budget_service.mutate_campaign_budgets( customer_id, [campaign_budget_operation]) @@ -98,16 +98,16 @@ def create_campaign(client, customer_id, budget_resource_name): A resource_name str for the newly created Campaign. """ # Retrieve a new campaign operation object. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = f'Interplanetary Cruise #{uuid4()}' campaign.advertising_channel_type = client.get_type( - 'AdvertisingChannelTypeEnum', version='v3').SEARCH + 'AdvertisingChannelTypeEnum', version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to prevent the # ads from immediately serving. Set to ENABLED once you've added targeting # and the ads are ready to serve. campaign.status = client.get_type('CampaignStatusEnum', - version='v3').PAUSED + version='v4').PAUSED campaign.manual_cpc.enhanced_cpc_enabled.value = True campaign.campaign_budget.value = budget_resource_name # Required: Enable the campaign for DSAs by setting the campaign's dynamic @@ -121,7 +121,7 @@ def create_campaign(client, customer_id, budget_resource_name): datetime.now() + timedelta(days=365)).strftime('%Y%m%d') # Retrieve the campaign service. - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Issues a mutate request to add campaign. response = campaign_service.mutate_campaigns( @@ -145,15 +145,15 @@ def create_ad_group(client, customer_id, campaign_resource_name): A resource_name str for the newly created Ad Group. """ # Retrieve a new ad group operation object. - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') # Create an ad group. ad_group = ad_group_operation.create # Required: set the ad group's type to Dynamic Search Ads. ad_group.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_DYNAMIC_ADS + version='v4').SEARCH_DYNAMIC_ADS ad_group.name.value = f'Earth to Mars Cruises {uuid4()}' ad_group.campaign.value = campaign_resource_name - ad_group.status = client.get_type('AdGroupStatusEnum', version='v3').PAUSED + ad_group.status = client.get_type('AdGroupStatusEnum', version='v4').PAUSED # Recommended: set a tracking URL template for your ad group if you want to # use URL tracking software. ad_group.tracking_url_template.value = ( @@ -162,7 +162,7 @@ def create_ad_group(client, customer_id, campaign_resource_name): ad_group.cpc_bid_micros.value = 10000000 # Retrieve the ad group service. - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') # Issues a mutate request to add the ad group. response = ad_group_service.mutate_ad_groups(customer_id, @@ -183,7 +183,7 @@ def create_expanded_dsa(client, customer_id, ad_group_resource_name): ad_group_resource_name: a resource_name str for an Ad Group. """ # Retrieve a new ad group ad operation object. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') # Create and expanded dynamic search ad. This ad will have its headline, # display URL and final URL auto-generated at serving time according to # domain name specific information provided by DynamicSearchAdSetting at @@ -191,14 +191,14 @@ def create_expanded_dsa(client, customer_id, ad_group_resource_name): ad_group_ad = ad_group_ad_operation.create # Optional: set the ad status. ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED # Set the ad description. ad_group_ad.ad.expanded_dynamic_search_ad.description.value = ( 'Buy tickets now!') ad_group_ad.ad_group.value = ad_group_resource_name # Retrieve the ad group ad service. - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') # Submit the ad group ad operation to add the ad group ad. response = ad_group_ad_service.mutate_ad_group_ads(customer_id, [ad_group_ad_operation]) @@ -217,7 +217,7 @@ def add_webpage_criterion(client, customer_id, ad_group_resource_name): """ # Retrieve a new ad group criterion operation. ad_group_criterion_operation = client.get_type( - 'AdGroupCriterionOperation', version='v3') + 'AdGroupCriterionOperation', version='v4') # Create an ad group criterion for special offers for Mars Cruise. criterion = ad_group_criterion_operation.create criterion.ad_group.value = ad_group_resource_name @@ -225,22 +225,22 @@ def add_webpage_criterion(client, customer_id, ad_group_resource_name): criterion.cpc_bid_micros.value = 10000000 # Optional: set the status. criterion.status = client.get_type( - 'AdGroupCriterionStatusEnum', version='v3').PAUSED + 'AdGroupCriterionStatusEnum', version='v4').PAUSED # Sets the criterion to match a specific page URL and title. criterion.webpage.criterion_name.value = 'Special Offers' webpage_info_url = criterion.webpage.conditions.add() webpage_info_url.operand = client.get_type( - 'WebpageConditionOperandEnum', version='v3').URL + 'WebpageConditionOperandEnum', version='v4').URL webpage_info_url.argument.value = '/specialoffers' webpage_info_page_title = criterion.webpage.conditions.add() webpage_info_page_title.operand = client.get_type( - 'WebpageConditionOperandEnum', version='v3').PAGE_TITLE + 'WebpageConditionOperandEnum', version='v4').PAGE_TITLE webpage_info_page_title.argument.value = 'Special Offer' # Retrieve the ad group criterion service. ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') # Issues a mutate request to add the ad group criterion. response = ad_group_criterion_service.mutate_ad_group_criteria( customer_id, [ad_group_criterion_operation]) diff --git a/examples/advanced_operations/add_expanded_text_ad_with_upgraded_urls.py b/examples/advanced_operations/add_expanded_text_ad_with_upgraded_urls.py index 2ce1dfc7b..ff00ad640 100755 --- a/examples/advanced_operations/add_expanded_text_ad_with_upgraded_urls.py +++ b/examples/advanced_operations/add_expanded_text_ad_with_upgraded_urls.py @@ -22,16 +22,16 @@ def main(client, customer_id, ad_group_id): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_service = client.get_service('AdGroupService', version='v4') # Create ad group ad. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED # Set expanded text ad info final_url = ad_group_ad.ad.final_urls.add() diff --git a/examples/advanced_operations/add_gmail_ad.py b/examples/advanced_operations/add_gmail_ad.py index f788068cc..4d09c64a9 100755 --- a/examples/advanced_operations/add_gmail_ad.py +++ b/examples/advanced_operations/add_gmail_ad.py @@ -42,27 +42,33 @@ def main(client, customer_id, ad_group_id): if marketing_img_content_type != 'image/jpeg': raise ValueError('Marketing image has invalid content-type.') - media_file_logo_op = client.get_type('MediaFileOperation') + media_file_logo_op = client.get_type('MediaFileOperation', version='v4') media_file_logo = media_file_logo_op.create - media_file_logo.type = client.get_type('MediaTypeEnum').IMAGE + media_file_logo.type = client.get_type('MediaTypeEnum', version='v4').IMAGE media_file_logo.image.data.value = logo_img_bytes - media_file_logo.mime_type = client.get_type('MimeTypeEnum').IMAGE_PNG + media_file_logo.mime_type = client.get_type('MimeTypeEnum', + version='v4').IMAGE_PNG - media_file_marketing_op = client.get_type('MediaFileOperation') + media_file_marketing_op = client.get_type('MediaFileOperation', + version='v4') media_file_marketing = media_file_marketing_op.create - media_file_marketing.type = client.get_type('MediaTypeEnum').IMAGE + media_file_marketing.type = client.get_type('MediaTypeEnum', + version='v4').IMAGE media_file_marketing.image.data.value = marketing_img_bytes - media_file_marketing.mime_type = client.get_type('MimeTypeEnum').IMAGE_JPEG + media_file_marketing.mime_type = client.get_type('MimeTypeEnum', + version='v4').IMAGE_JPEG - media_file_service = client.get_service('MediaFileService') + media_file_service = client.get_service('MediaFileService', + version='v4') image_response = media_file_service.mutate_media_files( customer_id, [media_file_logo_op, media_file_marketing_op]) image_resource_names = list(map(lambda response: response.resource_name, image_response.results)) - ad_group_ad_service = client.get_service('AdGroupAdService') - ad_group_ad_op = client.get_type('AdGroupAdOperation') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_service = client.get_service('AdGroupService', version='v4') + ad_group_ad_op = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_op.create gmail_ad = ad_group_ad.ad.gmail_ad gmail_ad.teaser.headline.value = 'Dream' @@ -77,26 +83,25 @@ def main(client, customer_id, ad_group_id): final_url.value = 'http://www.example.com' ad_group_ad.ad.name.value = 'Gmail Ad #{}'.format(str(uuid4())) - ad_group_ad.status = client.get_type('AdGroupAdStatusEnum').PAUSED - ad_group_ad.ad_group.value = ad_group_ad_service.ad_group_ad_path( + ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', + version='v4').PAUSED + ad_group_ad.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) try: add_gmail_ad_response = ad_group_ad_service.mutate_ad_group_ads( customer_id, [ad_group_ad_op]) except GoogleAdsException as ex: - print('Request with ID "{}" failed with status "{}" and includes the ' - 'following errors:'.format(ex.request_id, ex.error.code().name)) + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "{}".'.format(error.message)) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: {}'.format( - field_path_element.field_name)) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) - print('Created gmail ad {}.'.format( - add_gmail_ad_response.results[0].resource_name)) + print(f'Created gmail ad {add_gmail_ad_response.results[0].resource_name}.') def get_image(url): diff --git a/examples/advanced_operations/add_sitelink.py b/examples/advanced_operations/add_sitelink.py index 3a8d9d814..e6f0d8425 100755 --- a/examples/advanced_operations/add_sitelink.py +++ b/examples/advanced_operations/add_sitelink.py @@ -24,9 +24,9 @@ def main(client, customer_id): # Create an extension setting. - feed_service = client.get_service('ExtensionFeedItemService', version='v3') + feed_service = client.get_service('ExtensionFeedItemService', version='v4') - extension_feed_item_operation = client.get_type('ExtensionFeedItemOperation', version='v3') + extension_feed_item_operation = client.get_type('ExtensionFeedItemOperation', version='v4') extension_feed_item = extension_feed_item_operation.create extension_feed_item.sitelink_feed_item.link_text.value = 'Text' extension_feed_item.sitelink_feed_item.line1.value = 'Line 1 Value' diff --git a/examples/advanced_operations/add_smart_display_ad.py b/examples/advanced_operations/add_smart_display_ad.py index 2c4646094..18bb5fb30 100755 --- a/examples/advanced_operations/add_smart_display_ad.py +++ b/examples/advanced_operations/add_smart_display_ad.py @@ -90,7 +90,7 @@ def main(client, customer_id, marketing_image_asset_resource_name=None, def _create_budget(client, customer_id): campaign_budget_operation = client.get_type( - 'CampaignBudgetOperation', version='v2') + 'CampaignBudgetOperation', version='v4') campaign_budget = campaign_budget_operation.create campaign_budget.name.value = f'Interplanetary Cruise Budget #{uuid4()}' campaign_budget.delivery_method = client.get_type( @@ -98,7 +98,7 @@ def _create_budget(client, customer_id): campaign_budget.amount_micros.value = 500000 campaign_budget_service = client.get_service( - 'CampaignBudgetService', version='v2') + 'CampaignBudgetService', version='v4') try: campaign_budget_response = ( @@ -118,19 +118,19 @@ def _create_budget(client, customer_id): def _create_smart_display_campaign(client, customer_id, budget_resource_name): - campaign_operation = client.get_type('CampaignOperation', version='v2') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = f'Smart Display Campaign #{uuid4()}' advertising_channel_type_enum = client.get_type( - 'AdvertisingChannelTypeEnum', version='v2') + 'AdvertisingChannelTypeEnum', version='v4') campaign.advertising_channel_type = advertising_channel_type_enum.DISPLAY advertising_channel_sub_type_enum = client.get_type( - 'AdvertisingChannelSubTypeEnum', version='v2') + 'AdvertisingChannelSubTypeEnum', version='v4') # Smart Display campaign requires the advertising_channel_sub_type as # "DISPLAY_SMART_CAMPAIGN". campaign.advertising_channel_sub_type = ( advertising_channel_sub_type_enum.DISPLAY_SMART_CAMPAIGN) - campaign_status_enum = client.get_type('CampaignStatusEnum', version='v2') + campaign_status_enum = client.get_type('CampaignStatusEnum', version='v4') campaign.status = campaign_status_enum.PAUSED # Smart Display campaign requires the TargetCpa bidding strategy. campaign.target_cpa.target_cpa_micros.value = 5000000 @@ -141,7 +141,7 @@ def _create_smart_display_campaign(client, customer_id, budget_resource_name): end_date = start_date + datetime.timedelta(days=365) campaign.end_date.value = end_date.strftime(_DATE_FORMAT) - campaign_service = client.get_service('CampaignService', version='v2') + campaign_service = client.get_service('CampaignService', version='v4') try: campaign_response = campaign_service.mutate_campaigns( @@ -160,14 +160,14 @@ def _create_smart_display_campaign(client, customer_id, budget_resource_name): def _create_ad_group(client, customer_id, campaign_resource_name): - ad_group_operation = client.get_type('AdGroupOperation', version='v2') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.create ad_group.name.value = f'Earth to Mars Cruises #{uuid4()}' - ad_group_status_enum = client.get_type('AdGroupStatusEnum', version='v2') + ad_group_status_enum = client.get_type('AdGroupStatusEnum', version='v4') ad_group.status = ad_group_status_enum.PAUSED ad_group.campaign.value = campaign_resource_name - ad_group_service = client.get_service('AdGroupService', version='v2') + ad_group_service = client.get_service('AdGroupService', version='v4') try: ad_group_response = ad_group_service.mutate_ad_groups( @@ -190,14 +190,14 @@ def _upload_image_asset(client, customer_id, image_url, image_width, # Download image from URL image_content = requests.get(image_url).content - asset_operation = client.get_type('AssetOperation', version='v2') + asset_operation = client.get_type('AssetOperation', version='v4') asset = asset_operation.create # Optional: Provide a unique friendly name to identify your asset. If you # specify the name field, then both the asset name and the image being # uploaded should be unique, and should not match another ACTIVE asset in # this customer account. # asset.name.value = f'Jupiter Trip #{uuid4()}' - asset_type_enum = client.get_type('AssetTypeEnum', version='v2') + asset_type_enum = client.get_type('AssetTypeEnum', version='v4') asset.type = asset_type_enum.IMAGE image_asset = asset.image_asset image_asset.data.value = image_content @@ -207,7 +207,7 @@ def _upload_image_asset(client, customer_id, image_url, image_width, image_asset.full_size.height_pixels.value = image_height image_asset.full_size.url.value = image_url - asset_service = client.get_service('AssetService', version='v2') + asset_service = client.get_service('AssetService', version='v4') try: mutate_asset_response = ( @@ -227,11 +227,11 @@ def _upload_image_asset(client, customer_id, image_url, image_width, def _create_responsive_display_ad(client, customer_id, ad_group_resource_name, marketing_image_asset_resource_name, square_marketing_image_asset_resource_name): - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v2') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group.value = ad_group_resource_name ad_group_ad.status = client.get_type( - 'AdGroupAdStatusEnum', version='v2').PAUSED + 'AdGroupAdStatusEnum', version='v4').PAUSED ad = ad_group_ad.ad final_url = ad.final_urls.add() final_url.value = 'https://www.example.com' @@ -251,7 +251,7 @@ def _create_responsive_display_ad(client, customer_id, ad_group_resource_name, responsive_display_ad.price_prefix.value = 'as low as' responsive_display_ad.promo_text.value = 'Free shipping!' - ad_group_ad_service = client.get_service('AdGroupAdService', version='v2') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') try: ad_group_ad_response = ad_group_ad_service.mutate_ad_group_ads( diff --git a/examples/advanced_operations/create_and_attach_shared_keyword_set.py b/examples/advanced_operations/create_and_attach_shared_keyword_set.py index 2f2e2d41e..59363e7af 100755 --- a/examples/advanced_operations/create_and_attach_shared_keyword_set.py +++ b/examples/advanced_operations/create_and_attach_shared_keyword_set.py @@ -26,19 +26,19 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') - shared_set_service = client.get_service('SharedSetService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') + shared_set_service = client.get_service('SharedSetService', version='v4') shared_criterion_service = client.get_service('SharedCriterionService', - version='v3') + version='v4') campaign_shared_set_service = client.get_service('CampaignSharedSetService', - version='v3') + version='v4') # Create shared negative keyword set. - shared_set_operation = client.get_type('SharedSetOperation', version='v3') + shared_set_operation = client.get_type('SharedSetOperation', version='v4') shared_set = shared_set_operation.create shared_set.name.value = 'API Negative keyword list - %s' % uuid.uuid4() shared_set.type = client.get_type('SharedSetTypeEnum', - version='v3').NEGATIVE_KEYWORDS + version='v4').NEGATIVE_KEYWORDS try: shared_set_resource_name = shared_set_service.mutate_shared_sets( @@ -61,12 +61,12 @@ def main(client, customer_id, campaign_id): shared_criteria_operations = [] for keyword in keywords: shared_criterion_operation = client.get_type('SharedCriterionOperation', - version='v3') + version='v4') shared_criterion = shared_criterion_operation.create keyword_info = shared_criterion.keyword keyword_info.text.value = keyword keyword_info.match_type = client.get_type('KeywordMatchTypeEnum', - version='v3').BROAD + version='v4').BROAD shared_criterion.shared_set.value = shared_set_resource_name shared_criteria_operations.append(shared_criterion_operation) @@ -87,7 +87,7 @@ def main(client, customer_id, campaign_id): print('Created shared criterion "%s".' % shared_criterion.resource_name) campaign_set_operation = client.get_type('CampaignSharedSetOperation', - version='v3') + version='v4') campaign_set = campaign_set_operation.create campaign_set.campaign.value = campaign_service.campaign_path( customer_id, campaign_id) diff --git a/examples/advanced_operations/find_and_remove_criteria_from_shared_set.py b/examples/advanced_operations/find_and_remove_criteria_from_shared_set.py index 4b1c85527..477079aae 100755 --- a/examples/advanced_operations/find_and_remove_criteria_from_shared_set.py +++ b/examples/advanced_operations/find_and_remove_criteria_from_shared_set.py @@ -26,9 +26,9 @@ def main(client, customer_id, page_size, campaign_id): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') shared_criterion_service = client.get_service('SharedCriterionService', - version='v3') + version='v4') # First, retrieve all shared sets associated with the campaign. shared_sets_query = ( @@ -78,14 +78,14 @@ def main(client, customer_id, page_size, campaign_id): # Use the enum type to determine the enum name from the value. keyword_match_type_enum = ( - client.get_type('KeywordMatchTypeEnum', version='v3').KeywordMatchType) + client.get_type('KeywordMatchTypeEnum', version='v4').KeywordMatchType) criterion_ids = [] for row in shared_criteria_response: shared_criterion = row.shared_criterion shared_criterion_resource_name = shared_criterion.resource_name if (shared_criterion.type == - client.get_type('CriterionTypeEnum', version='v3').KEYWORD): + client.get_type('CriterionTypeEnum', version='v4').KEYWORD): keyword = shared_criterion.keyword print('Shared criterion with resource name "%s" for negative ' 'keyword with text "%s" and match type "%s" was found.' @@ -98,7 +98,7 @@ def main(client, customer_id, page_size, campaign_id): # Finally, remove the criteria. for criteria_id in criterion_ids: shared_criterion_operation = client.get_type('SharedCriterionOperation', - version='v3') + version='v4') shared_criterion_operation.remove = criteria_id operations.append(shared_criterion_operation) diff --git a/examples/advanced_operations/get_ad_group_bid_modifiers.py b/examples/advanced_operations/get_ad_group_bid_modifiers.py index b2d1217e9..42af63d3f 100755 --- a/examples/advanced_operations/get_ad_group_bid_modifiers.py +++ b/examples/advanced_operations/get_ad_group_bid_modifiers.py @@ -24,7 +24,7 @@ def main(client, customer_id, page_size, ad_group_id=None): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, ad_group.id, ' 'ad_group_bid_modifier.criterion_id, ' @@ -37,7 +37,7 @@ def main(client, customer_id, page_size, ad_group_id=None): results = ga_service.search(customer_id, query=query, page_size=page_size) # Use the enum type to determine the enum name from the value. - device_enum = client.get_type('DeviceEnum', version='v3').Device + device_enum = client.get_type('DeviceEnum', version='v4').Device try: for row in results: diff --git a/examples/advanced_operations/use_portfolio_bidding_strategy.py b/examples/advanced_operations/use_portfolio_bidding_strategy.py index 82044b346..3395e4ab9 100755 --- a/examples/advanced_operations/use_portfolio_bidding_strategy.py +++ b/examples/advanced_operations/use_portfolio_bidding_strategy.py @@ -24,14 +24,14 @@ def main(client, customer_id): campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') + version='v4') bidding_strategy_service = client.get_service('BiddingStrategyService', - version='v3') - campaign_service = client.get_service('CampaignService', version='v3') + version='v4') + campaign_service = client.get_service('CampaignService', version='v4') # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') campaign_budget = campaign_budget_operation.create campaign_budget.name.value = 'Interplanetary Budget %s' % uuid.uuid4() campaign_budget.delivery_method = client.get_type( @@ -60,7 +60,7 @@ def main(client, customer_id): # Create a portfolio bidding strategy. bidding_strategy_operation = client.get_type('BiddingStrategyOperation', - version='v3') + version='v4') bidding_strategy = bidding_strategy_operation.create bidding_strategy.name.value = 'Enhanced CPC %s' % uuid.uuid4() target_spend = bidding_strategy.target_spend @@ -87,7 +87,7 @@ def main(client, customer_id): print('Portfolio bidding strategy "%s" was created.' % bidding_strategy_id) # Create campaign. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = 'Interplanetary Cruise %s' % uuid.uuid4() campaign.advertising_channel_type = client.get_type( @@ -96,7 +96,7 @@ def main(client, customer_id): # Recommendation: Set the campaign to PAUSED when creating it to prevent the # ads from immediately serving. Set to ENABLED once you've added targeting # and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED # Set the bidding strategy and budget. campaign.bidding_strategy.value = bidding_strategy_id diff --git a/examples/basic_operations/add_ad_groups.py b/examples/basic_operations/add_ad_groups.py index 771b0744d..8b480cb53 100755 --- a/examples/basic_operations/add_ad_groups.py +++ b/examples/basic_operations/add_ad_groups.py @@ -26,18 +26,18 @@ def main(client, customer_id, campaign_id): - ad_group_service = client.get_service('AdGroupService', version='v3') - campaign_service = client.get_service('CampaignService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') + campaign_service = client.get_service('CampaignService', version='v4') # Create ad group. - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.create ad_group.name.value = 'Earth to Mars cruises %s' % uuid.uuid4() - ad_group.status = client.get_type('AdGroupStatusEnum', version='v3').ENABLED + ad_group.status = client.get_type('AdGroupStatusEnum', version='v4').ENABLED ad_group.campaign.value = campaign_service.campaign_path( customer_id, campaign_id) ad_group.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_STANDARD + version='v4').SEARCH_STANDARD ad_group.cpc_bid_micros.value = 10000000 # Add the ad group. diff --git a/examples/basic_operations/add_campaigns.py b/examples/basic_operations/add_campaigns.py index e0336e64a..09709b2b0 100755 --- a/examples/basic_operations/add_campaigns.py +++ b/examples/basic_operations/add_campaigns.py @@ -31,12 +31,12 @@ def main(client, customer_id): campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') - campaign_service = client.get_service('CampaignService', version='v3') + version='v4') + campaign_service = client.get_service('CampaignService', version='v4') # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') campaign_budget = campaign_budget_operation.create campaign_budget.name.value = 'Interplanetary Budget %s' % uuid.uuid4() campaign_budget.delivery_method = client.get_type( @@ -59,7 +59,7 @@ def main(client, customer_id): sys.exit(1) # Create campaign. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = 'Interplanetary Cruise %s' % uuid.uuid4() campaign.advertising_channel_type = client.get_type( @@ -68,7 +68,7 @@ def main(client, customer_id): # Recommendation: Set the campaign to PAUSED when creating it to prevent # the ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED # Set the bidding strategy and budget. campaign.manual_cpc.enhanced_cpc_enabled.value = True diff --git a/examples/basic_operations/add_expanded_text_ads.py b/examples/basic_operations/add_expanded_text_ads.py index 78cd463fe..35df0649a 100755 --- a/examples/basic_operations/add_expanded_text_ads.py +++ b/examples/basic_operations/add_expanded_text_ads.py @@ -26,20 +26,20 @@ def main(client, customer_id, ad_group_id, number_of_ads): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_ad_operations = [] for i in range(number_of_ads): # Create ad group ad. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED # Set expanded text ad info final_url = ad_group_ad.ad.final_urls.add() diff --git a/examples/basic_operations/add_keywords.py b/examples/basic_operations/add_keywords.py index 6dc287a69..12e8899fb 100755 --- a/examples/basic_operations/add_keywords.py +++ b/examples/basic_operations/add_keywords.py @@ -18,25 +18,26 @@ import argparse import sys -import google.ads.google_ads.client +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException -def main(client, customer_id, ad_group_id, keyword): - ad_group_service = client.get_service('AdGroupService', version='v3') +def main(client, customer_id, ad_group_id, keyword_text): + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') # Create keyword. ad_group_criterion_operation = client.get_type('AdGroupCriterionOperation', - version='v3') + version='v4') ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) ad_group_criterion.status = client.get_type( - 'AdGroupCriterionStatusEnum').ENABLED - ad_group_criterion.keyword.text.value = keyword + 'AdGroupCriterionStatusEnum', version='v4').ENABLED + ad_group_criterion.keyword.text.value = keyword_text ad_group_criterion.keyword.match_type = client.get_type( - 'KeywordMatchTypeEnum').EXACT + 'KeywordMatchTypeEnum', version='v4').EXACT # Optional field # All fields can be referenced from the protos directly. @@ -53,25 +54,24 @@ def main(client, customer_id, ad_group_id, keyword): ad_group_criterion_response = ( ad_group_criterion_service.mutate_ad_group_criteria( customer_id, [ad_group_criterion_operation])) - except google.ads.google_ads.errors.GoogleAdsException as ex: - print('Request with ID "%s" failed with status "%s" and includes the ' - 'following errors:' % (ex.request_id, ex.error.code().name)) + except GoogleAdsException as ex: + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "%s".' % error.message) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: %s' % field_path_element.field_name) + print('\t\tOn field: {field_path_element.field_name}') sys.exit(1) - print('Created keyword %s.' - % ad_group_criterion_response.results[0].resource_name) + print('Created keyword ' + f'{ad_group_criterion_response.results[0].resource_name}.') if __name__ == '__main__': # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = (google.ads.google_ads.client.GoogleAdsClient - .load_from_storage()) + google_ads_client = GoogleAdsClient.load_from_storage() parser = argparse.ArgumentParser( description=('Adds a keyword to the provided ad group, for the ' @@ -81,11 +81,12 @@ def main(client, customer_id, ad_group_id, keyword): required=True, help='The Google Ads customer ID.') parser.add_argument('-a', '--ad_group_id', type=str, required=True, help='The ad group ID.') - parser.add_argument('-k', '--keyword', type=str, required=False, + parser.add_argument('-k', '--keyword_text', type=str, required=False, default='mars cruise', help=('The keyword to be added to the ad group. Note ' 'that you will receive an error response if you ' 'attempt to create a duplicate keyword.')) args = parser.parse_args() - main(google_ads_client, args.customer_id, args.ad_group_id, args.keyword) + main(google_ads_client, args.customer_id, args.ad_group_id, + args.keyword_text) diff --git a/examples/basic_operations/add_responsive_search_ad.py b/examples/basic_operations/add_responsive_search_ad.py index 7897c012a..81fbbef27 100755 --- a/examples/basic_operations/add_responsive_search_ad.py +++ b/examples/basic_operations/add_responsive_search_ad.py @@ -27,14 +27,14 @@ def main(client, customer_id, ad_group_id): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v2') - ad_group_service = client.get_service('AdGroupService', version='v2') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_service = client.get_service('AdGroupService', version='v4') # Create the ad group ad. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v2') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.status = client.get_type( - 'AdGroupAdStatusEnum', version='v2').PAUSED + 'AdGroupAdStatusEnum', version='v4').PAUSED ad_group_ad.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) @@ -49,7 +49,7 @@ def main(client, customer_id, ad_group_id): client, f'Cruise to Mars #{str(uuid4())[:8]}', client.get_type( - 'ServedAssetFieldTypeEnum', version='v2').HEADLINE_1) + 'ServedAssetFieldTypeEnum', version='v4').HEADLINE_1) ad_group_ad.ad.responsive_search_ad.headlines.extend([ pinned_headline, @@ -82,7 +82,7 @@ def main(client, customer_id, ad_group_id): def _create_ad_text_asset(client, text, pinned_field=None): """Create an AdTextAsset.""" - ad_text_asset = client.get_type('AdTextAsset', version='v2') + ad_text_asset = client.get_type('AdTextAsset', version='v4') ad_text_asset.text.value = text if pinned_field: ad_text_asset.pinned_field = pinned_field diff --git a/examples/basic_operations/get_ad_groups.py b/examples/basic_operations/get_ad_groups.py index b76659ca5..24c255d0b 100755 --- a/examples/basic_operations/get_ad_groups.py +++ b/examples/basic_operations/get_ad_groups.py @@ -24,7 +24,7 @@ def main(client, customer_id, page_size, campaign_id=None): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = 'SELECT campaign.id, ad_group.id, ad_group.name FROM ad_group' diff --git a/examples/basic_operations/get_artifact_metadata.py b/examples/basic_operations/get_artifact_metadata.py index dd51c5998..f73832705 100755 --- a/examples/basic_operations/get_artifact_metadata.py +++ b/examples/basic_operations/get_artifact_metadata.py @@ -43,7 +43,7 @@ def _is_or_is_not(bool_value): def main(client, artifact_name, page_size): - gaf_service = client.get_service('GoogleAdsFieldService', version='v3') + gaf_service = client.get_service('GoogleAdsFieldService', version='v4') # Searches for an artifact with the specified name. query = ('SELECT name, category, selectable, filterable, sortable, ' diff --git a/examples/basic_operations/get_campaigns.py b/examples/basic_operations/get_campaigns.py index c5f24cee7..d12b66f6f 100755 --- a/examples/basic_operations/get_campaigns.py +++ b/examples/basic_operations/get_campaigns.py @@ -26,7 +26,7 @@ def main(client, customer_id): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name FROM campaign ' 'ORDER BY campaign.id') diff --git a/examples/basic_operations/get_expanded_text_ads.py b/examples/basic_operations/get_expanded_text_ads.py index e7f4e994f..87134da12 100755 --- a/examples/basic_operations/get_expanded_text_ads.py +++ b/examples/basic_operations/get_expanded_text_ads.py @@ -23,9 +23,9 @@ def main(client, customer_id, ad_group_id=None): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') ad_group_ad_status_enum = client.get_type( - 'AdGroupAdStatusEnum', version='v3').AdGroupAdStatus + 'AdGroupAdStatusEnum', version='v4').AdGroupAdStatus query = ('SELECT ad_group.id, ad_group_ad.ad.id, ' 'ad_group_ad.ad.expanded_text_ad.headline_part1, ' diff --git a/examples/basic_operations/get_keywords.py b/examples/basic_operations/get_keywords.py index 03712c208..db79f0a36 100755 --- a/examples/basic_operations/get_keywords.py +++ b/examples/basic_operations/get_keywords.py @@ -25,7 +25,7 @@ def main(client, customer_id, page_size, ad_group_id=None): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group.id, ad_group_criterion.type, ' 'ad_group_criterion.criterion_id, ' diff --git a/examples/basic_operations/get_responsive_search_ads.py b/examples/basic_operations/get_responsive_search_ads.py index 5f20e482e..291914f35 100755 --- a/examples/basic_operations/get_responsive_search_ads.py +++ b/examples/basic_operations/get_responsive_search_ads.py @@ -29,7 +29,7 @@ def main(client, customer_id, page_size, ad_group_id=None): - ga_service = client.get_service('GoogleAdsService', version='v2') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ''' SELECT ad_group.id, ad_group_ad.ad.id, @@ -46,7 +46,7 @@ def main(client, customer_id, page_size, ad_group_id=None): results = ga_service.search(customer_id, query=query, page_size=page_size) aga_status_enum = client.get_type( - 'AdGroupAdStatusEnum', version='v2').AdGroupAdStatus + 'AdGroupAdStatusEnum', version='v4').AdGroupAdStatus try: one_found = False @@ -81,7 +81,7 @@ def main(client, customer_id, page_size, ad_group_id=None): def _ad_text_assets_to_strs(client, assets): """Converts a list of AdTextAssets to a list of user-friendly strings.""" sa_field_type_enum = client.get_type( - 'ServedAssetFieldTypeEnum', version='v2').ServedAssetFieldType + 'ServedAssetFieldTypeEnum', version='v4').ServedAssetFieldType s = [] for asset in assets: s.append('\t"' + asset.text.value + '" pinned to ' + diff --git a/examples/basic_operations/pause_ad.py b/examples/basic_operations/pause_ad.py index 3cf400cbd..b5ac4fcb2 100755 --- a/examples/basic_operations/pause_ad.py +++ b/examples/basic_operations/pause_ad.py @@ -24,15 +24,15 @@ def main(client, customer_id, ad_group_id, ad_id): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.update ad_group_ad.resource_name = ad_group_ad_service.ad_group_ad_path( customer_id, ResourceName.format_composite(ad_group_id, ad_id)) ad_group_ad.status = client.get_type('AdGroupStatusEnum', - version='v3').PAUSED + version='v4').PAUSED fm = protobuf_helpers.field_mask(None, ad_group_ad) ad_group_ad_operation.update_mask.CopyFrom(fm) diff --git a/examples/basic_operations/remove_ad.py b/examples/basic_operations/remove_ad.py index 552878bed..5d6473509 100755 --- a/examples/basic_operations/remove_ad.py +++ b/examples/basic_operations/remove_ad.py @@ -22,8 +22,8 @@ from google.ads.google_ads.util import ResourceName def main(client, customer_id, ad_group_id, ad_id): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') resource_name = ad_group_ad_service.ad_group_ad_path( customer_id, ResourceName.format_composite(ad_group_id, ad_id)) diff --git a/examples/basic_operations/remove_ad_group.py b/examples/basic_operations/remove_ad_group.py index 8f49c241d..a44f89d05 100755 --- a/examples/basic_operations/remove_ad_group.py +++ b/examples/basic_operations/remove_ad_group.py @@ -22,8 +22,8 @@ def main(client, customer_id, ad_group_id): - ad_group_service = client.get_service('AdGroupService', version='v3') - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') resource_name = ad_group_service.ad_group_path(customer_id, ad_group_id) ad_group_operation.remove = resource_name diff --git a/examples/basic_operations/remove_campaign.py b/examples/basic_operations/remove_campaign.py index 4746efbf7..872f4e8f4 100755 --- a/examples/basic_operations/remove_campaign.py +++ b/examples/basic_operations/remove_campaign.py @@ -22,8 +22,8 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') + campaign_operation = client.get_type('CampaignOperation', version='v4') resource_name = campaign_service.campaign_path(customer_id, campaign_id) campaign_operation.remove = resource_name diff --git a/examples/basic_operations/remove_keyword.py b/examples/basic_operations/remove_keyword.py index bf32b80b1..539ddc15f 100755 --- a/examples/basic_operations/remove_keyword.py +++ b/examples/basic_operations/remove_keyword.py @@ -19,31 +19,32 @@ import sys from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException from google.ads.google_ads.util import ResourceName -def main(client, customer_id, ad_group_id, criteria_id): - agc_service = client.get_service('AdGroupCriterionService', version='v3') - agc_operation = client.get_type('AdGroupCriterionOperation', version='v3') +def main(client, customer_id, ad_group_id, criterion_id): + agc_service = client.get_service('AdGroupCriterionService', version='v4') + agc_operation = client.get_type('AdGroupCriterionOperation', version='v4') resource_name = agc_service.ad_group_criteria_path( - customer_id, ResourceName.format_composite(ad_group_id, criteria_id)) + customer_id, ResourceName.format_composite(ad_group_id, criterion_id)) agc_operation.remove = resource_name try: agc_response = agc_service.mutate_ad_group_criteria( customer_id, [agc_operation]) - except google.ads.google_ads.errors.GoogleAdsException as ex: - print('Request with ID "%s" failed with status "%s" and includes the ' - 'following errors:' % (ex.request_id, ex.error.code().name)) + except GoogleAdsException as ex: + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "%s".' % error.message) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: %s' % field_path_element.field_name) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) - print('Removed keyword %s.' % agc_response.results[0].resource_name) + print(f'Removed keyword {agc_response.results[0].resource_name}.') if __name__ == '__main__': @@ -57,9 +58,9 @@ def main(client, customer_id, ad_group_id, criteria_id): required=True, help='The Google Ads customer ID.') parser.add_argument('-a', '--ad_group_id', type=str, required=True, help='The ad group ID.') - parser.add_argument('-k', '--criteria_id', type=str, - required=True, help='The criteria ID, or keyword ID.') + parser.add_argument('-k', '--criterion_id', type=str, + required=True, help='The criterion ID, or keyword ID.') args = parser.parse_args() main(google_ads_client, args.customer_id, args.ad_group_id, - args.criteria_id) + args.criterion_id) diff --git a/examples/basic_operations/update_ad_group.py b/examples/basic_operations/update_ad_group.py index 74c24ef58..b557a5596 100755 --- a/examples/basic_operations/update_ad_group.py +++ b/examples/basic_operations/update_ad_group.py @@ -21,20 +21,21 @@ import argparse import sys -import google.ads.google_ads.client +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoogleAdsException from google.api_core import protobuf_helpers -def main(client, customer_id, ad_group_id, bid_micro_amount): - ad_group_service = client.get_service('AdGroupService', version='v3') +def main(client, customer_id, ad_group_id, cpc_bid_micro_amount): + ad_group_service = client.get_service('AdGroupService', version='v4') # Create ad group operation. - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.update ad_group.resource_name = ad_group_service.ad_group_path( customer_id, ad_group_id) - ad_group.status = client.get_type('AdGroupStatusEnum', version='v3').PAUSED - ad_group.cpc_bid_micros.value = bid_micro_amount + ad_group.status = client.get_type('AdGroupStatusEnum', version='v4').PAUSED + ad_group.cpc_bid_micros.value = cpc_bid_micro_amount fm = protobuf_helpers.field_mask(None, ad_group) ad_group_operation.update_mask.CopyFrom(fm) @@ -42,24 +43,23 @@ def main(client, customer_id, ad_group_id, bid_micro_amount): try: ad_group_response = ad_group_service.mutate_ad_groups( customer_id, [ad_group_operation]) - except google.ads.google_ads.errors.GoogleAdsException as ex: - print('Request with ID "%s" failed with status "%s" and includes the ' - 'following errors:' % (ex.request_id, ex.error.code().name)) + except GoogleAdsException as ex: + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "%s".' % error.message) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: %s' % field_path_element.field_name) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) - print('Updated ad group %s.' % ad_group_response.results[0].resource_name) + print(f'Updated ad group {ad_group_response.results[0].resource_name}.') if __name__ == '__main__': # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = (google.ads.google_ads.client.GoogleAdsClient - .load_from_storage()) + google_ads_client = GoogleAdsClient.load_from_storage() parser = argparse.ArgumentParser( description=('Updates an ad group for specified customer and campaign ' @@ -69,9 +69,9 @@ def main(client, customer_id, ad_group_id, bid_micro_amount): required=True, help='The Google Ads customer ID.') parser.add_argument('-a', '--ad_group_id', type=str, required=True, help='The ad group ID.') - parser.add_argument('-b', '--bid_micro_amount', type=int, - required=True, help='The bid micro amount.') + parser.add_argument('-b', '--cpc_bid_micro_amount', type=int, + required=True, help='The cpc bid micro amount.') args = parser.parse_args() main(google_ads_client, args.customer_id, args.ad_group_id, - args.bid_micro_amount) + args.cpc_bid_micro_amount) diff --git a/examples/basic_operations/update_campaign.py b/examples/basic_operations/update_campaign.py index 628221c94..60ee777c4 100755 --- a/examples/basic_operations/update_campaign.py +++ b/examples/basic_operations/update_campaign.py @@ -27,13 +27,13 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Create campaign operation. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.update campaign.resource_name = campaign_service.campaign_path( customer_id, campaign_id) - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED campaign.network_settings.target_search_network.value = False # Retrieve a FieldMask for the fields configured in the campaign. fm = protobuf_helpers.field_mask(None, campaign) diff --git a/examples/basic_operations/update_expanded_text_ad.py b/examples/basic_operations/update_expanded_text_ad.py index ed5d04451..16706f41e 100755 --- a/examples/basic_operations/update_expanded_text_ad.py +++ b/examples/basic_operations/update_expanded_text_ad.py @@ -28,9 +28,9 @@ def main(client, customer_id, ad_id): - ad_service = client.get_service('AdService', version='v3') + ad_service = client.get_service('AdService', version='v4') - ad_operation = client.get_type('AdOperation', version='v3') + ad_operation = client.get_type('AdOperation', version='v4') # Update ad operation. ad = ad_operation.update diff --git a/examples/basic_operations/update_keyword.py b/examples/basic_operations/update_keyword.py index 4dc617be9..696c250f7 100755 --- a/examples/basic_operations/update_keyword.py +++ b/examples/basic_operations/update_keyword.py @@ -24,16 +24,16 @@ def main(client, customer_id, ad_group_id, criterion_id): - agc_service = client.get_service('AdGroupCriterionService', version='v3') + agc_service = client.get_service('AdGroupCriterionService', version='v4') ad_group_criterion_operation = client.get_type('AdGroupCriterionOperation', - version='v3') + version='v4') ad_group_criterion = ad_group_criterion_operation.update ad_group_criterion.resource_name = agc_service.ad_group_criteria_path( customer_id, ResourceName.format_composite(ad_group_id, criterion_id)) ad_group_criterion.status = (client.get_type('AdGroupCriterionStatusEnum', - version='v3') + version='v4') .ENABLED) final_url = ad_group_criterion.final_urls.add() final_url.value = 'https://www.example.com' diff --git a/examples/billing/add_account_budget_proposal.py b/examples/billing/add_account_budget_proposal.py index 8469f66fd..49b241edb 100755 --- a/examples/billing/add_account_budget_proposal.py +++ b/examples/billing/add_account_budget_proposal.py @@ -29,7 +29,7 @@ def main(client, customer_id, billing_setup_id): account_budget_proposal_service = client.get_service( 'AccountBudgetProposalService') billing_setup_service = client.get_service('BillingSetupService', - version='v3') + version='v4') account_budget_proposal_operation = client.get_type( 'AccountBudgetProposalOperation') @@ -43,7 +43,7 @@ def main(client, customer_id, billing_setup_id): # Specify the account budget starts immediately proposal.proposed_start_time_type = client.get_type('TimeTypeEnum', - version='v3').NOW + version='v4').NOW # Alternatively you can specify a specific start time. Refer to the # AccountBudgetProposal resource documentation for allowed formats. # @@ -51,7 +51,7 @@ def main(client, customer_id, billing_setup_id): # Specify that the budget runs forever proposal.proposed_end_time_type = client.get_type('TimeTypeEnum', - version='v3').FOREVER + version='v4').FOREVER # Alternatively you can specify a specific end time. Allowed formats are as # above. # diff --git a/examples/billing/get_account_budget_proposals.py b/examples/billing/get_account_budget_proposals.py index f9944a4fd..da6829ad1 100755 --- a/examples/billing/get_account_budget_proposals.py +++ b/examples/billing/get_account_budget_proposals.py @@ -29,7 +29,7 @@ def main(client, customer_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT account_budget_proposal.id, ' 'account_budget_proposal.account_budget,' diff --git a/examples/billing/get_account_budgets.py b/examples/billing/get_account_budgets.py index 81edc7852..9ae0b1e03 100755 --- a/examples/billing/get_account_budgets.py +++ b/examples/billing/get_account_budgets.py @@ -23,7 +23,7 @@ def main(client, customer_id): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT account_budget.status, ' 'account_budget.billing_setup, ' @@ -46,7 +46,7 @@ def main(client, customer_id): try: # Use the enum type to determine the enum names from the values. budget_status_enum = client.get_type( - 'AccountBudgetStatusEnum', version='v3').AccountBudgetStatus + 'AccountBudgetStatusEnum', version='v4').AccountBudgetStatus for batch in response: for row in batch.results: diff --git a/examples/billing/get_billing_setup.py b/examples/billing/get_billing_setup.py index 11fa77cad..c2c0d14f1 100755 --- a/examples/billing/get_billing_setup.py +++ b/examples/billing/get_billing_setup.py @@ -23,7 +23,7 @@ def main(client, customer_id): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ( 'SELECT billing_setup.id, billing_setup.status, ' @@ -40,7 +40,7 @@ def main(client, customer_id): try: # Use the enum type to determine the enum name from the value. billing_setup_status_enum = client.get_type( - 'BillingSetupStatusEnum', version='v3').BillingSetupStatus + 'BillingSetupStatusEnum', version='v4').BillingSetupStatus print('Found the following billing setup results:') for batch in response: diff --git a/examples/billing/remove_billing_setup.py b/examples/billing/remove_billing_setup.py index 60e093062..f09ecc229 100755 --- a/examples/billing/remove_billing_setup.py +++ b/examples/billing/remove_billing_setup.py @@ -26,11 +26,11 @@ def main(client, customer_id, billing_setup_id): billing_setup_service = client.get_service('BillingSetupService', - version='v3') + version='v4') # Create billing setup operation. billing_setup_operation = client.get_type('BillingSetupOperation', - version='v3') + version='v4') billing_setup_operation.remove = billing_setup_service.billing_setup_path( customer_id, billing_setup_id) diff --git a/examples/campaign_management/add_campaign_bid_modifier.py b/examples/campaign_management/add_campaign_bid_modifier.py index bb502f3a6..c8418d54b 100755 --- a/examples/campaign_management/add_campaign_bid_modifier.py +++ b/examples/campaign_management/add_campaign_bid_modifier.py @@ -23,9 +23,9 @@ def main(client, customer_id, campaign_id, bid_modifier_value): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign_bm_service = client.get_service('CampaignBidModifierService', - version='v3') + version='v4') # Create campaign bid modifier for call interactions with the specified # campaign ID and bid modifier value. @@ -42,7 +42,7 @@ def main(client, customer_id, campaign_id, bid_modifier_value): # Sets the interaction type. campaign_bid_modifier.interaction_type.type = ( - client.get_type('InteractionTypeEnum', version='v3').CALLS) + client.get_type('InteractionTypeEnum', version='v4').CALLS) # Add the campaign bid modifier. try: diff --git a/examples/campaign_management/add_campaign_draft.py b/examples/campaign_management/add_campaign_draft.py index 7023d034a..a79540190 100755 --- a/examples/campaign_management/add_campaign_draft.py +++ b/examples/campaign_management/add_campaign_draft.py @@ -27,9 +27,9 @@ def main(client, customer_id, base_campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign_draft_service = client.get_service('CampaignDraftService', - version='v3') + version='v4') # Creates a campaign draft operation. campaign_draft_operation = client.get_type('CampaignDraftOperation') diff --git a/examples/campaign_management/add_campaign_labels.py b/examples/campaign_management/add_campaign_labels.py index ae4127a5c..498d2e4f0 100755 --- a/examples/campaign_management/add_campaign_labels.py +++ b/examples/campaign_management/add_campaign_labels.py @@ -36,9 +36,9 @@ def main(client, customer_id, label_id, campaign_ids): # Get an instance of CampaignLabelService client. campaign_label_service = client.get_service( - 'CampaignLabelService', version='v3') - campaign_service = client.get_service('CampaignService', version='v3') - label_service = client.get_service('LabelService', version='v3') + 'CampaignLabelService', version='v4') + campaign_service = client.get_service('CampaignService', version='v4') + label_service = client.get_service('LabelService', version='v4') # Build the resource name of the label to be added across the campaigns. label_resource_name = label_service.label_path(customer_id, label_id) @@ -49,7 +49,7 @@ def main(client, customer_id, label_id, campaign_ids): campaign_resource_name = campaign_service.campaign_path(customer_id, campaign_id) campaign_label_operation = client.get_type( - 'CampaignLabelOperation', version='v3') + 'CampaignLabelOperation', version='v4') campaign_label = campaign_label_operation.create campaign_label.campaign.value = campaign_resource_name diff --git a/examples/campaign_management/add_complete_campaigns_using_mutate_job.py b/examples/campaign_management/add_complete_campaigns_using_batch_job.py similarity index 79% rename from examples/campaign_management/add_complete_campaigns_using_mutate_job.py rename to examples/campaign_management/add_complete_campaigns_using_batch_job.py index e50806e9b..c691e0e58 100755 --- a/examples/campaign_management/add_complete_campaigns_using_mutate_job.py +++ b/examples/campaign_management/add_complete_campaigns_using_batch_job.py @@ -12,7 +12,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Adds complete campaigns using MutateJobService. +"""Adds complete campaigns using BatchJobService. Complete campaigns include campaign budgets, campaigns, ad groups and keywords. """ @@ -36,7 +36,7 @@ def _get_next_temporary_id(): - """Returns the next temporary ID to use in mutate job operations. + """Returns the next temporary ID to use in batch job operations. Decrements the temporary ID by one before returning it. The first value returned for the ID is -1. @@ -75,7 +75,7 @@ def _build_mutate_operation(client, operation_type, operation): Returns: a MutateOperation instance """ - mutate_operation = client.get_type('MutateOperation', version='v3') + mutate_operation = client.get_type('MutateOperation', version='v4') getattr(mutate_operation, operation_type).CopyFrom(operation) return mutate_operation @@ -87,66 +87,87 @@ async def main(client, customer_id): client: an initialized GoogleAdsClient instance. customer_id: a str of a customer ID. """ - mutate_job_service = client.get_service('MutateJobService', version='v3') - resource_name = _create_mutate_job(mutate_job_service, customer_id) + batch_job_service = client.get_service('BatchJobService', version='v4') + batch_job_operation = _create_batch_job_operation(client) + resource_name = _create_batch_job(batch_job_service, customer_id, + batch_job_operation) operations = _build_all_operations(client, customer_id) - _add_all_mutate_job_operations(mutate_job_service, operations, resource_name) - operations_response = _run_mutate_job(mutate_job_service, resource_name) + _add_all_batch_job_operations(batch_job_service, operations, resource_name) + operations_response = _run_batch_job(batch_job_service, resource_name) # Create an asyncio.Event instance to control execution during the - # asyncronous steps in _poll_mutate_job. Note that this is not important + # asyncronous steps in _poll_batch_job. Note that this is not important # for polling asyncronously, it simply helps with execution control so we # can run _fetch_and_print_results after the asyncronous operations have # completed. _done_event = asyncio.Event() - _poll_mutate_job(operations_response, _done_event) + _poll_batch_job(operations_response, _done_event) # Execution will stop here and wait for the asyncronous steps in - # _poll_mutate_job to complete before proceeding. + # _poll_batch_job to complete before proceeding. await _done_event.wait() - _fetch_and_print_results(mutate_job_service, resource_name) + _fetch_and_print_results(batch_job_service, resource_name) -def _create_mutate_job(mutate_job_service, customer_id): - """Creates a mutate job for the specified customer ID. +def _create_batch_job_operation(client): + """Created a BatchJobOperation and sets an empty BatchJob instance to + the "create" property in order to tell the Google Ads API that we're + creating a new BatchJob. Args: - mutate_job_service: an instance of the MutateJobService message class. + client: an initialized GoogleAdsClient instance. + + Returns: a BatchJobOperation with a BatchJob instance set in the "create" + property. + """ + batch_job_operation = client.get_type('BatchJobOperation', version='v4') + batch_job = client.get_type('BatchJob', version='v4') + batch_job_operation.create.CopyFrom(batch_job) + return batch_job_operation + + +def _create_batch_job(batch_job_service, customer_id, batch_job_operation): + """Creates a batch job for the specified customer ID. + + Args: + batch_job_service: an instance of the BatchJobService message class. customer_id: a str of a customer ID. + batch_job_operation: a BatchJobOperation instance set to "create" - Returns: a str of a resource name for a mutate job. + Returns: a str of a resource name for a batch job. """ try: - response = mutate_job_service.create_mutate_job(customer_id) + response = batch_job_service.mutate_batch_job(customer_id, + batch_job_operation) resource_name = response.resource_name - print(f'Created a mutate job with resource name "{resource_name}"') + print(f'Created a batch job with resource name "{resource_name}"') return resource_name except GoogleAdsException as exception: _handle_google_ads_exception(exception) -def _add_all_mutate_job_operations(mutate_job_service, operations, +def _add_all_batch_job_operations(batch_job_service, operations, resource_name): - """Adds all mutate job operations to the mutate job. + """Adds all mutate operations to the batch job. - As this is the first time for this mutate job, we pass null as a sequence + As this is the first time for this batch job, we pass null as a sequence token. The response will contain the next sequence token that we can use to upload more operations in the future. Args: - mutate_job_service: an instance of the MutateJobService message class. + batch_job_service: an instance of the BatchJobService message class. operations: a list of a mutate operations. - resource_name: a str of a resource name for a mutate job. + resource_name: a str of a resource name for a batch job. """ try: - response = mutate_job_service.add_mutate_job_operations( + response = batch_job_service.add_batch_job_operations( resource_name, None, operations) print(f'{response.total_operations} mutate operations have been ' 'added so far.') # You can use this next sequence token for calling - # add_mutate_job_operations() next time. + # add_batch_job_operations() next time. print('Next sequence token for adding next operations is ' f'{response.next_sequence_token}') except GoogleAdsException as exception: @@ -225,16 +246,16 @@ def _build_campaign_budget_operation(client, customer_id): Returns: a CampaignBudgetOperation instance. """ campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') + version='v4') campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') campaign_budget = campaign_budget_operation.create resource_name = campaign_budget_service.campaign_budget_path( customer_id, _get_next_temporary_id()) campaign_budget.resource_name = resource_name campaign_budget.name.value = f'Interplanetary Cruise Budget #{uuid4()}' campaign_budget.delivery_method = client.get_type( - 'BudgetDeliveryMethodEnum', version='v3').STANDARD + 'BudgetDeliveryMethodEnum', version='v4').STANDARD campaign_budget.amount_micros.value = 5000000 return campaign_budget_operation @@ -270,23 +291,23 @@ def _build_campaign_operation(client, customer_id, Returns: a CampaignOperation instance. """ - campaign_operation = client.get_type('CampaignOperation', version='v3') - campaign_service = client.get_service('CampaignService', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') + campaign_service = client.get_service('CampaignService', version='v4') # Creates a campaign. campaign = campaign_operation.create campaign_id = _get_next_temporary_id() # Creates a resource name using the temporary ID. campaign.resource_name = campaign_service.campaign_path(customer_id, campaign_id) - campaign.name.value = f'Mutate job campaign #{customer_id}.{campaign_id}' + campaign.name.value = f'Batch job campaign #{customer_id}.{campaign_id}' campaign.advertising_channel_type = client.get_type( - 'AdvertisingChannelTypeEnum', version='v3').SEARCH + 'AdvertisingChannelTypeEnum', version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to prevent # the ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED # Set the bidding strategy and type. - campaign.manual_cpc.CopyFrom(client.get_type('ManualCpc', version='v3')) + campaign.manual_cpc.CopyFrom(client.get_type('ManualCpc', version='v4')) campaign.campaign_budget.value = campaign_budget_resource_name return campaign_operation @@ -316,12 +337,12 @@ def _build_campaign_criterion_operation(client, campaign_operation): Returns: a CampaignCriterionOperation instance. """ campaign_criterion_operation = client.get_type( - 'CampaignCriterionOperation', version='v3') + 'CampaignCriterionOperation', version='v4') # Creates a campaign criterion. campaign_criterion = campaign_criterion_operation.create campaign_criterion.keyword.text.value = 'venus' campaign_criterion.keyword.match_type = client.get_type( - 'KeywordMatchTypeEnum', version='v3').BROAD + 'KeywordMatchTypeEnum', version='v4').BROAD # Sets the campaign criterion as a negative criterion. campaign_criterion.negative.value = True campaign_criterion.campaign.value = campaign_operation.create.resource_name @@ -360,18 +381,18 @@ def _build_ad_group_operation(client, customer_id, campaign_operation): Return: an AdGroupOperation instance. """ - ad_group_operation = client.get_type('AdGroupOperation', version='v3') - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') + ad_group_service = client.get_service('AdGroupService', version='v4') # Creates an ad group. ad_group = ad_group_operation.create ad_group_id = _get_next_temporary_id() # Creates a resource name using the temporary ID. ad_group.resource_name = ad_group_service.ad_group_path(customer_id, ad_group_id) - ad_group.name.value = f'Mutate job ad group #{uuid4()}.{ad_group_id}' + ad_group.name.value = f'Batch job ad group #{uuid4()}.{ad_group_id}' ad_group.campaign.value = campaign_operation.create.resource_name ad_group.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_STANDARD + version='v4').SEARCH_STANDARD ad_group.cpc_bid_micros.value = 10000000 return ad_group_operation @@ -381,7 +402,7 @@ def _build_ad_group_criterion_operations(client, ad_group_operations): """Builds new ad group criterion operations for creating keywords. 50% of keywords are created with some invalid characters to demonstrate - how MutateJobService returns information about such errors. + how BatchJobService returns information about such errors. Args: client: an initialized GoogleAdsClient instance. @@ -418,7 +439,7 @@ def _build_ad_group_criterion_operation(client, ad_group_operation, number, Returns: an AdGroupCriterionOperation instance. """ ad_group_criterion_operation = client.get_type('AdGroupCriterionOperation', - version='v3') + version='v4') # Creates an ad group criterion. ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.keyword.text.value = f'mars{number}' @@ -429,10 +450,10 @@ def _build_ad_group_criterion_operation(client, ad_group_operation, number, ad_group_criterion.keyword.text.value += '!!!' ad_group_criterion.keyword.match_type = client.get_type( - 'KeywordMatchTypeEnum', version='v3').BROAD + 'KeywordMatchTypeEnum', version='v4').BROAD ad_group_criterion.ad_group.value = ad_group_operation.create.resource_name ad_group_criterion.status = client.get_type( - 'AdGroupCriterionStatusEnum', version='v3').ENABLED + 'AdGroupCriterionStatusEnum', version='v4').ENABLED return ad_group_criterion_operation @@ -460,7 +481,7 @@ def _build_ad_group_ad_operation(client, ad_group_operation): Returns: an AdGroupAdOperation instance. """ - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') # Creates an ad group ad. ad_group_ad = ad_group_ad_operation.create # Creates the expanded text ad info. @@ -472,31 +493,31 @@ def _build_ad_group_ad_operation(client, ad_group_operation): final_url.value = 'http://www.example.com' ad_group_ad.ad_group.value = ad_group_operation.create.resource_name ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED return ad_group_ad_operation -def _run_mutate_job(mutate_job_service, resource_name): - """Runs the mutate job for executing all uploaded mutate job operations. +def _run_batch_job(batch_job_service, resource_name): + """Runs the batch job for executing all uploaded mutate operations. Args: - mutate_job_service: an instance of the MutateJobService message class. - resource_name: a str of a resource name for a mutate job. + batch_job_service: an instance of the BatchJobService message class. + resource_name: a str of a resource name for a batch job. Returns: a google.api_core.operation.Operation instance. """ try: - response = mutate_job_service.run_mutate_job(resource_name) - print(f'Mutate job with resource name "{resource_name}" has been ' + response = batch_job_service.run_batch_job(resource_name) + print(f'Batch job with resource name "{resource_name}" has been ' 'executed.') return response except GoogleAdsException as exception: _handle_google_ads_exception(exception) -def _poll_mutate_job(operations_response, event): - """Polls the server until the mutate job execution finishes. +def _poll_batch_job(operations_response, event): + """Polls the server until the batch job execution finishes. Sets the initial poll delay time and the total time to wait before time-out. @@ -521,26 +542,26 @@ def _done_callback(future): operations_response.add_done_callback(_done_callback) -def _fetch_and_print_results(mutate_job_service, resource_name): - """Prints all the results from running the mutate job. +def _fetch_and_print_results(batch_job_service, resource_name): + """Prints all the results from running the batch job. Args: - mutate_job_service: an instance of the MutateJobService message class. - resource_name: a str of a resource name for a mutate job. + batch_job_service: an instance of the BatchJobService message class. + resource_name: a str of a resource name for a batch job. """ - print(f'Mutate job with resource name "{resource_name}" has finished. ' + print(f'Batch job with resource name "{resource_name}" has finished. ' 'Now, printing its results...') - # Gets all the results from running mutate job and prints their information. - mutate_job_results = mutate_job_service.list_mutate_job_results( + # Gets all the results from running batch job and prints their information. + batch_job_results = batch_job_service.list_batch_job_results( resource_name, page_size=PAGE_SIZE) - for mutate_job_result in mutate_job_results: - status = mutate_job_result.status.message + for batch_job_result in batch_job_results: + status = batch_job_result.status.message status = status if status else 'N/A' - result = mutate_job_result.mutate_operation_response + result = batch_job_result.mutate_operation_response result = result if result.ByteSize() else 'N/A' - print(f'Mutate job #{mutate_job_result.operation_index} ' + print(f'Batch job #{batch_job_result.operation_index} ' f'has a status "{status}" and response type "{result}"') @@ -552,7 +573,7 @@ def _fetch_and_print_results(mutate_job_service, resource_name): parser = argparse.ArgumentParser( description=('Adds complete campaigns, including campaign budgets, ' 'campaigns, ad groups and keywords for the given ' - 'customer ID using MutateJobService.')) + 'customer ID using BatchJobService.')) # The following argument(s) should be provided to run the example. parser.add_argument('-c', '--customer_id', type=str, required=True, diff --git a/examples/campaign_management/create_campaign_experiment.py b/examples/campaign_management/create_campaign_experiment.py old mode 100644 new mode 100755 index fe8d69b39..552304e89 --- a/examples/campaign_management/create_campaign_experiment.py +++ b/examples/campaign_management/create_campaign_experiment.py @@ -24,21 +24,26 @@ from google.ads.google_ads.client import GoogleAdsClient from google.ads.google_ads.errors import GoogleAdsException +from google.ads.google_ads.util import ResourceName -def main(client, customer_id, campaign_draft_resource_name): +def main(client, customer_id, base_campaign_id, draft_id): # Create the campaign experiment. - campaign_experiment = client.get_type('CampaignExperiment', version='v3') + campaign_experiment = client.get_type('CampaignExperiment', version='v4') + campaign_draft_service = client.get_service('CampaignDraftService', + version='v4') + campaign_draft_resource_name = campaign_draft_service.campaign_draft_path( + customer_id, ResourceName.format_composite(base_campaign_id, draft_id)) + campaign_experiment.campaign_draft.value = campaign_draft_resource_name - campaign_experiment.name.value = 'Campaign Experiment #{}'.format( - uuid.uuid4()) + campaign_experiment.name.value = f'Campaign Experiment #{uuid.uuid4()}' campaign_experiment.traffic_split_percent.value = 50 campaign_experiment.traffic_split_type = client.get_type( - 'CampaignExperimentTrafficSplitTypeEnum', version='v3').RANDOM_QUERY + 'CampaignExperimentTrafficSplitTypeEnum', version='v4').RANDOM_QUERY try: campaign_experiment_service = client.get_service( - 'CampaignExperimentService', version='v3') + 'CampaignExperimentService', version='v4') # A Long Running Operation (LRO) is returned from this # asynchronous request by the API. @@ -46,45 +51,46 @@ def main(client, customer_id, campaign_draft_resource_name): campaign_experiment_service.create_campaign_experiment( customer_id, campaign_experiment)) except GoogleAdsException as ex: - print('Request with ID "{}" failed with status "{}" and includes the ' - 'following errors:'.format(ex.request_id, ex.error.code().name)) + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "{}".'.format(error.message)) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: {}'.format(field_path_element.field_name)) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) print('Asynchronous request to create campaign experiment with ' - 'resource name "{}" started.'.format( - campaign_experiment_lro.metadata.campaign_experiment)) + 'resource name ' + f'"{campaign_experiment_lro.metadata.campaign_experiment}" started.') print('Waiting until operation completes.') # Poll until the operation completes. campaign_experiment_lro.result() # Retrieve the campaign experiment that has been created. - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ( 'SELECT campaign_experiment.experiment_campaign ' 'FROM campaign_experiment ' - 'WHERE campaign_experiment.resource_name = "{}"'.format( - campaign_experiment_lro.metadata.campaign_experiment)) + 'WHERE campaign_experiment.resource_name = ' + f'"{campaign_experiment_lro.metadata.campaign_experiment}"') results = ga_service.search(customer_id, query=query, page_size=1) try: for row in results: - print('Experiment campaign "{}" creation completed.'.format( - row.campaign_experiment.experiment_campaign.value)) + print('Experiment campaign ' + f'"{row.campaign_experiment.experiment_campaign.value}" ' + 'creation completed.') except GoogleAdsException as ex: - print('Request with ID "{}" failed with status "{}" and includes the ' - 'following errors:'.format(ex.request_id, ex.error.code().name)) + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "{}".'.format(error.message)) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: {}'.format(field_path_element.field_name)) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) if __name__ == '__main__': @@ -97,9 +103,11 @@ def main(client, customer_id, campaign_draft_resource_name): # The following argument(s) should be provided to run the example. parser.add_argument('-c', '--customer_id', type=str, required=True, help='The Google Ads customer ID.') - parser.add_argument('-n', '--campaign_draft_resource_name', - type=str, required=True, - help='The campaign draft resource name.') + parser.add_argument('-i', '--base_campaign_id', type=str, required=True, + help='The base campaign id.') + parser.add_argument('-d', '--draft_id', type=str, required=True, + help='The id of the draft.') args = parser.parse_args() - main(google_ads_client, args.customer_id, args.campaign_draft_resource_name) + main(google_ads_client, args.customer_id, args.base_campaign_id, + args.draft_id) diff --git a/examples/campaign_management/get_all_disapproved_ads.py b/examples/campaign_management/get_all_disapproved_ads.py index a59e66cd7..ba3411961 100755 --- a/examples/campaign_management/get_all_disapproved_ads.py +++ b/examples/campaign_management/get_all_disapproved_ads.py @@ -24,7 +24,7 @@ def main(client, customer_id, campaign_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group_ad.ad.id, ad_group_ad.ad.type, ' 'ad_group_ad.policy_summary FROM ad_group_ad ' @@ -34,7 +34,7 @@ def main(client, customer_id, campaign_id, page_size): try: disapproved_ads_count = 0 - ad_type_enum = client.get_type('AdTypeEnum', version='v3').AdType + ad_type_enum = client.get_type('AdTypeEnum', version='v4').AdType policy_topic_entry_type_enum = client.get_type( 'PolicyTopicEntryTypeEnum').PolicyTopicEntryType diff --git a/examples/campaign_management/get_campaigns_by_label.py b/examples/campaign_management/get_campaigns_by_label.py index 795fa93ee..819034fef 100755 --- a/examples/campaign_management/get_campaigns_by_label.py +++ b/examples/campaign_management/get_campaigns_by_label.py @@ -38,7 +38,7 @@ def main(client, customer_id, label_id, page_size): page_size: An int of the number of results to include in each page of results. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') # Creates a query that will retrieve all campaign labels with the # specified label ID. diff --git a/examples/campaign_management/set_ad_parameters.py b/examples/campaign_management/set_ad_parameters.py index 9ff922bcf..9abd00a4b 100755 --- a/examples/campaign_management/set_ad_parameters.py +++ b/examples/campaign_management/set_ad_parameters.py @@ -32,7 +32,7 @@ def main(client, customer_id, ad_group_id, criterion_id): criterion_id: A criterion ID str. """ ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') # Gets the resource name of the ad group criterion to be used. resource_name = ad_group_criterion_service.ad_group_criteria_path( customer_id, ResourceName.format_composite(ad_group_id, criterion_id)) @@ -42,7 +42,7 @@ def main(client, customer_id, ad_group_id, criterion_id): operations.append(create_ad_parameter(client, resource_name, 2, '$40')) ad_parameter_service = client.get_service('AdParameterService', - version='v3') + version='v4') # Add the ad parameter. try: @@ -72,7 +72,7 @@ def create_ad_parameter(client, resource_name, parameter_index, insertion_text): Restrictions apply to the value of the "insertion_text". For more information, see the field documentation in the AdParameter class located - here: https://developers.google.com/google-ads/api/fields/v2/ad_parameter#ad_parameterinsertion_text + here: https://developers.google.com/google-ads/api/fields/v4/ad_parameter#ad_parameterinsertion_text Args: client: An initialized GoogleAdsClient instance. @@ -82,7 +82,7 @@ def create_ad_parameter(client, resource_name, parameter_index, insertion_text): Returns: A new AdParamterOperation message class instance. """ - ad_param_operation = client.get_type('AdParameterOperation', version='v3') + ad_param_operation = client.get_type('AdParameterOperation', version='v4') ad_param = ad_param_operation.create ad_param.ad_group_criterion.value = resource_name ad_param.parameter_index.value = parameter_index diff --git a/examples/campaign_management/update_campaign_criterion_bid_modifier.py b/examples/campaign_management/update_campaign_criterion_bid_modifier.py index be510b79c..9233cf25a 100755 --- a/examples/campaign_management/update_campaign_criterion_bid_modifier.py +++ b/examples/campaign_management/update_campaign_criterion_bid_modifier.py @@ -22,18 +22,18 @@ from google.api_core import protobuf_helpers -def main(client, customer_id, campaign_id, criterion_id, bid_modifier): +def main(client, customer_id, campaign_id, criterion_id, bid_modifier_value): campaign_criterion_service = client.get_service( - 'CampaignCriterionService', version='v2') + 'CampaignCriterionService', version='v4') criterion_rname = campaign_criterion_service.campaign_criteria_path( customer_id, f'{campaign_id}~{criterion_id}') campaign_criterion_operation = client.get_type( - 'CampaignCriterionOperation', version='v2') + 'CampaignCriterionOperation', version='v4') campaign_criterion = campaign_criterion_operation.update campaign_criterion.resource_name = criterion_rname - campaign_criterion.bid_modifier.value = bid_modifier + campaign_criterion.bid_modifier.value = bid_modifier_value fm = protobuf_helpers.field_mask(None, campaign_criterion) campaign_criterion_operation.update_mask.CopyFrom(fm) @@ -71,9 +71,9 @@ def main(client, customer_id, campaign_id, criterion_id, bid_modifier): help='The campaign ID.') parser.add_argument('--criterion_id', type=str, required=True, help='The criterion ID.') - parser.add_argument('-b', '--bid_modifier', type=float, default=1.5, + parser.add_argument('-b', '--bid_modifier_value', type=float, default=1.5, help='The desired campaign criterion bid modifier.') args = parser.parse_args() main(google_ads_client, args.customer_id, args.campaign_id, - args.criterion_id, args.bid_modifier) + args.criterion_id, args.bid_modifier_value) diff --git a/examples/campaign_management/validate_text_ad.py b/examples/campaign_management/validate_text_ad.py index c826b86cb..84fb56ec6 100755 --- a/examples/campaign_management/validate_text_ad.py +++ b/examples/campaign_management/validate_text_ad.py @@ -26,13 +26,13 @@ def main(client, customer_id, ad_group_id): - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v2') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create - ad_group_service = client.get_service('AdGroupService', version='v2') + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_ad.ad_group.value = ad_group_service.ad_group_path(customer_id, ad_group_id) ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v2').PAUSED + version='v4').PAUSED # Create an expanded text ad. ad_group_ad.ad.expanded_text_ad.description.value = 'Luxury Cruise to Mars' @@ -45,7 +45,7 @@ def main(client, customer_id, ad_group_id): final_url = ad_group_ad.ad.final_urls.add() final_url.value = 'http://www.example.com/' - ad_group_ad_service = client.get_service('AdGroupAdService', version='v2') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') # Attempt the mutate with validate_only=True. try: response = ad_group_ad_service.mutate_ad_group_ads(customer_id, @@ -65,7 +65,7 @@ def main(client, customer_id, ad_group_id): # https://developers.google.com/google-ads/api/docs/policy-exemption/overview if (error.error_code.policy_finding_error == client.get_type('PolicyFindingErrorEnum', - version='v2').POLICY_FINDING): + version='v4').POLICY_FINDING): if error.details.policy_finding_details: count = 1 details = (error.details.policy_finding_details diff --git a/examples/error_handling/handle_partial_failure.py b/examples/error_handling/handle_partial_failure.py index 548b2970f..6268a69e7 100755 --- a/examples/error_handling/handle_partial_failure.py +++ b/examples/error_handling/handle_partial_failure.py @@ -63,8 +63,8 @@ def create_ad_groups(client, customer_id, campaign_id): Returns: A MutateAdGroupsResponse message instance. """ - ad_group_service = client.get_service('AdGroupService', version='v3') - campaign_service = client.get_service('CampaignService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') + campaign_service = client.get_service('CampaignService', version='v4') resource_name = campaign_service.campaign_path(customer_id, campaign_id) invalid_resource_name = campaign_service.campaign_path(customer_id, 0) @@ -72,20 +72,20 @@ def create_ad_groups(client, customer_id, campaign_id): # This AdGroup should be created successfully - assuming the campaign in # the params exists. - ad_group_op1 = client.get_type('AdGroupOperation', version='v3') + ad_group_op1 = client.get_type('AdGroupOperation', version='v4') ad_group_op1.create.name.value = 'Valid AdGroup: %s' % uuid.uuid4() ad_group_op1.create.campaign.value = resource_name ad_group_operations.append(ad_group_op1) # This AdGroup will always fail - campaign ID 0 in resource names is # never valid. - ad_group_op2 = client.get_type('AdGroupOperation', version='v3') + ad_group_op2 = client.get_type('AdGroupOperation', version='v4') ad_group_op2.create.name.value = 'Broken AdGroup: %s' % (uuid.uuid4()) ad_group_op2.create.campaign.value = invalid_resource_name ad_group_operations.append(ad_group_op2) # This AdGroup will always fail - duplicate ad group names are not allowed. - ad_group_op3 = client.get_type('AdGroupOperation', version='v3') + ad_group_op3 = client.get_type('AdGroupOperation', version='v4') ad_group_op3.create.name.value = (ad_group_op1.create.name.value) ad_group_op3.create.campaign.value = resource_name ad_group_operations.append(ad_group_op3) @@ -162,7 +162,7 @@ def print_results(client, response): for error_detail in error_details: # Retrieve an instance of the GoogleAdsFailure class from the client - failure_message = client.get_type('GoogleAdsFailure', version='v3') + failure_message = client.get_type('GoogleAdsFailure', version='v4') # Parse the string into a GoogleAdsFailure message instance. failure_object = failure_message.FromString(error_detail.value) diff --git a/examples/extensions/add_prices.py b/examples/extensions/add_prices.py index 5703b1d0e..31bbb993f 100644 --- a/examples/extensions/add_prices.py +++ b/examples/extensions/add_prices.py @@ -29,9 +29,9 @@ def main(client, customer_id, campaign_id): """The main method that creates all necessary entities for the example.""" # Create the price extension feed item - price_feed_item = client.get_type('PriceFeedItem', version='v3') + price_feed_item = client.get_type('PriceFeedItem', version='v4') price_feed_item.type = ( - client.get_type('PriceExtensionTypeEnum', version='v3').SERVICES) + client.get_type('PriceExtensionTypeEnum', version='v4').SERVICES) # Optional: set price qualifier price_feed_item.price_qualifier = ( client.get_type('PriceExtensionPriceQualifierEnum').FROM) @@ -71,17 +71,17 @@ def main(client, customer_id, campaign_id): # Create a customer extension setting using the previously created # extension feed item. This associates the price extension to your # account. - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') extension_feed_item_operation = ( - client.get_type('ExtensionFeedItemOperation', version='v3')) + client.get_type('ExtensionFeedItemOperation', version='v4')) extension_feed_item = extension_feed_item_operation.create extension_feed_item.extension_type = ( client.get_type('ExtensionTypeEnum').PRICE) extension_feed_item.price_feed_item.CopyFrom(price_feed_item) extension_feed_item.targeted_campaign.value = ( campaign_service.campaign_path(customer_id, campaign_id)) - day_of_week_enum = client.get_type('DayOfWeekEnum', version='v3') - minute_of_hour_enum = client.get_type('MinuteOfHourEnum', version='v3') + day_of_week_enum = client.get_type('DayOfWeekEnum', version='v4') + minute_of_hour_enum = client.get_type('MinuteOfHourEnum', version='v4') extension_feed_item.ad_schedules.extend([ _create_ad_schedule_info(client, day_of_week_enum.SUNDAY, @@ -100,7 +100,7 @@ def main(client, customer_id, campaign_id): # Add the extension try: feed_service = client.get_service('ExtensionFeedItemService', - version='v3') + version='v4') # Issues a mutate request to add the customer extension setting and # print its information. feed_response = ( @@ -125,7 +125,7 @@ def _create_price_offer(client, header, description, price_in_micros, currency_code, unit, in_final_url, in_final_mobile_url=None): """Create a price offer.""" - price_offer = client.get_type('PriceOffer', version='v3') + price_offer = client.get_type('PriceOffer', version='v4') price_offer.header.value = header price_offer.description.value = description final_url = price_offer.final_urls.add() @@ -143,7 +143,7 @@ def _create_price_offer(client, header, description, price_in_micros, def _create_ad_schedule_info(client, day_of_week, start_hour, start_minute, end_hour, end_minute): """Create a new ad schedule info with the specified parameters.""" - ad_schedule_info = client.get_type('AdScheduleInfo', version='v3') + ad_schedule_info = client.get_type('AdScheduleInfo', version='v4') ad_schedule_info.day_of_week = day_of_week ad_schedule_info.start_hour.value = start_hour ad_schedule_info.start_minute = start_minute diff --git a/examples/extensions/add_sitelinks.py b/examples/extensions/add_sitelinks.py index 23b7b44bf..9e4daa802 100644 --- a/examples/extensions/add_sitelinks.py +++ b/examples/extensions/add_sitelinks.py @@ -34,9 +34,9 @@ def main(client, customer_id, campaign_id): """The main method that creates all necessary entities for the example.""" # Create an extension setting. - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign_ext_setting_service = client.get_service( - 'CampaignExtensionSettingService', version='v3') + 'CampaignExtensionSettingService', version='v4') campaign_resource_name = campaign_service.campaign_path( customer_id, campaign_id) @@ -45,9 +45,9 @@ def main(client, customer_id, campaign_id): client, customer_id, campaign_resource_name) campaign_ext_setting_operation = client.get_type( - 'CampaignExtensionSettingOperation', version='v3') + 'CampaignExtensionSettingOperation', version='v4') extension_type_enum = client.get_type( - 'ExtensionTypeEnum', version='v3') + 'ExtensionTypeEnum', version='v4') campaign_ext_setting = campaign_ext_setting_operation.create campaign_ext_setting.campaign.value = campaign_resource_name @@ -90,16 +90,16 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): feed items. """ extension_feed_item_service = client.get_service( - 'ExtensionFeedItemService', version='v3') + 'ExtensionFeedItemService', version='v4') geo_target_constant_service = client.get_service( - 'GeoTargetConstantService', version='v3') + 'GeoTargetConstantService', version='v4') extension_type_enum = client.get_type('ExtensionTypeEnum') feed_item_target_device_enum = client.get_type('FeedItemTargetDeviceEnum') day_of_week_enum = client.get_type('DayOfWeekEnum') minute_of_hour_enum = client.get_type('MinuteOfHourEnum') extension_feed_item_operation1 = client.get_type( - 'ExtensionFeedItemOperation', version='v3') + 'ExtensionFeedItemOperation', version='v4') extension_feed_item1 = extension_feed_item_operation1.create extension_feed_item1.extension_type = extension_type_enum.SITELINK extension_feed_item1.sitelink_feed_item.link_text.value = 'Store Hours' @@ -108,7 +108,7 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): final_url1.value = 'http://www.example.com/storehours' extension_feed_item_operation2 = client.get_type( - 'ExtensionFeedItemOperation', version='v3') + 'ExtensionFeedItemOperation', version='v4') date_range = _get_thanksgiving_string_date_range() extension_feed_item2 = extension_feed_item_operation2.create extension_feed_item2.extension_type = extension_type_enum.SITELINK @@ -126,7 +126,7 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): final_url2.value = 'http://www.example.com/thanksgiving' extension_feed_item_operation3 = client.get_type( - 'ExtensionFeedItemOperation', version='v3') + 'ExtensionFeedItemOperation', version='v4') extension_feed_item3 = extension_feed_item_operation3.create extension_feed_item3.extension_type = extension_type_enum.SITELINK extension_feed_item3.sitelink_feed_item.link_text.value = 'Wifi available' @@ -136,7 +136,7 @@ def _create_extension_feed_items(client, customer_id, campaign_resource_name): final_url3.value = 'http://www.example.com/mobile/wifi' extension_feed_item_operation4 = client.get_type( - 'ExtensionFeedItemOperation', version='v3') + 'ExtensionFeedItemOperation', version='v4') extension_feed_item4 = extension_feed_item_operation4.create extension_feed_item4.extension_type = extension_type_enum.SITELINK extension_feed_item4.sitelink_feed_item.link_text.value = 'Happy hours' diff --git a/examples/hotel_ads/add_hotel_ad.py b/examples/hotel_ads/add_hotel_ad.py index fc220ef66..4dddd2221 100755 --- a/examples/hotel_ads/add_hotel_ad.py +++ b/examples/hotel_ads/add_hotel_ad.py @@ -48,11 +48,11 @@ def main(client, customer_id, hotel_center_account_id, def add_budget(client, customer_id): campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') + version='v4') # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') campaign_budget = campaign_budget_operation.create campaign_budget.name.value = 'Interplanetary Budget %s' % uuid.uuid4() campaign_budget.delivery_method = client.get_type( @@ -82,19 +82,19 @@ def add_budget(client, customer_id): def add_hotel_ad(client, customer_id, ad_group_resource_name): - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') # Creates a new ad group ad and sets the hotel ad to it. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group.value = ad_group_resource_name # Set the ad group ad to enabled. Setting this to paused will cause an error # for hotel campaigns. For hotels pausing should happen at either the ad group or # campaign level. ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').ENABLED + version='v4').ENABLED ad_group_ad.ad.hotel_ad.CopyFrom(client.get_type('HotelAdInfo', - version='v3')) + version='v4')) # Add the ad group ad. try: @@ -118,16 +118,16 @@ def add_hotel_ad(client, customer_id, ad_group_resource_name): def add_hotel_ad_group(client, customer_id, campaign_resource_name): - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') # Create ad group. - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.create ad_group.name.value = 'Earth to Mars cruise %s' % uuid.uuid4() - ad_group.status = client.get_type('AdGroupStatusEnum', version='v3').ENABLED + ad_group.status = client.get_type('AdGroupStatusEnum', version='v4').ENABLED ad_group.campaign.value = campaign_resource_name # Sets the ad group type to HOTEL_ADS. This cannot be set to other types. - ad_group.type = client.get_type('AdGroupTypeEnum', version='v3').HOTEL_ADS + ad_group.type = client.get_type('AdGroupTypeEnum', version='v4').HOTEL_ADS ad_group.cpc_bid_micros.value = 10000000 # Add the ad group. @@ -154,10 +154,10 @@ def add_hotel_ad_group(client, customer_id, campaign_resource_name): def add_hotel_campaign(client, customer_id, budget_resource_name, hotel_center_account_id, bid_ceiling_micro_amount): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Create campaign. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = 'Interplanetary Cruise Campaign %s' % uuid.uuid4() @@ -170,7 +170,7 @@ def add_hotel_campaign(client, customer_id, budget_resource_name, # Recommendation: Set the campaign to PAUSED when creating it to prevent the # ads from immediately serving. Set to ENABLED once you've added targeting # and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED # Set the bidding strategy to PercentCpc. Only Manual CPC and Percent CPC # can be used for hotel campaigns. diff --git a/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py b/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py index f3fc7c26d..c6366d47f 100755 --- a/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py +++ b/examples/hotel_ads/add_hotel_ad_group_bid_modifiers.py @@ -25,16 +25,16 @@ def main(client, customer_id, ad_group_id): - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') ag_bm_service = client.get_service('AdGroupBidModifierService', - version='v3') + version='v4') # Create ad group bid modifier based on hotel check-in day. check_in_ag_bm_operation = client.get_type('AdGroupBidModifierOperation', - version='v3') + version='v4') check_in_ag_bid_modifier = check_in_ag_bm_operation.create check_in_ag_bid_modifier.hotel_check_in_day.day_of_week = ( - client.get_type('DayOfWeekEnum', version='v3').MONDAY) + client.get_type('DayOfWeekEnum', version='v4').MONDAY) check_in_ag_bid_modifier.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) # Sets the bid modifier value to 150%. @@ -42,7 +42,7 @@ def main(client, customer_id, ad_group_id): # Create ad group bid modifier based on hotel length of stay info. los_ag_bm_operation = client.get_type('AdGroupBidModifierOperation', - version='v3') + version='v4') los_ag_bid_modifier = los_ag_bm_operation.create los_ag_bid_modifier.ad_group.value = ad_group_service.ad_group_path( customer_id, ad_group_id) diff --git a/examples/migration/create_complete_campaign_both_apis_phase_1.py b/examples/migration/create_complete_campaign_both_apis_phase_1.py index 060a9a05f..ffe1f0046 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_1.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_1.py @@ -54,17 +54,17 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service('CampaignBudgetService', version='v3') - operation = client.get_type('CampaignBudgetOperation', version='v3') + campaign_service = client.get_service('CampaignBudgetService', version='v4') + operation = client.get_type('CampaignBudgetOperation', version='v4') criterion = operation.create criterion.name.value = 'Interplanetary Cruise Budget #{}'.format( uuid.uuid4()) criterion.delivery_method = client.get_type( 'BudgetDeliveryMethodEnum', - version='v3').STANDARD + version='v4').STANDARD criterion.amount_micros.value = 500000 response = campaign_service.mutate_campaign_budgets(customer_id, [operation]) @@ -76,7 +76,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves an instance of google.ads.google_ads.v2.types.CampaignBudget + """Retrieves an instance of google.ads.google_ads.v4.types.CampaignBudget message class that is associated with a given resource name. Args: @@ -86,10 +86,10 @@ def get_campaign_budget(client, customer_id, resource_name): campaign. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign_budget.id, campaign_budget.name, ' 'campaign_budget.resource_name FROM campaign_budget WHERE ' 'campaign_budget.resource_name = "{}"'.format(resource_name)) diff --git a/examples/migration/create_complete_campaign_both_apis_phase_2.py b/examples/migration/create_complete_campaign_both_apis_phase_2.py index c2e6d3eb0..bbdc2ef64 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_2.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_2.py @@ -53,17 +53,17 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service('CampaignBudgetService', version='v3') - operation = client.get_type('CampaignBudgetOperation', version='v3') + campaign_service = client.get_service('CampaignBudgetService', version='v4') + operation = client.get_type('CampaignBudgetOperation', version='v4') criterion = operation.create criterion.name.value = 'Interplanetary Cruise Budget #{}'.format( uuid.uuid4()) criterion.delivery_method = client.get_type( 'BudgetDeliveryMethodEnum', - version='v3').STANDARD + version='v4').STANDARD criterion.amount_micros.value = 500000 response = campaign_service.mutate_campaign_budgets(customer_id, [operation]) @@ -75,7 +75,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves a google.ads.google_ads.v2.types.CampaignBudget instance.. + """Retrieves a google.ads.google_ads.v4.types.CampaignBudget instance.. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -83,10 +83,10 @@ def get_campaign_budget(client, customer_id, resource_name): resource_name: (str) Resource name associated with the newly created campaign. : - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign_budget.id, campaign_budget.name, ' 'campaign_budget.resource_name FROM campaign_budget WHERE ' 'campaign_budget.resource_name = "{}"'.format(resource_name)) @@ -101,23 +101,23 @@ def create_campaign(client, customer_id, campaign_budget): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign_budget: A google.ads.google_ads.v2.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v4.types.CampaignBudget message class instance. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - operation = client.get_type('CampaignOperation', version='v3') + operation = client.get_type('CampaignOperation', version='v4') campaign = operation.create - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign.name.value = 'Interplanetary Cruise#{}'.format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( 'AdvertisingChannelTypeEnum', - version='v3').SEARCH + version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to stop the # ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED campaign.manual_cpc.enhanced_cpc_enabled.value = True campaign.campaign_budget.value = campaign_budget.resource_name campaign.network_settings.target_google_search.value = True @@ -136,7 +136,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v2.types.Campaign instance. + """Retrieves a google.ads.google_ads.v4.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -145,9 +145,9 @@ def get_campaign(client, customer_id, campaign_resource_name): created campaign budget. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name, campaign.resource_name ' 'FROM campaign WHERE campaign.resource_name = "{}" ' .format(campaign_resource_name)) diff --git a/examples/migration/create_complete_campaign_both_apis_phase_3.py b/examples/migration/create_complete_campaign_both_apis_phase_3.py index 2e2a8a5d4..fdfd27f5b 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_3.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_3.py @@ -53,17 +53,17 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service('CampaignBudgetService', version='v3') - operation = client.get_type('CampaignBudgetOperation', version='v3') + campaign_service = client.get_service('CampaignBudgetService', version='v4') + operation = client.get_type('CampaignBudgetOperation', version='v4') criterion = operation.create criterion.name.value = 'Interplanetary Cruise Budget #{}'.format( uuid.uuid4()) criterion.delivery_method = client.get_type( 'BudgetDeliveryMethodEnum', - version='v3').STANDARD + version='v4').STANDARD criterion.amount_micros.value = 500000 response = campaign_service.mutate_campaign_budgets(customer_id, [operation]) @@ -75,7 +75,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves a google.ads.google_ads.v2.types.CampaignBudget instance. + """Retrieves a google.ads.google_ads.v4.types.CampaignBudget instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -84,10 +84,10 @@ def get_campaign_budget(client, customer_id, resource_name): campaign. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign_budget.id, campaign_budget.name, ' 'campaign_budget.resource_name FROM campaign_budget WHERE ' 'campaign_budget.resource_name = "{}"'.format(resource_name)) @@ -102,23 +102,23 @@ def create_campaign(client, customer_id, campaign_budget): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign_budget: A google.ads.google_ads.v2.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v4.types.CampaignBudget instance. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - operation = client.get_type('CampaignOperation', version='v3') + operation = client.get_type('CampaignOperation', version='v4') campaign = operation.create - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign.name.value = 'Interplanetary Cruise#{}'.format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( 'AdvertisingChannelTypeEnum', - version='v3').SEARCH + version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to stop the # ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED campaign.manual_cpc.enhanced_cpc_enabled.value = True campaign.campaign_budget.value = campaign_budget.resource_name campaign.network_settings.target_google_search.value = True @@ -137,7 +137,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v2.types.Campaign instance. + """Retrieves a google.ads.google_ads.v4.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -146,9 +146,9 @@ def get_campaign(client, customer_id, campaign_resource_name): created campaign budget. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name, campaign.resource_name ' 'FROM campaign WHERE campaign.resource_name = "{}" ' .format(campaign_resource_name)) @@ -163,22 +163,22 @@ def create_ad_group(client, customer_id, campaign): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign: An instance of the google.ads.google_ads.v2.types.Campaign + campaign: An instance of the google.ads.google_ads.v4.types.Campaign message class. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type('AdGroupOperation', version='v3') + operation = client.get_type('AdGroupOperation', version='v4') adgroup = operation.create - adgroup_service = client.get_service('AdGroupService', version='v3') + adgroup_service = client.get_service('AdGroupService', version='v4') adgroup.name.value = 'Earth to Mars Cruises #{}'.format(uuid.uuid4()) adgroup.campaign.value = campaign.resource_name adgroup.status = client.get_type('AdGroupStatusEnum', - version='v3').ENABLED + version='v4').ENABLED adgroup.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_STANDARD + version='v4').SEARCH_STANDARD adgroup.cpc_bid_micros.value = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) ad_group_resource_name = response.results[0].resource_name @@ -188,7 +188,7 @@ def create_ad_group(client, customer_id, campaign): def get_ad_group(client, customer_id, ad_group_resource_name): - """Retrieves a google.ads.googleads_v2.types.AdGroup instance. + """Retrieves a google.ads.googleads_v4.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -197,10 +197,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group.id, ad_group.name, ad_group.resource_name ' 'FROM ad_group WHERE ad_group.resource_name = "{}" ' .format(ad_group_resource_name)) diff --git a/examples/migration/create_complete_campaign_both_apis_phase_4.py b/examples/migration/create_complete_campaign_both_apis_phase_4.py index dcb17d288..9b1b2226f 100755 --- a/examples/migration/create_complete_campaign_both_apis_phase_4.py +++ b/examples/migration/create_complete_campaign_both_apis_phase_4.py @@ -53,17 +53,17 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service('CampaignBudgetService', version='v3') - operation = client.get_type('CampaignBudgetOperation', version='v3') + campaign_service = client.get_service('CampaignBudgetService', version='v4') + operation = client.get_type('CampaignBudgetOperation', version='v4') criterion = operation.create criterion.name.value = 'Interplanetary Cruise Budget #{}'.format( uuid.uuid4()) criterion.delivery_method = client.get_type( 'BudgetDeliveryMethodEnum', - version='v3').STANDARD + version='v4').STANDARD criterion.amount_micros.value = 500000 response = campaign_service.mutate_campaign_budgets(customer_id, [operation]) @@ -75,7 +75,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves a google.ads.google_ads.v2.types.CampaignBudget instance . + """Retrieves a google.ads.google_ads.v4.types.CampaignBudget instance . Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -84,10 +84,10 @@ def get_campaign_budget(client, customer_id, resource_name): created campaign. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign_budget.id, campaign_budget.name, ' 'campaign_budget.resource_name FROM campaign_budget WHERE ' 'campaign_budget.resource_name = "{}"'.format(resource_name)) @@ -102,23 +102,23 @@ def create_campaign(client, customer_id, campaign_budget): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign_budget: A google.ads.google_ads.v2.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v4.types.CampaignBudget instance. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - operation = client.get_type('CampaignOperation', version='v3') + operation = client.get_type('CampaignOperation', version='v4') campaign = operation.create - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign.name.value = 'Interplanetary Cruise#{}'.format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( 'AdvertisingChannelTypeEnum', - version='v3').SEARCH + version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to stop the # ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED campaign.manual_cpc.enhanced_cpc_enabled.value = True campaign.campaign_budget.value = campaign_budget.resource_name campaign.network_settings.target_google_search.value = True @@ -137,7 +137,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v2.types.Campaign instance. + """Retrieves a google.ads.google_ads.v4.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -146,9 +146,9 @@ def get_campaign(client, customer_id, campaign_resource_name): created campaign budget. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name, campaign.resource_name ' 'FROM campaign WHERE campaign.resource_name = "{}" ' .format(campaign_resource_name)) @@ -163,21 +163,21 @@ def create_ad_group(client, customer_id, campaign): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign: A google.ads.google_ads.v2.types.Campaign instance. + campaign: A google.ads.google_ads.v4.types.Campaign instance. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type('AdGroupOperation', version='v3') + operation = client.get_type('AdGroupOperation', version='v4') adgroup = operation.create - adgroup_service = client.get_service('AdGroupService', version='v3') + adgroup_service = client.get_service('AdGroupService', version='v4') adgroup.name.value = 'Earth to Mars Cruises #{}'.format(uuid.uuid4()) adgroup.campaign.value = campaign.resource_name adgroup.status = client.get_type('AdGroupStatusEnum', - version='v3').ENABLED + version='v4').ENABLED adgroup.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_STANDARD + version='v4').SEARCH_STANDARD adgroup.cpc_bid_micros.value = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) ad_group_resource_name = response.results[0].resource_name @@ -187,7 +187,7 @@ def create_ad_group(client, customer_id, campaign): def get_ad_group(client, customer_id, ad_group_resource_name): - """Retrieves a google.ads.googleads_v2.types.AdGroup instance. + """Retrieves a google.ads.googleads_v4.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -196,10 +196,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group.id, ad_group.name, ad_group.resource_name ' 'FROM ad_group WHERE ad_group.resource_name = "{}" ' .format(ad_group_resource_name)) @@ -214,27 +214,27 @@ def create_text_ads(client, customer_id, ad_group): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - ad_group: A google.ads.google_ads.v2.types.AdGroup instance. + ad_group: A google.ads.google_ads.v4.types.AdGroup instance. """ operations = [] for i in range(0, NUMBER_OF_ADS): - operation = client.get_type('AdGroupAdOperation', version='v3') + operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_operation = operation.create ad_group_operation.ad_group.value = ad_group.resource_name ad_group_operation.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED ad_group_operation.ad.expanded_text_ad.headline_part1.value = \ 'Cruise to Mars #{}'.format(str(uuid.uuid4())[:4]) ad_group_operation.ad.expanded_text_ad.headline_part2.value = \ 'Best Space Cruise Line' ad_group_operation.ad.expanded_text_ad.description.value = \ 'Buy your tickets now!' - final_urls = client.get_type('StringValue', version='v3') + final_urls = client.get_type('StringValue', version='v4') final_urls.value = 'http://www.example.com' ad_group_operation.ad.final_urls.extend([final_urls]) operations.append(operation) - adgroup_service = client.get_service('AdGroupAdService', version='v3') + adgroup_service = client.get_service('AdGroupAdService', version='v4') ad_group_ad_response = adgroup_service.mutate_ad_group_ads(customer_id, operations) new_ad_resource_names = [] @@ -252,7 +252,7 @@ def create_text_ads(client, customer_id, ad_group): def get_ads(client, customer_id, new_ad_resource_names): - """Retrieves a google.ads.google_ads.v2.types.AdGroupAd instance . + """Retrieves a google.ads.google_ads.v4.types.AdGroupAd instance . Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -260,7 +260,7 @@ def get_ads(client, customer_id, new_ad_resource_names): new_ad_resource_names: (str) Resource name associated with the Ad group. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroupAd message + An instance of the google.ads.google_ads.v4.types.AdGroupAd message class of the newly created ad group ad. """ def formatter(given_string): @@ -276,7 +276,7 @@ def formatter(given_string): return ','.join(results) resouce_names = formatter(new_ad_resource_names) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group_ad.ad.id, ' 'ad_group_ad.ad.expanded_text_ad.headline_part1, ' 'ad_group_ad.ad.expanded_text_ad.headline_part2, ' diff --git a/examples/migration/create_complete_campaign_google_ads_api_only.py b/examples/migration/create_complete_campaign_google_ads_api_only.py index 981ea45df..4a5d59a1c 100755 --- a/examples/migration/create_complete_campaign_google_ads_api_only.py +++ b/examples/migration/create_complete_campaign_google_ads_api_only.py @@ -51,17 +51,17 @@ def create_campaign_budget(client, customer_id): customer_id: (str) Customer ID associated with the account. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - campaign_service = client.get_service('CampaignBudgetService', version='v3') - operation = client.get_type('CampaignBudgetOperation', version='v3') + campaign_service = client.get_service('CampaignBudgetService', version='v4') + operation = client.get_type('CampaignBudgetOperation', version='v4') criterion = operation.create criterion.name.value = 'Interplanetary Cruise Budget #{}'.format( uuid.uuid4()) criterion.delivery_method = client.get_type( 'BudgetDeliveryMethodEnum', - version='v3').STANDARD + version='v4').STANDARD criterion.amount_micros.value = 500000 response = campaign_service.mutate_campaign_budgets(customer_id, [operation]) @@ -73,7 +73,7 @@ def create_campaign_budget(client, customer_id): def get_campaign_budget(client, customer_id, resource_name): - """Retrieves a google.ads.google_ads.v2.types.CampaignBudget instance. + """Retrieves a google.ads.google_ads.v4.types.CampaignBudget instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -82,10 +82,10 @@ def get_campaign_budget(client, customer_id, resource_name): campaign. Returns: - An instance of google.ads.google_ads.v2.types.CampaignBudget for the + An instance of google.ads.google_ads.v4.types.CampaignBudget for the newly created Budget. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign_budget.id, campaign_budget.name, ' 'campaign_budget.resource_name FROM campaign_budget WHERE ' 'campaign_budget.resource_name = "{}"'.format(resource_name)) @@ -100,23 +100,23 @@ def create_campaign(client, customer_id, campaign_budget): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign_budget: A google.ads.google_ads.v2.types.CampaignBudget + campaign_budget: A google.ads.google_ads.v4.types.CampaignBudget instance. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - operation = client.get_type('CampaignOperation', version='v3') + operation = client.get_type('CampaignOperation', version='v4') campaign = operation.create - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign.name.value = 'Interplanetary Cruise#{}'.format(uuid.uuid4()) campaign.advertising_channel_type = client.get_type( 'AdvertisingChannelTypeEnum', - version='v3').SEARCH + version='v4').SEARCH # Recommendation: Set the campaign to PAUSED when creating it to stop the # ads from immediately serving. Set to ENABLED once you've added # targeting and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED campaign.manual_cpc.enhanced_cpc_enabled.value = True campaign.campaign_budget.value = campaign_budget.resource_name campaign.network_settings.target_google_search.value = True @@ -135,7 +135,7 @@ def create_campaign(client, customer_id, campaign_budget): def get_campaign(client, customer_id, campaign_resource_name): - """Retrieves a google.ads.google_ads.v2.types.Campaign instance. + """Retrieves a google.ads.google_ads.v4.types.Campaign instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -144,9 +144,9 @@ def get_campaign(client, customer_id, campaign_resource_name): created campaign budget. Returns: - A google.ads.google_ads.v2.types.GoogleAdsClient message class instance. + A google.ads.google_ads.v4.types.GoogleAdsClient message class instance. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name, campaign.resource_name ' 'FROM campaign WHERE campaign.resource_name = "{}" ' .format(campaign_resource_name)) @@ -161,21 +161,21 @@ def create_ad_group(client, customer_id, campaign): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - campaign: A google.ads.google_ads.v2.types.Campaign instance. + campaign: A google.ads.google_ads.v4.types.Campaign instance. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - operation = client.get_type('AdGroupOperation', version='v3') + operation = client.get_type('AdGroupOperation', version='v4') adgroup = operation.create - adgroup_service = client.get_service('AdGroupService', version='v3') + adgroup_service = client.get_service('AdGroupService', version='v4') adgroup.name.value = 'Earth to Mars Cruises #{}'.format(uuid.uuid4()) adgroup.campaign.value = campaign.resource_name adgroup.status = client.get_type('AdGroupStatusEnum', - version='v3').ENABLED + version='v4').ENABLED adgroup.type = client.get_type('AdGroupTypeEnum', - version='v3').SEARCH_STANDARD + version='v4').SEARCH_STANDARD adgroup.cpc_bid_micros.value = 10000000 response = adgroup_service.mutate_ad_groups(customer_id, [operation]) ad_group_resource_name = response.results[0].resource_name @@ -185,7 +185,7 @@ def create_ad_group(client, customer_id, campaign): def get_ad_group(client, customer_id, ad_group_resource_name): - """Retrieves a google.ads.googleads_v2.types.AdGroup instance. + """Retrieves a google.ads.googleads_v4.types.AdGroup instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -194,10 +194,10 @@ def get_ad_group(client, customer_id, ad_group_resource_name): created Ad group. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroup message class + An instance of the google.ads.google_ads.v4.types.AdGroup message class of the newly created ad group. """ - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group.id, ad_group.name, ad_group.resource_name ' 'FROM ad_group WHERE ad_group.resource_name = "{}" ' .format(ad_group_resource_name)) @@ -212,27 +212,27 @@ def create_text_ads(client, customer_id, ad_group): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - ad_group: A google.ads.google_ads.v2.types.AdGroup instance. + ad_group: A google.ads.google_ads.v4.types.AdGroup instance. """ operations = [] for i in range(0, NUMBER_OF_ADS): - operation = client.get_type('AdGroupAdOperation', version='v3') + operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_operation = operation.create ad_group_operation.ad_group.value = ad_group.resource_name ad_group_operation.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED ad_group_operation.ad.expanded_text_ad.headline_part1.value = \ 'Cruise to Mars #{}'.format(str(uuid.uuid4())[:4]) ad_group_operation.ad.expanded_text_ad.headline_part2.value = \ 'Best Space Cruise Line' ad_group_operation.ad.expanded_text_ad.description.value = \ 'Buy your tickets now!' - final_urls = client.get_type('StringValue', version='v3') + final_urls = client.get_type('StringValue', version='v4') final_urls.value = 'http://www.example.com' ad_group_operation.ad.final_urls.extend([final_urls]) operations.append(operation) - adgroup_service = client.get_service('AdGroupAdService', version='v3') + adgroup_service = client.get_service('AdGroupAdService', version='v4') ad_group_ad_response = adgroup_service.mutate_ad_group_ads(customer_id, operations) new_ad_resource_names = [] @@ -250,7 +250,7 @@ def create_text_ads(client, customer_id, ad_group): def get_ads(client, customer_id, new_ad_resource_names): - """Retrieves a google.ads.google_ads.v2.types.AdGroupAd instance. + """Retrieves a google.ads.google_ads.v4.types.AdGroupAd instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instanc e. @@ -258,7 +258,7 @@ def get_ads(client, customer_id, new_ad_resource_names): new_ad_resource_names: (str) Resource name associated with the Ad group. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroupAd message + An instance of the google.ads.google_ads.v4.types.AdGroupAd message class of the newly created ad group ad. """ def formatter(given_string): @@ -274,7 +274,7 @@ def formatter(given_string): return ','.join(results) resouce_names = formatter(new_ad_resource_names) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group_ad.ad.id, ' 'ad_group_ad.ad.expanded_text_ad.headline_part1, ' 'ad_group_ad.ad.expanded_text_ad.headline_part2, ' @@ -304,25 +304,25 @@ def create_keywords(client, customer_id, ad_group, keywords_to_add): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. customer_id: (str) Customer ID associated with the account. - ad_group: A google.ads.google_ads.v2.types.AdGroup instance. + ad_group: A google.ads.google_ads.v4.types.AdGroup instance. keywords_to_add: keywords_to_add: (list) A list of keywords which are to be added to a given ad group. """ ad_group_criterion_operations = [] for keyword in keywords_to_add: - operation = client.get_type('AdGroupCriterionOperation', version='v3') + operation = client.get_type('AdGroupCriterionOperation', version='v4') ad_group_criterion_operation = operation.create ad_group_criterion_operation.ad_group.value = ad_group.resource_name ad_group_criterion_operation.status = client.get_type( 'AdGroupCriterionStatusEnum', - version='v3').ENABLED + version='v4').ENABLED ad_group_criterion_operation.keyword.text.value = keyword ad_group_criterion_operation.keyword.match_type = client.get_type( - 'KeywordMatchTypeEnum', version='v3').EXACT + 'KeywordMatchTypeEnum', version='v4').EXACT ad_group_criterion_operations.append(operation) ad_group_criterion_service_client = client.get_service( - 'AdGroupCriterionService', version='v3') + 'AdGroupCriterionService', version='v4') ad_group_criterion_response = ad_group_criterion_service_client.\ mutate_ad_group_criteria(customer_id, ad_group_criterion_operations) @@ -342,7 +342,7 @@ def create_keywords(client, customer_id, ad_group, keywords_to_add): def get_keywords(client, customer_id, keyword_resource_names): - """Retrieves a google.ads.google_ads.v2.types.AdGroupCriterion instance. + """Retrieves a google.ads.google_ads.v4.types.AdGroupCriterion instance. Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. @@ -351,7 +351,7 @@ def get_keywords(client, customer_id, keyword_resource_names): created ad group criterion. Returns: - An instance of the google.ads.google_ads.v2.types.AdGroupCriterion + An instance of the google.ads.google_ads.v4.types.AdGroupCriterion message class of the newly created ad group criterion. """ def formatter(given_string): @@ -367,7 +367,7 @@ def formatter(given_string): return ','.join(results) resouce_names = formatter(keyword_resource_names) - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT ad_group.id, ad_group.status, ' 'ad_group_criterion.criterion_id, ad_group_criterion.keyword.text, ' 'ad_group_criterion.keyword.match_type FROM ad_group_criterion ' diff --git a/examples/misc/get_all_image_assets.py b/examples/misc/get_all_image_assets.py index 82cf3ae84..c7d9f49d9 100755 --- a/examples/misc/get_all_image_assets.py +++ b/examples/misc/get_all_image_assets.py @@ -25,7 +25,7 @@ def main(client, customer_id, page_size): """Main method, to run this code example as a standalone application.""" - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT asset.name, asset.image_asset.file_size, ' 'asset.image_asset.full_size.width_pixels, ' diff --git a/examples/misc/get_all_videos_and_images.py b/examples/misc/get_all_videos_and_images.py index 5ee931d19..46583a5b4 100755 --- a/examples/misc/get_all_videos_and_images.py +++ b/examples/misc/get_all_videos_and_images.py @@ -25,7 +25,7 @@ def main(client, customer_id, page_size): """Main method, to run this code example as a standalone application.""" - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') # Creates a query that will retrieve all video and image files. query = ('SELECT media_file.id, media_file.name, media_file.type ' @@ -34,7 +34,7 @@ def main(client, customer_id, page_size): # Issues a search request by specifying page size. results = ga_service.search(customer_id, query=query, page_size=page_size) - media_type_enum = client.get_type('MediaTypeEnum', version='v3').MediaType + media_type_enum = client.get_type('MediaTypeEnum', version='v4').MediaType # Iterates over all rows and prints the information about each media file. try: diff --git a/examples/misc/upload_image.py b/examples/misc/upload_image.py index f7b38b4f9..33ad7d4bb 100644 --- a/examples/misc/upload_image.py +++ b/examples/misc/upload_image.py @@ -27,15 +27,15 @@ def main(client, customer_id): """Main method, to run this code example as a standalone application.""" URL = "https://goo.gl/3b9Wfh" - media_file_operation = client.get_type('MediaFileOperation', version='v3') + media_file_operation = client.get_type('MediaFileOperation', version='v4') media_file = media_file_operation.create media_file.name.value = "Ad Image" - media_file.type = client.get_type('MediaTypeEnum', version='v3').IMAGE + media_file.type = client.get_type('MediaTypeEnum', version='v4').IMAGE media_file.source_url.value = URL # Download the image as bytes from the URL media_file.image.data.value = requests.get(URL).content - media_file_service = client.get_service('MediaFileService', version='v3') + media_file_service = client.get_service('MediaFileService', version='v4') try: mutate_media_files_response = ( diff --git a/examples/misc/upload_image_asset.py b/examples/misc/upload_image_asset.py index 7f515d5e8..ffa81b528 100644 --- a/examples/misc/upload_image_asset.py +++ b/examples/misc/upload_image_asset.py @@ -32,9 +32,9 @@ def main(client, customer_id): URL = 'https://goo.gl/3b9Wfh' image_content = requests.get(URL).content - asset_operation = client.get_type('AssetOperation', version='v3') + asset_operation = client.get_type('AssetOperation', version='v4') asset = asset_operation.create - asset.type = client.get_type('AssetTypeEnum', version='v3').IMAGE + asset.type = client.get_type('AssetTypeEnum', version='v4').IMAGE asset.image_asset.data.value = image_content asset.image_asset.file_size.value = len(image_content) asset.image_asset.mime_type = client.get_type('MimeTypeEnum').IMAGE_JPEG @@ -48,7 +48,7 @@ def main(client, customer_id): # asset in this customer account. # asset.name = 'Jupiter Trip #' + uuid.uuid4() - asset_service = client.get_service('AssetService', version='v3') + asset_service = client.get_service('AssetService', version='v4') try: mutate_asset_response = ( diff --git a/examples/misc/upload_media_bundle.py b/examples/misc/upload_media_bundle.py index 104a2e012..2b59de1dc 100755 --- a/examples/misc/upload_media_bundle.py +++ b/examples/misc/upload_media_bundle.py @@ -27,15 +27,15 @@ BUNDLE_URL = 'https://goo.gl/9Y7qI2' def main(client, customer_id): - media_file_operation = client.get_type('MediaFileOperation', version='v3') + media_file_operation = client.get_type('MediaFileOperation', version='v4') media_file = media_file_operation.create media_file.name.value = 'Ad Media Bundle' media_file.type = (client.get_type('MediaTypeEnum', - version='v3').MEDIA_BUNDLE) + version='v4').MEDIA_BUNDLE) # Download the ZIP as bytes from the URL media_file.media_bundle.data.value = requests.get(BUNDLE_URL).content - media_file_service = client.get_service('MediaFileService', version='v3') + media_file_service = client.get_service('MediaFileService', version='v4') try: mutate_media_files_response = ( diff --git a/examples/planning/add_keyword_plan.py b/examples/planning/add_keyword_plan.py index 68c5071b6..556e3a932 100755 --- a/examples/planning/add_keyword_plan.py +++ b/examples/planning/add_keyword_plan.py @@ -39,14 +39,13 @@ def main(client, customer_id): try: add_keyword_plan(client, customer_id) except GoogleAdsException as ex: - print('Request with ID "{}" failed with status "{}" and includes the ' - 'following errors:'.format(ex.request_id, ex.error.code().name)) + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "{}".'.format(error.message)) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: {}'.format( - field_path_element.field_name)) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) @@ -65,9 +64,10 @@ def add_keyword_plan(client, customer_id): keyword_plan) keyword_plan_ad_group = create_keyword_plan_ad_group(client, customer_id, keyword_plan_campaign) - create_keyword_plan_keywords(client, customer_id, keyword_plan_ad_group) - create_keyword_plan_negative_keywords(client, customer_id, - keyword_plan_campaign) + create_keyword_plan_ad_group_keywords(client, customer_id, + keyword_plan_ad_group) + create_keyword_plan_negative_campaign_keywords(client, customer_id, + keyword_plan_campaign) def create_keyword_plan(client, customer_id): @@ -83,23 +83,23 @@ def create_keyword_plan(client, customer_id): Raises: GoogleAdsException: If an error is returned from the API. """ - operation = client.get_type('KeywordPlanOperation', version='v3') + operation = client.get_type('KeywordPlanOperation', version='v4') keyword_plan = operation.create - keyword_plan.name.value = ('Keyword plan for traffic estimate {}'.format( - uuid.uuid4())) + keyword_plan.name.value = ( + f'Keyword plan for traffic estimate {uuid.uuid4()}') forecast_interval = client.get_type('KeywordPlanForecastIntervalEnum', - version='v3').NEXT_QUARTER + version='v4').NEXT_QUARTER keyword_plan.forecast_period.date_interval = forecast_interval keyword_plan_service = client.get_service('KeywordPlanService', - version='v3') + version='v4') response = keyword_plan_service.mutate_keyword_plans(customer_id, [operation]) resource_name = response.results[0].resource_name - print('Created keyword plan with resource name: {}'.format(resource_name)) + print(f'Created keyword plan with resource name: {resource_name}') return resource_name @@ -119,39 +119,37 @@ def create_keyword_plan_campaign(client, customer_id, keyword_plan): Raises: GoogleAdsException: If an error is returned from the API. """ - operation = client.get_type('KeywordPlanCampaignOperation', version='v3') + operation = client.get_type('KeywordPlanCampaignOperation', version='v4') keyword_plan_campaign = operation.create - keyword_plan_campaign.name.value = 'Keyword plan campaign {}'.format( - uuid.uuid4()) + keyword_plan_campaign.name.value = f'Keyword plan campaign {uuid.uuid4()}' keyword_plan_campaign.cpc_bid_micros.value = 1000000 keyword_plan_campaign.keyword_plan.value = keyword_plan keyword_plan_network = client.get_type('KeywordPlanNetworkEnum', - version='v3') + version='v4') network = keyword_plan_network.GOOGLE_SEARCH keyword_plan_campaign.keyword_plan_network = network - geo_target = client.get_type('KeywordPlanGeoTarget', version='v3') + geo_target = client.get_type('KeywordPlanGeoTarget', version='v4') # Constant for U.S. Other geo target constants can be referenced here: # https://developers.google.com/adwords/api/docs/appendix/geotargeting geo_target.geo_target_constant.value = 'geoTargetConstants/2840' keyword_plan_campaign.geo_targets.extend([geo_target]) - language = client.get_type('StringValue', version='v3') + language = client.get_type('StringValue', version='v4') # Constant for English language.value = 'languageConstants/1000' keyword_plan_campaign.language_constants.extend([language]) keyword_plan_campaign_service = client.get_service( - 'KeywordPlanCampaignService', version='v3') + 'KeywordPlanCampaignService', version='v4') response = keyword_plan_campaign_service.mutate_keyword_plan_campaigns( customer_id, [operation]) resource_name = response.results[0].resource_name - print('Created keyword plan campaign with resource name: {}'.format( - resource_name)) + print(f'Created keyword plan campaign with resource name: {resource_name}') return resource_name @@ -171,29 +169,27 @@ def create_keyword_plan_ad_group(client, customer_id, keyword_plan_campaign): Raises: GoogleAdsException: If an error is returned from the API. """ - operation = client.get_type('KeywordPlanAdGroupOperation', version='v3') + operation = client.get_type('KeywordPlanAdGroupOperation', version='v4') keyword_plan_ad_group = operation.create - keyword_plan_ad_group.name.value = 'Keyword plan ad group {}'.format( - uuid.uuid4()) + keyword_plan_ad_group.name.value = f'Keyword plan ad group {uuid.uuid4()}' keyword_plan_ad_group.cpc_bid_micros.value = 2500000 keyword_plan_ad_group.keyword_plan_campaign.value = keyword_plan_campaign keyword_plan_ad_group_service = client.get_service( - 'KeywordPlanAdGroupService', version='v3') + 'KeywordPlanAdGroupService', version='v4') response = keyword_plan_ad_group_service.mutate_keyword_plan_ad_groups( customer_id, [operation]) resource_name = response.results[0].resource_name - print('Created keyword plan ad group with resource name: {}'.format( - resource_name)) + print(f'Created keyword plan ad group with resource name: {resource_name}') return resource_name -def create_keyword_plan_keywords(client, customer_id, plan_ad_group): - """Adds keyword plan keywords to the given keyword plan ad group. +def create_keyword_plan_ad_group_keywords(client, customer_id, plan_ad_group): + """Adds keyword plan ad group keywords to the given keyword plan ad group. Args: client: An initialized instance of GoogleAdsClient @@ -204,46 +200,53 @@ def create_keyword_plan_keywords(client, customer_id, plan_ad_group): Raises: GoogleAdsException: If an error is returned from the API. """ - match_types = client.get_type('KeywordMatchTypeEnum', version='v3') - - keyword_plan_keyword1 = client.get_type('KeywordPlanKeyword', version='v3') - keyword_plan_keyword1.text.value = 'mars cruise' - keyword_plan_keyword1.cpc_bid_micros.value = 2000000 - keyword_plan_keyword1.match_type = match_types.BROAD - keyword_plan_keyword1.keyword_plan_ad_group.value = plan_ad_group - - keyword_plan_keyword2 = client.get_type('KeywordPlanKeyword', version='v3') - keyword_plan_keyword2.text.value = 'cheap cruise' - keyword_plan_keyword2.cpc_bid_micros.value = 1500000 - keyword_plan_keyword2.match_type = match_types.PHRASE - keyword_plan_keyword2.keyword_plan_ad_group.value = plan_ad_group - - keyword_plan_keyword3 = client.get_type('KeywordPlanKeyword', version='v3') - keyword_plan_keyword3.text.value = 'jupiter cruise' - keyword_plan_keyword3.cpc_bid_micros.value = 1990000 - keyword_plan_keyword3.match_type = match_types.EXACT - keyword_plan_keyword3.keyword_plan_ad_group.value = plan_ad_group + match_types = client.get_type('KeywordMatchTypeEnum', version='v4') + + keyword_plan_ad_group_keyword1 = client.get_type( + 'KeywordPlanAdGroupKeyword', version='v4') + keyword_plan_ad_group_keyword1.text.value = 'mars cruise' + keyword_plan_ad_group_keyword1.cpc_bid_micros.value = 2000000 + keyword_plan_ad_group_keyword1.match_type = match_types.BROAD + keyword_plan_ad_group_keyword1.keyword_plan_ad_group.value = plan_ad_group + + keyword_plan_ad_group_keyword2 = client.get_type( + 'KeywordPlanAdGroupKeyword', version='v4') + keyword_plan_ad_group_keyword2.text.value = 'cheap cruise' + keyword_plan_ad_group_keyword2.cpc_bid_micros.value = 1500000 + keyword_plan_ad_group_keyword2.match_type = match_types.PHRASE + keyword_plan_ad_group_keyword2.keyword_plan_ad_group.value = plan_ad_group + + keyword_plan_ad_group_keyword3 = client.get_type( + 'KeywordPlanAdGroupKeyword', version='v4') + keyword_plan_ad_group_keyword3.text.value = 'jupiter cruise' + keyword_plan_ad_group_keyword3.cpc_bid_micros.value = 1990000 + keyword_plan_ad_group_keyword3.match_type = match_types.EXACT + keyword_plan_ad_group_keyword3.keyword_plan_ad_group.value = plan_ad_group operations = [] - for keyword in [keyword_plan_keyword1, - keyword_plan_keyword2, - keyword_plan_keyword3]: - operation = client.get_type('KeywordPlanKeywordOperation', version='v3') + for keyword in [keyword_plan_ad_group_keyword1, + keyword_plan_ad_group_keyword2, + keyword_plan_ad_group_keyword3]: + operation = client.get_type('KeywordPlanAdGroupKeywordOperation', + version='v4') operation.create.CopyFrom(keyword) operations.append(operation) - keyword_plan_keyword_service = client.get_service( - 'KeywordPlanKeywordService', version='v3') - response = keyword_plan_keyword_service.mutate_keyword_plan_keywords( - customer_id, operations) + keyword_plan_ad_group_keyword_service = client.get_service( + 'KeywordPlanAdGroupKeywordService', version='v4') + + response = (keyword_plan_ad_group_keyword_service + .mutate_keyword_plan_ad_group_keywords(customer_id, operations)) for result in response.results: - print('Created keyword plan keyword with resource name: {}'.format( - result.resource_name)) + print('Created keyword plan ad group keyword with resource name: ' + f'{result.resource_name}') -def create_keyword_plan_negative_keywords(client, customer_id, plan_campaign): - """Adds a keyword plan negative keyword to the given keyword plan campaign. +def create_keyword_plan_negative_campaign_keywords(client, customer_id, + plan_campaign): + """Adds a keyword plan negative campaign keyword to the given keyword plan + campaign. Args: client: An initialized instance of GoogleAdsClient @@ -254,23 +257,24 @@ def create_keyword_plan_negative_keywords(client, customer_id, plan_campaign): Raises: GoogleAdsException: If an error is returned from the API. """ - match_types = client.get_type('KeywordMatchTypeEnum', version='v3') - operation = client.get_type('KeywordPlanNegativeKeywordOperation', - version='v3') - keyword_plan_negative_keyword = operation.create + match_types = client.get_type('KeywordMatchTypeEnum', version='v4') + operation = client.get_type('KeywordPlanCampaignKeywordOperation', + version='v4') - keyword_plan_negative_keyword.text.value = 'moon walk' - keyword_plan_negative_keyword.match_type = match_types.BROAD - keyword_plan_negative_keyword.keyword_plan_campaign.value = plan_campaign + keyword_plan_campaign_keyword = operation.create + keyword_plan_campaign_keyword.text.value = 'moon walk' + keyword_plan_campaign_keyword.match_type = match_types.BROAD + keyword_plan_campaign_keyword.keyword_plan_campaign.value = plan_campaign + keyword_plan_campaign_keyword.negative.value = True keyword_plan_negative_keyword_service = client.get_service( - 'KeywordPlanNegativeKeywordService', version='v3') - response = (keyword_plan_negative_keyword_service - .mutate_keyword_plan_negative_keywords( + 'KeywordPlanCampaignKeywordService', version='v4') + response = (keyword_plan_campaign_keyword_service + .mutate_keyword_plan_campaign_keywords( customer_id, [operation])) - print('Created keyword plan negative keyword with resource name: {}'.format( - response.results[0].resource_name)) + print('Created keyword plan campaign keyword with resource name: ' + f'{response.results[0].resource_name}') if __name__ == '__main__': diff --git a/examples/planning/forecast_reach.py b/examples/planning/forecast_reach.py index 76e97bcdc..77a2ff9c2 100755 --- a/examples/planning/forecast_reach.py +++ b/examples/planning/forecast_reach.py @@ -35,9 +35,10 @@ def _string_value(client, value): value: A string value to wrap. Returns: - The value wrapped in a google.ads.googleads_v2.types.StringValue. + An instance of google.protobuf.wrappers_pb2.StringValue with its "value" + property updates with the given value. """ - string_val = client.get_type('StringValue', version='v3') + string_val = client.get_type('StringValue', version='v4') string_val.value = value return string_val @@ -50,9 +51,10 @@ def _int_32_value(client, value): value: A number to wrap, truncated to the nearest integer. Returns: - The value wrapped in a google.ads.googleads_v2.types.Int32. + An instance of google.protobuf.wrappers_pb2.Int32Value with its "value" + property updates with the given value. """ - int_32_val = client.get_type('Int32Value', version='v3') + int_32_val = client.get_type('Int32Value', version='v4') int_32_val.value = math.trunc(value) return int_32_val @@ -65,9 +67,10 @@ def _int_64_value(client, value): value: A number to wrap, truncated to the nearest integer. Returns: - The value wrapped in a google.ads.googleads_v2.types.Int64. + An instance of google.protobuf.wrappers_pb2.Int64Value with its "value" + property updates with the given value. """ - int_64_val = client.get_type('Int64Value', version='v3') + int_64_val = client.get_type('Int64Value', version='v4') int_64_val.value = math.trunc(value) return int_64_val @@ -78,7 +81,7 @@ def show_plannable_locations(client): Args: client: A google.ads.google_ads.client.GoogleAdsClient instance. """ - reach_plan_service = client.get_service('ReachPlanService', version='v3') + reach_plan_service = client.get_service('ReachPlanService', version='v4') response = reach_plan_service.list_plannable_locations() print('Plannable Locations') @@ -99,7 +102,7 @@ def show_plannable_products(client, location_id): https://developers.google.com/adwords/api/docs/appendix/geotargeting or by calling ListPlannableLocations on the ReachPlanService. """ - reach_plan_service = client.get_service('ReachPlanService', version='v3') + reach_plan_service = client.get_service('ReachPlanService', version='v4') response = reach_plan_service.list_plannable_products( plannable_location_id=_string_value(client, location_id)) print('Plannable Products for Location ID {}'.format(location_id)) @@ -119,7 +122,7 @@ def _request_reach_curve( by calling ListPlannableLocations on the ReachPlanService. currency_code: Three-character ISO 4217 currency code. """ - reach_request = client.get_type('GenerateReachForecastRequest', version='v3') + reach_request = client.get_type('GenerateReachForecastRequest', version='v4') reach_request.customer_id = customer_id @@ -130,33 +133,33 @@ def _request_reach_curve( targeting = reach_request.targeting targeting.plannable_location_id.value = location_id targeting.age_range = client.get_type( - 'ReachPlanAgeRangeEnum', version='v3').AGE_RANGE_18_65_UP + 'ReachPlanAgeRangeEnum', version='v4').AGE_RANGE_18_65_UP genders = targeting.genders gender_types = [ - client.get_type('GenderTypeEnum', version='v3').FEMALE, - client.get_type('GenderTypeEnum', version='v3').MALE, + client.get_type('GenderTypeEnum', version='v4').FEMALE, + client.get_type('GenderTypeEnum', version='v4').MALE, ] for gender_type in gender_types: - gender = client.get_type('GenderInfo', version='v3') + gender = client.get_type('GenderInfo', version='v4') gender.type = gender_type genders.append(gender) devices = targeting.devices device_types = [ - client.get_type('DeviceEnum', version='v3').DESKTOP, - client.get_type('DeviceEnum', version='v3').MOBILE, - client.get_type('DeviceEnum', version='v3').TABLET, + client.get_type('DeviceEnum', version='v4').DESKTOP, + client.get_type('DeviceEnum', version='v4').MOBILE, + client.get_type('DeviceEnum', version='v4').TABLET, ] for device_type in device_types: - device = client.get_type('DeviceInfo', version='v3') + device = client.get_type('DeviceInfo', version='v4') device.type = device_type devices.append(device) - reach_plan_service = client.get_service('ReachPlanService', version='v3') + reach_plan_service = client.get_service('ReachPlanService', version='v4') # See the docs for defaults and valid ranges: - # https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v2.services#google.ads.googleads.v2.services.GenerateReachForecastRequest + # https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v4.services#google.ads.googleads.v4.services.GenerateReachForecastRequest response = reach_plan_service.generate_reach_forecast( customer_id=customer_id, currency_code=_string_value(client, currency_code), @@ -206,7 +209,7 @@ def forecast_manual_mix( ('BUMPER', bumper_allocation), ] for product, split in product_splits: - planned_product = client.get_type('PlannedProduct', version='v3') + planned_product = client.get_type('PlannedProduct', version='v4') planned_product.plannable_product_code.value = product planned_product.budget_micros.value = math.trunc( budget * ONE_MILLION * split) @@ -229,15 +232,15 @@ def forecast_suggested_mix( currency_code: Three-character ISO 4217 currency code. budget: Budget to allocate to the plan. """ - preferences = client.get_type('Preferences', version='v3') + preferences = client.get_type('Preferences', version='v4') preferences.has_guaranteed_price.value = True preferences.starts_with_sound.value = True preferences.is_skippable.value = False preferences.top_content_only.value = True preferences.ad_length = client.get_type( - 'ReachPlanAdLengthEnum', version='v3').FIFTEEN_OR_TWENTY_SECONDS + 'ReachPlanAdLengthEnum', version='v4').FIFTEEN_OR_TWENTY_SECONDS - reach_plan_service = client.get_service('ReachPlanService', version='v3') + reach_plan_service = client.get_service('ReachPlanService', version='v4') mix_response = reach_plan_service.generate_product_mix_ideas( customer_id=customer_id, plannable_location_id=_string_value(client, location_id), @@ -247,7 +250,7 @@ def forecast_suggested_mix( product_mix = [] for product in mix_response.product_allocation: - planned_product = client.get_type('PlannedProduct', version='v3') + planned_product = client.get_type('PlannedProduct', version='v4') planned_product.plannable_product_code.value = ( product.plannable_product_code.value) planned_product.budget_micros.value = product.budget_micros.value diff --git a/examples/planning/generate_keyword_ideas.py b/examples/planning/generate_keyword_ideas.py index f196e6d56..5ca0636de 100755 --- a/examples/planning/generate_keyword_ideas.py +++ b/examples/planning/generate_keyword_ideas.py @@ -23,21 +23,22 @@ # Location IDs are listed here: https://developers.google.com/adwords/api/docs/appendix/geotargeting # and they can also be retrieved using the GeoTargetConstantService as shown # here: https://developers.google.com/google-ads/api/docs/targeting/location-targeting -_DEFAULT_LOCATION_IDS = '1023191' # location ID for New York, NY +_DEFAULT_LOCATION_IDS = ['1023191'] # location ID for New York, NY # A language criterion ID. For example, specify 1000 for English. For more # information on determining this value, see the below link: # https://developers.google.com/adwords/api/docs/appendix/codes-formats#languages. _DEFAULT_LANGUAGE_ID = '1000' # language ID for English -def main(client, customer_id, location_ids, language_id, keywords, page_url): +def main(client, customer_id, location_ids, language_id, keyword_texts, + page_url): keyword_plan_idea_service = client.get_service('KeywordPlanIdeaService', - version='v3') - keyword_competition_level_enum = ( - client.get_type('KeywordPlanCompetitionLevelEnum', version='v3') - .KeywordPlanCompetitionLevel) + version='v4') + keyword_competition_level_enum = client.get_type( + 'KeywordPlanCompetitionLevelEnum', + version='v4').KeywordPlanCompetitionLevel keyword_plan_network = client.get_type( - 'KeywordPlanNetworkEnum', version='v3').GOOGLE_SEARCH_AND_PARTNERS + 'KeywordPlanNetworkEnum', version='v4').GOOGLE_SEARCH_AND_PARTNERS locations = map_locations_to_string_values(client, location_ids) language = map_language_to_string_value(client, language_id) @@ -49,41 +50,41 @@ def main(client, customer_id, location_ids, language_id, keywords, page_url): # Either keywords or a page_url are required to generate keyword ideas # so this raises an error if neither are provided. - if not (keywords or page_url): + if not (keyword_texts or page_url): raise ValueError('At least one of keywords or page URL is required, ' 'but neither was specified.') # To generate keyword ideas with only a page_url and no keywords we need # to initialize a UrlSeed object with the page_url as the "url" field. - if not keywords and page_url: - url_seed = client.get_type('UrlSeed', version='v3') + if not keyword_texts and page_url: + url_seed = client.get_type('UrlSeed', version='v4') url_seed.url.value = page_url # To generate keyword ideas with only a list of keywords and no page_url # we need to initialize a KeywordSeed object and set the "keywords" field # to be a list of StringValue objects. - if keywords and not page_url: - keyword_seed = client.get_type('KeywordSeed', version='v3') - keyword_protos = map_keywords_to_string_values(client, keywords) + if keyword_texts and not page_url: + keyword_seed = client.get_type('KeywordSeed', version='v4') + keyword_protos = map_keywords_to_string_values(client, keyword_texts) keyword_seed.keywords.extend(keyword_protos) # To generate keyword ideas using both a list of keywords and a page_url we # need to initialize a KeywordAndUrlSeed object, setting both the "url" and # "keywords" fields. - if keywords and page_url: - keyword_url_seed = client.get_type('KeywordAndUrlSeed', version='v3') + if keyword_texts and page_url: + keyword_url_seed = client.get_type('KeywordAndUrlSeed', version='v4') keyword_url_seed.url.value = page_url - keyword_protos = map_keywords_to_string_values(client, keywords) + keyword_protos = map_keywords_to_string_values(client, keyword_textss) keyword_url_seed.keywords.extend(keyword_protos) try: keyword_ideas = keyword_plan_idea_service.generate_keyword_ideas( - customer_id, language, locations, keyword_plan_network, + customer_id, language, locations, False, keyword_plan_network, url_seed=url_seed, keyword_seed=keyword_seed, keyword_and_url_seed=keyword_url_seed) - for idea in keyword_ideas.results: + for idea in keyword_ideas: competition_value = keyword_competition_level_enum.Name( idea.keyword_idea_metrics.competition) print(f'Keyword idea text "{idea.text.value}" has ' @@ -101,20 +102,20 @@ def main(client, customer_id, location_ids, language_id, keywords, page_url): sys.exit(1) -def map_keywords_to_string_values(client, keywords): +def map_keywords_to_string_values(client, keyword_texts): keyword_protos = [] - for keyword in keywords: - string_val = client.get_type('StringValue') + for keyword in keyword_texts: + string_val = client.get_type('StringValue', version='v4') string_val.value = keyword keyword_protos.append(string_val) return keyword_protos def map_locations_to_string_values(client, location_ids): - gtc_service = client.get_service('GeoTargetConstantService', version='v3') + gtc_service = client.get_service('GeoTargetConstantService', version='v4') locations = [] for location_id in location_ids: - location = client.get_type('StringValue') + location = client.get_type('StringValue', version='v4') location.value = gtc_service.geo_target_constant_path(location_id) locations.append(location) return locations @@ -123,7 +124,7 @@ def map_locations_to_string_values(client, location_ids): def map_language_to_string_value(client, language_id): language = client.get_type('StringValue') language.value = client.get_service('LanguageConstantService', - version='v3').language_constant_path( + version='v4').language_constant_path( language_id) return language @@ -139,28 +140,24 @@ def map_language_to_string_value(client, language_id): # The following argument(s) should be provided to run the example. parser.add_argument('-c', '--customer_id', type=str, required=True, help='The Google Ads customer ID.') - # For more information on determining location IDs, see: - parser.add_argument('-k', '--keywords', type=str, required=False, - help='Comma-delimited starter keywords') + parser.add_argument('-k', '--keyword_texts', nargs='+', type=str, + required=False, default=[], + help='Space-delimited list of starter keywords') + # To determine the appropriate location IDs, see: # https://developers.google.com/adwords/api/docs/appendix/geotargeting. - parser.add_argument('-l', '--location_ids', type=str, - required=False, help='Comma-delimited list of location ' - 'criteria IDs') + parser.add_argument('-l', '--location_ids', nargs='+', type=str, + required=False, default=_DEFAULT_LOCATION_IDS, + help='Space-delimited list of location criteria IDs') + # To determine the appropriate language ID, see: # https://developers.google.com/adwords/api/docs/appendix/codes-formats#languages. parser.add_argument('-i', '--language_id', type=str, - required=False, help='Comma-delimited list of language ' - 'criterion IDs') + required=False, default=_DEFAULT_LANGUAGE_ID, + help='The language criterion ID.') # Optional: Specify a URL string related to your business to generate ideas. parser.add_argument('-p', '--page_url', type=str, required=False, help='A URL string related to your business') - parser.set_defaults(location_ids=_DEFAULT_LOCATION_IDS, - language_id=_DEFAULT_LANGUAGE_ID, keywords='') - args = parser.parse_args() - location_ids = [loc for loc in args.location_ids.split(',') if loc] - keywords = [keyword for keyword in args.keywords.split(',') if keyword] - - main(google_ads_client, args.customer_id, location_ids, args.language_id, - keywords, args.page_url) + main(google_ads_client, args.customer_id, args.location_ids, + args.language_id, args.keyword_texts, args.page_url) diff --git a/examples/recommendations/apply_recommendation.py b/examples/recommendations/apply_recommendation.py index dbd4c540d..2cdb80cad 100755 --- a/examples/recommendations/apply_recommendation.py +++ b/examples/recommendations/apply_recommendation.py @@ -26,7 +26,7 @@ def main(client, customer_id, recommendation_id): recommendation_service = client.get_service('RecommendationService', - version='v3') + version='v4') apply_recommendation_operation = client.get_type( 'ApplyRecommendationOperation') diff --git a/examples/recommendations/get_text_ad_recommendations.py b/examples/recommendations/get_text_ad_recommendations.py index 2907befa4..899d2746e 100755 --- a/examples/recommendations/get_text_ad_recommendations.py +++ b/examples/recommendations/get_text_ad_recommendations.py @@ -28,7 +28,7 @@ def main(client, customer_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT recommendation.type, recommendation.campaign, ' 'recommendation.text_ad_recommendation FROM recommendation ' diff --git a/examples/remarketing/add_conversion_action.py b/examples/remarketing/add_conversion_action.py index 92e19d816..ad3145676 100755 --- a/examples/remarketing/add_conversion_action.py +++ b/examples/remarketing/add_conversion_action.py @@ -24,11 +24,11 @@ def main(client, customer_id): conversion_action_service = client.get_service('ConversionActionService', - version='v3') + version='v4') # Create the operation. conversion_action_operation = client.get_type('ConversionActionOperation', - version='v3') + version='v4') # Create conversion action. conversion_action = conversion_action_operation.create diff --git a/examples/remarketing/add_remarketing_action.py b/examples/remarketing/add_remarketing_action.py index 5069ffbbd..680502924 100755 --- a/examples/remarketing/add_remarketing_action.py +++ b/examples/remarketing/add_remarketing_action.py @@ -40,9 +40,9 @@ def main(client, customer_id, page_size): def _add_remarketing_action(client, customer_id): remarketing_action_service = client.get_service( - 'RemarketingActionService', version='v2') + 'RemarketingActionService', version='v4') remarketing_action_operation = client.get_type( - 'RemarketingActionOperation', version='v2') + 'RemarketingActionOperation', version='v4') remarketing_action = remarketing_action_operation.create remarketing_action.name.value = f'Remarketing action #{uuid4()}' @@ -74,7 +74,7 @@ def _query_remarketing_action(client, customer_id, resource_name, page_size): f'WHERE remarketing_action.resource_name = "{resource_name}"') google_ads_service_client = client.get_service( - 'GoogleAdsService', version='v2') + 'GoogleAdsService', version='v4') results = google_ads_service_client.search( customer_id, query=query, page_size=page_size) @@ -94,9 +94,9 @@ def _query_remarketing_action(client, customer_id, resource_name, page_size): def _print_remarketing_action_attributes(client, remarketing_action): tracking_code_type_enum = client.get_type( - 'TrackingCodeTypeEnum', version='v2').TrackingCodeType + 'TrackingCodeTypeEnum', version='v4').TrackingCodeType tracking_code_page_format_enum = client.get_type( - 'TrackingCodePageFormatEnum', version='v2').TrackingCodePageFormat + 'TrackingCodePageFormatEnum', version='v4').TrackingCodePageFormat print(f'Remarketing action has ID {remarketing_action.id.value} and name ' f'"{remarketing_action.name.value}". \nIt has the following ' diff --git a/examples/remarketing/upload_conversion_adjustment.py b/examples/remarketing/upload_conversion_adjustment.py index fde1cb755..f73c660e8 100644 --- a/examples/remarketing/upload_conversion_adjustment.py +++ b/examples/remarketing/upload_conversion_adjustment.py @@ -41,9 +41,9 @@ def main(client, customer_id, conversion_action_id, gclid, adjustment_type, # Associates conversion adjustments with the existing conversion action. # The GCLID should have been uploaded before with a conversion conversion_adjustment = (client.get_type('ConversionAdjustment', - version='v3')) + version='v4')) conversion_action_service = (client.get_service('ConversionActionService', - version='v3')) + version='v4')) conversion_adjustment.conversion_action.value = ( conversion_action_service.conversion_action_path( customer_id, conversion_action_id)) @@ -63,7 +63,7 @@ def main(client, customer_id, conversion_action_id, gclid, adjustment_type, float(restatement_value)) conversion_adjustment_upload_service = ( - client.get_service('ConversionAdjustmentUploadService', version='v3')) + client.get_service('ConversionAdjustmentUploadService', version='v4')) try: response = ( conversion_adjustment_upload_service. diff --git a/examples/remarketing/upload_offline_conversion.py b/examples/remarketing/upload_offline_conversion.py index 10bc05fd9..1c132946a 100644 --- a/examples/remarketing/upload_offline_conversion.py +++ b/examples/remarketing/upload_offline_conversion.py @@ -31,9 +31,9 @@ def main(client, customer_id, conversion_action_id, gclid, conversion_date_time, conversion_value): """Creates a click conversion with a default currency of USD.""" - click_conversion = client.get_type('ClickConversion', version='v3') + click_conversion = client.get_type('ClickConversion', version='v4') conversion_action_service = client.get_service('ConversionActionService', - version='v3') + version='v4') click_conversion.conversion_action.value = ( conversion_action_service.conversion_action_path( customer_id, conversion_action_id)) @@ -43,7 +43,7 @@ def main(client, customer_id, conversion_action_id, gclid, click_conversion.currency_code.value = 'USD' conversion_upload_service = client.get_service('ConversionUploadService', - version='v3') + version='v4') try: conversion_upload_response = ( diff --git a/examples/reporting/get_hotel_ads_performance.py b/examples/reporting/get_hotel_ads_performance.py index defbd7c2e..4bc11f70d 100755 --- a/examples/reporting/get_hotel_ads_performance.py +++ b/examples/reporting/get_hotel_ads_performance.py @@ -27,7 +27,7 @@ def main(client, customer_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.advertising_channel_type, ' 'ad_group.id, ad_group.status, metrics.impressions, ' diff --git a/examples/reporting/get_keyword_stats.py b/examples/reporting/get_keyword_stats.py index 3b4e735a2..25f20c5b9 100755 --- a/examples/reporting/get_keyword_stats.py +++ b/examples/reporting/get_keyword_stats.py @@ -25,7 +25,7 @@ def main(client, customer_id): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign.name, ad_group.id, ad_group.name, ' 'ad_group_criterion.criterion_id, ' @@ -42,7 +42,7 @@ def main(client, customer_id): # Issues a search request using streaming. response = ga_service.search_stream(customer_id, query) keyword_match_type_enum = client.get_type( - 'KeywordMatchTypeEnum', version='v2').KeywordMatchType + 'KeywordMatchTypeEnum', version='v4').KeywordMatchType try: for batch in response: for row in batch.results: diff --git a/examples/shopping_ads/add_listing_scope.py b/examples/shopping_ads/add_listing_scope.py index fdaf0834f..3f9c64038 100644 --- a/examples/shopping_ads/add_listing_scope.py +++ b/examples/shopping_ads/add_listing_scope.py @@ -35,13 +35,13 @@ def main(client, customer_id, campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') campaign_resource_name = campaign_service.campaign_path( customer_id, campaign_id) campaign_criterion_operation = client.get_type( - 'CampaignCriterionOperation', version='v3') + 'CampaignCriterionOperation', version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_resource_name @@ -54,7 +54,7 @@ def main(client, customer_id, campaign_id): client, campaign_criterion.listing_scope.dimensions) campaign_criterion_service = client.get_service('CampaignCriterionService', - version='v3') + version='v4') try: campaign_criterion_response = ( @@ -81,7 +81,7 @@ def _build_listing_scope_dimensions(client, dimensions): product_brand_dimension.product_brand.value.value = 'google' product_custom_attribute_index_enum = client.get_type( - 'ProductCustomAttributeIndexEnum', version='v3') + 'ProductCustomAttributeIndexEnum', version='v4') product_custom_attribute_dimension = dimensions.add() product_custom_attribute = ( @@ -90,7 +90,7 @@ def _build_listing_scope_dimensions(client, dimensions): product_custom_attribute.value.value = 'top_selling_products' product_type_level_enum = client.get_type( - 'ProductTypeLevelEnum', version='v3') + 'ProductTypeLevelEnum', version='v4') product_type_dimension_1 = dimensions.add() product_type = product_type_dimension_1.product_type diff --git a/examples/shopping/add_shopping_product_ad.py b/examples/shopping_ads/add_shopping_product_ad.py similarity index 96% rename from examples/shopping/add_shopping_product_ad.py rename to examples/shopping_ads/add_shopping_product_ad.py index 170cb7299..b43b2d29e 100755 --- a/examples/shopping/add_shopping_product_ad.py +++ b/examples/shopping_ads/add_shopping_product_ad.py @@ -60,11 +60,11 @@ def main(client, customer_id, merchant_center_account_id, def add_campaign_budget(client, customer_id): """Creates a new campaign budget in the specified client account.""" campaign_budget_service = client.get_service('CampaignBudgetService', - version='v3') + version='v4') # Create a budget, which can be shared by multiple campaigns. campaign_budget_operation = client.get_type('CampaignBudgetOperation', - version='v3') + version='v4') campaign_budget = campaign_budget_operation.create campaign_budget.name.value = 'Interplanetary Budget %s' % uuid.uuid4() campaign_budget.delivery_method = client.get_type( @@ -96,14 +96,14 @@ def add_campaign_budget(client, customer_id): def add_shopping_product_ad_group_ad(client, customer_id, ad_group_resource_name): """Creates a new shopping product ad group ad in the specified ad group.""" - ad_group_ad_service = client.get_service('AdGroupAdService', version='v3') + ad_group_ad_service = client.get_service('AdGroupAdService', version='v4') # Creates a new ad group ad and sets the product ad to it. - ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v3') + ad_group_ad_operation = client.get_type('AdGroupAdOperation', version='v4') ad_group_ad = ad_group_ad_operation.create ad_group_ad.ad_group.value = ad_group_resource_name ad_group_ad.status = client.get_type('AdGroupAdStatusEnum', - version='v3').PAUSED + version='v4').PAUSED ad_group_ad.ad.shopping_product_ad.CopyFrom(client.get_type( 'ShoppingProductAdInfo')) @@ -131,18 +131,18 @@ def add_shopping_product_ad_group_ad(client, customer_id, def add_shopping_product_ad_group(client, customer_id, campaign_resource_name): """Creates a new shopping product ad group in the specified campaign.""" - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') # Create ad group. - ad_group_operation = client.get_type('AdGroupOperation', version='v3') + ad_group_operation = client.get_type('AdGroupOperation', version='v4') ad_group = ad_group_operation.create ad_group.name.value = 'Earth to Mars cruise %s' % uuid.uuid4() - ad_group.status = client.get_type('AdGroupStatusEnum', version='v3').ENABLED + ad_group.status = client.get_type('AdGroupStatusEnum', version='v4').ENABLED ad_group.campaign.value = campaign_resource_name # Sets the ad group type to SHOPPING_PRODUCT_ADS. This is the only value # possible for ad groups that contain shopping product ads. ad_group.type = client.get_type('AdGroupTypeEnum', - version='v3').SHOPPING_PRODUCT_ADS + version='v4').SHOPPING_PRODUCT_ADS ad_group.cpc_bid_micros.value = 10000000 # Add the ad group. @@ -171,10 +171,10 @@ def add_standard_shopping_campaign(client, customer_id, budget_resource_name, merchant_center_account_id): """Creates a new standard shopping campaign in the specified client account. """ - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Create standard shoppping campaign. - campaign_operation = client.get_type('CampaignOperation', version='v3') + campaign_operation = client.get_type('CampaignOperation', version='v4') campaign = campaign_operation.create campaign.name.value = 'Interplanetary Cruise Campaign %s' % uuid.uuid4() @@ -198,7 +198,7 @@ def add_standard_shopping_campaign(client, customer_id, budget_resource_name, # Recommendation: Set the campaign to PAUSED when creating it to prevent the # ads from immediately serving. Set to ENABLED once you've added targeting # and the ads are ready to serve. - campaign.status = client.get_type('CampaignStatusEnum', version='v3').PAUSED + campaign.status = client.get_type('CampaignStatusEnum', version='v4').PAUSED # Sets the bidding strategy to Manual CPC (with eCPC enabled) # Recommendation: Use one of the automated bidding strategies for Shopping @@ -241,12 +241,12 @@ def add_default_shopping_listing_group(client, customer_id, the bid for a given listing group. """ ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') # Creates a new ad group criterion. This will contain the "default" listing # group (All products). ad_group_criterion_operation = client.get_type('AdGroupCriterionOperation', - version='v3') + version='v4') ad_group_criterion = ad_group_criterion_operation.create ad_group_criterion.ad_group.value = ad_group_resource_name ad_group_criterion.status = client.get_type( diff --git a/examples/shopping/get_product_bidding_category_constant.py b/examples/shopping_ads/get_product_bidding_category_constant.py similarity index 99% rename from examples/shopping/get_product_bidding_category_constant.py rename to examples/shopping_ads/get_product_bidding_category_constant.py index 3cf9f6927..22b088104 100755 --- a/examples/shopping/get_product_bidding_category_constant.py +++ b/examples/shopping_ads/get_product_bidding_category_constant.py @@ -32,7 +32,7 @@ def display_categories(categories, prefix=''): def main(client, customer_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT product_bidding_category_constant.localized_name, ' 'product_bidding_category_constant.product_bidding_category_constant_parent ' 'FROM product_bidding_category_constant WHERE ' diff --git a/examples/targeting/add_campaign_targeting_criteria.py b/examples/targeting/add_campaign_targeting_criteria.py index 12a2edd3e..03d6274fc 100755 --- a/examples/targeting/add_campaign_targeting_criteria.py +++ b/examples/targeting/add_campaign_targeting_criteria.py @@ -18,16 +18,18 @@ import argparse import sys -import google.ads.google_ads.client +from google.ads.google_ads.client import GoogleAdsClient +from google.ads.google_ads.errors import GoolgeAdsException -def main(client, customer_id, campaign_id, keyword, location_id): +def main(client, customer_id, campaign_id, keyword_text, location_id): campaign_criterion_service = client.get_service('CampaignCriterionService', - version='v3') + version='v4') operations = [ create_location_op(client, customer_id, campaign_id, location_id), - create_negative_keyword_op(client, customer_id, campaign_id, keyword), + create_negative_keyword_op(client, customer_id, campaign_id, + keyword_text), create_proximity_op(client, customer_id, campaign_id) ] @@ -35,28 +37,28 @@ def main(client, customer_id, campaign_id, keyword, location_id): campaign_criterion_response = ( campaign_criterion_service.mutate_campaign_criteria( customer_id, operations)) - except google.ads.google_ads.errors.GoogleAdsException as ex: - print('Request with ID "%s" failed with status "%s" and includes the ' - 'following errors:' % (ex.request_id, ex.error.code().name)) + except GoogleAdsException as ex: + print(f'Request with ID "{ex.request_id}" failed with status ' + f'"{ex.error.code().name}" and includes the following errors:') for error in ex.failure.errors: - print('\tError with message "%s".' % error.message) + print(f'\tError with message "{error.message}".') if error.location: for field_path_element in error.location.field_path_elements: - print('\t\tOn field: %s' % field_path_element.field_name) + print(f'\t\tOn field: {field_path_element.field_name}') sys.exit(1) for result in campaign_criterion_response.results: - print('Added campaign criterion "%s".' % result.resource_name) + print(f'Added campaign criterion "{result.resource_name}".') def create_location_op(client, customer_id, campaign_id, location_id): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') geo_target_constant_service = client.get_service('GeoTargetConstantService', - version='v3') + version='v4') # Create the campaign criterion. campaign_criterion_operation = client.get_type('CampaignCriterionOperation', - version='v3') + version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_service.campaign_path( customer_id, campaign_id) @@ -71,30 +73,30 @@ def create_location_op(client, customer_id, campaign_id, location_id): return campaign_criterion_operation -def create_negative_keyword_op(client, customer_id, campaign_id, keyword): - campaign_service = client.get_service('CampaignService', version='v3') +def create_negative_keyword_op(client, customer_id, campaign_id, keyword_text): + campaign_service = client.get_service('CampaignService', version='v4') # Create the campaign criterion. campaign_criterion_operation = client.get_type('CampaignCriterionOperation', - version='v3') + version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_service.campaign_path( customer_id, campaign_id) campaign_criterion.negative.value = True criterion_keyword = campaign_criterion.keyword - criterion_keyword.text.value = keyword + criterion_keyword.text.value = keyword_text criterion_keyword.match_type = client.get_type('KeywordMatchTypeEnum', - version='v3').BROAD + version='v4').BROAD return campaign_criterion_operation def create_proximity_op(client, customer_id, campaign_id): - campaign_service = client.get_service('CampaignService', version='v3') + campaign_service = client.get_service('CampaignService', version='v4') # Create the campaign criterion. campaign_criterion_operation = client.get_type('CampaignCriterionOperation', - version='v3') + version='v4') campaign_criterion = campaign_criterion_operation.create campaign_criterion.campaign.value = campaign_service.campaign_path( customer_id, campaign_id) @@ -114,8 +116,7 @@ def create_proximity_op(client, customer_id, campaign_id): if __name__ == '__main__': # GoogleAdsClient will read the google-ads.yaml configuration file in the # home directory if none is specified. - google_ads_client = (google.ads.google_ads.client.GoogleAdsClient - .load_from_storage()) + google_ads_client = GoogleAdsClient.load_from_storage() parser = argparse.ArgumentParser( description=('Adds campaign targeting criteria for the specified ' @@ -125,8 +126,8 @@ def create_proximity_op(client, customer_id, campaign_id): required=True, help='The Google Ads customer ID.') parser.add_argument('-i', '--campaign_id', type=str, required=True, help='The campaign ID.') - parser.add_argument('-k', '--keyword', type=str, required=True, - help='The keyword to be added to the campaign.') + parser.add_argument('-k', '--keyword_text', type=str, required=True, + help='The keyword text to be added to the campaign.') parser.add_argument( '-l', '--location_id', type=str, required=False, default='21167', # New York @@ -137,5 +138,5 @@ def create_proximity_op(client, customer_id, campaign_id): 'geotargeting.')) args = parser.parse_args() - main(google_ads_client, args.customer_id, args.campaign_id, args.keyword, - args.location_id) + main(google_ads_client, args.customer_id, args.campaign_id, + args.keyword_text, args.location_id) diff --git a/examples/targeting/add_demographic_targeting_criteria.py b/examples/targeting/add_demographic_targeting_criteria.py index a9f9238fd..d59cc0002 100755 --- a/examples/targeting/add_demographic_targeting_criteria.py +++ b/examples/targeting/add_demographic_targeting_criteria.py @@ -24,21 +24,21 @@ def main(client, customer_id, ad_group_id): - ad_group_service = client.get_service('AdGroupService', version='v3') + ad_group_service = client.get_service('AdGroupService', version='v4') ad_group_criterion_service = client.get_service('AdGroupCriterionService', - version='v3') + version='v4') ad_group_resource_name = ad_group_service.ad_group_path(customer_id, ad_group_id) # Create a positive ad group criterion for the gender MALE. gender_ad_group_criterion_operation = client.get_type( - 'AdGroupCriterionOperation', version='v3') + 'AdGroupCriterionOperation', version='v4') gender_ad_group_criterion = gender_ad_group_criterion_operation.create gender_ad_group_criterion.ad_group.value = ad_group_resource_name gender_ad_group_criterion.gender.type = client.get_type('GenderTypeEnum').MALE # Create a negative ad group criterion for age range of 18 to 24. age_range_ad_group_criterion_operation = client.get_type( - 'AdGroupCriterionOperation', version='v3') + 'AdGroupCriterionOperation', version='v4') age_range_ad_group_criterion = age_range_ad_group_criterion_operation.create age_range_ad_group_criterion.ad_group.value = ad_group_resource_name age_range_ad_group_criterion.negative.value = True diff --git a/examples/targeting/get_campaign_targeting_criteria.py b/examples/targeting/get_campaign_targeting_criteria.py index 95d6b6388..9bcfa8cbe 100755 --- a/examples/targeting/get_campaign_targeting_criteria.py +++ b/examples/targeting/get_campaign_targeting_criteria.py @@ -26,7 +26,7 @@ def main(client, customer_id, campaign_id, page_size): - ga_service = client.get_service('GoogleAdsService', version='v3') + ga_service = client.get_service('GoogleAdsService', version='v4') query = ('SELECT campaign.id, campaign_criterion.campaign, ' 'campaign_criterion.criterion_id, campaign_criterion.negative, ' @@ -44,7 +44,7 @@ def main(client, customer_id, campaign_id, page_size): % criterion.criterion_id.value) if criterion.type == client.get_type('CriterionTypeEnum', - version='v3').KEYWORD: + version='v4').KEYWORD: print('\t%sKeyword with text "%s" and match type %s.' % ('' if criterion.negative.value else 'Negative', criterion.keyword.text.value, diff --git a/examples/targeting/get_geo_target_constants_by_names.py b/examples/targeting/get_geo_target_constants_by_names.py index e2b942dc9..11094173b 100755 --- a/examples/targeting/get_geo_target_constants_by_names.py +++ b/examples/targeting/get_geo_target_constants_by_names.py @@ -22,11 +22,11 @@ def main(client): - gtc_service = client.get_service('GeoTargetConstantService', version='v3') + gtc_service = client.get_service('GeoTargetConstantService', version='v4') location_names = ( client.get_type('SuggestGeoTargetConstantsRequest', - version='v3').LocationNames()) + version='v4').LocationNames()) for location in ['Paris', 'Quebec', 'Spain', 'Deutschland']: location_name = location_names.names.add() @@ -34,12 +34,12 @@ def main(client): # Locale is using ISO 639-1 format. If an invalid locale is given, # 'en' is used by default. - locale = client.get_type('StringValue', version='v3') + locale = client.get_type('StringValue', version='v4') locale.value = 'en' # A list of country codes can be referenced here: # https://developers.google.com/adwords/api/docs/appendix/geotargeting - country_code = client.get_type('StringValue', version='v3') + country_code = client.get_type('StringValue', version='v4') country_code.value = 'FR' results = gtc_service.suggest_geo_target_constants( diff --git a/google/ads/google_ads/__init__.py b/google/ads/google_ads/__init__.py index cec159c4d..a953d5cb4 100644 --- a/google/ads/google_ads/__init__.py +++ b/google/ads/google_ads/__init__.py @@ -20,4 +20,4 @@ import google.ads.google_ads.util -VERSION = '5.1.0' +VERSION = '6.0.0' diff --git a/google/ads/google_ads/client.py b/google/ads/google_ads/client.py index aa5737b70..112f3cba3 100644 --- a/google/ads/google_ads/client.py +++ b/google/ads/google_ads/client.py @@ -28,7 +28,7 @@ _SERVICE_CLIENT_TEMPLATE = '{}Client' _SERVICE_GRPC_TRANSPORT_TEMPLATE = '{}GrpcTransport' -_VALID_API_VERSIONS = ['v3', 'v2', 'v1'] +_VALID_API_VERSIONS = ['v4', 'v3', 'v2'] _DEFAULT_VERSION = _VALID_API_VERSIONS[0] _GRPC_CHANNEL_OPTIONS = [ diff --git a/google/ads/google_ads/v1/__init__.py b/google/ads/google_ads/v1/__init__.py deleted file mode 100644 index e1843b044..000000000 --- a/google/ads/google_ads/v1/__init__.py +++ /dev/null @@ -1,1525 +0,0 @@ -# Copyright 2018 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - - - -from google.ads.google_ads.v1 import types -from google.ads.google_ads.v1.services import account_budget_proposal_service_client -from google.ads.google_ads.v1.services import account_budget_service_client -from google.ads.google_ads.v1.services import ad_group_ad_label_service_client -from google.ads.google_ads.v1.services import ad_group_ad_service_client -from google.ads.google_ads.v1.services import ad_group_audience_view_service_client -from google.ads.google_ads.v1.services import ad_group_bid_modifier_service_client -from google.ads.google_ads.v1.services import ad_group_criterion_label_service_client -from google.ads.google_ads.v1.services import ad_group_criterion_service_client -from google.ads.google_ads.v1.services import ad_group_criterion_simulation_service_client -from google.ads.google_ads.v1.services import ad_group_extension_setting_service_client -from google.ads.google_ads.v1.services import ad_group_feed_service_client -from google.ads.google_ads.v1.services import ad_group_label_service_client -from google.ads.google_ads.v1.services import ad_group_service_client -from google.ads.google_ads.v1.services import ad_group_simulation_service_client -from google.ads.google_ads.v1.services import ad_parameter_service_client -from google.ads.google_ads.v1.services import ad_schedule_view_service_client -from google.ads.google_ads.v1.services import age_range_view_service_client -from google.ads.google_ads.v1.services import asset_service_client -from google.ads.google_ads.v1.services import bidding_strategy_service_client -from google.ads.google_ads.v1.services import billing_setup_service_client -from google.ads.google_ads.v1.services import campaign_audience_view_service_client -from google.ads.google_ads.v1.services import campaign_bid_modifier_service_client -from google.ads.google_ads.v1.services import campaign_budget_service_client -from google.ads.google_ads.v1.services import campaign_criterion_service_client -from google.ads.google_ads.v1.services import campaign_criterion_simulation_service_client -from google.ads.google_ads.v1.services import campaign_draft_service_client -from google.ads.google_ads.v1.services import campaign_experiment_service_client -from google.ads.google_ads.v1.services import campaign_extension_setting_service_client -from google.ads.google_ads.v1.services import campaign_feed_service_client -from google.ads.google_ads.v1.services import campaign_label_service_client -from google.ads.google_ads.v1.services import campaign_service_client -from google.ads.google_ads.v1.services import campaign_shared_set_service_client -from google.ads.google_ads.v1.services import carrier_constant_service_client -from google.ads.google_ads.v1.services import change_status_service_client -from google.ads.google_ads.v1.services import click_view_service_client -from google.ads.google_ads.v1.services import conversion_action_service_client -from google.ads.google_ads.v1.services import conversion_adjustment_upload_service_client -from google.ads.google_ads.v1.services import conversion_upload_service_client -from google.ads.google_ads.v1.services import customer_client_link_service_client -from google.ads.google_ads.v1.services import customer_client_service_client -from google.ads.google_ads.v1.services import customer_extension_setting_service_client -from google.ads.google_ads.v1.services import customer_feed_service_client -from google.ads.google_ads.v1.services import customer_label_service_client -from google.ads.google_ads.v1.services import customer_manager_link_service_client -from google.ads.google_ads.v1.services import customer_negative_criterion_service_client -from google.ads.google_ads.v1.services import customer_service_client -from google.ads.google_ads.v1.services import custom_interest_service_client -from google.ads.google_ads.v1.services import detail_placement_view_service_client -from google.ads.google_ads.v1.services import display_keyword_view_service_client -from google.ads.google_ads.v1.services import domain_category_service_client -from google.ads.google_ads.v1.services import dynamic_search_ads_search_term_view_service_client -from google.ads.google_ads.v1.services import enums -from google.ads.google_ads.v1.services import expanded_landing_page_view_service_client -from google.ads.google_ads.v1.services import extension_feed_item_service_client -from google.ads.google_ads.v1.services import feed_item_service_client -from google.ads.google_ads.v1.services import feed_item_target_service_client -from google.ads.google_ads.v1.services import feed_mapping_service_client -from google.ads.google_ads.v1.services import feed_placeholder_view_service_client -from google.ads.google_ads.v1.services import feed_service_client -from google.ads.google_ads.v1.services import gender_view_service_client -from google.ads.google_ads.v1.services import geographic_view_service_client -from google.ads.google_ads.v1.services import geo_target_constant_service_client -from google.ads.google_ads.v1.services import google_ads_field_service_client -from google.ads.google_ads.v1.services import google_ads_service_client -from google.ads.google_ads.v1.services import group_placement_view_service_client -from google.ads.google_ads.v1.services import hotel_group_view_service_client -from google.ads.google_ads.v1.services import hotel_performance_view_service_client -from google.ads.google_ads.v1.services import keyword_plan_ad_group_service_client -from google.ads.google_ads.v1.services import keyword_plan_campaign_service_client -from google.ads.google_ads.v1.services import keyword_plan_idea_service_client -from google.ads.google_ads.v1.services import keyword_plan_keyword_service_client -from google.ads.google_ads.v1.services import keyword_plan_negative_keyword_service_client -from google.ads.google_ads.v1.services import keyword_plan_service_client -from google.ads.google_ads.v1.services import keyword_view_service_client -from google.ads.google_ads.v1.services import label_service_client -from google.ads.google_ads.v1.services import landing_page_view_service_client -from google.ads.google_ads.v1.services import language_constant_service_client -from google.ads.google_ads.v1.services import location_view_service_client -from google.ads.google_ads.v1.services import managed_placement_view_service_client -from google.ads.google_ads.v1.services import media_file_service_client -from google.ads.google_ads.v1.services import merchant_center_link_service_client -from google.ads.google_ads.v1.services import mobile_app_category_constant_service_client -from google.ads.google_ads.v1.services import mobile_device_constant_service_client -from google.ads.google_ads.v1.services import mutate_job_service_client -from google.ads.google_ads.v1.services import operating_system_version_constant_service_client -from google.ads.google_ads.v1.services import paid_organic_search_term_view_service_client -from google.ads.google_ads.v1.services import parental_status_view_service_client -from google.ads.google_ads.v1.services import payments_account_service_client -from google.ads.google_ads.v1.services import product_bidding_category_constant_service_client -from google.ads.google_ads.v1.services import product_group_view_service_client -from google.ads.google_ads.v1.services import recommendation_service_client -from google.ads.google_ads.v1.services import remarketing_action_service_client -from google.ads.google_ads.v1.services import search_term_view_service_client -from google.ads.google_ads.v1.services import shared_criterion_service_client -from google.ads.google_ads.v1.services import shared_set_service_client -from google.ads.google_ads.v1.services import shopping_performance_view_service_client -from google.ads.google_ads.v1.services import topic_constant_service_client -from google.ads.google_ads.v1.services import topic_view_service_client -from google.ads.google_ads.v1.services import user_interest_service_client -from google.ads.google_ads.v1.services import user_list_service_client -from google.ads.google_ads.v1.services import video_service_client -from google.ads.google_ads.v1.services.transports import account_budget_proposal_service_grpc_transport -from google.ads.google_ads.v1.services.transports import account_budget_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_ad_label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_ad_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_audience_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_bid_modifier_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_criterion_label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_criterion_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_criterion_simulation_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_feed_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_group_simulation_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_parameter_service_grpc_transport -from google.ads.google_ads.v1.services.transports import ad_schedule_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import age_range_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import asset_service_grpc_transport -from google.ads.google_ads.v1.services.transports import bidding_strategy_service_grpc_transport -from google.ads.google_ads.v1.services.transports import billing_setup_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_audience_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_bid_modifier_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_budget_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_criterion_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_criterion_simulation_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_draft_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_experiment_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_feed_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_service_grpc_transport -from google.ads.google_ads.v1.services.transports import campaign_shared_set_service_grpc_transport -from google.ads.google_ads.v1.services.transports import carrier_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import change_status_service_grpc_transport -from google.ads.google_ads.v1.services.transports import click_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import conversion_action_service_grpc_transport -from google.ads.google_ads.v1.services.transports import conversion_adjustment_upload_service_grpc_transport -from google.ads.google_ads.v1.services.transports import conversion_upload_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_client_link_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_client_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_feed_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_manager_link_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_negative_criterion_service_grpc_transport -from google.ads.google_ads.v1.services.transports import customer_service_grpc_transport -from google.ads.google_ads.v1.services.transports import custom_interest_service_grpc_transport -from google.ads.google_ads.v1.services.transports import detail_placement_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import display_keyword_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import domain_category_service_grpc_transport -from google.ads.google_ads.v1.services.transports import dynamic_search_ads_search_term_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import expanded_landing_page_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import extension_feed_item_service_grpc_transport -from google.ads.google_ads.v1.services.transports import feed_item_service_grpc_transport -from google.ads.google_ads.v1.services.transports import feed_item_target_service_grpc_transport -from google.ads.google_ads.v1.services.transports import feed_mapping_service_grpc_transport -from google.ads.google_ads.v1.services.transports import feed_placeholder_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import feed_service_grpc_transport -from google.ads.google_ads.v1.services.transports import gender_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import geographic_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import geo_target_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import google_ads_field_service_grpc_transport -from google.ads.google_ads.v1.services.transports import google_ads_service_grpc_transport -from google.ads.google_ads.v1.services.transports import group_placement_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import hotel_group_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import hotel_performance_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_ad_group_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_campaign_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_idea_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_keyword_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_negative_keyword_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_plan_service_grpc_transport -from google.ads.google_ads.v1.services.transports import keyword_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import label_service_grpc_transport -from google.ads.google_ads.v1.services.transports import landing_page_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import language_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import location_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import managed_placement_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import media_file_service_grpc_transport -from google.ads.google_ads.v1.services.transports import merchant_center_link_service_grpc_transport -from google.ads.google_ads.v1.services.transports import mobile_app_category_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import mobile_device_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import mutate_job_service_grpc_transport -from google.ads.google_ads.v1.services.transports import operating_system_version_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import paid_organic_search_term_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import parental_status_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import payments_account_service_grpc_transport -from google.ads.google_ads.v1.services.transports import product_bidding_category_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import product_group_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import recommendation_service_grpc_transport -from google.ads.google_ads.v1.services.transports import remarketing_action_service_grpc_transport -from google.ads.google_ads.v1.services.transports import search_term_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import shared_criterion_service_grpc_transport -from google.ads.google_ads.v1.services.transports import shared_set_service_grpc_transport -from google.ads.google_ads.v1.services.transports import shopping_performance_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import topic_constant_service_grpc_transport -from google.ads.google_ads.v1.services.transports import topic_view_service_grpc_transport -from google.ads.google_ads.v1.services.transports import user_interest_service_grpc_transport -from google.ads.google_ads.v1.services.transports import user_list_service_grpc_transport -from google.ads.google_ads.v1.services.transports import video_service_grpc_transport - - -class AccountBudgetProposalServiceClient( - account_budget_proposal_service_client.AccountBudgetProposalServiceClient): - __doc__ = account_budget_proposal_service_client.AccountBudgetProposalServiceClient.__doc__ - enums = enums - - -class AccountBudgetServiceClient( - account_budget_service_client.AccountBudgetServiceClient): - __doc__ = account_budget_service_client.AccountBudgetServiceClient.__doc__ - enums = enums - - -class AdGroupAdLabelServiceClient( - ad_group_ad_label_service_client.AdGroupAdLabelServiceClient): - __doc__ = ad_group_ad_label_service_client.AdGroupAdLabelServiceClient.__doc__ - enums = enums - - -class AdGroupAdServiceClient( - ad_group_ad_service_client.AdGroupAdServiceClient): - __doc__ = ad_group_ad_service_client.AdGroupAdServiceClient.__doc__ - enums = enums - - -class AdGroupAudienceViewServiceClient( - ad_group_audience_view_service_client.AdGroupAudienceViewServiceClient): - __doc__ = ad_group_audience_view_service_client.AdGroupAudienceViewServiceClient.__doc__ - enums = enums - - -class AdGroupBidModifierServiceClient( - ad_group_bid_modifier_service_client.AdGroupBidModifierServiceClient): - __doc__ = ad_group_bid_modifier_service_client.AdGroupBidModifierServiceClient.__doc__ - enums = enums - - -class AdGroupCriterionLabelServiceClient( - ad_group_criterion_label_service_client.AdGroupCriterionLabelServiceClient): - __doc__ = ad_group_criterion_label_service_client.AdGroupCriterionLabelServiceClient.__doc__ - enums = enums - - -class AdGroupCriterionServiceClient( - ad_group_criterion_service_client.AdGroupCriterionServiceClient): - __doc__ = ad_group_criterion_service_client.AdGroupCriterionServiceClient.__doc__ - enums = enums - - -class AdGroupCriterionSimulationServiceClient( - ad_group_criterion_simulation_service_client.AdGroupCriterionSimulationServiceClient): - __doc__ = ad_group_criterion_simulation_service_client.AdGroupCriterionSimulationServiceClient.__doc__ - enums = enums - - -class AdGroupExtensionSettingServiceClient( - ad_group_extension_setting_service_client.AdGroupExtensionSettingServiceClient): - __doc__ = ad_group_extension_setting_service_client.AdGroupExtensionSettingServiceClient.__doc__ - enums = enums - - -class AdGroupFeedServiceClient( - ad_group_feed_service_client.AdGroupFeedServiceClient): - __doc__ = ad_group_feed_service_client.AdGroupFeedServiceClient.__doc__ - enums = enums - - -class AdGroupLabelServiceClient( - ad_group_label_service_client.AdGroupLabelServiceClient): - __doc__ = ad_group_label_service_client.AdGroupLabelServiceClient.__doc__ - enums = enums - - -class AdGroupServiceClient( - ad_group_service_client.AdGroupServiceClient): - __doc__ = ad_group_service_client.AdGroupServiceClient.__doc__ - enums = enums - - -class AdGroupSimulationServiceClient( - ad_group_simulation_service_client.AdGroupSimulationServiceClient): - __doc__ = ad_group_simulation_service_client.AdGroupSimulationServiceClient.__doc__ - enums = enums - - -class AdParameterServiceClient( - ad_parameter_service_client.AdParameterServiceClient): - __doc__ = ad_parameter_service_client.AdParameterServiceClient.__doc__ - enums = enums - - -class AdScheduleViewServiceClient( - ad_schedule_view_service_client.AdScheduleViewServiceClient): - __doc__ = ad_schedule_view_service_client.AdScheduleViewServiceClient.__doc__ - enums = enums - - -class AgeRangeViewServiceClient( - age_range_view_service_client.AgeRangeViewServiceClient): - __doc__ = age_range_view_service_client.AgeRangeViewServiceClient.__doc__ - enums = enums - - -class AssetServiceClient( - asset_service_client.AssetServiceClient): - __doc__ = asset_service_client.AssetServiceClient.__doc__ - enums = enums - - -class BiddingStrategyServiceClient( - bidding_strategy_service_client.BiddingStrategyServiceClient): - __doc__ = bidding_strategy_service_client.BiddingStrategyServiceClient.__doc__ - enums = enums - - -class BillingSetupServiceClient( - billing_setup_service_client.BillingSetupServiceClient): - __doc__ = billing_setup_service_client.BillingSetupServiceClient.__doc__ - enums = enums - - -class CampaignAudienceViewServiceClient( - campaign_audience_view_service_client.CampaignAudienceViewServiceClient): - __doc__ = campaign_audience_view_service_client.CampaignAudienceViewServiceClient.__doc__ - enums = enums - - -class CampaignBidModifierServiceClient( - campaign_bid_modifier_service_client.CampaignBidModifierServiceClient): - __doc__ = campaign_bid_modifier_service_client.CampaignBidModifierServiceClient.__doc__ - enums = enums - - -class CampaignBudgetServiceClient( - campaign_budget_service_client.CampaignBudgetServiceClient): - __doc__ = campaign_budget_service_client.CampaignBudgetServiceClient.__doc__ - enums = enums - - -class CampaignCriterionServiceClient( - campaign_criterion_service_client.CampaignCriterionServiceClient): - __doc__ = campaign_criterion_service_client.CampaignCriterionServiceClient.__doc__ - enums = enums - - -class CampaignCriterionSimulationServiceClient( - campaign_criterion_simulation_service_client.CampaignCriterionSimulationServiceClient): - __doc__ = campaign_criterion_simulation_service_client.CampaignCriterionSimulationServiceClient.__doc__ - enums = enums - - -class CampaignDraftServiceClient( - campaign_draft_service_client.CampaignDraftServiceClient): - __doc__ = campaign_draft_service_client.CampaignDraftServiceClient.__doc__ - enums = enums - - -class CampaignExperimentServiceClient( - campaign_experiment_service_client.CampaignExperimentServiceClient): - __doc__ = campaign_experiment_service_client.CampaignExperimentServiceClient.__doc__ - enums = enums - - -class CampaignExtensionSettingServiceClient( - campaign_extension_setting_service_client.CampaignExtensionSettingServiceClient): - __doc__ = campaign_extension_setting_service_client.CampaignExtensionSettingServiceClient.__doc__ - enums = enums - - -class CampaignFeedServiceClient( - campaign_feed_service_client.CampaignFeedServiceClient): - __doc__ = campaign_feed_service_client.CampaignFeedServiceClient.__doc__ - enums = enums - - -class CampaignLabelServiceClient( - campaign_label_service_client.CampaignLabelServiceClient): - __doc__ = campaign_label_service_client.CampaignLabelServiceClient.__doc__ - enums = enums - - -class CampaignServiceClient( - campaign_service_client.CampaignServiceClient): - __doc__ = campaign_service_client.CampaignServiceClient.__doc__ - enums = enums - - -class CampaignSharedSetServiceClient( - campaign_shared_set_service_client.CampaignSharedSetServiceClient): - __doc__ = campaign_shared_set_service_client.CampaignSharedSetServiceClient.__doc__ - enums = enums - - -class CarrierConstantServiceClient( - carrier_constant_service_client.CarrierConstantServiceClient): - __doc__ = carrier_constant_service_client.CarrierConstantServiceClient.__doc__ - enums = enums - - -class ChangeStatusServiceClient( - change_status_service_client.ChangeStatusServiceClient): - __doc__ = change_status_service_client.ChangeStatusServiceClient.__doc__ - enums = enums - - -class ClickViewServiceClient( - click_view_service_client.ClickViewServiceClient): - __doc__ = click_view_service_client.ClickViewServiceClient.__doc__ - enums = enums - - -class ConversionActionServiceClient( - conversion_action_service_client.ConversionActionServiceClient): - __doc__ = conversion_action_service_client.ConversionActionServiceClient.__doc__ - enums = enums - - -class ConversionAdjustmentUploadServiceClient( - conversion_adjustment_upload_service_client.ConversionAdjustmentUploadServiceClient): - __doc__ = conversion_adjustment_upload_service_client.ConversionAdjustmentUploadServiceClient.__doc__ - enums = enums - - -class ConversionUploadServiceClient( - conversion_upload_service_client.ConversionUploadServiceClient): - __doc__ = conversion_upload_service_client.ConversionUploadServiceClient.__doc__ - enums = enums - - -class CustomerClientLinkServiceClient( - customer_client_link_service_client.CustomerClientLinkServiceClient): - __doc__ = customer_client_link_service_client.CustomerClientLinkServiceClient.__doc__ - enums = enums - - -class CustomerClientServiceClient( - customer_client_service_client.CustomerClientServiceClient): - __doc__ = customer_client_service_client.CustomerClientServiceClient.__doc__ - enums = enums - - -class CustomerExtensionSettingServiceClient( - customer_extension_setting_service_client.CustomerExtensionSettingServiceClient): - __doc__ = customer_extension_setting_service_client.CustomerExtensionSettingServiceClient.__doc__ - enums = enums - - -class CustomerFeedServiceClient( - customer_feed_service_client.CustomerFeedServiceClient): - __doc__ = customer_feed_service_client.CustomerFeedServiceClient.__doc__ - enums = enums - - -class CustomerLabelServiceClient( - customer_label_service_client.CustomerLabelServiceClient): - __doc__ = customer_label_service_client.CustomerLabelServiceClient.__doc__ - enums = enums - - -class CustomerManagerLinkServiceClient( - customer_manager_link_service_client.CustomerManagerLinkServiceClient): - __doc__ = customer_manager_link_service_client.CustomerManagerLinkServiceClient.__doc__ - enums = enums - - -class CustomerNegativeCriterionServiceClient( - customer_negative_criterion_service_client.CustomerNegativeCriterionServiceClient): - __doc__ = customer_negative_criterion_service_client.CustomerNegativeCriterionServiceClient.__doc__ - enums = enums - - -class CustomerServiceClient( - customer_service_client.CustomerServiceClient): - __doc__ = customer_service_client.CustomerServiceClient.__doc__ - enums = enums - - -class CustomInterestServiceClient( - custom_interest_service_client.CustomInterestServiceClient): - __doc__ = custom_interest_service_client.CustomInterestServiceClient.__doc__ - enums = enums - - -class DetailPlacementViewServiceClient( - detail_placement_view_service_client.DetailPlacementViewServiceClient): - __doc__ = detail_placement_view_service_client.DetailPlacementViewServiceClient.__doc__ - enums = enums - - -class DisplayKeywordViewServiceClient( - display_keyword_view_service_client.DisplayKeywordViewServiceClient): - __doc__ = display_keyword_view_service_client.DisplayKeywordViewServiceClient.__doc__ - enums = enums - - -class DomainCategoryServiceClient( - domain_category_service_client.DomainCategoryServiceClient): - __doc__ = domain_category_service_client.DomainCategoryServiceClient.__doc__ - enums = enums - - -class DynamicSearchAdsSearchTermViewServiceClient( - dynamic_search_ads_search_term_view_service_client.DynamicSearchAdsSearchTermViewServiceClient): - __doc__ = dynamic_search_ads_search_term_view_service_client.DynamicSearchAdsSearchTermViewServiceClient.__doc__ - enums = enums - - -class ExpandedLandingPageViewServiceClient( - expanded_landing_page_view_service_client.ExpandedLandingPageViewServiceClient): - __doc__ = expanded_landing_page_view_service_client.ExpandedLandingPageViewServiceClient.__doc__ - enums = enums - - -class ExtensionFeedItemServiceClient( - extension_feed_item_service_client.ExtensionFeedItemServiceClient): - __doc__ = extension_feed_item_service_client.ExtensionFeedItemServiceClient.__doc__ - enums = enums - - -class FeedItemServiceClient( - feed_item_service_client.FeedItemServiceClient): - __doc__ = feed_item_service_client.FeedItemServiceClient.__doc__ - enums = enums - - -class FeedItemTargetServiceClient( - feed_item_target_service_client.FeedItemTargetServiceClient): - __doc__ = feed_item_target_service_client.FeedItemTargetServiceClient.__doc__ - enums = enums - - -class FeedMappingServiceClient( - feed_mapping_service_client.FeedMappingServiceClient): - __doc__ = feed_mapping_service_client.FeedMappingServiceClient.__doc__ - enums = enums - - -class FeedPlaceholderViewServiceClient( - feed_placeholder_view_service_client.FeedPlaceholderViewServiceClient): - __doc__ = feed_placeholder_view_service_client.FeedPlaceholderViewServiceClient.__doc__ - enums = enums - - -class FeedServiceClient( - feed_service_client.FeedServiceClient): - __doc__ = feed_service_client.FeedServiceClient.__doc__ - enums = enums - - -class GenderViewServiceClient( - gender_view_service_client.GenderViewServiceClient): - __doc__ = gender_view_service_client.GenderViewServiceClient.__doc__ - enums = enums - - -class GeographicViewServiceClient( - geographic_view_service_client.GeographicViewServiceClient): - __doc__ = geographic_view_service_client.GeographicViewServiceClient.__doc__ - enums = enums - - -class GeoTargetConstantServiceClient( - geo_target_constant_service_client.GeoTargetConstantServiceClient): - __doc__ = geo_target_constant_service_client.GeoTargetConstantServiceClient.__doc__ - enums = enums - - -class GoogleAdsFieldServiceClient( - google_ads_field_service_client.GoogleAdsFieldServiceClient): - __doc__ = google_ads_field_service_client.GoogleAdsFieldServiceClient.__doc__ - enums = enums - - -class GoogleAdsServiceClient( - google_ads_service_client.GoogleAdsServiceClient): - __doc__ = google_ads_service_client.GoogleAdsServiceClient.__doc__ - enums = enums - - -class GroupPlacementViewServiceClient( - group_placement_view_service_client.GroupPlacementViewServiceClient): - __doc__ = group_placement_view_service_client.GroupPlacementViewServiceClient.__doc__ - enums = enums - - -class HotelGroupViewServiceClient( - hotel_group_view_service_client.HotelGroupViewServiceClient): - __doc__ = hotel_group_view_service_client.HotelGroupViewServiceClient.__doc__ - enums = enums - - -class HotelPerformanceViewServiceClient( - hotel_performance_view_service_client.HotelPerformanceViewServiceClient): - __doc__ = hotel_performance_view_service_client.HotelPerformanceViewServiceClient.__doc__ - enums = enums - - -class KeywordPlanAdGroupServiceClient( - keyword_plan_ad_group_service_client.KeywordPlanAdGroupServiceClient): - __doc__ = keyword_plan_ad_group_service_client.KeywordPlanAdGroupServiceClient.__doc__ - enums = enums - - -class KeywordPlanCampaignServiceClient( - keyword_plan_campaign_service_client.KeywordPlanCampaignServiceClient): - __doc__ = keyword_plan_campaign_service_client.KeywordPlanCampaignServiceClient.__doc__ - enums = enums - - -class KeywordPlanIdeaServiceClient( - keyword_plan_idea_service_client.KeywordPlanIdeaServiceClient): - __doc__ = keyword_plan_idea_service_client.KeywordPlanIdeaServiceClient.__doc__ - enums = enums - - -class KeywordPlanKeywordServiceClient( - keyword_plan_keyword_service_client.KeywordPlanKeywordServiceClient): - __doc__ = keyword_plan_keyword_service_client.KeywordPlanKeywordServiceClient.__doc__ - enums = enums - - -class KeywordPlanNegativeKeywordServiceClient( - keyword_plan_negative_keyword_service_client.KeywordPlanNegativeKeywordServiceClient): - __doc__ = keyword_plan_negative_keyword_service_client.KeywordPlanNegativeKeywordServiceClient.__doc__ - enums = enums - - -class KeywordPlanServiceClient( - keyword_plan_service_client.KeywordPlanServiceClient): - __doc__ = keyword_plan_service_client.KeywordPlanServiceClient.__doc__ - enums = enums - - -class KeywordViewServiceClient( - keyword_view_service_client.KeywordViewServiceClient): - __doc__ = keyword_view_service_client.KeywordViewServiceClient.__doc__ - enums = enums - - -class LabelServiceClient( - label_service_client.LabelServiceClient): - __doc__ = label_service_client.LabelServiceClient.__doc__ - enums = enums - - -class LandingPageViewServiceClient( - landing_page_view_service_client.LandingPageViewServiceClient): - __doc__ = landing_page_view_service_client.LandingPageViewServiceClient.__doc__ - enums = enums - - -class LanguageConstantServiceClient( - language_constant_service_client.LanguageConstantServiceClient): - __doc__ = language_constant_service_client.LanguageConstantServiceClient.__doc__ - enums = enums - - -class LocationViewServiceClient( - location_view_service_client.LocationViewServiceClient): - __doc__ = location_view_service_client.LocationViewServiceClient.__doc__ - enums = enums - - -class ManagedPlacementViewServiceClient( - managed_placement_view_service_client.ManagedPlacementViewServiceClient): - __doc__ = managed_placement_view_service_client.ManagedPlacementViewServiceClient.__doc__ - enums = enums - - -class MediaFileServiceClient( - media_file_service_client.MediaFileServiceClient): - __doc__ = media_file_service_client.MediaFileServiceClient.__doc__ - enums = enums - - -class MerchantCenterLinkServiceClient( - merchant_center_link_service_client.MerchantCenterLinkServiceClient): - __doc__ = merchant_center_link_service_client.MerchantCenterLinkServiceClient.__doc__ - enums = enums - - -class MobileAppCategoryConstantServiceClient( - mobile_app_category_constant_service_client.MobileAppCategoryConstantServiceClient): - __doc__ = mobile_app_category_constant_service_client.MobileAppCategoryConstantServiceClient.__doc__ - enums = enums - - -class MobileDeviceConstantServiceClient( - mobile_device_constant_service_client.MobileDeviceConstantServiceClient): - __doc__ = mobile_device_constant_service_client.MobileDeviceConstantServiceClient.__doc__ - enums = enums - - -class MutateJobServiceClient( - mutate_job_service_client.MutateJobServiceClient): - __doc__ = mutate_job_service_client.MutateJobServiceClient.__doc__ - enums = enums - - -class OperatingSystemVersionConstantServiceClient( - operating_system_version_constant_service_client.OperatingSystemVersionConstantServiceClient): - __doc__ = operating_system_version_constant_service_client.OperatingSystemVersionConstantServiceClient.__doc__ - enums = enums - - -class PaidOrganicSearchTermViewServiceClient( - paid_organic_search_term_view_service_client.PaidOrganicSearchTermViewServiceClient): - __doc__ = paid_organic_search_term_view_service_client.PaidOrganicSearchTermViewServiceClient.__doc__ - enums = enums - - -class ParentalStatusViewServiceClient( - parental_status_view_service_client.ParentalStatusViewServiceClient): - __doc__ = parental_status_view_service_client.ParentalStatusViewServiceClient.__doc__ - enums = enums - - -class PaymentsAccountServiceClient( - payments_account_service_client.PaymentsAccountServiceClient): - __doc__ = payments_account_service_client.PaymentsAccountServiceClient.__doc__ - enums = enums - - -class ProductBiddingCategoryConstantServiceClient( - product_bidding_category_constant_service_client.ProductBiddingCategoryConstantServiceClient): - __doc__ = product_bidding_category_constant_service_client.ProductBiddingCategoryConstantServiceClient.__doc__ - enums = enums - - -class ProductGroupViewServiceClient( - product_group_view_service_client.ProductGroupViewServiceClient): - __doc__ = product_group_view_service_client.ProductGroupViewServiceClient.__doc__ - enums = enums - - -class RecommendationServiceClient( - recommendation_service_client.RecommendationServiceClient): - __doc__ = recommendation_service_client.RecommendationServiceClient.__doc__ - enums = enums - - -class RemarketingActionServiceClient( - remarketing_action_service_client.RemarketingActionServiceClient): - __doc__ = remarketing_action_service_client.RemarketingActionServiceClient.__doc__ - enums = enums - - -class SearchTermViewServiceClient( - search_term_view_service_client.SearchTermViewServiceClient): - __doc__ = search_term_view_service_client.SearchTermViewServiceClient.__doc__ - enums = enums - - -class SharedCriterionServiceClient( - shared_criterion_service_client.SharedCriterionServiceClient): - __doc__ = shared_criterion_service_client.SharedCriterionServiceClient.__doc__ - enums = enums - - -class SharedSetServiceClient( - shared_set_service_client.SharedSetServiceClient): - __doc__ = shared_set_service_client.SharedSetServiceClient.__doc__ - enums = enums - - -class ShoppingPerformanceViewServiceClient( - shopping_performance_view_service_client.ShoppingPerformanceViewServiceClient): - __doc__ = shopping_performance_view_service_client.ShoppingPerformanceViewServiceClient.__doc__ - enums = enums - - -class TopicConstantServiceClient( - topic_constant_service_client.TopicConstantServiceClient): - __doc__ = topic_constant_service_client.TopicConstantServiceClient.__doc__ - enums = enums - - -class TopicViewServiceClient( - topic_view_service_client.TopicViewServiceClient): - __doc__ = topic_view_service_client.TopicViewServiceClient.__doc__ - enums = enums - - -class UserInterestServiceClient( - user_interest_service_client.UserInterestServiceClient): - __doc__ = user_interest_service_client.UserInterestServiceClient.__doc__ - enums = enums - - -class UserListServiceClient( - user_list_service_client.UserListServiceClient): - __doc__ = user_list_service_client.UserListServiceClient.__doc__ - enums = enums - - -class VideoServiceClient( - video_service_client.VideoServiceClient): - __doc__ = video_service_client.VideoServiceClient.__doc__ - enums = enums - - -class AccountBudgetProposalServiceGrpcTransport( - account_budget_proposal_service_grpc_transport.AccountBudgetProposalServiceGrpcTransport): - __doc__ = account_budget_proposal_service_grpc_transport.AccountBudgetProposalServiceGrpcTransport.__doc__ - - -class AccountBudgetServiceGrpcTransport( - account_budget_service_grpc_transport.AccountBudgetServiceGrpcTransport): - __doc__ = account_budget_service_grpc_transport.AccountBudgetServiceGrpcTransport.__doc__ - - -class AdGroupAdLabelServiceGrpcTransport( - ad_group_ad_label_service_grpc_transport.AdGroupAdLabelServiceGrpcTransport): - __doc__ = ad_group_ad_label_service_grpc_transport.AdGroupAdLabelServiceGrpcTransport.__doc__ - - -class AdGroupAdServiceGrpcTransport( - ad_group_ad_service_grpc_transport.AdGroupAdServiceGrpcTransport): - __doc__ = ad_group_ad_service_grpc_transport.AdGroupAdServiceGrpcTransport.__doc__ - - -class AdGroupAudienceViewServiceGrpcTransport( - ad_group_audience_view_service_grpc_transport.AdGroupAudienceViewServiceGrpcTransport): - __doc__ = ad_group_audience_view_service_grpc_transport.AdGroupAudienceViewServiceGrpcTransport.__doc__ - - -class AdGroupBidModifierServiceGrpcTransport( - ad_group_bid_modifier_service_grpc_transport.AdGroupBidModifierServiceGrpcTransport): - __doc__ = ad_group_bid_modifier_service_grpc_transport.AdGroupBidModifierServiceGrpcTransport.__doc__ - - -class AdGroupCriterionLabelServiceGrpcTransport( - ad_group_criterion_label_service_grpc_transport.AdGroupCriterionLabelServiceGrpcTransport): - __doc__ = ad_group_criterion_label_service_grpc_transport.AdGroupCriterionLabelServiceGrpcTransport.__doc__ - - -class AdGroupCriterionServiceGrpcTransport( - ad_group_criterion_service_grpc_transport.AdGroupCriterionServiceGrpcTransport): - __doc__ = ad_group_criterion_service_grpc_transport.AdGroupCriterionServiceGrpcTransport.__doc__ - - -class AdGroupCriterionSimulationServiceGrpcTransport( - ad_group_criterion_simulation_service_grpc_transport.AdGroupCriterionSimulationServiceGrpcTransport): - __doc__ = ad_group_criterion_simulation_service_grpc_transport.AdGroupCriterionSimulationServiceGrpcTransport.__doc__ - - -class AdGroupExtensionSettingServiceGrpcTransport( - ad_group_extension_setting_service_grpc_transport.AdGroupExtensionSettingServiceGrpcTransport): - __doc__ = ad_group_extension_setting_service_grpc_transport.AdGroupExtensionSettingServiceGrpcTransport.__doc__ - - -class AdGroupFeedServiceGrpcTransport( - ad_group_feed_service_grpc_transport.AdGroupFeedServiceGrpcTransport): - __doc__ = ad_group_feed_service_grpc_transport.AdGroupFeedServiceGrpcTransport.__doc__ - - -class AdGroupLabelServiceGrpcTransport( - ad_group_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport): - __doc__ = ad_group_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport.__doc__ - - -class AdGroupServiceGrpcTransport( - ad_group_service_grpc_transport.AdGroupServiceGrpcTransport): - __doc__ = ad_group_service_grpc_transport.AdGroupServiceGrpcTransport.__doc__ - - -class AdGroupSimulationServiceGrpcTransport( - ad_group_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport): - __doc__ = ad_group_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport.__doc__ - - -class AdParameterServiceGrpcTransport( - ad_parameter_service_grpc_transport.AdParameterServiceGrpcTransport): - __doc__ = ad_parameter_service_grpc_transport.AdParameterServiceGrpcTransport.__doc__ - - -class AdScheduleViewServiceGrpcTransport( - ad_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport): - __doc__ = ad_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport.__doc__ - - -class AgeRangeViewServiceGrpcTransport( - age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport): - __doc__ = age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport.__doc__ - - -class AssetServiceGrpcTransport( - asset_service_grpc_transport.AssetServiceGrpcTransport): - __doc__ = asset_service_grpc_transport.AssetServiceGrpcTransport.__doc__ - - -class BiddingStrategyServiceGrpcTransport( - bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport): - __doc__ = bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport.__doc__ - - -class BillingSetupServiceGrpcTransport( - billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport): - __doc__ = billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport.__doc__ - - -class CampaignAudienceViewServiceGrpcTransport( - campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport): - __doc__ = campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport.__doc__ - - -class CampaignBidModifierServiceGrpcTransport( - campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport): - __doc__ = campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport.__doc__ - - -class CampaignBudgetServiceGrpcTransport( - campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport): - __doc__ = campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport.__doc__ - - -class CampaignCriterionServiceGrpcTransport( - campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport): - __doc__ = campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport.__doc__ - - -class CampaignCriterionSimulationServiceGrpcTransport( - campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport): - __doc__ = campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport.__doc__ - - -class CampaignDraftServiceGrpcTransport( - campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport): - __doc__ = campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport.__doc__ - - -class CampaignExperimentServiceGrpcTransport( - campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport): - __doc__ = campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport.__doc__ - - -class CampaignExtensionSettingServiceGrpcTransport( - campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport): - __doc__ = campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport.__doc__ - - -class CampaignFeedServiceGrpcTransport( - campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport): - __doc__ = campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport.__doc__ - - -class CampaignLabelServiceGrpcTransport( - campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport): - __doc__ = campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport.__doc__ - - -class CampaignServiceGrpcTransport( - campaign_service_grpc_transport.CampaignServiceGrpcTransport): - __doc__ = campaign_service_grpc_transport.CampaignServiceGrpcTransport.__doc__ - - -class CampaignSharedSetServiceGrpcTransport( - campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport): - __doc__ = campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport.__doc__ - - -class CarrierConstantServiceGrpcTransport( - carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport): - __doc__ = carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport.__doc__ - - -class ChangeStatusServiceGrpcTransport( - change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport): - __doc__ = change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport.__doc__ - - -class ClickViewServiceGrpcTransport( - click_view_service_grpc_transport.ClickViewServiceGrpcTransport): - __doc__ = click_view_service_grpc_transport.ClickViewServiceGrpcTransport.__doc__ - - -class ConversionActionServiceGrpcTransport( - conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport): - __doc__ = conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport.__doc__ - - -class ConversionAdjustmentUploadServiceGrpcTransport( - conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport): - __doc__ = conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport.__doc__ - - -class ConversionUploadServiceGrpcTransport( - conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport): - __doc__ = conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport.__doc__ - - -class CustomerClientLinkServiceGrpcTransport( - customer_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport): - __doc__ = customer_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport.__doc__ - - -class CustomerClientServiceGrpcTransport( - customer_client_service_grpc_transport.CustomerClientServiceGrpcTransport): - __doc__ = customer_client_service_grpc_transport.CustomerClientServiceGrpcTransport.__doc__ - - -class CustomerExtensionSettingServiceGrpcTransport( - customer_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport): - __doc__ = customer_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport.__doc__ - - -class CustomerFeedServiceGrpcTransport( - customer_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport): - __doc__ = customer_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport.__doc__ - - -class CustomerLabelServiceGrpcTransport( - customer_label_service_grpc_transport.CustomerLabelServiceGrpcTransport): - __doc__ = customer_label_service_grpc_transport.CustomerLabelServiceGrpcTransport.__doc__ - - -class CustomerManagerLinkServiceGrpcTransport( - customer_manager_link_service_grpc_transport.CustomerManagerLinkServiceGrpcTransport): - __doc__ = customer_manager_link_service_grpc_transport.CustomerManagerLinkServiceGrpcTransport.__doc__ - - -class CustomerNegativeCriterionServiceGrpcTransport( - customer_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport): - __doc__ = customer_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport.__doc__ - - -class CustomerServiceGrpcTransport( - customer_service_grpc_transport.CustomerServiceGrpcTransport): - __doc__ = customer_service_grpc_transport.CustomerServiceGrpcTransport.__doc__ - - -class CustomInterestServiceGrpcTransport( - custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport): - __doc__ = custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport.__doc__ - - -class DetailPlacementViewServiceGrpcTransport( - detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport): - __doc__ = detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport.__doc__ - - -class DisplayKeywordViewServiceGrpcTransport( - display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport): - __doc__ = display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport.__doc__ - - -class DomainCategoryServiceGrpcTransport( - domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport): - __doc__ = domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport.__doc__ - - -class DynamicSearchAdsSearchTermViewServiceGrpcTransport( - dynamic_search_ads_search_term_view_service_grpc_transport.DynamicSearchAdsSearchTermViewServiceGrpcTransport): - __doc__ = dynamic_search_ads_search_term_view_service_grpc_transport.DynamicSearchAdsSearchTermViewServiceGrpcTransport.__doc__ - - -class ExpandedLandingPageViewServiceGrpcTransport( - expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport): - __doc__ = expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport.__doc__ - - -class ExtensionFeedItemServiceGrpcTransport( - extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport): - __doc__ = extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport.__doc__ - - -class FeedItemServiceGrpcTransport( - feed_item_service_grpc_transport.FeedItemServiceGrpcTransport): - __doc__ = feed_item_service_grpc_transport.FeedItemServiceGrpcTransport.__doc__ - - -class FeedItemTargetServiceGrpcTransport( - feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport): - __doc__ = feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport.__doc__ - - -class FeedMappingServiceGrpcTransport( - feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport): - __doc__ = feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport.__doc__ - - -class FeedPlaceholderViewServiceGrpcTransport( - feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport): - __doc__ = feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport.__doc__ - - -class FeedServiceGrpcTransport( - feed_service_grpc_transport.FeedServiceGrpcTransport): - __doc__ = feed_service_grpc_transport.FeedServiceGrpcTransport.__doc__ - - -class GenderViewServiceGrpcTransport( - gender_view_service_grpc_transport.GenderViewServiceGrpcTransport): - __doc__ = gender_view_service_grpc_transport.GenderViewServiceGrpcTransport.__doc__ - - -class GeographicViewServiceGrpcTransport( - geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport): - __doc__ = geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport.__doc__ - - -class GeoTargetConstantServiceGrpcTransport( - geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport): - __doc__ = geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport.__doc__ - - -class GoogleAdsFieldServiceGrpcTransport( - google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport): - __doc__ = google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport.__doc__ - - -class GoogleAdsServiceGrpcTransport( - google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport): - __doc__ = google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport.__doc__ - - -class GroupPlacementViewServiceGrpcTransport( - group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport): - __doc__ = group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport.__doc__ - - -class HotelGroupViewServiceGrpcTransport( - hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport): - __doc__ = hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport.__doc__ - - -class HotelPerformanceViewServiceGrpcTransport( - hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport): - __doc__ = hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport.__doc__ - - -class KeywordPlanAdGroupServiceGrpcTransport( - keyword_plan_ad_group_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport): - __doc__ = keyword_plan_ad_group_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport.__doc__ - - -class KeywordPlanCampaignServiceGrpcTransport( - keyword_plan_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport): - __doc__ = keyword_plan_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport.__doc__ - - -class KeywordPlanIdeaServiceGrpcTransport( - keyword_plan_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport): - __doc__ = keyword_plan_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport.__doc__ - - -class KeywordPlanKeywordServiceGrpcTransport( - keyword_plan_keyword_service_grpc_transport.KeywordPlanKeywordServiceGrpcTransport): - __doc__ = keyword_plan_keyword_service_grpc_transport.KeywordPlanKeywordServiceGrpcTransport.__doc__ - - -class KeywordPlanNegativeKeywordServiceGrpcTransport( - keyword_plan_negative_keyword_service_grpc_transport.KeywordPlanNegativeKeywordServiceGrpcTransport): - __doc__ = keyword_plan_negative_keyword_service_grpc_transport.KeywordPlanNegativeKeywordServiceGrpcTransport.__doc__ - - -class KeywordPlanServiceGrpcTransport( - keyword_plan_service_grpc_transport.KeywordPlanServiceGrpcTransport): - __doc__ = keyword_plan_service_grpc_transport.KeywordPlanServiceGrpcTransport.__doc__ - - -class KeywordViewServiceGrpcTransport( - keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport): - __doc__ = keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport.__doc__ - - -class LabelServiceGrpcTransport( - label_service_grpc_transport.LabelServiceGrpcTransport): - __doc__ = label_service_grpc_transport.LabelServiceGrpcTransport.__doc__ - - -class LandingPageViewServiceGrpcTransport( - landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport): - __doc__ = landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport.__doc__ - - -class LanguageConstantServiceGrpcTransport( - language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport): - __doc__ = language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport.__doc__ - - -class LocationViewServiceGrpcTransport( - location_view_service_grpc_transport.LocationViewServiceGrpcTransport): - __doc__ = location_view_service_grpc_transport.LocationViewServiceGrpcTransport.__doc__ - - -class ManagedPlacementViewServiceGrpcTransport( - managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport): - __doc__ = managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport.__doc__ - - -class MediaFileServiceGrpcTransport( - media_file_service_grpc_transport.MediaFileServiceGrpcTransport): - __doc__ = media_file_service_grpc_transport.MediaFileServiceGrpcTransport.__doc__ - - -class MerchantCenterLinkServiceGrpcTransport( - merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport): - __doc__ = merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport.__doc__ - - -class MobileAppCategoryConstantServiceGrpcTransport( - mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport): - __doc__ = mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport.__doc__ - - -class MobileDeviceConstantServiceGrpcTransport( - mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport): - __doc__ = mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport.__doc__ - - -class MutateJobServiceGrpcTransport( - mutate_job_service_grpc_transport.MutateJobServiceGrpcTransport): - __doc__ = mutate_job_service_grpc_transport.MutateJobServiceGrpcTransport.__doc__ - - -class OperatingSystemVersionConstantServiceGrpcTransport( - operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport): - __doc__ = operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport.__doc__ - - -class PaidOrganicSearchTermViewServiceGrpcTransport( - paid_organic_search_term_view_service_grpc_transport.PaidOrganicSearchTermViewServiceGrpcTransport): - __doc__ = paid_organic_search_term_view_service_grpc_transport.PaidOrganicSearchTermViewServiceGrpcTransport.__doc__ - - -class ParentalStatusViewServiceGrpcTransport( - parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport): - __doc__ = parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport.__doc__ - - -class PaymentsAccountServiceGrpcTransport( - payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport): - __doc__ = payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport.__doc__ - - -class ProductBiddingCategoryConstantServiceGrpcTransport( - product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport): - __doc__ = product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport.__doc__ - - -class ProductGroupViewServiceGrpcTransport( - product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport): - __doc__ = product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport.__doc__ - - -class RecommendationServiceGrpcTransport( - recommendation_service_grpc_transport.RecommendationServiceGrpcTransport): - __doc__ = recommendation_service_grpc_transport.RecommendationServiceGrpcTransport.__doc__ - - -class RemarketingActionServiceGrpcTransport( - remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport): - __doc__ = remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport.__doc__ - - -class SearchTermViewServiceGrpcTransport( - search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport): - __doc__ = search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport.__doc__ - - -class SharedCriterionServiceGrpcTransport( - shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport): - __doc__ = shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport.__doc__ - - -class SharedSetServiceGrpcTransport( - shared_set_service_grpc_transport.SharedSetServiceGrpcTransport): - __doc__ = shared_set_service_grpc_transport.SharedSetServiceGrpcTransport.__doc__ - - -class ShoppingPerformanceViewServiceGrpcTransport( - shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport): - __doc__ = shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport.__doc__ - - -class TopicConstantServiceGrpcTransport( - topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport): - __doc__ = topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport.__doc__ - - -class TopicViewServiceGrpcTransport( - topic_view_service_grpc_transport.TopicViewServiceGrpcTransport): - __doc__ = topic_view_service_grpc_transport.TopicViewServiceGrpcTransport.__doc__ - - -class UserInterestServiceGrpcTransport( - user_interest_service_grpc_transport.UserInterestServiceGrpcTransport): - __doc__ = user_interest_service_grpc_transport.UserInterestServiceGrpcTransport.__doc__ - - -class UserListServiceGrpcTransport( - user_list_service_grpc_transport.UserListServiceGrpcTransport): - __doc__ = user_list_service_grpc_transport.UserListServiceGrpcTransport.__doc__ - - -class VideoServiceGrpcTransport( - video_service_grpc_transport.VideoServiceGrpcTransport): - __doc__ = video_service_grpc_transport.VideoServiceGrpcTransport.__doc__ - - -__all__ = ( - 'enums', - 'types', - 'AccountBudgetProposalServiceClient', - 'AccountBudgetServiceClient', - 'AdGroupAdLabelServiceClient', - 'AdGroupAdServiceClient', - 'AdGroupAudienceViewServiceClient', - 'AdGroupBidModifierServiceClient', - 'AdGroupCriterionLabelServiceClient', - 'AdGroupCriterionServiceClient', - 'AdGroupCriterionSimulationServiceClient', - 'AdGroupExtensionSettingServiceClient', - 'AdGroupFeedServiceClient', - 'AdGroupLabelServiceClient', - 'AdGroupServiceClient', - 'AdGroupSimulationServiceClient', - 'AdParameterServiceClient', - 'AdScheduleViewServiceClient', - 'AgeRangeViewServiceClient', - 'AssetServiceClient', - 'BiddingStrategyServiceClient', - 'BillingSetupServiceClient', - 'CampaignAudienceViewServiceClient', - 'CampaignBidModifierServiceClient', - 'CampaignBudgetServiceClient', - 'CampaignCriterionServiceClient', - 'CampaignCriterionSimulationServiceClient', - 'CampaignDraftServiceClient', - 'CampaignExperimentServiceClient', - 'CampaignExtensionSettingServiceClient', - 'CampaignFeedServiceClient', - 'CampaignLabelServiceClient', - 'CampaignServiceClient', - 'CampaignSharedSetServiceClient', - 'CarrierConstantServiceClient', - 'ChangeStatusServiceClient', - 'ClickViewServiceClient', - 'ConversionActionServiceClient', - 'ConversionAdjustmentUploadServiceClient', - 'ConversionUploadServiceClient', - 'CustomerClientLinkServiceClient', - 'CustomerClientServiceClient', - 'CustomerExtensionSettingServiceClient', - 'CustomerFeedServiceClient', - 'CustomerLabelServiceClient', - 'CustomerManagerLinkServiceClient', - 'CustomerNegativeCriterionServiceClient', - 'CustomerServiceClient', - 'CustomInterestServiceClient', - 'DetailPlacementViewServiceClient', - 'DisplayKeywordViewServiceClient', - 'DomainCategoryServiceClient', - 'DynamicSearchAdsSearchTermViewServiceClient', - 'ExpandedLandingPageViewServiceClient', - 'ExtensionFeedItemServiceClient', - 'FeedItemServiceClient', - 'FeedItemTargetServiceClient', - 'FeedMappingServiceClient', - 'FeedPlaceholderViewServiceClient', - 'FeedServiceClient', - 'GenderViewServiceClient', - 'GeographicViewServiceClient', - 'GeoTargetConstantServiceClient', - 'GoogleAdsFieldServiceClient', - 'GoogleAdsServiceClient', - 'GroupPlacementViewServiceClient', - 'HotelGroupViewServiceClient', - 'HotelPerformanceViewServiceClient', - 'KeywordPlanAdGroupServiceClient', - 'KeywordPlanCampaignServiceClient', - 'KeywordPlanIdeaServiceClient', - 'KeywordPlanKeywordServiceClient', - 'KeywordPlanNegativeKeywordServiceClient', - 'KeywordPlanServiceClient', - 'KeywordViewServiceClient', - 'LabelServiceClient', - 'LandingPageViewServiceClient', - 'LanguageConstantServiceClient', - 'LocationViewServiceClient', - 'ManagedPlacementViewServiceClient', - 'MediaFileServiceClient', - 'MerchantCenterLinkServiceClient', - 'MobileAppCategoryConstantServiceClient', - 'MobileDeviceConstantServiceClient', - 'MutateJobServiceClient', - 'OperatingSystemVersionConstantServiceClient', - 'PaidOrganicSearchTermViewServiceClient', - 'ParentalStatusViewServiceClient', - 'PaymentsAccountServiceClient', - 'ProductBiddingCategoryConstantServiceClient', - 'ProductGroupViewServiceClient', - 'RecommendationServiceClient', - 'RemarketingActionServiceClient', - 'SearchTermViewServiceClient', - 'SharedCriterionServiceClient', - 'SharedSetServiceClient', - 'ShoppingPerformanceViewServiceClient', - 'TopicConstantServiceClient', - 'TopicViewServiceClient', - 'UserInterestServiceClient', - 'UserListServiceClient', - 'VideoServiceClient', - 'AccountBudgetProposalServiceGrpcTransport', - 'AccountBudgetServiceGrpcTransport', - 'AdGroupAdLabelServiceGrpcTransport', - 'AdGroupAdServiceGrpcTransport', - 'AdGroupAudienceViewServiceGrpcTransport', - 'AdGroupBidModifierServiceGrpcTransport', - 'AdGroupCriterionLabelServiceGrpcTransport', - 'AdGroupCriterionServiceGrpcTransport', - 'AdGroupCriterionSimulationServiceGrpcTransport', - 'AdGroupExtensionSettingServiceGrpcTransport', - 'AdGroupFeedServiceGrpcTransport', - 'AdGroupLabelServiceGrpcTransport', - 'AdGroupServiceGrpcTransport', - 'AdGroupSimulationServiceGrpcTransport', - 'AdParameterServiceGrpcTransport', - 'AdScheduleViewServiceGrpcTransport', - 'AgeRangeViewServiceGrpcTransport', - 'AssetServiceGrpcTransport', - 'BiddingStrategyServiceGrpcTransport', - 'BillingSetupServiceGrpcTransport', - 'CampaignAudienceViewServiceGrpcTransport', - 'CampaignBidModifierServiceGrpcTransport', - 'CampaignBudgetServiceGrpcTransport', - 'CampaignCriterionServiceGrpcTransport', - 'CampaignCriterionSimulationServiceGrpcTransport', - 'CampaignDraftServiceGrpcTransport', - 'CampaignExperimentServiceGrpcTransport', - 'CampaignExtensionSettingServiceGrpcTransport', - 'CampaignFeedServiceGrpcTransport', - 'CampaignLabelServiceGrpcTransport', - 'CampaignServiceGrpcTransport', - 'CampaignSharedSetServiceGrpcTransport', - 'CarrierConstantServiceGrpcTransport', - 'ChangeStatusServiceGrpcTransport', - 'ClickViewServiceGrpcTransport', - 'ConversionActionServiceGrpcTransport', - 'ConversionAdjustmentUploadServiceGrpcTransport', - 'ConversionUploadServiceGrpcTransport', - 'CustomerClientLinkServiceGrpcTransport', - 'CustomerClientServiceGrpcTransport', - 'CustomerExtensionSettingServiceGrpcTransport', - 'CustomerFeedServiceGrpcTransport', - 'CustomerLabelServiceGrpcTransport', - 'CustomerManagerLinkServiceGrpcTransport', - 'CustomerNegativeCriterionServiceGrpcTransport', - 'CustomerServiceGrpcTransport', - 'CustomInterestServiceGrpcTransport', - 'DetailPlacementViewServiceGrpcTransport', - 'DisplayKeywordViewServiceGrpcTransport', - 'DomainCategoryServiceGrpcTransport', - 'DynamicSearchAdsSearchTermViewServiceGrpcTransport', - 'ExpandedLandingPageViewServiceGrpcTransport', - 'ExtensionFeedItemServiceGrpcTransport', - 'FeedItemServiceGrpcTransport', - 'FeedItemTargetServiceGrpcTransport', - 'FeedMappingServiceGrpcTransport', - 'FeedPlaceholderViewServiceGrpcTransport', - 'FeedServiceGrpcTransport', - 'GenderViewServiceGrpcTransport', - 'GeographicViewServiceGrpcTransport', - 'GeoTargetConstantServiceGrpcTransport', - 'GoogleAdsFieldServiceGrpcTransport', - 'GoogleAdsServiceGrpcTransport', - 'GroupPlacementViewServiceGrpcTransport', - 'HotelGroupViewServiceGrpcTransport', - 'HotelPerformanceViewServiceGrpcTransport', - 'KeywordPlanAdGroupServiceGrpcTransport', - 'KeywordPlanCampaignServiceGrpcTransport', - 'KeywordPlanIdeaServiceGrpcTransport', - 'KeywordPlanKeywordServiceGrpcTransport', - 'KeywordPlanNegativeKeywordServiceGrpcTransport', - 'KeywordPlanServiceGrpcTransport', - 'KeywordViewServiceGrpcTransport', - 'LabelServiceGrpcTransport', - 'LandingPageViewServiceGrpcTransport', - 'LanguageConstantServiceGrpcTransport', - 'LocationViewServiceGrpcTransport', - 'ManagedPlacementViewServiceGrpcTransport', - 'MediaFileServiceGrpcTransport', - 'MerchantCenterLinkServiceGrpcTransport', - 'MobileAppCategoryConstantServiceGrpcTransport', - 'MobileDeviceConstantServiceGrpcTransport', - 'MutateJobServiceGrpcTransport', - 'OperatingSystemVersionConstantServiceGrpcTransport', - 'PaidOrganicSearchTermViewServiceGrpcTransport', - 'ParentalStatusViewServiceGrpcTransport', - 'PaymentsAccountServiceGrpcTransport', - 'ProductBiddingCategoryConstantServiceGrpcTransport', - 'ProductGroupViewServiceGrpcTransport', - 'RecommendationServiceGrpcTransport', - 'RemarketingActionServiceGrpcTransport', - 'SearchTermViewServiceGrpcTransport', - 'SharedCriterionServiceGrpcTransport', - 'SharedSetServiceGrpcTransport', - 'ShoppingPerformanceViewServiceGrpcTransport', - 'TopicConstantServiceGrpcTransport', - 'TopicViewServiceGrpcTransport', - 'UserInterestServiceGrpcTransport', - 'UserListServiceGrpcTransport', - 'VideoServiceGrpcTransport', -) diff --git a/google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2.py b/google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2.py deleted file mode 100644 index 37b7cd059..000000000 --- a/google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/keyword_plan_common.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import keyword_plan_competition_level_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/keyword_plan_common.proto', - package='google.ads.googleads.v1.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\026KeywordPlanCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/common/keyword_plan_common.proto\x12\x1egoogle.ads.googleads.v1.common\x1aHgoogle/ads/googleads_v1/proto/enums/keyword_plan_competition_level.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xca\x01\n\x1cKeywordPlanHistoricalMetrics\x12\x39\n\x14\x61vg_monthly_searches\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12o\n\x0b\x63ompetition\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevelB\xf1\x01\n\"com.google.ads.googleads.v1.commonB\x16KeywordPlanCommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_KEYWORDPLANHISTORICALMETRICS = _descriptor.Descriptor( - name='KeywordPlanHistoricalMetrics', - full_name='google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='avg_monthly_searches', full_name='google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics.avg_monthly_searches', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='competition', full_name='google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics.competition', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=235, - serialized_end=437, -) - -_KEYWORDPLANHISTORICALMETRICS.fields_by_name['avg_monthly_searches'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2._KEYWORDPLANCOMPETITIONLEVELENUM_KEYWORDPLANCOMPETITIONLEVEL -DESCRIPTOR.message_types_by_name['KeywordPlanHistoricalMetrics'] = _KEYWORDPLANHISTORICALMETRICS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -KeywordPlanHistoricalMetrics = _reflection.GeneratedProtocolMessageType('KeywordPlanHistoricalMetrics', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANHISTORICALMETRICS, - __module__ = 'google.ads.googleads_v1.proto.common.keyword_plan_common_pb2' - , - __doc__ = """Historical metrics. - - - Attributes: - avg_monthly_searches: - Average monthly searches for the past 12 months. - competition: - The competition level for the query. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics) - )) -_sym_db.RegisterMessage(KeywordPlanHistoricalMetrics) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/common/targeting_setting_pb2.py b/google/ads/google_ads/v1/proto/common/targeting_setting_pb2.py deleted file mode 100644 index 0c8b573c0..000000000 --- a/google/ads/google_ads/v1/proto/common/targeting_setting_pb2.py +++ /dev/null @@ -1,151 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/targeting_setting.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import targeting_dimension_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_targeting__dimension__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/targeting_setting.proto', - package='google.ads.googleads.v1.common', - syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\025TargetingSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/policy_review_status.proto\x1a\x30google/ads/googleads_v1/proto/resources/ad.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfb\x02\n\tAdGroupAd\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12R\n\x06status\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.AdGroupAdStatusEnum.AdGroupAdStatus\x12.\n\x08\x61\x64_group\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x02\x61\x64\x18\x05 \x01(\x0b\x32%.google.ads.googleads.v1.resources.Ad\x12Q\n\x0epolicy_summary\x18\x06 \x01(\x0b\x32\x39.google.ads.googleads.v1.resources.AdGroupAdPolicySummary\x12M\n\x0b\x61\x64_strength\x18\x07 \x01(\x0e\x32\x38.google.ads.googleads.v1.enums.AdStrengthEnum.AdStrength\"\xb0\x02\n\x16\x41\x64GroupAdPolicySummary\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v1.common.PolicyTopicEntry\x12_\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v1.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v1.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\xfb\x01\n%com.google.ads.googleads.v1.resourcesB\x0e\x41\x64GroupAdProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__ad__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__strength__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPAD = _descriptor.Descriptor( - name='AdGroupAd', - full_name='google.ads.googleads.v1.resources.AdGroupAd', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupAd.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.AdGroupAd.status', index=1, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.AdGroupAd.ad_group', index=2, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad', full_name='google.ads.googleads.v1.resources.AdGroupAd.ad', index=3, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='policy_summary', full_name='google.ads.googleads.v1.resources.AdGroupAd.policy_summary', index=4, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_strength', full_name='google.ads.googleads.v1.resources.AdGroupAd.ad_strength', index=5, - number=7, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=507, - serialized_end=886, -) - - -_ADGROUPADPOLICYSUMMARY = _descriptor.Descriptor( - name='AdGroupAdPolicySummary', - full_name='google.ads.googleads.v1.resources.AdGroupAdPolicySummary', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v1.resources.AdGroupAdPolicySummary.policy_topic_entries', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='review_status', full_name='google.ads.googleads.v1.resources.AdGroupAdPolicySummary.review_status', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v1.resources.AdGroupAdPolicySummary.approval_status', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=889, - serialized_end=1193, -) - -_ADGROUPAD.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__ad__status__pb2._ADGROUPADSTATUSENUM_ADGROUPADSTATUS -_ADGROUPAD.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPAD.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2._AD -_ADGROUPAD.fields_by_name['policy_summary'].message_type = _ADGROUPADPOLICYSUMMARY -_ADGROUPAD.fields_by_name['ad_strength'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__strength__pb2._ADSTRENGTHENUM_ADSTRENGTH -_ADGROUPADPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY -_ADGROUPADPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS -_ADGROUPADPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS -DESCRIPTOR.message_types_by_name['AdGroupAd'] = _ADGROUPAD -DESCRIPTOR.message_types_by_name['AdGroupAdPolicySummary'] = _ADGROUPADPOLICYSUMMARY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupAd = _reflection.GeneratedProtocolMessageType('AdGroupAd', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPAD, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_ad_pb2' - , - __doc__ = """An ad group ad. - - - Attributes: - resource_name: - The resource name of the ad. Ad group ad resource names have - the form: - ``customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`` - status: - The status of the ad. - ad_group: - The ad group to which the ad belongs. - ad: - The ad. - policy_summary: - Policy information for the ad. - ad_strength: - Overall ad strength for this ad group ad. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupAd) - )) -_sym_db.RegisterMessage(AdGroupAd) - -AdGroupAdPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdPolicySummary', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPADPOLICYSUMMARY, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_ad_pb2' - , - __doc__ = """Contains policy information for an ad. - - - Attributes: - policy_topic_entries: - The list of policy findings for this ad. - review_status: - Where in the review process this ad is. - approval_status: - The overall approval status of this ad, calculated based on - the status of its individual policy topic entries. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupAdPolicySummary) - )) -_sym_db.RegisterMessage(AdGroupAdPolicySummary) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2.py b/google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2.py deleted file mode 100644 index cb24b73cf..000000000 --- a/google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2.py +++ /dev/null @@ -1,86 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_audience_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_audience_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\030AdGroupAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/resources/ad_group_audience_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\",\n\x13\x41\x64GroupAudienceView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x85\x02\n%com.google.ads.googleads.v1.resourcesB\x18\x41\x64GroupAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPAUDIENCEVIEW = _descriptor.Descriptor( - name='AdGroupAudienceView', - full_name='google.ads.googleads.v1.resources.AdGroupAudienceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupAudienceView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=181, -) - -DESCRIPTOR.message_types_by_name['AdGroupAudienceView'] = _ADGROUPAUDIENCEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupAudienceView = _reflection.GeneratedProtocolMessageType('AdGroupAudienceView', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPAUDIENCEVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_audience_view_pb2' - , - __doc__ = """An ad group audience view. Includes performance data from interests and - remarketing lists for Display Network and YouTube Network ads, and - remarketing lists for search ads (RLSA), aggregated at the audience - level. - - - Attributes: - resource_name: - The resource name of the ad group audience view. Ad group - audience view resource names have the form: ``customers/{cust - omer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupAudienceView) - )) -_sym_db.RegisterMessage(AdGroupAudienceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2.py b/google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2.py deleted file mode 100644 index 85258613b..000000000 --- a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2.py +++ /dev/null @@ -1,105 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_criterion_label.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_criterion_label.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\032AdGroupCriterionLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/resources/ad_group_criterion_label.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x95\x01\n\x15\x41\x64GroupCriterionLabel\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x38\n\x12\x61\x64_group_criterion\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x87\x02\n%com.google.ads.googleads.v1.resourcesB\x1a\x41\x64GroupCriterionLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPCRITERIONLABEL = _descriptor.Descriptor( - name='AdGroupCriterionLabel', - full_name='google.ads.googleads.v1.resources.AdGroupCriterionLabel', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupCriterionLabel.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v1.resources.AdGroupCriterionLabel.ad_group_criterion', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='label', full_name='google.ads.googleads.v1.resources.AdGroupCriterionLabel.label', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=172, - serialized_end=321, -) - -_ADGROUPCRITERIONLABEL.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPCRITERIONLABEL.fields_by_name['label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['AdGroupCriterionLabel'] = _ADGROUPCRITERIONLABEL -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupCriterionLabel = _reflection.GeneratedProtocolMessageType('AdGroupCriterionLabel', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERIONLABEL, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_criterion_label_pb2' - , - __doc__ = """A relationship between an ad group criterion and a label. - - - Attributes: - resource_name: - The resource name of the ad group criterion label. Ad group - criterion label resource names have the form: ``customers/{cu - stomer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id} - ~{label_id}`` - ad_group_criterion: - The ad group criterion to which the label is attached. - label: - The label assigned to the ad group criterion. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupCriterionLabel) - )) -_sym_db.RegisterMessage(AdGroupCriterionLabel) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2.py b/google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2.py deleted file mode 100644 index 76a2047d7..000000000 --- a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2.py +++ /dev/null @@ -1,173 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_criterion_simulation.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_simulation__pb2 -from google.ads.google_ads.v1.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__modification__method__pb2 -from google.ads.google_ads.v1.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_criterion_simulation.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\037AdGroupCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/resources/ad_group_criterion_simulation.proto\x12!google.ads.googleads.v1.resources\x1a\x35google/ads/googleads_v1/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v1/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v1/proto/enums/simulation_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xac\x04\n\x1a\x41\x64GroupCriterionSimulation\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x30\n\x0b\x61\x64_group_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12N\n\x04type\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v1.enums.SimulationTypeEnum.SimulationType\x12y\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v1.enums.SimulationModificationMethodEnum.SimulationModificationMethod\x12\x30\n\nstart_date\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12W\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v1.common.CpcBidSimulationPointListH\x00\x42\x0c\n\npoint_listB\x8c\x02\n%com.google.ads.googleads.v1.resourcesB\x1f\x41\x64GroupCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPCRITERIONSIMULATION = _descriptor.Descriptor( - name='AdGroupCriterionSimulation', - full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_id', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.ad_group_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.criterion_id', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='modification_method', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.modification_method', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.start_date', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.end_date', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cpc_bid_point_list', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.cpc_bid_point_list', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='point_list', full_name='google.ads.googleads.v1.resources.AdGroupCriterionSimulation.point_list', - index=0, containing_type=None, fields=[]), - ], - serialized_start=365, - serialized_end=921, -) - -_ADGROUPCRITERIONSIMULATION.fields_by_name['ad_group_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERIONSIMULATION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE -_ADGROUPCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD -_ADGROUPCRITERIONSIMULATION.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPCRITERIONSIMULATION.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST -_ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'].fields.append( - _ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list']) -_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'] -DESCRIPTOR.message_types_by_name['AdGroupCriterionSimulation'] = _ADGROUPCRITERIONSIMULATION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupCriterionSimulation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionSimulation', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPCRITERIONSIMULATION, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_criterion_simulation_pb2' - , - __doc__ = """An ad group criterion simulation. Supported combinations of advertising - channel type, criterion type, simulation type, and simulation - modification method are detailed below respectively. - - SEARCH KEYWORD CPC\_BID UNIFORM - - - Attributes: - resource_name: - The resource name of the ad group criterion simulation. Ad - group criterion simulation resource names have the form: ``cu - stomers/{customer_id}/adGroupCriterionSimulations/{ad_group_id - }~{criterion_id}~{type}~{modification_method}~{start_date}~{en - d_date}`` - ad_group_id: - AdGroup ID of the simulation. - criterion_id: - Criterion ID of the simulation. - type: - The field that the simulation modifies. - modification_method: - How the simulation modifies the field. - start_date: - First day on which the simulation is based, in YYYY-MM-DD - format. - end_date: - Last day on which the simulation is based, in YYYY-MM-DD - format. - point_list: - List of simulation points. - cpc_bid_point_list: - Simulation points if the simulation type is CPC\_BID. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupCriterionSimulation) - )) -_sym_db.RegisterMessage(AdGroupCriterionSimulation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2.py b/google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2.py deleted file mode 100644 index b8ae81f87..000000000 --- a/google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2.py +++ /dev/null @@ -1,132 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_extension_setting.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2 -from google.ads.google_ads.v1.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_extension_setting.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\034AdGroupExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/resources/ad_group_extension_setting.proto\x12!google.ads.googleads.v1.resources\x1a\x42google/ads/googleads_v1/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v1/proto/enums/extension_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd6\x02\n\x17\x41\x64GroupExtensionSetting\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12V\n\x0e\x65xtension_type\x18\x02 \x01(\x0e\x32>.google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType\x12.\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x65xtension_feed_items\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x89\x02\n%com.google.ads.googleads.v1.resourcesB\x1c\x41\x64GroupExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADGROUPEXTENSIONSETTING = _descriptor.Descriptor( - name='AdGroupExtensionSetting', - full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_type', full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting.extension_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting.ad_group', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_feed_items', full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting.extension_feed_items', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.AdGroupExtensionSetting.device', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=300, - serialized_end=642, -) - -_ADGROUPEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE -_ADGROUPEXTENSIONSETTING.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPEXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE -DESCRIPTOR.message_types_by_name['AdGroupExtensionSetting'] = _ADGROUPEXTENSIONSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdGroupExtensionSetting = _reflection.GeneratedProtocolMessageType('AdGroupExtensionSetting', (_message.Message,), dict( - DESCRIPTOR = _ADGROUPEXTENSIONSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_extension_setting_pb2' - , - __doc__ = """An ad group extension setting. - - - Attributes: - resource_name: - The resource name of the ad group extension setting. - AdGroupExtensionSetting resource names have the form: ``custo - mers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{ext - ension_type}`` - extension_type: - The extension type of the ad group extension setting. - ad_group: - The resource name of the ad group. The linked extension feed - items will serve under this ad group. AdGroup resource names - have the form: - ``customers/{customer_id}/adGroups/{ad_group_id}`` - extension_feed_items: - The resource names of the extension feed items to serve under - the ad group. ExtensionFeedItem resource names have the form: - ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` - device: - The device for which the extensions will serve. Optional. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupExtensionSetting) - )) -_sym_db.RegisterMessage(AdGroupExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2.py b/google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2.py deleted file mode 100644 index dcb47831f..000000000 --- a/google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2.py +++ /dev/null @@ -1,140 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_feed.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v1.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v1.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_feed.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\020AdGroupFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/resources/ad_group_feed.proto\x12!google.ads.googleads.v1.resources\x1agoogle/ads/googleads_v1/proto/resources/ad_schedule_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"\'\n\x0e\x41\x64ScheduleView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x41\x64ScheduleViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_ADSCHEDULEVIEW = _descriptor.Descriptor( - name='AdScheduleView', - full_name='google.ads.googleads.v1.resources.AdScheduleView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdScheduleView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=170, -) - -DESCRIPTOR.message_types_by_name['AdScheduleView'] = _ADSCHEDULEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -AdScheduleView = _reflection.GeneratedProtocolMessageType('AdScheduleView', (_message.Message,), dict( - DESCRIPTOR = _ADSCHEDULEVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_schedule_view_pb2' - , - __doc__ = """An ad schedule view summarizes the performance of campaigns by - AdSchedule criteria. - - - Attributes: - resource_name: - The resource name of the ad schedule view. AdSchedule view - resource names have the form: ``customers/{customer_id}/adSch - eduleViews/{campaign_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdScheduleView) - )) -_sym_db.RegisterMessage(AdScheduleView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/age_range_view_pb2.py b/google/ads/google_ads/v1/proto/resources/age_range_view_pb2.py deleted file mode 100644 index aa65a8d54..000000000 --- a/google/ads/google_ads/v1/proto/resources/age_range_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/age_range_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/age_range_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\021AgeRangeViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n.google.ads.googleads.v1.common.BidModifierSimulationPointListH\x00\x42\x0c\n\npoint_listB\x8d\x02\n%com.google.ads.googleads.v1.resourcesB CampaignCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CAMPAIGNCRITERIONSIMULATION = _descriptor.Descriptor( - name='CampaignCriterionSimulation', - full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign_id', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.campaign_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.criterion_id', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.type', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='modification_method', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.modification_method', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.start_date', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.end_date', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bid_modifier_point_list', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.bid_modifier_point_list', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='point_list', full_name='google.ads.googleads.v1.resources.CampaignCriterionSimulation.point_list', - index=0, containing_type=None, fields=[]), - ], - serialized_start=365, - serialized_end=932, -) - -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['campaign_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_simulation__pb2._BIDMODIFIERSIMULATIONPOINTLIST -_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['point_list'].fields.append( - _CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list']) -_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['point_list'] -DESCRIPTOR.message_types_by_name['CampaignCriterionSimulation'] = _CAMPAIGNCRITERIONSIMULATION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignCriterionSimulation = _reflection.GeneratedProtocolMessageType('CampaignCriterionSimulation', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNCRITERIONSIMULATION, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_criterion_simulation_pb2' - , - __doc__ = """A campaign criterion simulation. Supported combinations of advertising - channel type, criterion ids, simulation type and simulation modification - method is detailed below respectively. - - SEARCH 30000,30001,30002 BID\_MODIFIER UNIFORM DISPLAY 30001 - BID\_MODIFIER UNIFORM - - - Attributes: - resource_name: - The resource name of the campaign criterion simulation. - Campaign criterion simulation resource names have the form: ` - `customers/{customer_id}/campaignCriterionSimulations/{campaig - n_id}~{criterion_id}~{type}~{modification_method}~{start_date} - ~{end_date}`` - campaign_id: - Campaign ID of the simulation. - criterion_id: - Criterion ID of the simulation. - type: - The field that the simulation modifies. - modification_method: - How the simulation modifies the field. - start_date: - First day on which the simulation is based, in YYYY-MM-DD - format. - end_date: - Last day on which the simulation is based, in YYYY-MM-DD - format. - point_list: - List of simulation points. - bid_modifier_point_list: - Simulation points if the simulation type is BID\_MODIFIER. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CampaignCriterionSimulation) - )) -_sym_db.RegisterMessage(CampaignCriterionSimulation) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_draft_pb2.py b/google/ads/google_ads/v1/proto/resources/campaign_draft_pb2.py deleted file mode 100644 index 8044a6d1a..000000000 --- a/google/ads/google_ads/v1/proto/resources/campaign_draft_pb2.py +++ /dev/null @@ -1,165 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/campaign_draft.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import campaign_draft_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__draft__status__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/campaign_draft.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\022CampaignDraftProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n.google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType\x12.\n\x08\x63\x61mpaign\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x65xtension_feed_items\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x8a\x02\n%com.google.ads.googleads.v1.resourcesB\x1d\x43\x61mpaignExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CAMPAIGNEXTENSIONSETTING = _descriptor.Descriptor( - name='CampaignExtensionSetting', - full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_type', full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting.extension_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting.campaign', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_feed_items', full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting.extension_feed_items', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.CampaignExtensionSetting.device', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=300, - serialized_end=643, -) - -_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE -_CAMPAIGNEXTENSIONSETTING.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGNEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE -DESCRIPTOR.message_types_by_name['CampaignExtensionSetting'] = _CAMPAIGNEXTENSIONSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CampaignExtensionSetting = _reflection.GeneratedProtocolMessageType('CampaignExtensionSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGNEXTENSIONSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_extension_setting_pb2' - , - __doc__ = """A campaign extension setting. - - - Attributes: - resource_name: - The resource name of the campaign extension setting. - CampaignExtensionSetting resource names have the form: ``cust - omers/{customer_id}/campaignExtensionSettings/{campaign_id}~{e - xtension_type}`` - extension_type: - The extension type of the customer extension setting. - campaign: - The resource name of the campaign. The linked extension feed - items will serve under this campaign. Campaign resource names - have the form: - ``customers/{customer_id}/campaigns/{campaign_id}`` - extension_feed_items: - The resource names of the extension feed items to serve under - the campaign. ExtensionFeedItem resource names have the form: - ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` - device: - The device for which the extensions will serve. Optional. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CampaignExtensionSetting) - )) -_sym_db.RegisterMessage(CampaignExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_feed_pb2.py b/google/ads/google_ads/v1/proto/resources/campaign_feed_pb2.py deleted file mode 100644 index be6227b02..000000000 --- a/google/ads/google_ads/v1/proto/resources/campaign_feed_pb2.py +++ /dev/null @@ -1,140 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/campaign_feed.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v1.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v1.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/campaign_feed.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\021CampaignFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/resources/campaign_feed.proto\x12!google.ads.googleads.v1.resources\x1agoogle/ads/googleads_v1/proto/resources/carrier_constant.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb1\x01\n\x0f\x43\x61rrierConstant\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x81\x02\n%com.google.ads.googleads.v1.resourcesB\x14\x43\x61rrierConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CARRIERCONSTANT = _descriptor.Descriptor( - name='CarrierConstant', - full_name='google.ads.googleads.v1.resources.CarrierConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CarrierConstant.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.CarrierConstant.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.CarrierConstant.name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.resources.CarrierConstant.country_code', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=164, - serialized_end=341, -) - -_CARRIERCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CARRIERCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CARRIERCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['CarrierConstant'] = _CARRIERCONSTANT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CarrierConstant = _reflection.GeneratedProtocolMessageType('CarrierConstant', (_message.Message,), dict( - DESCRIPTOR = _CARRIERCONSTANT, - __module__ = 'google.ads.googleads_v1.proto.resources.carrier_constant_pb2' - , - __doc__ = """A carrier criterion that can be used in campaign targeting. - - - Attributes: - resource_name: - The resource name of the carrier criterion. Carrier criterion - resource names have the form: - ``carrierConstants/{criterion_id}`` - id: - The ID of the carrier criterion. - name: - The full name of the carrier in English. - country_code: - The country code of the country where the carrier is located, - e.g., "AR", "FR", etc. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CarrierConstant) - )) -_sym_db.RegisterMessage(CarrierConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/change_status_pb2.py b/google/ads/google_ads/v1/proto/resources/change_status_pb2.py deleted file mode 100644 index b2ae95f2f..000000000 --- a/google/ads/google_ads/v1/proto/resources/change_status_pb2.py +++ /dev/null @@ -1,219 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/change_status.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import change_status_operation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__operation__pb2 -from google.ads.google_ads.v1.proto.enums import change_status_resource_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__resource__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/change_status.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\021ChangeStatusProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/resources/change_status.proto\x12!google.ads.googleads.v1.resources\x1a\x41google/ads/googleads_v1/proto/enums/change_status_operation.proto\x1a\x45google/ads/googleads_v1/proto/enums/change_status_resource_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc3\x06\n\x0c\x43hangeStatus\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12;\n\x15last_change_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12k\n\rresource_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType\x12.\n\x08\x63\x61mpaign\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x61\x64_group\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12g\n\x0fresource_status\x18\x08 \x01(\x0e\x32N.google.ads.googleads.v1.enums.ChangeStatusOperationEnum.ChangeStatusOperation\x12\x31\n\x0b\x61\x64_group_ad\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12\x61\x64_group_criterion\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12\x63\x61mpaign_criterion\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x66\x65\x65\x64\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tfeed_item\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rad_group_feed\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rcampaign_feed\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15\x61\x64_group_bid_modifier\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfe\x01\n%com.google.ads.googleads.v1.resourcesB\x11\x43hangeStatusProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__operation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__resource__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CHANGESTATUS = _descriptor.Descriptor( - name='ChangeStatus', - full_name='google.ads.googleads.v1.resources.ChangeStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ChangeStatus.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='last_change_date_time', full_name='google.ads.googleads.v1.resources.ChangeStatus.last_change_date_time', index=1, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resource_type', full_name='google.ads.googleads.v1.resources.ChangeStatus.resource_type', index=2, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.ChangeStatus.campaign', index=3, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.ChangeStatus.ad_group', index=4, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='resource_status', full_name='google.ads.googleads.v1.resources.ChangeStatus.resource_status', index=5, - number=8, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_ad', full_name='google.ads.googleads.v1.resources.ChangeStatus.ad_group_ad', index=6, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v1.resources.ChangeStatus.ad_group_criterion', index=7, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign_criterion', full_name='google.ads.googleads.v1.resources.ChangeStatus.campaign_criterion', index=8, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v1.resources.ChangeStatus.feed', index=9, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='feed_item', full_name='google.ads.googleads.v1.resources.ChangeStatus.feed_item', index=10, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_feed', full_name='google.ads.googleads.v1.resources.ChangeStatus.ad_group_feed', index=11, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign_feed', full_name='google.ads.googleads.v1.resources.ChangeStatus.campaign_feed', index=12, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group_bid_modifier', full_name='google.ads.googleads.v1.resources.ChangeStatus.ad_group_bid_modifier', index=13, - number=16, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=299, - serialized_end=1134, -) - -_CHANGESTATUS.fields_by_name['last_change_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['resource_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__resource__type__pb2._CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE -_CHANGESTATUS.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['resource_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_change__status__operation__pb2._CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION -_CHANGESTATUS.fields_by_name['ad_group_ad'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['campaign_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['feed_item'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['ad_group_feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['campaign_feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CHANGESTATUS.fields_by_name['ad_group_bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['ChangeStatus'] = _CHANGESTATUS -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ChangeStatus = _reflection.GeneratedProtocolMessageType('ChangeStatus', (_message.Message,), dict( - DESCRIPTOR = _CHANGESTATUS, - __module__ = 'google.ads.googleads_v1.proto.resources.change_status_pb2' - , - __doc__ = """Describes the status of returned resource. - - - Attributes: - resource_name: - The resource name of the change status. Change status resource - names have the form: - ``customers/{customer_id}/changeStatus/{change_status_id}`` - last_change_date_time: - Time at which the most recent change has occurred on this - resource. - resource_type: - Represents the type of the changed resource. This dictates - what fields will be set. For example, for AD\_GROUP, campaign - and ad\_group fields will be set. - campaign: - The Campaign affected by this change. - ad_group: - The AdGroup affected by this change. - resource_status: - Represents the status of the changed resource. - ad_group_ad: - The AdGroupAd affected by this change. - ad_group_criterion: - The AdGroupCriterion affected by this change. - campaign_criterion: - The CampaignCriterion affected by this change. - feed: - The Feed affected by this change. - feed_item: - The FeedItem affected by this change. - ad_group_feed: - The AdGroupFeed affected by this change. - campaign_feed: - The CampaignFeed affected by this change. - ad_group_bid_modifier: - The AdGroupBidModifier affected by this change. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ChangeStatus) - )) -_sym_db.RegisterMessage(ChangeStatus) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/click_view_pb2.py b/google/ads/google_ads/v1/proto/resources/click_view_pb2.py deleted file mode 100644 index f0dd39f25..000000000 --- a/google/ads/google_ads/v1/proto/resources/click_view_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/click_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import click_location_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_click__location__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/click_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\016ClickViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/resources/click_view.proto\x12!google.ads.googleads.v1.resources\x1a\x39google/ads/googleads_v1/proto/common/click_location.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x97\x02\n\tClickView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12+\n\x05gclid\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n\x10\x61rea_of_interest\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v1.common.ClickLocation\x12K\n\x14location_of_presence\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v1.common.ClickLocation\x12\x30\n\x0bpage_number\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xfb\x01\n%com.google.ads.googleads.v1.resourcesB\x0e\x43lickViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_click__location__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CLICKVIEW = _descriptor.Descriptor( - name='ClickView', - full_name='google.ads.googleads.v1.resources.ClickView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ClickView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v1.resources.ClickView.gclid', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='area_of_interest', full_name='google.ads.googleads.v1.resources.ClickView.area_of_interest', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='location_of_presence', full_name='google.ads.googleads.v1.resources.ClickView.location_of_presence', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='page_number', full_name='google.ads.googleads.v1.resources.ClickView.page_number', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=217, - serialized_end=496, -) - -_CLICKVIEW.fields_by_name['gclid'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CLICKVIEW.fields_by_name['area_of_interest'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION -_CLICKVIEW.fields_by_name['location_of_presence'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION -_CLICKVIEW.fields_by_name['page_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['ClickView'] = _CLICKVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ClickView = _reflection.GeneratedProtocolMessageType('ClickView', (_message.Message,), dict( - DESCRIPTOR = _CLICKVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.click_view_pb2' - , - __doc__ = """A click view with metrics aggregated at each click level, including both - valid and invalid clicks. For non-Search campaigns, metrics.clicks - represents the number of valid and invalid interactions. - - - Attributes: - resource_name: - The resource name of the click view. Click view resource names - have the form: ``customers/{customer_id}/clickViews/{date - (yyyy-MM-dd)}~{gclid}`` - gclid: - The Google Click ID. - area_of_interest: - The location criteria matching the area of interest associated - with the impression. - location_of_presence: - The location criteria matching the location of presence - associated with the impression. - page_number: - Page number in search results where the ad was shown. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ClickView) - )) -_sym_db.RegisterMessage(ClickView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/conversion_action_pb2.py b/google/ads/google_ads/v1/proto/resources/conversion_action_pb2.py deleted file mode 100644 index 35cbdf748..000000000 --- a/google/ads/google_ads/v1/proto/resources/conversion_action_pb2.py +++ /dev/null @@ -1,388 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/conversion_action.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2 -from google.ads.google_ads.v1.proto.enums import attribution_model_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_attribution__model__pb2 -from google.ads.google_ads.v1.proto.enums import conversion_action_category_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__category__pb2 -from google.ads.google_ads.v1.proto.enums import conversion_action_counting_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2 -from google.ads.google_ads.v1.proto.enums import conversion_action_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__status__pb2 -from google.ads.google_ads.v1.proto.enums import conversion_action_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__type__pb2 -from google.ads.google_ads.v1.proto.enums import data_driven_model_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_data__driven__model__status__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/conversion_action.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\025ConversionActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/resources/conversion_action.proto\x12!google.ads.googleads.v1.resources\x1a\x36google/ads/googleads_v1/proto/common/tag_snippet.proto\x1a;google/ads/googleads_v1/proto/enums/attribution_model.proto\x1a\x44google/ads/googleads_v1/proto/enums/conversion_action_category.proto\x1aIgoogle/ads/googleads_v1/proto/enums/conversion_action_counting_type.proto\x1a\x42google/ads/googleads_v1/proto/enums/conversion_action_status.proto\x1a@google/ads/googleads_v1/proto/enums/conversion_action_type.proto\x1a\x42google/ads/googleads_v1/proto/enums/data_driven_model_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd4\x0c\n\x10\x43onversionAction\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12`\n\x06status\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v1.enums.ConversionActionStatusEnum.ConversionActionStatus\x12Z\n\x04type\x18\x05 \x01(\x0e\x32L.google.ads.googleads.v1.enums.ConversionActionTypeEnum.ConversionActionType\x12\x66\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12\x34\n\x0eowner_customer\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x41\n\x1dinclude_in_conversions_metric\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12G\n\"click_through_lookback_window_days\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x46\n!view_through_lookback_window_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Y\n\x0evalue_settings\x18\x0b \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.ConversionAction.ValueSettings\x12s\n\rcounting_type\x18\x0c \x01(\x0e\x32\\.google.ads.googleads.v1.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType\x12p\n\x1a\x61ttribution_model_settings\x18\r \x01(\x0b\x32L.google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings\x12@\n\x0ctag_snippets\x18\x0e \x03(\x0b\x32*.google.ads.googleads.v1.common.TagSnippet\x12@\n\x1bphone_call_duration_seconds\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12,\n\x06\x61pp_id\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xed\x01\n\x18\x41ttributionModelSettings\x12_\n\x11\x61ttribution_model\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.AttributionModelEnum.AttributionModel\x12p\n\x18\x64\x61ta_driven_model_status\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v1.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus\x1a\xbf\x01\n\rValueSettings\x12\x33\n\rdefault_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x15\x64\x65\x66\x61ult_currency_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x18\x61lways_use_default_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x82\x02\n%com.google.ads.googleads.v1.resourcesB\x15\x43onversionActionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_attribution__model__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_data__driven__model__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS = _descriptor.Descriptor( - name='AttributionModelSettings', - full_name='google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='attribution_model', full_name='google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings.attribution_model', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='data_driven_model_status', full_name='google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings.data_driven_model_status', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1818, - serialized_end=2055, -) - -_CONVERSIONACTION_VALUESETTINGS = _descriptor.Descriptor( - name='ValueSettings', - full_name='google.ads.googleads.v1.resources.ConversionAction.ValueSettings', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='default_value', full_name='google.ads.googleads.v1.resources.ConversionAction.ValueSettings.default_value', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='default_currency_code', full_name='google.ads.googleads.v1.resources.ConversionAction.ValueSettings.default_currency_code', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='always_use_default_value', full_name='google.ads.googleads.v1.resources.ConversionAction.ValueSettings.always_use_default_value', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2058, - serialized_end=2249, -) - -_CONVERSIONACTION = _descriptor.Descriptor( - name='ConversionAction', - full_name='google.ads.googleads.v1.resources.ConversionAction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ConversionAction.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.ConversionAction.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.ConversionAction.name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.ConversionAction.status', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.ConversionAction.type', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='category', full_name='google.ads.googleads.v1.resources.ConversionAction.category', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='owner_customer', full_name='google.ads.googleads.v1.resources.ConversionAction.owner_customer', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='include_in_conversions_metric', full_name='google.ads.googleads.v1.resources.ConversionAction.include_in_conversions_metric', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='click_through_lookback_window_days', full_name='google.ads.googleads.v1.resources.ConversionAction.click_through_lookback_window_days', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='view_through_lookback_window_days', full_name='google.ads.googleads.v1.resources.ConversionAction.view_through_lookback_window_days', index=9, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='value_settings', full_name='google.ads.googleads.v1.resources.ConversionAction.value_settings', index=10, - number=11, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='counting_type', full_name='google.ads.googleads.v1.resources.ConversionAction.counting_type', index=11, - number=12, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='attribution_model_settings', full_name='google.ads.googleads.v1.resources.ConversionAction.attribution_model_settings', index=12, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='tag_snippets', full_name='google.ads.googleads.v1.resources.ConversionAction.tag_snippets', index=13, - number=14, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='phone_call_duration_seconds', full_name='google.ads.googleads.v1.resources.ConversionAction.phone_call_duration_seconds', index=14, - number=15, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.resources.ConversionAction.app_id', index=15, - number=16, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, _CONVERSIONACTION_VALUESETTINGS, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=629, - serialized_end=2249, -) - -_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['attribution_model'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_attribution__model__pb2._ATTRIBUTIONMODELENUM_ATTRIBUTIONMODEL -_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['data_driven_model_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_data__driven__model__status__pb2._DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS -_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.containing_type = _CONVERSIONACTION -_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONVERSIONACTION_VALUESETTINGS.fields_by_name['always_use_default_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CONVERSIONACTION_VALUESETTINGS.containing_type = _CONVERSIONACTION -_CONVERSIONACTION.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CONVERSIONACTION.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONVERSIONACTION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__status__pb2._CONVERSIONACTIONSTATUSENUM_CONVERSIONACTIONSTATUS -_CONVERSIONACTION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__type__pb2._CONVERSIONACTIONTYPEENUM_CONVERSIONACTIONTYPE -_CONVERSIONACTION.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY -_CONVERSIONACTION.fields_by_name['owner_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONVERSIONACTION.fields_by_name['include_in_conversions_metric'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CONVERSIONACTION.fields_by_name['click_through_lookback_window_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CONVERSIONACTION.fields_by_name['view_through_lookback_window_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CONVERSIONACTION.fields_by_name['value_settings'].message_type = _CONVERSIONACTION_VALUESETTINGS -_CONVERSIONACTION.fields_by_name['counting_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2._CONVERSIONACTIONCOUNTINGTYPEENUM_CONVERSIONACTIONCOUNTINGTYPE -_CONVERSIONACTION.fields_by_name['attribution_model_settings'].message_type = _CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS -_CONVERSIONACTION.fields_by_name['tag_snippets'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2._TAGSNIPPET -_CONVERSIONACTION.fields_by_name['phone_call_duration_seconds'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CONVERSIONACTION.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['ConversionAction'] = _CONVERSIONACTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ConversionAction = _reflection.GeneratedProtocolMessageType('ConversionAction', (_message.Message,), dict( - - AttributionModelSettings = _reflection.GeneratedProtocolMessageType('AttributionModelSettings', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, - __module__ = 'google.ads.googleads_v1.proto.resources.conversion_action_pb2' - , - __doc__ = """Settings related to this conversion action's attribution model. - - - Attributes: - attribution_model: - The attribution model type of this conversion action. - data_driven_model_status: - The status of the data-driven attribution model for the - conversion action. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ConversionAction.AttributionModelSettings) - )) - , - - ValueSettings = _reflection.GeneratedProtocolMessageType('ValueSettings', (_message.Message,), dict( - DESCRIPTOR = _CONVERSIONACTION_VALUESETTINGS, - __module__ = 'google.ads.googleads_v1.proto.resources.conversion_action_pb2' - , - __doc__ = """Settings related to the value for conversion events associated with this - conversion action. - - - Attributes: - default_value: - The value to use when conversion events for this conversion - action are sent with an invalid, disallowed or missing value, - or when this conversion action is configured to always use the - default value. - default_currency_code: - The currency code to use when conversion events for this - conversion action are sent with an invalid or missing currency - code, or when this conversion action is configured to always - use the default value. - always_use_default_value: - Controls whether the default value and default currency code - are used in place of the value and currency code specified in - conversion events for this conversion action. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ConversionAction.ValueSettings) - )) - , - DESCRIPTOR = _CONVERSIONACTION, - __module__ = 'google.ads.googleads_v1.proto.resources.conversion_action_pb2' - , - __doc__ = """A conversion action. - - - Attributes: - resource_name: - The resource name of the conversion action. Conversion action - resource names have the form: ``customers/{customer_id}/conve - rsionActions/{conversion_action_id}`` - id: - The ID of the conversion action. - name: - The name of the conversion action. This field is required and - should not be empty when creating new conversion actions. - status: - The status of this conversion action for conversion event - accrual. - type: - The type of this conversion action. - category: - The category of conversions reported for this conversion - action. - owner_customer: - The resource name of the conversion action owner customer, or - null if this is a system-defined conversion action. - include_in_conversions_metric: - Whether this conversion action should be included in the - "conversions" metric. - click_through_lookback_window_days: - The maximum number of days that may elapse between an - interaction (e.g., a click) and a conversion event. - view_through_lookback_window_days: - The maximum number of days which may elapse between an - impression and a conversion without an interaction. - value_settings: - Settings related to the value for conversion events associated - with this conversion action. - counting_type: - How to count conversion events for the conversion action. - attribution_model_settings: - Settings related to this conversion action's attribution - model. - tag_snippets: - The snippets used for tracking conversions. - phone_call_duration_seconds: - The phone call duration in seconds after which a conversion - should be reported for this conversion action. The value must - be between 0 and 10000, inclusive. - app_id: - App ID for an app conversion action. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ConversionAction) - )) -_sym_db.RegisterMessage(ConversionAction) -_sym_db.RegisterMessage(ConversionAction.AttributionModelSettings) -_sym_db.RegisterMessage(ConversionAction.ValueSettings) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_client_pb2.py b/google/ads/google_ads/v1/proto/resources/customer_client_pb2.py deleted file mode 100644 index a5c967f0c..000000000 --- a/google/ads/google_ads/v1/proto/resources/customer_client_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/customer_client.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/customer_client.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023CustomerClientProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/resources/customer_client.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb6\x01\n\x0e\x43ustomerClient\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x35\n\x0f\x63lient_customer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x06hidden\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12*\n\x05level\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x43ustomerClientProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CUSTOMERCLIENT = _descriptor.Descriptor( - name='CustomerClient', - full_name='google.ads.googleads.v1.resources.CustomerClient', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CustomerClient.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='client_customer', full_name='google.ads.googleads.v1.resources.CustomerClient.client_customer', index=1, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='hidden', full_name='google.ads.googleads.v1.resources.CustomerClient.hidden', index=2, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v1.resources.CustomerClient.level', index=3, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=163, - serialized_end=345, -) - -_CUSTOMERCLIENT.fields_by_name['client_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMERCLIENT.fields_by_name['hidden'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CUSTOMERCLIENT.fields_by_name['level'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['CustomerClient'] = _CUSTOMERCLIENT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerClient = _reflection.GeneratedProtocolMessageType('CustomerClient', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERCLIENT, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_client_pb2' - , - __doc__ = """A link between the given customer and a client customer. CustomerClients - only exist for manager customers. All direct and indirect client - customers are included, as well as the manager itself. - - - Attributes: - resource_name: - The resource name of the customer client. CustomerClient - resource names have the form: ``customers/{customer_id}/custom - erClients/{client_customer_id}`` - client_customer: - The resource name of the client-customer which is linked to - the given customer. Read only. - hidden: - Specifies whether this is a hidden account. Learn more about - hidden accounts here. Read only. - level: - Distance between given customer and client. For self link, the - level value will be 0. Read only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomerClient) - )) -_sym_db.RegisterMessage(CustomerClient) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2.py b/google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2.py deleted file mode 100644 index 70a7116b5..000000000 --- a/google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/customer_extension_setting.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2 -from google.ads.google_ads.v1.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/customer_extension_setting.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\035CustomerExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/resources/customer_extension_setting.proto\x12!google.ads.googleads.v1.resources\x1a\x42google/ads/googleads_v1/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v1/proto/enums/extension_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa7\x02\n\x18\x43ustomerExtensionSetting\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12V\n\x0e\x65xtension_type\x18\x02 \x01(\x0e\x32>.google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType\x12:\n\x14\x65xtension_feed_items\x18\x03 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12`\n\x06\x64\x65vice\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum.ExtensionSettingDeviceB\x8a\x02\n%com.google.ads.googleads.v1.resourcesB\x1d\x43ustomerExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_CUSTOMEREXTENSIONSETTING = _descriptor.Descriptor( - name='CustomerExtensionSetting', - full_name='google.ads.googleads.v1.resources.CustomerExtensionSetting', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CustomerExtensionSetting.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_type', full_name='google.ads.googleads.v1.resources.CustomerExtensionSetting.extension_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='extension_feed_items', full_name='google.ads.googleads.v1.resources.CustomerExtensionSetting.extension_feed_items', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.CustomerExtensionSetting.device', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=300, - serialized_end=595, -) - -_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE -_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMEREXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE -DESCRIPTOR.message_types_by_name['CustomerExtensionSetting'] = _CUSTOMEREXTENSIONSETTING -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CustomerExtensionSetting = _reflection.GeneratedProtocolMessageType('CustomerExtensionSetting', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMEREXTENSIONSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_extension_setting_pb2' - , - __doc__ = """A customer extension setting. - - - Attributes: - resource_name: - The resource name of the customer extension setting. - CustomerExtensionSetting resource names have the form: ``cust - omers/{customer_id}/customerExtensionSettings/{extension_type} - `` - extension_type: - The extension type of the customer extension setting. - extension_feed_items: - The resource names of the extension feed items to serve under - the customer. ExtensionFeedItem resource names have the form: - ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` - device: - The device for which the extensions will serve. Optional. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomerExtensionSetting) - )) -_sym_db.RegisterMessage(CustomerExtensionSetting) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_feed_pb2.py b/google/ads/google_ads/v1/proto/resources/customer_feed_pb2.py deleted file mode 100644 index e205f59ff..000000000 --- a/google/ads/google_ads/v1/proto/resources/customer_feed_pb2.py +++ /dev/null @@ -1,130 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/customer_feed.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_matching__function__pb2 -from google.ads.google_ads.v1.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__link__status__pb2 -from google.ads.google_ads.v1.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/customer_feed.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\021CustomerFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/resources/customer_feed.proto\x12!google.ads.googleads.v1.resources\x1a.google.ads.googleads.v1.enums.PlacementTypeEnum.PlacementTypeB\x85\x02\n%com.google.ads.googleads.v1.resourcesB\x18\x44\x65tailPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placement__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DETAILPLACEMENTVIEW = _descriptor.Descriptor( - name='DetailPlacementView', - full_name='google.ads.googleads.v1.resources.DetailPlacementView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.DetailPlacementView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.DetailPlacementView.placement', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='display_name', full_name='google.ads.googleads.v1.resources.DetailPlacementView.display_name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='group_placement_target_url', full_name='google.ads.googleads.v1.resources.DetailPlacementView.group_placement_target_url', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_url', full_name='google.ads.googleads.v1.resources.DetailPlacementView.target_url', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='placement_type', full_name='google.ads.googleads.v1.resources.DetailPlacementView.placement_type', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=227, - serialized_end=576, -) - -_DETAILPLACEMENTVIEW.fields_by_name['placement'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DETAILPLACEMENTVIEW.fields_by_name['display_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DETAILPLACEMENTVIEW.fields_by_name['group_placement_target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DETAILPLACEMENTVIEW.fields_by_name['target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DETAILPLACEMENTVIEW.fields_by_name['placement_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placement__type__pb2._PLACEMENTTYPEENUM_PLACEMENTTYPE -DESCRIPTOR.message_types_by_name['DetailPlacementView'] = _DETAILPLACEMENTVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DetailPlacementView = _reflection.GeneratedProtocolMessageType('DetailPlacementView', (_message.Message,), dict( - DESCRIPTOR = _DETAILPLACEMENTVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.detail_placement_view_pb2' - , - __doc__ = """A view with metrics aggregated by ad group and URL or YouTube video. - - - Attributes: - resource_name: - The resource name of the detail placement view. Detail - placement view resource names have the form: ``customers/{cus - tomer_id}/detailPlacementViews/{ad_group_id}~{base64_placement - }`` - placement: - The automatic placement string at detail level, e. g. website - URL, mobile application ID, or a YouTube video ID. - display_name: - The display name is URL name for websites, YouTube video name - for YouTube videos, and translated mobile app name for mobile - apps. - group_placement_target_url: - URL of the group placement, e.g. domain, link to the mobile - application in app store, or a YouTube channel URL. - target_url: - URL of the placement, e.g. website, link to the mobile - application in app store, or a YouTube video URL. - placement_type: - Type of the placement, e.g. Website, YouTube Video, and Mobile - Application. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.DetailPlacementView) - )) -_sym_db.RegisterMessage(DetailPlacementView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2.py b/google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2.py deleted file mode 100644 index 4d1b81513..000000000 --- a/google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/display_keyword_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/display_keyword_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\027DisplayKeywordViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/resources/display_keyword_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"+\n\x12\x44isplayKeywordView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x84\x02\n%com.google.ads.googleads.v1.resourcesB\x17\x44isplayKeywordViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DISPLAYKEYWORDVIEW = _descriptor.Descriptor( - name='DisplayKeywordView', - full_name='google.ads.googleads.v1.resources.DisplayKeywordView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.DisplayKeywordView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=135, - serialized_end=178, -) - -DESCRIPTOR.message_types_by_name['DisplayKeywordView'] = _DISPLAYKEYWORDVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DisplayKeywordView = _reflection.GeneratedProtocolMessageType('DisplayKeywordView', (_message.Message,), dict( - DESCRIPTOR = _DISPLAYKEYWORDVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.display_keyword_view_pb2' - , - __doc__ = """A display keyword view. - - - Attributes: - resource_name: - The resource name of the display keyword view. Display Keyword - view resource names have the form: ``customers/{customer_id}/ - displayKeywordViews/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.DisplayKeywordView) - )) -_sym_db.RegisterMessage(DisplayKeywordView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/domain_category_pb2.py b/google/ads/google_ads/v1/proto/resources/domain_category_pb2.py deleted file mode 100644 index e3f6e430f..000000000 --- a/google/ads/google_ads/v1/proto/resources/domain_category_pb2.py +++ /dev/null @@ -1,177 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/domain_category.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/domain_category.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023DomainCategoryProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/resources/domain_category.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xca\x03\n\x0e\x44omainCategory\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12.\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x63\x61tegory\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06\x64omain\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63overage_fraction\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\rcategory_rank\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0chas_children\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12?\n\x1arecommended_cpc_bid_micros\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x44omainCategoryProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DOMAINCATEGORY = _descriptor.Descriptor( - name='DomainCategory', - full_name='google.ads.googleads.v1.resources.DomainCategory', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.DomainCategory.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.DomainCategory.campaign', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='category', full_name='google.ads.googleads.v1.resources.DomainCategory.category', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.resources.DomainCategory.language_code', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='domain', full_name='google.ads.googleads.v1.resources.DomainCategory.domain', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='coverage_fraction', full_name='google.ads.googleads.v1.resources.DomainCategory.coverage_fraction', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='category_rank', full_name='google.ads.googleads.v1.resources.DomainCategory.category_rank', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='has_children', full_name='google.ads.googleads.v1.resources.DomainCategory.has_children', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='recommended_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.DomainCategory.recommended_cpc_bid_micros', index=8, - number=9, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=163, - serialized_end=621, -) - -_DOMAINCATEGORY.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DOMAINCATEGORY.fields_by_name['category'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DOMAINCATEGORY.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DOMAINCATEGORY.fields_by_name['domain'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DOMAINCATEGORY.fields_by_name['coverage_fraction'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_DOMAINCATEGORY.fields_by_name['category_rank'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_DOMAINCATEGORY.fields_by_name['has_children'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_DOMAINCATEGORY.fields_by_name['recommended_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['DomainCategory'] = _DOMAINCATEGORY -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DomainCategory = _reflection.GeneratedProtocolMessageType('DomainCategory', (_message.Message,), dict( - DESCRIPTOR = _DOMAINCATEGORY, - __module__ = 'google.ads.googleads_v1.proto.resources.domain_category_pb2' - , - __doc__ = """A category generated automatically by crawling a domain. If a campaign - uses the DynamicSearchAdsSetting, then domain categories will be - generated for the domain. The categories can be targeted using - WebpageConditionInfo. See: - https://support.google.com/google-ads/answer/2471185 - - - Attributes: - resource_name: - The resource name of the domain category. Domain category - resource names have the form: ``customers/{customer_id}/domai - nCategories/{campaign_id}~{category_base64}~{language_code}`` - campaign: - The campaign this category is recommended for. - category: - Recommended category for the website domain. e.g. if you have - a website about electronics, the categories could be - "cameras", "televisions", etc. - language_code: - The language code specifying the language of the website. e.g. - "en" for English. The language can be specified in the - DynamicSearchAdsSetting required for dynamic search ads. This - is the language of the pages from your website that you want - Google Ads to find, create ads for, and match searches with. - domain: - The domain for the website. The domain can be specified in the - DynamicSearchAdsSetting required for dynamic search ads. - coverage_fraction: - Fraction of pages on your site that this category matches. - category_rank: - The position of this category in the set of categories. Lower - numbers indicate a better match for the domain. null indicates - not recommended. - has_children: - Indicates whether this category has sub-categories. - recommended_cpc_bid_micros: - The recommended cost per click for the category. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.DomainCategory) - )) -_sym_db.RegisterMessage(DomainCategory) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2.py b/google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2.py deleted file mode 100644 index 8a7117a7c..000000000 --- a/google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/dynamic_search_ads_search_term_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/dynamic_search_ads_search_term_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB#DynamicSearchAdsSearchTermViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nQgoogle/ads/googleads_v1/proto/resources/dynamic_search_ads_search_term_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfe\x01\n\x1e\x44ynamicSearchAdsSearchTermView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0bsearch_term\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08headline\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0clanding_page\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08page_url\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x90\x02\n%com.google.ads.googleads.v1.resourcesB#DynamicSearchAdsSearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_DYNAMICSEARCHADSSEARCHTERMVIEW = _descriptor.Descriptor( - name='DynamicSearchAdsSearchTermView', - full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='search_term', full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView.search_term', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView.headline', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='landing_page', full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView.landing_page', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='page_url', full_name='google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView.page_url', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=183, - serialized_end=437, -) - -_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['landing_page'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['page_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['DynamicSearchAdsSearchTermView'] = _DYNAMICSEARCHADSSEARCHTERMVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -DynamicSearchAdsSearchTermView = _reflection.GeneratedProtocolMessageType('DynamicSearchAdsSearchTermView', (_message.Message,), dict( - DESCRIPTOR = _DYNAMICSEARCHADSSEARCHTERMVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.dynamic_search_ads_search_term_view_pb2' - , - __doc__ = """A dynamic search ads search term view. - - - Attributes: - resource_name: - The resource name of the dynamic search ads search term view. - Dynamic search ads search term view resource names have the - form: ``customers/{customer_id}/dynamicSearchAdsSearchTermVie - ws/{ad_group_id}~{search_term_fp}~{headline_fp}~{landing_page_ - fp}~{page_url_fp}`` - search_term: - Search term This field is read-only. - headline: - The dynamically generated headline of the Dynamic Search Ad. - This field is read-only. - landing_page: - The dynamically selected landing page URL of the impression. - This field is read-only. - page_url: - The URL of page feed item served for the impression. This - field is read-only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView) - )) -_sym_db.RegisterMessage(DynamicSearchAdsSearchTermView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2.py b/google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2.py deleted file mode 100644 index 22ab6c57a..000000000 --- a/google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2.py +++ /dev/null @@ -1,96 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/expanded_landing_page_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/expanded_landing_page_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\034ExpandedLandingPageViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/resources/expanded_landing_page_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"j\n\x17\x45xpandedLandingPageView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x38\n\x12\x65xpanded_final_url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x89\x02\n%com.google.ads.googleads.v1.resourcesB\x1c\x45xpandedLandingPageViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_EXPANDEDLANDINGPAGEVIEW = _descriptor.Descriptor( - name='ExpandedLandingPageView', - full_name='google.ads.googleads.v1.resources.ExpandedLandingPageView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ExpandedLandingPageView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='expanded_final_url', full_name='google.ads.googleads.v1.resources.ExpandedLandingPageView.expanded_final_url', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=173, - serialized_end=279, -) - -_EXPANDEDLANDINGPAGEVIEW.fields_by_name['expanded_final_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['ExpandedLandingPageView'] = _EXPANDEDLANDINGPAGEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ExpandedLandingPageView = _reflection.GeneratedProtocolMessageType('ExpandedLandingPageView', (_message.Message,), dict( - DESCRIPTOR = _EXPANDEDLANDINGPAGEVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.expanded_landing_page_view_pb2' - , - __doc__ = """A landing page view with metrics aggregated at the expanded final URL - level. - - - Attributes: - resource_name: - The resource name of the expanded landing page view. Expanded - landing page view resource names have the form: ``customers/{ - customer_id}/expandedLandingPageViews/{expanded_final_url_fing - erprint}`` - expanded_final_url: - The final URL that clicks are directed to. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ExpandedLandingPageView) - )) -_sym_db.RegisterMessage(ExpandedLandingPageView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/feed_item_target_pb2.py b/google/ads/google_ads/v1/proto/resources/feed_item_target_pb2.py deleted file mode 100644 index 5b52e553f..000000000 --- a/google/ads/google_ads/v1/proto/resources/feed_item_target_pb2.py +++ /dev/null @@ -1,202 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/feed_item_target.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_target_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/feed_item_target.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023FeedItemTargetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/resources/feed_item_target.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a\x41google/ads/googleads_v1/proto/enums/feed_item_target_device.proto\x1a?google/ads/googleads_v1/proto/enums/feed_item_target_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8d\x05\n\x0e\x46\x65\x65\x64ItemTarget\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12/\n\tfeed_item\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12g\n\x15\x66\x65\x65\x64_item_target_type\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v1.enums.FeedItemTargetTypeEnum.FeedItemTargetType\x12\x38\n\x13\x66\x65\x65\x64_item_target_id\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x08\x63\x61mpaign\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12\x30\n\x08\x61\x64_group\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12>\n\x07keyword\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v1.common.KeywordInfoH\x00\x12;\n\x13geo_target_constant\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12^\n\x06\x64\x65vice\x18\t \x01(\x0e\x32L.google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum.FeedItemTargetDeviceH\x00\x12\x45\n\x0b\x61\x64_schedule\x18\n \x01(\x0b\x32..google.ads.googleads.v1.common.AdScheduleInfoH\x00\x42\x08\n\x06targetB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x46\x65\x65\x64ItemTargetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_FEEDITEMTARGET = _descriptor.Descriptor( - name='FeedItemTarget', - full_name='google.ads.googleads.v1.resources.FeedItemTarget', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.FeedItemTarget.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='feed_item', full_name='google.ads.googleads.v1.resources.FeedItemTarget.feed_item', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='feed_item_target_type', full_name='google.ads.googleads.v1.resources.FeedItemTarget.feed_item_target_type', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='feed_item_target_id', full_name='google.ads.googleads.v1.resources.FeedItemTarget.feed_item_target_id', index=3, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.FeedItemTarget.campaign', index=4, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.FeedItemTarget.ad_group', index=5, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.FeedItemTarget.keyword', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v1.resources.FeedItemTarget.geo_target_constant', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.FeedItemTarget.device', index=8, - number=9, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_schedule', full_name='google.ads.googleads.v1.resources.FeedItemTarget.ad_schedule', index=9, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='target', full_name='google.ads.googleads.v1.resources.FeedItemTarget.target', - index=0, containing_type=None, fields=[]), - ], - serialized_start=349, - serialized_end=1002, -) - -_FEEDITEMTARGET.fields_by_name['feed_item'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEMTARGET.fields_by_name['feed_item_target_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__type__pb2._FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE -_FEEDITEMTARGET.fields_by_name['feed_item_target_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_FEEDITEMTARGET.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEMTARGET.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEMTARGET.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_FEEDITEMTARGET.fields_by_name['geo_target_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEMTARGET.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2._FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE -_FEEDITEMTARGET.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['campaign']) -_FEEDITEMTARGET.fields_by_name['campaign'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['ad_group']) -_FEEDITEMTARGET.fields_by_name['ad_group'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['keyword']) -_FEEDITEMTARGET.fields_by_name['keyword'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['geo_target_constant']) -_FEEDITEMTARGET.fields_by_name['geo_target_constant'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['device']) -_FEEDITEMTARGET.fields_by_name['device'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( - _FEEDITEMTARGET.fields_by_name['ad_schedule']) -_FEEDITEMTARGET.fields_by_name['ad_schedule'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] -DESCRIPTOR.message_types_by_name['FeedItemTarget'] = _FEEDITEMTARGET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedItemTarget = _reflection.GeneratedProtocolMessageType('FeedItemTarget', (_message.Message,), dict( - DESCRIPTOR = _FEEDITEMTARGET, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_item_target_pb2' - , - __doc__ = """A feed item target. - - - Attributes: - resource_name: - The resource name of the feed item target. Feed item target - resource names have the form: ``customers/{customer_id}/feedI - temTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{f - eed_item_target_id}`` - feed_item: - The feed item to which this feed item target belongs. - feed_item_target_type: - The target type of this feed item target. This field is read- - only. - feed_item_target_id: - The ID of the targeted resource. This field is read-only. - target: - The targeted resource. - campaign: - The targeted campaign. - ad_group: - The targeted ad group. - keyword: - The targeted keyword. - geo_target_constant: - The targeted geo target constant resource name. - device: - The targeted device. - ad_schedule: - The targeted schedule. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedItemTarget) - )) -_sym_db.RegisterMessage(FeedItemTarget) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2.py b/google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2.py deleted file mode 100644 index 795ee2f8b..000000000 --- a/google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2.py +++ /dev/null @@ -1,94 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/feed_placeholder_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/feed_placeholder_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\030FeedPlaceholderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/resources/feed_placeholder_view.proto\x12!google.ads.googleads.v1.resources\x1a:google/ads/googleads_v1/proto/enums/placeholder_type.proto\x1a\x1cgoogle/api/annotations.proto\"\x8a\x01\n\x13\x46\x65\x65\x64PlaceholderView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\\\n\x10placeholder_type\x18\x02 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderTypeB\x85\x02\n%com.google.ads.googleads.v1.resourcesB\x18\x46\x65\x65\x64PlaceholderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_FEEDPLACEHOLDERVIEW = _descriptor.Descriptor( - name='FeedPlaceholderView', - full_name='google.ads.googleads.v1.resources.FeedPlaceholderView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.FeedPlaceholderView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='placeholder_type', full_name='google.ads.googleads.v1.resources.FeedPlaceholderView.placeholder_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=197, - serialized_end=335, -) - -_FEEDPLACEHOLDERVIEW.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE -DESCRIPTOR.message_types_by_name['FeedPlaceholderView'] = _FEEDPLACEHOLDERVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -FeedPlaceholderView = _reflection.GeneratedProtocolMessageType('FeedPlaceholderView', (_message.Message,), dict( - DESCRIPTOR = _FEEDPLACEHOLDERVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_placeholder_view_pb2' - , - __doc__ = """A feed placeholder view. - - - Attributes: - resource_name: - The resource name of the feed placeholder view. Feed - placeholder view resource names have the form: ``customers/{c - ustomer_id}/feedPlaceholderViews/{placeholder_type}`` - placeholder_type: - The placeholder type of the feed placeholder view. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedPlaceholderView) - )) -_sym_db.RegisterMessage(FeedPlaceholderView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/gender_view_pb2.py b/google/ads/google_ads/v1/proto/resources/gender_view_pb2.py deleted file mode 100644 index 47087655c..000000000 --- a/google/ads/google_ads/v1/proto/resources/gender_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/gender_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/gender_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\017GenderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/resources/gender_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"#\n\nGenderView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\xfc\x01\n%com.google.ads.googleads.v1.resourcesB\x0fGenderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GENDERVIEW = _descriptor.Descriptor( - name='GenderView', - full_name='google.ads.googleads.v1.resources.GenderView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.GenderView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=126, - serialized_end=161, -) - -DESCRIPTOR.message_types_by_name['GenderView'] = _GENDERVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GenderView = _reflection.GeneratedProtocolMessageType('GenderView', (_message.Message,), dict( - DESCRIPTOR = _GENDERVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.gender_view_pb2' - , - __doc__ = """A gender view. - - - Attributes: - resource_name: - The resource name of the gender view. Gender view resource - names have the form: ``customers/{customer_id}/genderViews/{a - d_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.GenderView) - )) -_sym_db.RegisterMessage(GenderView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2.py b/google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2.py deleted file mode 100644 index b81f3fc92..000000000 --- a/google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2.py +++ /dev/null @@ -1,147 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/geo_target_constant.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import geo_target_constant_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__target__constant__status__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/geo_target_constant.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\026GeoTargetConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/resources/geo_target_constant.proto\x12!google.ads.googleads.v1.resources\x1a\x44google/ads/googleads_v1/proto/enums/geo_target_constant_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x03\n\x11GeoTargetConstant\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0btarget_type\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x06status\x18\x07 \x01(\x0e\x32R.google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus\x12\x34\n\x0e\x63\x61nonical_name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x83\x02\n%com.google.ads.googleads.v1.resourcesB\x16GeoTargetConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__target__constant__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GEOTARGETCONSTANT = _descriptor.Descriptor( - name='GeoTargetConstant', - full_name='google.ads.googleads.v1.resources.GeoTargetConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.id', index=1, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.name', index=2, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.country_code', index=3, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_type', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.target_type', index=4, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.status', index=5, - number=7, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='canonical_name', full_name='google.ads.googleads.v1.resources.GeoTargetConstant.canonical_name', index=6, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=237, - serialized_end=621, -) - -_GEOTARGETCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_GEOTARGETCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GEOTARGETCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GEOTARGETCONSTANT.fields_by_name['target_type'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GEOTARGETCONSTANT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__target__constant__status__pb2._GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS -_GEOTARGETCONSTANT.fields_by_name['canonical_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['GeoTargetConstant'] = _GEOTARGETCONSTANT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GeoTargetConstant = _reflection.GeneratedProtocolMessageType('GeoTargetConstant', (_message.Message,), dict( - DESCRIPTOR = _GEOTARGETCONSTANT, - __module__ = 'google.ads.googleads_v1.proto.resources.geo_target_constant_pb2' - , - __doc__ = """A geo target constant. - - - Attributes: - resource_name: - The resource name of the geo target constant. Geo target - constant resource names have the form: - ``geoTargetConstants/{geo_target_constant_id}`` - id: - The ID of the geo target constant. - name: - Geo target constant English name. - country_code: - The ISO-3166-1 alpha-2 country code that is associated with - the target. - target_type: - Geo target constant target type. - status: - Geo target constant status. - canonical_name: - The fully qualified English name, consisting of the target's - name and that of its parent and country. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.GeoTargetConstant) - )) -_sym_db.RegisterMessage(GeoTargetConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/geographic_view_pb2.py b/google/ads/google_ads/v1/proto/resources/geographic_view_pb2.py deleted file mode 100644 index 0026aa166..000000000 --- a/google/ads/google_ads/v1/proto/resources/geographic_view_pb2.py +++ /dev/null @@ -1,110 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/geographic_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import geo_targeting_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__targeting__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/geographic_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023GeographicViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/resources/geographic_view.proto\x12!google.ads.googleads.v1.resources\x1agoogle/ads/googleads_v1/proto/resources/google_ads_field.proto\x12!google.ads.googleads.v1.resources\x1a\x43google/ads/googleads_v1/proto/enums/google_ads_field_category.proto\x1a\x44google/ads/googleads_v1/proto/enums/google_ads_field_data_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8f\x06\n\x0eGoogleAdsField\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12*\n\x04name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x08\x63\x61tegory\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v1.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategory\x12.\n\nselectable\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12.\n\nfilterable\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12,\n\x08sortable\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x35\n\x0fselectable_with\x18\x07 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x61ttribute_resources\x18\x08 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07metrics\x18\t \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08segments\x18\n \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x65num_values\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x63\n\tdata_type\x18\x0c \x01(\x0e\x32P.google.ads.googleads.v1.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataType\x12.\n\x08type_url\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\x0bis_repeated\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13GoogleAdsFieldProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_google__ads__field__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_google__ads__field__data__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GOOGLEADSFIELD = _descriptor.Descriptor( - name='GoogleAdsField', - full_name='google.ads.googleads.v1.resources.GoogleAdsField', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.GoogleAdsField.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.GoogleAdsField.name', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='category', full_name='google.ads.googleads.v1.resources.GoogleAdsField.category', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='selectable', full_name='google.ads.googleads.v1.resources.GoogleAdsField.selectable', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='filterable', full_name='google.ads.googleads.v1.resources.GoogleAdsField.filterable', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sortable', full_name='google.ads.googleads.v1.resources.GoogleAdsField.sortable', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='selectable_with', full_name='google.ads.googleads.v1.resources.GoogleAdsField.selectable_with', index=6, - number=7, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='attribute_resources', full_name='google.ads.googleads.v1.resources.GoogleAdsField.attribute_resources', index=7, - number=8, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='metrics', full_name='google.ads.googleads.v1.resources.GoogleAdsField.metrics', index=8, - number=9, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='segments', full_name='google.ads.googleads.v1.resources.GoogleAdsField.segments', index=9, - number=10, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='enum_values', full_name='google.ads.googleads.v1.resources.GoogleAdsField.enum_values', index=10, - number=11, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='data_type', full_name='google.ads.googleads.v1.resources.GoogleAdsField.data_type', index=11, - number=12, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type_url', full_name='google.ads.googleads.v1.resources.GoogleAdsField.type_url', index=12, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='is_repeated', full_name='google.ads.googleads.v1.resources.GoogleAdsField.is_repeated', index=13, - number=14, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=303, - serialized_end=1086, -) - -_GOOGLEADSFIELD.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_google__ads__field__category__pb2._GOOGLEADSFIELDCATEGORYENUM_GOOGLEADSFIELDCATEGORY -_GOOGLEADSFIELD.fields_by_name['selectable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_GOOGLEADSFIELD.fields_by_name['filterable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_GOOGLEADSFIELD.fields_by_name['sortable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_GOOGLEADSFIELD.fields_by_name['selectable_with'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['attribute_resources'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['metrics'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['segments'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['enum_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['data_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_google__ads__field__data__type__pb2._GOOGLEADSFIELDDATATYPEENUM_GOOGLEADSFIELDDATATYPE -_GOOGLEADSFIELD.fields_by_name['type_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GOOGLEADSFIELD.fields_by_name['is_repeated'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -DESCRIPTOR.message_types_by_name['GoogleAdsField'] = _GOOGLEADSFIELD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GoogleAdsField = _reflection.GeneratedProtocolMessageType('GoogleAdsField', (_message.Message,), dict( - DESCRIPTOR = _GOOGLEADSFIELD, - __module__ = 'google.ads.googleads_v1.proto.resources.google_ads_field_pb2' - , - __doc__ = """A field or resource (artifact) used by GoogleAdsService. - - - Attributes: - resource_name: - The resource name of the artifact. Artifact resource names - have the form: ``googleAdsFields/{name}`` - name: - The name of the artifact. - category: - The category of the artifact. - selectable: - Whether the artifact can be used in a SELECT clause in search - queries. - filterable: - Whether the artifact can be used in a WHERE clause in search - queries. - sortable: - Whether the artifact can be used in a ORDER BY clause in - search queries. - selectable_with: - The names of all resources, segments, and metrics that are - selectable with the described artifact. - attribute_resources: - The names of all resources that are selectable with the - described artifact. Fields from these resources do not segment - metrics when included in search queries. This field is only - set for artifacts whose category is RESOURCE. - metrics: - At and beyond version V1 this field lists the names of all - metrics that are selectable with the described artifact when - it is used in the FROM clause. It is only set for artifacts - whose category is RESOURCE. Before version V1 this field - lists the names of all metrics that are selectable with the - described artifact. It is only set for artifacts whose - category is either RESOURCE or SEGMENT - segments: - At and beyond version V1 this field lists the names of all - artifacts, whether a segment or another resource, that segment - metrics when included in search queries and when the described - artifact is used in the FROM clause. It is only set for - artifacts whose category is RESOURCE. Before version V1 this - field lists the names of all artifacts, whether a segment or - another resource, that segment metrics when included in search - queries. It is only set for artifacts of category RESOURCE, - SEGMENT or METRIC. - enum_values: - Values the artifact can assume if it is a field of type ENUM. - This field is only set for artifacts of category SEGMENT or - ATTRIBUTE. - data_type: - This field determines the operators that can be used with the - artifact in WHERE clauses. - type_url: - The URL of proto describing the artifact's data type. - is_repeated: - Whether the field artifact is repeated. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.GoogleAdsField) - )) -_sym_db.RegisterMessage(GoogleAdsField) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/group_placement_view_pb2.py b/google/ads/google_ads/v1/proto/resources/group_placement_view_pb2.py deleted file mode 100644 index 10b752643..000000000 --- a/google/ads/google_ads/v1/proto/resources/group_placement_view_pb2.py +++ /dev/null @@ -1,129 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/group_placement_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import placement_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placement__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/group_placement_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\027GroupPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/resources/group_placement_view.proto\x12!google.ads.googleads.v1.resources\x1a\x38google/ads/googleads_v1/proto/enums/placement_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9a\x02\n\x12GroupPlacementView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12/\n\tplacement\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64isplay_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ntarget_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12V\n\x0eplacement_type\x18\x05 \x01(\x0e\x32>.google.ads.googleads.v1.enums.PlacementTypeEnum.PlacementTypeB\x84\x02\n%com.google.ads.googleads.v1.resourcesB\x17GroupPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placement__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GROUPPLACEMENTVIEW = _descriptor.Descriptor( - name='GroupPlacementView', - full_name='google.ads.googleads.v1.resources.GroupPlacementView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.GroupPlacementView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.GroupPlacementView.placement', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='display_name', full_name='google.ads.googleads.v1.resources.GroupPlacementView.display_name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_url', full_name='google.ads.googleads.v1.resources.GroupPlacementView.target_url', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='placement_type', full_name='google.ads.googleads.v1.resources.GroupPlacementView.placement_type', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=226, - serialized_end=508, -) - -_GROUPPLACEMENTVIEW.fields_by_name['placement'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GROUPPLACEMENTVIEW.fields_by_name['display_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GROUPPLACEMENTVIEW.fields_by_name['target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GROUPPLACEMENTVIEW.fields_by_name['placement_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placement__type__pb2._PLACEMENTTYPEENUM_PLACEMENTTYPE -DESCRIPTOR.message_types_by_name['GroupPlacementView'] = _GROUPPLACEMENTVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GroupPlacementView = _reflection.GeneratedProtocolMessageType('GroupPlacementView', (_message.Message,), dict( - DESCRIPTOR = _GROUPPLACEMENTVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.group_placement_view_pb2' - , - __doc__ = """A group placement view. - - - Attributes: - resource_name: - The resource name of the group placement view. Group placement - view resource names have the form: ``customers/{customer_id}/ - groupPlacementViews/{ad_group_id}~{base64_placement}`` - placement: - The automatic placement string at group level, e. g. web - domain, mobile app ID, or a YouTube channel ID. - display_name: - Domain name for websites and YouTube channel name for YouTube - channels. - target_url: - URL of the group placement, e.g. domain, link to the mobile - application in app store, or a YouTube channel URL. - placement_type: - Type of the placement, e.g. Website, YouTube Channel, Mobile - Application. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.GroupPlacementView) - )) -_sym_db.RegisterMessage(GroupPlacementView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2.py b/google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2.py deleted file mode 100644 index 559b9eda9..000000000 --- a/google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/hotel_group_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/hotel_group_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023HotelGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/resources/hotel_group_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"\'\n\x0eHotelGroupView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13HotelGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_HOTELGROUPVIEW = _descriptor.Descriptor( - name='HotelGroupView', - full_name='google.ads.googleads.v1.resources.HotelGroupView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.HotelGroupView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=131, - serialized_end=170, -) - -DESCRIPTOR.message_types_by_name['HotelGroupView'] = _HOTELGROUPVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -HotelGroupView = _reflection.GeneratedProtocolMessageType('HotelGroupView', (_message.Message,), dict( - DESCRIPTOR = _HOTELGROUPVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.hotel_group_view_pb2' - , - __doc__ = """A hotel group view. - - - Attributes: - resource_name: - The resource name of the hotel group view. Hotel Group view - resource names have the form: ``customers/{customer_id}/hotel - GroupViews/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.HotelGroupView) - )) -_sym_db.RegisterMessage(HotelGroupView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2.py b/google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2.py deleted file mode 100644 index 464ac350b..000000000 --- a/google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/hotel_performance_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/hotel_performance_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\031HotelPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/resources/hotel_performance_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"-\n\x14HotelPerformanceView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x86\x02\n%com.google.ads.googleads.v1.resourcesB\x19HotelPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_HOTELPERFORMANCEVIEW = _descriptor.Descriptor( - name='HotelPerformanceView', - full_name='google.ads.googleads.v1.resources.HotelPerformanceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.HotelPerformanceView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=137, - serialized_end=182, -) - -DESCRIPTOR.message_types_by_name['HotelPerformanceView'] = _HOTELPERFORMANCEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -HotelPerformanceView = _reflection.GeneratedProtocolMessageType('HotelPerformanceView', (_message.Message,), dict( - DESCRIPTOR = _HOTELPERFORMANCEVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.hotel_performance_view_pb2' - , - __doc__ = """A hotel performance view. - - - Attributes: - resource_name: - The resource name of the hotel performance view. Hotel - performance view resource names have the form: - ``customers/{customer_id}/hotelPerformanceView`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.HotelPerformanceView) - )) -_sym_db.RegisterMessage(HotelPerformanceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2.py b/google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2.py deleted file mode 100644 index 7e5cf38a5..000000000 --- a/google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2.py +++ /dev/null @@ -1,137 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/keyword_plan_keyword.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/keyword_plan_keyword.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\027KeywordPlanKeywordProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/resources/keyword_plan_keyword.proto\x12!google.ads.googleads.v1.resources\x1a.google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata\x12R\n\x06status\x18\x05 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.MutateJobStatusEnum.MutateJobStatus\x12<\n\x16long_running_operation\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xc0\x02\n\x11MutateJobMetadata\x12\x38\n\x12\x63reation_date_time\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63ompletion_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x1a\x65stimated_completion_ratio\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0foperation_count\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18\x65xecuted_operation_count\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xfb\x01\n%com.google.ads.googleads.v1.resourcesB\x0eMutateJobProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mutate__job__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_MUTATEJOB_MUTATEJOBMETADATA = _descriptor.Descriptor( - name='MutateJobMetadata', - full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata.creation_date_time', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='completion_date_time', full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata.completion_date_time', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='estimated_completion_ratio', full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata.estimated_completion_ratio', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operation_count', full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata.operation_count', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='executed_operation_count', full_name='google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata.executed_operation_count', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=588, - serialized_end=908, -) - -_MUTATEJOB = _descriptor.Descriptor( - name='MutateJob', - full_name='google.ads.googleads.v1.resources.MutateJob', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.MutateJob.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.MutateJob.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='next_add_sequence_token', full_name='google.ads.googleads.v1.resources.MutateJob.next_add_sequence_token', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='metadata', full_name='google.ads.googleads.v1.resources.MutateJob.metadata', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.MutateJob.status', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='long_running_operation', full_name='google.ads.googleads.v1.resources.MutateJob.long_running_operation', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[_MUTATEJOB_MUTATEJOBMETADATA, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=219, - serialized_end=908, -) - -_MUTATEJOB_MUTATEJOBMETADATA.fields_by_name['creation_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MUTATEJOB_MUTATEJOBMETADATA.fields_by_name['completion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MUTATEJOB_MUTATEJOBMETADATA.fields_by_name['estimated_completion_ratio'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_MUTATEJOB_MUTATEJOBMETADATA.fields_by_name['operation_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MUTATEJOB_MUTATEJOBMETADATA.fields_by_name['executed_operation_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MUTATEJOB_MUTATEJOBMETADATA.containing_type = _MUTATEJOB -_MUTATEJOB.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MUTATEJOB.fields_by_name['next_add_sequence_token'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MUTATEJOB.fields_by_name['metadata'].message_type = _MUTATEJOB_MUTATEJOBMETADATA -_MUTATEJOB.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mutate__job__status__pb2._MUTATEJOBSTATUSENUM_MUTATEJOBSTATUS -_MUTATEJOB.fields_by_name['long_running_operation'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['MutateJob'] = _MUTATEJOB -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -MutateJob = _reflection.GeneratedProtocolMessageType('MutateJob', (_message.Message,), dict( - - MutateJobMetadata = _reflection.GeneratedProtocolMessageType('MutateJobMetadata', (_message.Message,), dict( - DESCRIPTOR = _MUTATEJOB_MUTATEJOBMETADATA, - __module__ = 'google.ads.googleads_v1.proto.resources.mutate_job_pb2' - , - __doc__ = """Additional information about the mutate job. This message is also used - as metadata returned in mutate job Long Running Operations. - - - Attributes: - creation_date_time: - The time when this mutate job was created. Formatted as yyyy- - mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" - completion_date_time: - The time when this mutate job was completed. Formatted as - yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" - estimated_completion_ratio: - The fraction (between 0.0 and 1.0) of mutates that have been - processed. This is empty if the job hasn't started running - yet. - operation_count: - The number of mutate operations in the mutate job. - executed_operation_count: - The number of mutate operations executed by the mutate job. - Present only if the job has started running. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MutateJob.MutateJobMetadata) - )) - , - DESCRIPTOR = _MUTATEJOB, - __module__ = 'google.ads.googleads_v1.proto.resources.mutate_job_pb2' - , - __doc__ = """A list of mutates being processed asynchronously. The mutates are - uploaded by the user. The mutates themselves aren’t readable and the - results of the job can only be read using - MutateJobService.ListMutateJobResults. - - - Attributes: - resource_name: - The resource name of the mutate job. Mutate job resource names - have the form: - ``customers/{customer_id}/mutateJobs/{mutate_job_id}`` - id: - ID of this mutate job. - next_add_sequence_token: - The next sequence token to use when adding operations. Only - set when the mutate job status is PENDING. - metadata: - Contains additional information about this mutate job. - status: - Status of this mutate job. - long_running_operation: - The resource name of the long-running operation that can be - used to poll for completion. Only set when the mutate job - status is RUNNING or DONE. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MutateJob) - )) -_sym_db.RegisterMessage(MutateJob) -_sym_db.RegisterMessage(MutateJob.MutateJobMetadata) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2.py b/google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2.py deleted file mode 100644 index 9148e6a9c..000000000 --- a/google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2.py +++ /dev/null @@ -1,141 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/operating_system_version_constant.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import operating_system_version_operator_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_operating__system__version__operator__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/operating_system_version_constant.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB#OperatingSystemVersionConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/resources/operating_system_version_constant.proto\x12!google.ads.googleads.v1.resources\x1aPgoogle/ads/googleads_v1/proto/enums/operating_system_version_operator_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfb\x02\n\x1eOperatingSystemVersionConstant\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x10os_major_version\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x35\n\x10os_minor_version\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x7f\n\roperator_type\x18\x06 \x01(\x0e\x32h.google.ads.googleads.v1.enums.OperatingSystemVersionOperatorTypeEnum.OperatingSystemVersionOperatorTypeB\x90\x02\n%com.google.ads.googleads.v1.resourcesB#OperatingSystemVersionConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_operating__system__version__operator__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_OPERATINGSYSTEMVERSIONCONSTANT = _descriptor.Descriptor( - name='OperatingSystemVersionConstant', - full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='os_major_version', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.os_major_version', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='os_minor_version', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.os_minor_version', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operator_type', full_name='google.ads.googleads.v1.resources.OperatingSystemVersionConstant.operator_type', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=263, - serialized_end=642, -) - -_OPERATINGSYSTEMVERSIONCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_OPERATINGSYSTEMVERSIONCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_OPERATINGSYSTEMVERSIONCONSTANT.fields_by_name['os_major_version'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_OPERATINGSYSTEMVERSIONCONSTANT.fields_by_name['os_minor_version'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_OPERATINGSYSTEMVERSIONCONSTANT.fields_by_name['operator_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_operating__system__version__operator__type__pb2._OPERATINGSYSTEMVERSIONOPERATORTYPEENUM_OPERATINGSYSTEMVERSIONOPERATORTYPE -DESCRIPTOR.message_types_by_name['OperatingSystemVersionConstant'] = _OPERATINGSYSTEMVERSIONCONSTANT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -OperatingSystemVersionConstant = _reflection.GeneratedProtocolMessageType('OperatingSystemVersionConstant', (_message.Message,), dict( - DESCRIPTOR = _OPERATINGSYSTEMVERSIONCONSTANT, - __module__ = 'google.ads.googleads_v1.proto.resources.operating_system_version_constant_pb2' - , - __doc__ = """A mobile operating system version or a range of versions, depending on - 'operator\_type'. The complete list of available mobile platforms is - available google/ads/googleads_v1/proto/resources/payments_account.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc4\x02\n\x0fPaymentsAccount\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x39\n\x13payments_account_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rcurrency_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13payments_profile_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x1dsecondary_payments_profile_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x81\x02\n%com.google.ads.googleads.v1.resourcesB\x14PaymentsAccountProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PAYMENTSACCOUNT = _descriptor.Descriptor( - name='PaymentsAccount', - full_name='google.ads.googleads.v1.resources.PaymentsAccount', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.PaymentsAccount.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='payments_account_id', full_name='google.ads.googleads.v1.resources.PaymentsAccount.payments_account_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.PaymentsAccount.name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.resources.PaymentsAccount.currency_code', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='payments_profile_id', full_name='google.ads.googleads.v1.resources.PaymentsAccount.payments_profile_id', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='secondary_payments_profile_id', full_name='google.ads.googleads.v1.resources.PaymentsAccount.secondary_payments_profile_id', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=164, - serialized_end=488, -) - -_PAYMENTSACCOUNT.fields_by_name['payments_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PAYMENTSACCOUNT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PAYMENTSACCOUNT.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PAYMENTSACCOUNT.fields_by_name['payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PAYMENTSACCOUNT.fields_by_name['secondary_payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['PaymentsAccount'] = _PAYMENTSACCOUNT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -PaymentsAccount = _reflection.GeneratedProtocolMessageType('PaymentsAccount', (_message.Message,), dict( - DESCRIPTOR = _PAYMENTSACCOUNT, - __module__ = 'google.ads.googleads_v1.proto.resources.payments_account_pb2' - , - __doc__ = """A Payments account, which can be used to set up billing for an Ads - customer. - - - Attributes: - resource_name: - The resource name of the Payments account. PaymentsAccount - resource names have the form: ``customers/{customer_id}/payme - ntsAccounts/{payments_account_id}`` - payments_account_id: - A 16 digit ID used to identify a Payments account. - name: - The name of the Payments account. - currency_code: - The currency code of the Payments account. A subset of the - currency codes derived from the ISO 4217 standard is - supported. - payments_profile_id: - A 12 digit ID used to identify the Payments profile associated - with the Payments account. - secondary_payments_profile_id: - A secondary Payments profile ID present in uncommon - situations, e.g. when a sequential liability agreement has - been arranged. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.PaymentsAccount) - )) -_sym_db.RegisterMessage(PaymentsAccount) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2.py b/google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2.py deleted file mode 100644 index 427064596..000000000 --- a/google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2.py +++ /dev/null @@ -1,160 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/product_bidding_category_constant.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 -from google.ads.google_ads.v1.proto.enums import product_bidding_category_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__status__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/product_bidding_category_constant.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB#ProductBiddingCategoryConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/resources/product_bidding_category_constant.proto\x12!google.ads.googleads.v1.resources\x1aHgoogle/ads/googleads_v1/proto/enums/product_bidding_category_level.proto\x1aIgoogle/ads/googleads_v1/proto/enums/product_bidding_category_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa8\x04\n\x1eProductBiddingCategoryConstant\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0c\x63ountry_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n(product_bidding_category_constant_parent\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x05level\x18\x05 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel\x12l\n\x06status\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus\x12\x33\n\rlanguage_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0elocalized_name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x90\x02\n%com.google.ads.googleads.v1.resourcesB#ProductBiddingCategoryConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PRODUCTBIDDINGCATEGORYCONSTANT = _descriptor.Descriptor( - name='ProductBiddingCategoryConstant', - full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.country_code', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='product_bidding_category_constant_parent', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.product_bidding_category_constant_parent', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.level', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.status', index=5, - number=6, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.language_code', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='localized_name', full_name='google.ads.googleads.v1.resources.ProductBiddingCategoryConstant.localized_name', index=7, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=330, - serialized_end=882, -) - -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['product_bidding_category_constant_parent'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__status__pb2._PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['localized_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -DESCRIPTOR.message_types_by_name['ProductBiddingCategoryConstant'] = _PRODUCTBIDDINGCATEGORYCONSTANT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductBiddingCategoryConstant = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryConstant', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTBIDDINGCATEGORYCONSTANT, - __module__ = 'google.ads.googleads_v1.proto.resources.product_bidding_category_constant_pb2' - , - __doc__ = """A Product Bidding Category. - - - Attributes: - resource_name: - The resource name of the product bidding category. Product - bidding category resource names have the form: ``productBiddi - ngCategoryConstants/{country_code}~{level}~{id}`` - id: - ID of the product bidding category. This ID is equivalent to - the google\_product\_category ID as described in this article: - https://support.google.com/merchants/answer/6324436. - country_code: - Two-letter upper-case country code of the product bidding - category. - product_bidding_category_constant_parent: - Resource name of the parent product bidding category. - level: - Level of the product bidding category. - status: - Status of the product bidding category. - language_code: - Language code of the product bidding category. - localized_name: - Display value of the product bidding category localized - according to language\_code. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ProductBiddingCategoryConstant) - )) -_sym_db.RegisterMessage(ProductBiddingCategoryConstant) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/product_group_view_pb2.py b/google/ads/google_ads/v1/proto/resources/product_group_view_pb2.py deleted file mode 100644 index 9110bc3cf..000000000 --- a/google/ads/google_ads/v1/proto/resources/product_group_view_pb2.py +++ /dev/null @@ -1,83 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/product_group_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/product_group_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\025ProductGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/resources/product_group_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\")\n\x10ProductGroupView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x82\x02\n%com.google.ads.googleads.v1.resourcesB\x15ProductGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_PRODUCTGROUPVIEW = _descriptor.Descriptor( - name='ProductGroupView', - full_name='google.ads.googleads.v1.resources.ProductGroupView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ProductGroupView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=133, - serialized_end=174, -) - -DESCRIPTOR.message_types_by_name['ProductGroupView'] = _PRODUCTGROUPVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ProductGroupView = _reflection.GeneratedProtocolMessageType('ProductGroupView', (_message.Message,), dict( - DESCRIPTOR = _PRODUCTGROUPVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.product_group_view_pb2' - , - __doc__ = """A product group view. - - - Attributes: - resource_name: - The resource name of the product group view. Product group - view resource names have the form: ``customers/{customer_id}/ - productGroupViews/{ad_group_id}~{criterion_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ProductGroupView) - )) -_sym_db.RegisterMessage(ProductGroupView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/remarketing_action_pb2.py b/google/ads/google_ads/v1/proto/resources/remarketing_action_pb2.py deleted file mode 100644 index fd589da15..000000000 --- a/google/ads/google_ads/v1/proto/resources/remarketing_action_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/remarketing_action.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/remarketing_action.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\026RemarketingActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/resources/remarketing_action.proto\x12!google.ads.googleads.v1.resources\x1a\x36google/ads/googleads_v1/proto/common/tag_snippet.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc1\x01\n\x11RemarketingAction\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x0ctag_snippets\x18\x04 \x03(\x0b\x32*.google.ads.googleads.v1.common.TagSnippetB\x83\x02\n%com.google.ads.googleads.v1.resourcesB\x16RemarketingActionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_REMARKETINGACTION = _descriptor.Descriptor( - name='RemarketingAction', - full_name='google.ads.googleads.v1.resources.RemarketingAction', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.RemarketingAction.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.RemarketingAction.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.RemarketingAction.name', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='tag_snippets', full_name='google.ads.googleads.v1.resources.RemarketingAction.tag_snippets', index=3, - number=4, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=222, - serialized_end=415, -) - -_REMARKETINGACTION.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_REMARKETINGACTION.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_REMARKETINGACTION.fields_by_name['tag_snippets'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_tag__snippet__pb2._TAGSNIPPET -DESCRIPTOR.message_types_by_name['RemarketingAction'] = _REMARKETINGACTION -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -RemarketingAction = _reflection.GeneratedProtocolMessageType('RemarketingAction', (_message.Message,), dict( - DESCRIPTOR = _REMARKETINGACTION, - __module__ = 'google.ads.googleads_v1.proto.resources.remarketing_action_pb2' - , - __doc__ = """A remarketing action. A snippet of JavaScript code that will collect the - product id and the type of page people visited (product page, shopping - cart page, purchase page, general site visit) on an advertiser's - website. - - - Attributes: - resource_name: - The resource name of the remarketing action. Remarketing - action resource names have the form: ``customers/{customer_id - }/remarketingActions/{remarketing_action_id}`` - id: - Id of the remarketing action. - name: - The name of the remarketing action. This field is required - and should not be empty when creating new remarketing actions. - tag_snippets: - The snippets used for tracking remarketing actions. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.RemarketingAction) - )) -_sym_db.RegisterMessage(RemarketingAction) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/search_term_view_pb2.py b/google/ads/google_ads/v1/proto/resources/search_term_view_pb2.py deleted file mode 100644 index a96e0d714..000000000 --- a/google/ads/google_ads/v1/proto/resources/search_term_view_pb2.py +++ /dev/null @@ -1,118 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/search_term_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import search_term_targeting_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__term__targeting__status__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/search_term_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023SearchTermViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/resources/search_term_view.proto\x12!google.ads.googleads.v1.resources\x1a\x46google/ads/googleads_v1/proto/enums/search_term_targeting_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf2\x01\n\x0eSearchTermView\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0bsearch_term\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x66\n\x06status\x18\x04 \x01(\x0e\x32V.google.ads.googleads.v1.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatusB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13SearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__term__targeting__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_SEARCHTERMVIEW = _descriptor.Descriptor( - name='SearchTermView', - full_name='google.ads.googleads.v1.resources.SearchTermView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.SearchTermView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='search_term', full_name='google.ads.googleads.v1.resources.SearchTermView.search_term', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.SearchTermView.ad_group', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.SearchTermView.status', index=3, - number=4, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=236, - serialized_end=478, -) - -_SEARCHTERMVIEW.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEARCHTERMVIEW.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEARCHTERMVIEW.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__term__targeting__status__pb2._SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS -DESCRIPTOR.message_types_by_name['SearchTermView'] = _SEARCHTERMVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SearchTermView = _reflection.GeneratedProtocolMessageType('SearchTermView', (_message.Message,), dict( - DESCRIPTOR = _SEARCHTERMVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.search_term_view_pb2' - , - __doc__ = """A search term view with metrics aggregated by search term at the ad - group level. - - - Attributes: - resource_name: - The resource name of the search term view. Search term view - resource names have the form: ``customers/{customer_id}/searc - hTermViews/{campaign_id}~{ad_group_id}~ {URL-base64 search - term}`` - search_term: - The search term. - ad_group: - The ad group the search term served in. - status: - Indicates whether the search term is currently one of your - targeted or excluded keywords. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.SearchTermView) - )) -_sym_db.RegisterMessage(SearchTermView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/shared_set_pb2.py b/google/ads/google_ads/v1/proto/resources/shared_set_pb2.py deleted file mode 100644 index f9b816483..000000000 --- a/google/ads/google_ads/v1/proto/resources/shared_set_pb2.py +++ /dev/null @@ -1,153 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/shared_set.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.enums import shared_set_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__status__pb2 -from google.ads.google_ads.v1.proto.enums import shared_set_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__type__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/shared_set.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\016SharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/resources/shared_set.proto\x12!google.ads.googleads.v1.resources\x1a;google/ads/googleads_v1/proto/enums/shared_set_status.proto\x1a\x39google/ads/googleads_v1/proto/enums/shared_set_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x82\x03\n\tSharedSet\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x04type\x18\x03 \x01(\x0e\x32>.google.ads.googleads.v1.enums.SharedSetTypeEnum.SharedSetType\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12R\n\x06status\x18\x05 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.SharedSetStatusEnum.SharedSetStatus\x12\x31\n\x0cmember_count\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0freference_count\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xfb\x01\n%com.google.ads.googleads.v1.resourcesB\x0eSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_SHAREDSET = _descriptor.Descriptor( - name='SharedSet', - full_name='google.ads.googleads.v1.resources.SharedSet', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.SharedSet.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.SharedSet.id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.SharedSet.type', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.SharedSet.name', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.SharedSet.status', index=4, - number=5, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='member_count', full_name='google.ads.googleads.v1.resources.SharedSet.member_count', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='reference_count', full_name='google.ads.googleads.v1.resources.SharedSet.reference_count', index=6, - number=7, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=278, - serialized_end=664, -) - -_SHAREDSET.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_SHAREDSET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__type__pb2._SHAREDSETTYPEENUM_SHAREDSETTYPE -_SHAREDSET.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SHAREDSET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_shared__set__status__pb2._SHAREDSETSTATUSENUM_SHAREDSETSTATUS -_SHAREDSET.fields_by_name['member_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_SHAREDSET.fields_by_name['reference_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -DESCRIPTOR.message_types_by_name['SharedSet'] = _SHAREDSET -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -SharedSet = _reflection.GeneratedProtocolMessageType('SharedSet', (_message.Message,), dict( - DESCRIPTOR = _SHAREDSET, - __module__ = 'google.ads.googleads_v1.proto.resources.shared_set_pb2' - , - __doc__ = """SharedSets are used for sharing criterion exclusions across multiple - campaigns. - - - Attributes: - resource_name: - The resource name of the shared set. Shared set resource names - have the form: - ``customers/{customer_id}/sharedSets/{shared_set_id}`` - id: - The ID of this shared set. Read only. - type: - The type of this shared set: each shared set holds only a - single kind of resource. Required. Immutable. - name: - The name of this shared set. Required. Shared Sets must have - names that are unique among active shared sets of the same - type. The length of this string should be between 1 and 255 - UTF-8 bytes, inclusive. - status: - The status of this shared set. Read only. - member_count: - The number of shared criteria within this shared set. Read - only. - reference_count: - The number of campaigns associated with this shared set. Read - only. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.SharedSet) - )) -_sym_db.RegisterMessage(SharedSet) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2.py b/google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2.py deleted file mode 100644 index 7f937e279..000000000 --- a/google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2.py +++ /dev/null @@ -1,87 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/shopping_performance_view.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/shopping_performance_view.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\034ShoppingPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/resources/shopping_performance_view.proto\x12!google.ads.googleads.v1.resources\x1a\x1cgoogle/api/annotations.proto\"0\n\x17ShoppingPerformanceView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\x89\x02\n%com.google.ads.googleads.v1.resourcesB\x1cShoppingPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') - , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_SHOPPINGPERFORMANCEVIEW = _descriptor.Descriptor( - name='ShoppingPerformanceView', - full_name='google.ads.googleads.v1.resources.ShoppingPerformanceView', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ShoppingPerformanceView.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=140, - serialized_end=188, -) - -DESCRIPTOR.message_types_by_name['ShoppingPerformanceView'] = _SHOPPINGPERFORMANCEVIEW -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -ShoppingPerformanceView = _reflection.GeneratedProtocolMessageType('ShoppingPerformanceView', (_message.Message,), dict( - DESCRIPTOR = _SHOPPINGPERFORMANCEVIEW, - __module__ = 'google.ads.googleads_v1.proto.resources.shopping_performance_view_pb2' - , - __doc__ = """Shopping performance view. Provides Shopping campaign statistics - aggregated at several product dimension levels. Product dimension values - from Merchant Center such as brand, category, custom attributes, product - condition and product type will reflect the state of each dimension as - of the date and time when the corresponding event was recorded. - - - Attributes: - resource_name: - The resource name of the Shopping performance view. Shopping - performance view resource names have the form: - ``customers/{customer_id}/shoppingPerformanceView`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ShoppingPerformanceView) - )) -_sym_db.RegisterMessage(ShoppingPerformanceView) - - -DESCRIPTOR._options = None -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/topic_constant_pb2.py b/google/ads/google_ads/v1/proto/resources/topic_constant_pb2.py deleted file mode 100644 index b2676638d..000000000 --- a/google/ads/google_ads/v1/proto/resources/topic_constant_pb2.py +++ /dev/null @@ -1,119 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/topic_constant.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/topic_constant.proto', - package='google.ads.googleads.v1.resources', - syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\022TopicConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/adGroupAudienceViews/*}B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1f\x41\x64GroupAudienceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPAUDIENCEVIEWREQUEST = _descriptor.Descriptor( - name='GetAdGroupAudienceViewRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupAudienceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupAudienceViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=213, - serialized_end=267, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupAudienceViewRequest'] = _GETADGROUPAUDIENCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupAudienceViewRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAudienceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPAUDIENCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_audience_view_service_pb2' - , - __doc__ = """Request message for - [AdGroupAudienceViewService.GetAdGoupAudienceView][]. - - - Attributes: - resource_name: - The resource name of the ad group audience view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupAudienceViewRequest) - )) -_sym_db.RegisterMessage(GetAdGroupAudienceViewRequest) - - -DESCRIPTOR._options = None - -_ADGROUPAUDIENCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupAudienceViewService', - full_name='google.ads.googleads.v1.services.AdGroupAudienceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=270, - serialized_end=510, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupAudienceView', - full_name='google.ads.googleads.v1.services.AdGroupAudienceViewService.GetAdGroupAudienceView', - index=0, - containing_service=None, - input_type=_GETADGROUPAUDIENCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2._ADGROUPAUDIENCEVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/adGroupAudienceViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPAUDIENCEVIEWSERVICE) - -DESCRIPTOR.services_by_name['AdGroupAudienceViewService'] = _ADGROUPAUDIENCEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2.py b/google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2.py deleted file mode 100644 index 2860f8284..000000000 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_criterion_simulation_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_criterion_simulation_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB&AdGroupCriterionSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v1/proto/services/ad_group_criterion_simulation_service.proto\x12 google.ads.googleads.v1.services\x1aKgoogle/ads/googleads_v1/proto/resources/ad_group_criterion_simulation.proto\x1a\x1cgoogle/api/annotations.proto\"=\n$GetAdGroupCriterionSimulationRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x93\x02\n!AdGroupCriterionSimulationService\x12\xed\x01\n\x1dGetAdGroupCriterionSimulation\x12\x46.google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest\x1a=.google.ads.googleads.v1.resources.AdGroupCriterionSimulation\"E\x82\xd3\xe4\x93\x02?\x12=/v1/{resource_name=customers/*/adGroupCriterionSimulations/*}B\x8d\x02\n$com.google.ads.googleads.v1.servicesB&AdGroupCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( - name='GetAdGroupCriterionSimulationRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=227, - serialized_end=288, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupCriterionSimulationRequest'] = _GETADGROUPCRITERIONSIMULATIONREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionSimulationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPCRITERIONSIMULATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_simulation_service_pb2' - , - __doc__ = """Request message for - [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v1.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation]. - - - Attributes: - resource_name: - The resource name of the ad group criterion simulation to - fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupCriterionSimulationRequest) - )) -_sym_db.RegisterMessage(GetAdGroupCriterionSimulationRequest) - - -DESCRIPTOR._options = None - -_ADGROUPCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupCriterionSimulationService', - full_name='google.ads.googleads.v1.services.AdGroupCriterionSimulationService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=291, - serialized_end=566, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupCriterionSimulation', - full_name='google.ads.googleads.v1.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation', - index=0, - containing_service=None, - input_type=_GETADGROUPCRITERIONSIMULATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2._ADGROUPCRITERIONSIMULATION, - serialized_options=_b('\202\323\344\223\002?\022=/v1/{resource_name=customers/*/adGroupCriterionSimulations/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONSIMULATIONSERVICE) - -DESCRIPTOR.services_by_name['AdGroupCriterionSimulationService'] = _ADGROUPCRITERIONSIMULATIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_simulation_service_pb2.py b/google/ads/google_ads/v1/proto/services/ad_group_simulation_service_pb2.py deleted file mode 100644 index 4324815d2..000000000 --- a/google/ads/google_ads/v1/proto/services/ad_group_simulation_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_simulation_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import ad_group_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_simulation_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035AdGroupSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/services/ad_group_simulation_service.proto\x12 google.ads.googleads.v1.services\x1a\x41google/ads/googleads_v1/proto/resources/ad_group_simulation.proto\x1a\x1cgoogle/api/annotations.proto\"4\n\x1bGetAdGroupSimulationRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe6\x01\n\x18\x41\x64GroupSimulationService\x12\xc9\x01\n\x14GetAdGroupSimulation\x12=.google.ads.googleads.v1.services.GetAdGroupSimulationRequest\x1a\x34.google.ads.googleads.v1.resources.AdGroupSimulation\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{resource_name=customers/*/adGroupSimulations/*}B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1d\x41\x64GroupSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETADGROUPSIMULATIONREQUEST = _descriptor.Descriptor( - name='GetAdGroupSimulationRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupSimulationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupSimulationRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=207, - serialized_end=259, -) - -DESCRIPTOR.message_types_by_name['GetAdGroupSimulationRequest'] = _GETADGROUPSIMULATIONREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdGroupSimulationRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupSimulationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADGROUPSIMULATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_simulation_service_pb2' - , - __doc__ = """Request message for - [AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v1.services.AdGroupSimulationService.GetAdGroupSimulation]. - - - Attributes: - resource_name: - The resource name of the ad group simulation to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupSimulationRequest) - )) -_sym_db.RegisterMessage(GetAdGroupSimulationRequest) - - -DESCRIPTOR._options = None - -_ADGROUPSIMULATIONSERVICE = _descriptor.ServiceDescriptor( - name='AdGroupSimulationService', - full_name='google.ads.googleads.v1.services.AdGroupSimulationService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=262, - serialized_end=492, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdGroupSimulation', - full_name='google.ads.googleads.v1.services.AdGroupSimulationService.GetAdGroupSimulation', - index=0, - containing_service=None, - input_type=_GETADGROUPSIMULATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2._ADGROUPSIMULATION, - serialized_options=_b('\202\323\344\223\0026\0224/v1/{resource_name=customers/*/adGroupSimulations/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADGROUPSIMULATIONSERVICE) - -DESCRIPTOR.services_by_name['AdGroupSimulationService'] = _ADGROUPSIMULATIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2.py deleted file mode 100644 index 7ebdcd554..000000000 --- a/google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_schedule_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_schedule_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032AdScheduleViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/ad_schedule_view_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/ad_schedule_view.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetAdScheduleViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x01\n\x15\x41\x64ScheduleViewService\x12\xbd\x01\n\x11GetAdScheduleView\x12:.google.ads.googleads.v1.services.GetAdScheduleViewRequest\x1a\x31.google.ads.googleads.v1.resources.AdScheduleView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/adScheduleViews/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x41\x64ScheduleViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETADSCHEDULEVIEWREQUEST = _descriptor.Descriptor( - name='GetAdScheduleViewRequest', - full_name='google.ads.googleads.v1.services.GetAdScheduleViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdScheduleViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=201, - serialized_end=250, -) - -DESCRIPTOR.message_types_by_name['GetAdScheduleViewRequest'] = _GETADSCHEDULEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetAdScheduleViewRequest = _reflection.GeneratedProtocolMessageType('GetAdScheduleViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETADSCHEDULEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_schedule_view_service_pb2' - , - __doc__ = """Request message for - [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v1.services.AdScheduleViewService.GetAdScheduleView]. - - - Attributes: - resource_name: - The resource name of the ad schedule view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdScheduleViewRequest) - )) -_sym_db.RegisterMessage(GetAdScheduleViewRequest) - - -DESCRIPTOR._options = None - -_ADSCHEDULEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='AdScheduleViewService', - full_name='google.ads.googleads.v1.services.AdScheduleViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=253, - serialized_end=468, - methods=[ - _descriptor.MethodDescriptor( - name='GetAdScheduleView', - full_name='google.ads.googleads.v1.services.AdScheduleViewService.GetAdScheduleView', - index=0, - containing_service=None, - input_type=_GETADSCHEDULEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/adScheduleViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_ADSCHEDULEVIEWSERVICE) - -DESCRIPTOR.services_by_name['AdScheduleViewService'] = _ADSCHEDULEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/age_range_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/age_range_view_service_pb2.py deleted file mode 100644 index c1f400a72..000000000 --- a/google/ads/google_ads/v1/proto/services/age_range_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/age_range_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_age__range__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/age_range_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030AgeRangeViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/age_range_view_service.proto\x12 google.ads.googleads.v1.services\x1a\n%GetCampaignCriterionSimulationRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x98\x02\n\"CampaignCriterionSimulationService\x12\xf1\x01\n\x1eGetCampaignCriterionSimulation\x12G.google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest\x1a>.google.ads.googleads.v1.resources.CampaignCriterionSimulation\"F\x82\xd3\xe4\x93\x02@\x12>/v1/{resource_name=customers/*/campaignCriterionSimulations/*}B\x8e\x02\n$com.google.ads.googleads.v1.servicesB\'CampaignCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETCAMPAIGNCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( - name='GetCampaignCriterionSimulationRequest', - full_name='google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=227, - serialized_end=289, -) - -DESCRIPTOR.message_types_by_name['GetCampaignCriterionSimulationRequest'] = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCampaignCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetCampaignCriterionSimulationRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_simulation_service_pb2' - , - __doc__ = """Request message for - [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. - - - Attributes: - resource_name: - The resource name of the campaign criterion simulation to - fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignCriterionSimulationRequest) - )) -_sym_db.RegisterMessage(GetCampaignCriterionSimulationRequest) - - -DESCRIPTOR._options = None - -_CAMPAIGNCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( - name='CampaignCriterionSimulationService', - full_name='google.ads.googleads.v1.services.CampaignCriterionSimulationService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=292, - serialized_end=572, - methods=[ - _descriptor.MethodDescriptor( - name='GetCampaignCriterionSimulation', - full_name='google.ads.googleads.v1.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation', - index=0, - containing_service=None, - input_type=_GETCAMPAIGNCRITERIONSIMULATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION, - serialized_options=_b('\202\323\344\223\002@\022>/v1/{resource_name=customers/*/campaignCriterionSimulations/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CAMPAIGNCRITERIONSIMULATIONSERVICE) - -DESCRIPTOR.services_by_name['CampaignCriterionSimulationService'] = _CAMPAIGNCRITERIONSIMULATIONSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2.py deleted file mode 100644 index a71d6324a..000000000 --- a/google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/carrier_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/carrier_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033CarrierConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/carrier_constant_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/carrier_constant.proto\x1a\x1cgoogle/api/annotations.proto\"2\n\x19GetCarrierConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd0\x01\n\x16\x43\x61rrierConstantService\x12\xb5\x01\n\x12GetCarrierConstant\x12;.google.ads.googleads.v1.services.GetCarrierConstantRequest\x1a\x32.google.ads.googleads.v1.resources.CarrierConstant\".\x82\xd3\xe4\x93\x02(\x12&/v1/{resource_name=carrierConstants/*}B\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1b\x43\x61rrierConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETCARRIERCONSTANTREQUEST = _descriptor.Descriptor( - name='GetCarrierConstantRequest', - full_name='google.ads.googleads.v1.services.GetCarrierConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCarrierConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=201, - serialized_end=251, -) - -DESCRIPTOR.message_types_by_name['GetCarrierConstantRequest'] = _GETCARRIERCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCarrierConstantRequest = _reflection.GeneratedProtocolMessageType('GetCarrierConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCARRIERCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.carrier_constant_service_pb2' - , - __doc__ = """Request message for - [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v1.services.CarrierConstantService.GetCarrierConstant]. - - - Attributes: - resource_name: - Resource name of the carrier constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCarrierConstantRequest) - )) -_sym_db.RegisterMessage(GetCarrierConstantRequest) - - -DESCRIPTOR._options = None - -_CARRIERCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='CarrierConstantService', - full_name='google.ads.googleads.v1.services.CarrierConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=254, - serialized_end=462, - methods=[ - _descriptor.MethodDescriptor( - name='GetCarrierConstant', - full_name='google.ads.googleads.v1.services.CarrierConstantService.GetCarrierConstant', - index=0, - containing_service=None, - input_type=_GETCARRIERCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT, - serialized_options=_b('\202\323\344\223\002(\022&/v1/{resource_name=carrierConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CARRIERCONSTANTSERVICE) - -DESCRIPTOR.services_by_name['CarrierConstantService'] = _CARRIERCONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/change_status_service_pb2.py b/google/ads/google_ads/v1/proto/services/change_status_service_pb2.py deleted file mode 100644 index 1d93f7a32..000000000 --- a/google/ads/google_ads/v1/proto/services/change_status_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/change_status_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/change_status_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030ChangeStatusServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/change_status_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/change_status.proto\x1a\x1cgoogle/api/annotations.proto\"/\n\x16GetChangeStatusRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcc\x01\n\x13\x43hangeStatusService\x12\xb4\x01\n\x0fGetChangeStatus\x12\x38.google.ads.googleads.v1.services.GetChangeStatusRequest\x1a/.google.ads.googleads.v1.resources.ChangeStatus\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{resource_name=customers/*/changeStatus/*}B\xff\x01\n$com.google.ads.googleads.v1.servicesB\x18\x43hangeStatusServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETCHANGESTATUSREQUEST = _descriptor.Descriptor( - name='GetChangeStatusRequest', - full_name='google.ads.googleads.v1.services.GetChangeStatusRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetChangeStatusRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=195, - serialized_end=242, -) - -DESCRIPTOR.message_types_by_name['GetChangeStatusRequest'] = _GETCHANGESTATUSREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetChangeStatusRequest = _reflection.GeneratedProtocolMessageType('GetChangeStatusRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCHANGESTATUSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.change_status_service_pb2' - , - __doc__ = """Request message for - '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v1.services.ChangeStatusService.GetChangeStatus]'. - - - Attributes: - resource_name: - The resource name of the change status to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetChangeStatusRequest) - )) -_sym_db.RegisterMessage(GetChangeStatusRequest) - - -DESCRIPTOR._options = None - -_CHANGESTATUSSERVICE = _descriptor.ServiceDescriptor( - name='ChangeStatusService', - full_name='google.ads.googleads.v1.services.ChangeStatusService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=245, - serialized_end=449, - methods=[ - _descriptor.MethodDescriptor( - name='GetChangeStatus', - full_name='google.ads.googleads.v1.services.ChangeStatusService.GetChangeStatus', - index=0, - containing_service=None, - input_type=_GETCHANGESTATUSREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS, - serialized_options=_b('\202\323\344\223\0020\022./v1/{resource_name=customers/*/changeStatus/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CHANGESTATUSSERVICE) - -DESCRIPTOR.services_by_name['ChangeStatusService'] = _CHANGESTATUSSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/click_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/click_view_service_pb2.py deleted file mode 100644 index ef61f672d..000000000 --- a/google/ads/google_ads/v1/proto/services/click_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/click_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/click_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025ClickViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/services/click_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x38google/ads/googleads_v1/proto/resources/click_view.proto\x1a\x1cgoogle/api/annotations.proto\",\n\x13GetClickViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbe\x01\n\x10\x43lickViewService\x12\xa9\x01\n\x0cGetClickView\x12\x35.google.ads.googleads.v1.services.GetClickViewRequest\x1a,.google.ads.googleads.v1.resources.ClickView\"4\x82\xd3\xe4\x93\x02.\x12,/v1/{resource_name=customers/*/clickViews/*}B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15\x43lickViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETCLICKVIEWREQUEST = _descriptor.Descriptor( - name='GetClickViewRequest', - full_name='google.ads.googleads.v1.services.GetClickViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetClickViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=189, - serialized_end=233, -) - -DESCRIPTOR.message_types_by_name['GetClickViewRequest'] = _GETCLICKVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetClickViewRequest = _reflection.GeneratedProtocolMessageType('GetClickViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCLICKVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.click_view_service_pb2' - , - __doc__ = """Request message for - [ClickViewService.GetClickView][google.ads.googleads.v1.services.ClickViewService.GetClickView]. - - - Attributes: - resource_name: - The resource name of the click view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetClickViewRequest) - )) -_sym_db.RegisterMessage(GetClickViewRequest) - - -DESCRIPTOR._options = None - -_CLICKVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ClickViewService', - full_name='google.ads.googleads.v1.services.ClickViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=236, - serialized_end=426, - methods=[ - _descriptor.MethodDescriptor( - name='GetClickView', - full_name='google.ads.googleads.v1.services.ClickViewService.GetClickView', - index=0, - containing_service=None, - input_type=_GETCLICKVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW, - serialized_options=_b('\202\323\344\223\002.\022,/v1/{resource_name=customers/*/clickViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CLICKVIEWSERVICE) - -DESCRIPTOR.services_by_name['ClickViewService'] = _CLICKVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/customer_client_service_pb2.py b/google/ads/google_ads/v1/proto/services/customer_client_service_pb2.py deleted file mode 100644 index bbacf40d6..000000000 --- a/google/ads/google_ads/v1/proto/services/customer_client_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_client_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_client_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032CustomerClientServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/services/customer_client_service.proto\x12 google.ads.googleads.v1.services\x1a=google/ads/googleads_v1/proto/resources/customer_client.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetCustomerClientRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x01\n\x15\x43ustomerClientService\x12\xbd\x01\n\x11GetCustomerClient\x12:.google.ads.googleads.v1.services.GetCustomerClientRequest\x1a\x31.google.ads.googleads.v1.resources.CustomerClient\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/customerClients/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x43ustomerClientServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERCLIENTREQUEST = _descriptor.Descriptor( - name='GetCustomerClientRequest', - full_name='google.ads.googleads.v1.services.GetCustomerClientRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerClientRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=199, - serialized_end=248, -) - -DESCRIPTOR.message_types_by_name['GetCustomerClientRequest'] = _GETCUSTOMERCLIENTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerClientRequest = _reflection.GeneratedProtocolMessageType('GetCustomerClientRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERCLIENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_service_pb2' - , - __doc__ = """Request message for - [CustomerClientService.GetCustomerClient][google.ads.googleads.v1.services.CustomerClientService.GetCustomerClient]. - - - Attributes: - resource_name: - The resource name of the client to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerClientRequest) - )) -_sym_db.RegisterMessage(GetCustomerClientRequest) - - -DESCRIPTOR._options = None - -_CUSTOMERCLIENTSERVICE = _descriptor.ServiceDescriptor( - name='CustomerClientService', - full_name='google.ads.googleads.v1.services.CustomerClientService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=251, - serialized_end=466, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerClient', - full_name='google.ads.googleads.v1.services.CustomerClientService.GetCustomerClient', - index=0, - containing_service=None, - input_type=_GETCUSTOMERCLIENTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/customerClients/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERCLIENTSERVICE) - -DESCRIPTOR.services_by_name['CustomerClientService'] = _CUSTOMERCLIENTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2.py b/google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2.py deleted file mode 100644 index 5c6a20069..000000000 --- a/google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2.py +++ /dev/null @@ -1,345 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_manager_link_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_manager_link_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\037CustomerManagerLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/customer_manager_link_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/customer_manager_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"6\n\x1dGetCustomerManagerLinkRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x8b\x01\n MutateCustomerManagerLinkRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12R\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.services.CustomerManagerLinkOperation\"\xa6\x01\n\x1c\x43ustomerManagerLinkOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.CustomerManagerLinkH\x00\x42\x0b\n\toperation\"w\n!MutateCustomerManagerLinkResponse\x12R\n\x07results\x18\x01 \x03(\x0b\x32\x41.google.ads.googleads.v1.services.MutateCustomerManagerLinkResult\"8\n\x1fMutateCustomerManagerLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xdd\x03\n\x1a\x43ustomerManagerLinkService\x12\xd1\x01\n\x16GetCustomerManagerLink\x12?.google.ads.googleads.v1.services.GetCustomerManagerLinkRequest\x1a\x36.google.ads.googleads.v1.resources.CustomerManagerLink\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/customerManagerLinks/*}\x12\xea\x01\n\x19MutateCustomerManagerLink\x12\x42.google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest\x1a\x43.google.ads.googleads.v1.services.MutateCustomerManagerLinkResponse\"D\x82\xd3\xe4\x93\x02>\"9/v1/customers/{customer_id=*}/customerManagerLinks:mutate:\x01*B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1f\x43ustomerManagerLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) - - - - -_GETCUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( - name='GetCustomerManagerLinkRequest', - full_name='google.ads.googleads.v1.services.GetCustomerManagerLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerManagerLinkRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=245, - serialized_end=299, -) - - -_MUTATECUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( - name='MutateCustomerManagerLinkRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest.customer_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest.operations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=302, - serialized_end=441, -) - - -_CUSTOMERMANAGERLINKOPERATION = _descriptor.Descriptor( - name='CustomerManagerLinkOperation', - full_name='google.ads.googleads.v1.services.CustomerManagerLinkOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomerManagerLinkOperation.update_mask', index=0, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomerManagerLinkOperation.update', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerManagerLinkOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=444, - serialized_end=610, -) - - -_MUTATECUSTOMERMANAGERLINKRESPONSE = _descriptor.Descriptor( - name='MutateCustomerManagerLinkResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkResponse.results', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=612, - serialized_end=731, -) - - -_MUTATECUSTOMERMANAGERLINKRESULT = _descriptor.Descriptor( - name='MutateCustomerManagerLinkResult', - full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerManagerLinkResult.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=733, - serialized_end=789, -) - -_MUTATECUSTOMERMANAGERLINKREQUEST.fields_by_name['operations'].message_type = _CUSTOMERMANAGERLINKOPERATION -_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK -_CUSTOMERMANAGERLINKOPERATION.oneofs_by_name['operation'].fields.append( - _CUSTOMERMANAGERLINKOPERATION.fields_by_name['update']) -_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMERMANAGERLINKOPERATION.oneofs_by_name['operation'] -_MUTATECUSTOMERMANAGERLINKRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMERMANAGERLINKRESULT -DESCRIPTOR.message_types_by_name['GetCustomerManagerLinkRequest'] = _GETCUSTOMERMANAGERLINKREQUEST -DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkRequest'] = _MUTATECUSTOMERMANAGERLINKREQUEST -DESCRIPTOR.message_types_by_name['CustomerManagerLinkOperation'] = _CUSTOMERMANAGERLINKOPERATION -DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkResponse'] = _MUTATECUSTOMERMANAGERLINKRESPONSE -DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkResult'] = _MUTATECUSTOMERMANAGERLINKRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetCustomerManagerLinkRequest = _reflection.GeneratedProtocolMessageType('GetCustomerManagerLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _GETCUSTOMERMANAGERLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Request message for - [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v1.services.CustomerManagerLinkService.GetCustomerManagerLink]. - - - Attributes: - resource_name: - The resource name of the CustomerManagerLink to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerManagerLinkRequest) - )) -_sym_db.RegisterMessage(GetCustomerManagerLinkRequest) - -MutateCustomerManagerLinkRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Request message for - [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v1.services.CustomerManagerLinkService.MutateCustomerManagerLink]. - - - Attributes: - customer_id: - The ID of the customer whose customer manager links are being - modified. - operations: - The list of operations to perform on individual customer - manager links. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerManagerLinkRequest) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkRequest) - -CustomerManagerLinkOperation = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkOperation', (_message.Message,), dict( - DESCRIPTOR = _CUSTOMERMANAGERLINKOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Updates the status of a CustomerManagerLink. The following actions are - possible: 1. Update operation with status ACTIVE accepts a pending - invitation. 2. Update operation with status REFUSED declines a pending - invitation. 3. Update operation with status INACTIVE terminates link to - manager. - - - Attributes: - update_mask: - FieldMask that determines which resource fields are modified - in an update. - operation: - The mutate operation. - update: - Update operation: The link is expected to have a valid - resource name. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerManagerLinkOperation) - )) -_sym_db.RegisterMessage(CustomerManagerLinkOperation) - -MutateCustomerManagerLinkResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """Response message for a CustomerManagerLink mutate. - - - Attributes: - results: - A result that identifies the resource affected by the mutate - request. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerManagerLinkResponse) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkResponse) - -MutateCustomerManagerLinkResult = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_manager_link_service_pb2' - , - __doc__ = """The result for the customer manager link mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerManagerLinkResult) - )) -_sym_db.RegisterMessage(MutateCustomerManagerLinkResult) - - -DESCRIPTOR._options = None - -_CUSTOMERMANAGERLINKSERVICE = _descriptor.ServiceDescriptor( - name='CustomerManagerLinkService', - full_name='google.ads.googleads.v1.services.CustomerManagerLinkService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=792, - serialized_end=1269, - methods=[ - _descriptor.MethodDescriptor( - name='GetCustomerManagerLink', - full_name='google.ads.googleads.v1.services.CustomerManagerLinkService.GetCustomerManagerLink', - index=0, - containing_service=None, - input_type=_GETCUSTOMERMANAGERLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/customerManagerLinks/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateCustomerManagerLink', - full_name='google.ads.googleads.v1.services.CustomerManagerLinkService.MutateCustomerManagerLink', - index=1, - containing_service=None, - input_type=_MUTATECUSTOMERMANAGERLINKREQUEST, - output_type=_MUTATECUSTOMERMANAGERLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v1/customers/{customer_id=*}/customerManagerLinks:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_CUSTOMERMANAGERLINKSERVICE) - -DESCRIPTOR.services_by_name['CustomerManagerLinkService'] = _CUSTOMERMANAGERLINKSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py deleted file mode 100644 index 10f2306f7..000000000 --- a/google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/detail_placement_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/detail_placement_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\037DetailPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/detail_placement_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/detail_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\"6\n\x1dGetDetailPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf0\x01\n\x1a\x44\x65tailPlacementViewService\x12\xd1\x01\n\x16GetDetailPlacementView\x12?.google.ads.googleads.v1.services.GetDetailPlacementViewRequest\x1a\x36.google.ads.googleads.v1.resources.DetailPlacementView\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/detailPlacementViews/*}B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1f\x44\x65tailPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETDETAILPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetDetailPlacementViewRequest', - full_name='google.ads.googleads.v1.services.GetDetailPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetDetailPlacementViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=211, - serialized_end=265, -) - -DESCRIPTOR.message_types_by_name['GetDetailPlacementViewRequest'] = _GETDETAILPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDetailPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetDetailPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDETAILPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.detail_placement_view_service_pb2' - , - __doc__ = """Request message for - [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v1.services.DetailPlacementViewService.GetDetailPlacementView]. - - - Attributes: - resource_name: - The resource name of the Detail Placement view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetDetailPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetDetailPlacementViewRequest) - - -DESCRIPTOR._options = None - -_DETAILPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DetailPlacementViewService', - full_name='google.ads.googleads.v1.services.DetailPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=268, - serialized_end=508, - methods=[ - _descriptor.MethodDescriptor( - name='GetDetailPlacementView', - full_name='google.ads.googleads.v1.services.DetailPlacementViewService.GetDetailPlacementView', - index=0, - containing_service=None, - input_type=_GETDETAILPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/detailPlacementViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_DETAILPLACEMENTVIEWSERVICE) - -DESCRIPTOR.services_by_name['DetailPlacementViewService'] = _DETAILPLACEMENTVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2.py deleted file mode 100644 index 922d4e261..000000000 --- a/google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/display_keyword_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/display_keyword_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036DisplayKeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/services/display_keyword_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x42google/ads/googleads_v1/proto/resources/display_keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\"5\n\x1cGetDisplayKeywordViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xeb\x01\n\x19\x44isplayKeywordViewService\x12\xcd\x01\n\x15GetDisplayKeywordView\x12>.google.ads.googleads.v1.services.GetDisplayKeywordViewRequest\x1a\x35.google.ads.googleads.v1.resources.DisplayKeywordView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/displayKeywordViews/*}B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1e\x44isplayKeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETDISPLAYKEYWORDVIEWREQUEST = _descriptor.Descriptor( - name='GetDisplayKeywordViewRequest', - full_name='google.ads.googleads.v1.services.GetDisplayKeywordViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetDisplayKeywordViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=209, - serialized_end=262, -) - -DESCRIPTOR.message_types_by_name['GetDisplayKeywordViewRequest'] = _GETDISPLAYKEYWORDVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDisplayKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetDisplayKeywordViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDISPLAYKEYWORDVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.display_keyword_view_service_pb2' - , - __doc__ = """Request message for - [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v1.services.DisplayKeywordViewService.GetDisplayKeywordView]. - - - Attributes: - resource_name: - The resource name of the display keyword view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetDisplayKeywordViewRequest) - )) -_sym_db.RegisterMessage(GetDisplayKeywordViewRequest) - - -DESCRIPTOR._options = None - -_DISPLAYKEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DisplayKeywordViewService', - full_name='google.ads.googleads.v1.services.DisplayKeywordViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=265, - serialized_end=500, - methods=[ - _descriptor.MethodDescriptor( - name='GetDisplayKeywordView', - full_name='google.ads.googleads.v1.services.DisplayKeywordViewService.GetDisplayKeywordView', - index=0, - containing_service=None, - input_type=_GETDISPLAYKEYWORDVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/displayKeywordViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_DISPLAYKEYWORDVIEWSERVICE) - -DESCRIPTOR.services_by_name['DisplayKeywordViewService'] = _DISPLAYKEYWORDVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/domain_category_service_pb2.py b/google/ads/google_ads/v1/proto/services/domain_category_service_pb2.py deleted file mode 100644 index 64ea12a06..000000000 --- a/google/ads/google_ads/v1/proto/services/domain_category_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/domain_category_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/domain_category_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032DomainCategoryServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/services/domain_category_service.proto\x12 google.ads.googleads.v1.services\x1a=google/ads/googleads_v1/proto/resources/domain_category.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetDomainCategoryRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd8\x01\n\x15\x44omainCategoryService\x12\xbe\x01\n\x11GetDomainCategory\x12:.google.ads.googleads.v1.services.GetDomainCategoryRequest\x1a\x31.google.ads.googleads.v1.resources.DomainCategory\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{resource_name=customers/*/domainCategories/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x44omainCategoryServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETDOMAINCATEGORYREQUEST = _descriptor.Descriptor( - name='GetDomainCategoryRequest', - full_name='google.ads.googleads.v1.services.GetDomainCategoryRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetDomainCategoryRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=199, - serialized_end=248, -) - -DESCRIPTOR.message_types_by_name['GetDomainCategoryRequest'] = _GETDOMAINCATEGORYREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDomainCategoryRequest = _reflection.GeneratedProtocolMessageType('GetDomainCategoryRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDOMAINCATEGORYREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.domain_category_service_pb2' - , - __doc__ = """Request message for - [DomainCategoryService.GetDomainCategory][google.ads.googleads.v1.services.DomainCategoryService.GetDomainCategory]. - - - Attributes: - resource_name: - Resource name of the domain category to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetDomainCategoryRequest) - )) -_sym_db.RegisterMessage(GetDomainCategoryRequest) - - -DESCRIPTOR._options = None - -_DOMAINCATEGORYSERVICE = _descriptor.ServiceDescriptor( - name='DomainCategoryService', - full_name='google.ads.googleads.v1.services.DomainCategoryService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=251, - serialized_end=467, - methods=[ - _descriptor.MethodDescriptor( - name='GetDomainCategory', - full_name='google.ads.googleads.v1.services.DomainCategoryService.GetDomainCategory', - index=0, - containing_service=None, - input_type=_GETDOMAINCATEGORYREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY, - serialized_options=_b('\202\323\344\223\0024\0222/v1/{resource_name=customers/*/domainCategories/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_DOMAINCATEGORYSERVICE) - -DESCRIPTOR.services_by_name['DomainCategoryService'] = _DOMAINCATEGORYSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2.py deleted file mode 100644 index df37ed76d..000000000 --- a/google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/dynamic_search_ads_search_term_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/dynamic_search_ads_search_term_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nXgoogle/ads/googleads_v1/proto/services/dynamic_search_ads_search_term_view_service.proto\x12 google.ads.googleads.v1.services\x1aQgoogle/ads/googleads_v1/proto/resources/dynamic_search_ads_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\"A\n(GetDynamicSearchAdsSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa7\x02\n%DynamicSearchAdsSearchTermViewService\x12\xfd\x01\n!GetDynamicSearchAdsSearchTermView\x12J.google.ads.googleads.v1.services.GetDynamicSearchAdsSearchTermViewRequest\x1a\x41.google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}B\x91\x02\n$com.google.ads.googleads.v1.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( - name='GetDynamicSearchAdsSearchTermViewRequest', - full_name='google.ads.googleads.v1.services.GetDynamicSearchAdsSearchTermViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetDynamicSearchAdsSearchTermViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=304, -) - -DESCRIPTOR.message_types_by_name['GetDynamicSearchAdsSearchTermViewRequest'] = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetDynamicSearchAdsSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetDynamicSearchAdsSearchTermViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.dynamic_search_ads_search_term_view_service_pb2' - , - __doc__ = """Request message for - [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView]. - - - Attributes: - resource_name: - The resource name of the dynamic search ads search term view - to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetDynamicSearchAdsSearchTermViewRequest) - )) -_sym_db.RegisterMessage(GetDynamicSearchAdsSearchTermViewRequest) - - -DESCRIPTOR._options = None - -_DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( - name='DynamicSearchAdsSearchTermViewService', - full_name='google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=307, - serialized_end=602, - methods=[ - _descriptor.MethodDescriptor( - name='GetDynamicSearchAdsSearchTermView', - full_name='google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView', - index=0, - containing_service=None, - input_type=_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2._DYNAMICSEARCHADSSEARCHTERMVIEW, - serialized_options=_b('\202\323\344\223\002C\022A/v1/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE) - -DESCRIPTOR.services_by_name['DynamicSearchAdsSearchTermViewService'] = _DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2.py deleted file mode 100644 index bc152fc3f..000000000 --- a/google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/expanded_landing_page_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/expanded_landing_page_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB#ExpandedLandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/services/expanded_landing_page_view_service.proto\x12 google.ads.googleads.v1.services\x1aHgoogle/ads/googleads_v1/proto/resources/expanded_landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\":\n!GetExpandedLandingPageViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x84\x02\n\x1e\x45xpandedLandingPageViewService\x12\xe1\x01\n\x1aGetExpandedLandingPageView\x12\x43.google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest\x1a:.google.ads.googleads.v1.resources.ExpandedLandingPageView\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{resource_name=customers/*/expandedLandingPageViews/*}B\x8a\x02\n$com.google.ads.googleads.v1.servicesB#ExpandedLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) - - - - -_GETEXPANDEDLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( - name='GetExpandedLandingPageViewRequest', - full_name='google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=253, - serialized_end=311, -) - -DESCRIPTOR.message_types_by_name['GetExpandedLandingPageViewRequest'] = _GETEXPANDEDLANDINGPAGEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetExpandedLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetExpandedLandingPageViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETEXPANDEDLANDINGPAGEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.expanded_landing_page_view_service_pb2' - , - __doc__ = """Request message for - [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v1.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. - - - Attributes: - resource_name: - The resource name of the expanded landing page view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetExpandedLandingPageViewRequest) - )) -_sym_db.RegisterMessage(GetExpandedLandingPageViewRequest) - - -DESCRIPTOR._options = None - -_EXPANDEDLANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ExpandedLandingPageViewService', - full_name='google.ads.googleads.v1.services.ExpandedLandingPageViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=314, - serialized_end=574, - methods=[ - _descriptor.MethodDescriptor( - name='GetExpandedLandingPageView', - full_name='google.ads.googleads.v1.services.ExpandedLandingPageViewService.GetExpandedLandingPageView', - index=0, - containing_service=None, - input_type=_GETEXPANDEDLANDINGPAGEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2._EXPANDEDLANDINGPAGEVIEW, - serialized_options=_b('\202\323\344\223\002<\022:/v1/{resource_name=customers/*/expandedLandingPageViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_EXPANDEDLANDINGPAGEVIEWSERVICE) - -DESCRIPTOR.services_by_name['ExpandedLandingPageViewService'] = _EXPANDEDLANDINGPAGEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2.py deleted file mode 100644 index ec6be9fc1..000000000 --- a/google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/feed_placeholder_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/feed_placeholder_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\037FeedPlaceholderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/feed_placeholder_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/feed_placeholder_view.proto\x1a\x1cgoogle/api/annotations.proto\"6\n\x1dGetFeedPlaceholderViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf0\x01\n\x1a\x46\x65\x65\x64PlaceholderViewService\x12\xd1\x01\n\x16GetFeedPlaceholderView\x12?.google.ads.googleads.v1.services.GetFeedPlaceholderViewRequest\x1a\x36.google.ads.googleads.v1.resources.FeedPlaceholderView\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/feedPlaceholderViews/*}B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1f\x46\x65\x65\x64PlaceholderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETFEEDPLACEHOLDERVIEWREQUEST = _descriptor.Descriptor( - name='GetFeedPlaceholderViewRequest', - full_name='google.ads.googleads.v1.services.GetFeedPlaceholderViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetFeedPlaceholderViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=211, - serialized_end=265, -) - -DESCRIPTOR.message_types_by_name['GetFeedPlaceholderViewRequest'] = _GETFEEDPLACEHOLDERVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetFeedPlaceholderViewRequest = _reflection.GeneratedProtocolMessageType('GetFeedPlaceholderViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETFEEDPLACEHOLDERVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_placeholder_view_service_pb2' - , - __doc__ = """Request message for - [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v1.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. - - - Attributes: - resource_name: - The resource name of the feed placeholder view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetFeedPlaceholderViewRequest) - )) -_sym_db.RegisterMessage(GetFeedPlaceholderViewRequest) - - -DESCRIPTOR._options = None - -_FEEDPLACEHOLDERVIEWSERVICE = _descriptor.ServiceDescriptor( - name='FeedPlaceholderViewService', - full_name='google.ads.googleads.v1.services.FeedPlaceholderViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=268, - serialized_end=508, - methods=[ - _descriptor.MethodDescriptor( - name='GetFeedPlaceholderView', - full_name='google.ads.googleads.v1.services.FeedPlaceholderViewService.GetFeedPlaceholderView', - index=0, - containing_service=None, - input_type=_GETFEEDPLACEHOLDERVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/feedPlaceholderViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_FEEDPLACEHOLDERVIEWSERVICE) - -DESCRIPTOR.services_by_name['FeedPlaceholderViewService'] = _FEEDPLACEHOLDERVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/gender_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/gender_view_service_pb2.py deleted file mode 100644 index 88487169a..000000000 --- a/google/ads/google_ads/v1/proto/services/gender_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/gender_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/gender_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\026GenderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/services/gender_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x39google/ads/googleads_v1/proto/resources/gender_view.proto\x1a\x1cgoogle/api/annotations.proto\"-\n\x14GetGenderViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc3\x01\n\x11GenderViewService\x12\xad\x01\n\rGetGenderView\x12\x36.google.ads.googleads.v1.services.GetGenderViewRequest\x1a-.google.ads.googleads.v1.resources.GenderView\"5\x82\xd3\xe4\x93\x02/\x12-/v1/{resource_name=customers/*/genderViews/*}B\xfd\x01\n$com.google.ads.googleads.v1.servicesB\x16GenderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETGENDERVIEWREQUEST = _descriptor.Descriptor( - name='GetGenderViewRequest', - full_name='google.ads.googleads.v1.services.GetGenderViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetGenderViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=191, - serialized_end=236, -) - -DESCRIPTOR.message_types_by_name['GetGenderViewRequest'] = _GETGENDERVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGenderViewRequest = _reflection.GeneratedProtocolMessageType('GetGenderViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGENDERVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.gender_view_service_pb2' - , - __doc__ = """Request message for - [GenderViewService.GetGenderView][google.ads.googleads.v1.services.GenderViewService.GetGenderView]. - - - Attributes: - resource_name: - The resource name of the gender view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetGenderViewRequest) - )) -_sym_db.RegisterMessage(GetGenderViewRequest) - - -DESCRIPTOR._options = None - -_GENDERVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GenderViewService', - full_name='google.ads.googleads.v1.services.GenderViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=239, - serialized_end=434, - methods=[ - _descriptor.MethodDescriptor( - name='GetGenderView', - full_name='google.ads.googleads.v1.services.GenderViewService.GetGenderView', - index=0, - containing_service=None, - input_type=_GETGENDERVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW, - serialized_options=_b('\202\323\344\223\002/\022-/v1/{resource_name=customers/*/genderViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GENDERVIEWSERVICE) - -DESCRIPTOR.services_by_name['GenderViewService'] = _GENDERVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/geographic_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/geographic_view_service_pb2.py deleted file mode 100644 index f7e7dbe16..000000000 --- a/google/ads/google_ads/v1/proto/services/geographic_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/geographic_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/geographic_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032GeographicViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/services/geographic_view_service.proto\x12 google.ads.googleads.v1.services\x1a=google/ads/googleads_v1/proto/resources/geographic_view.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetGeographicViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x01\n\x15GeographicViewService\x12\xbd\x01\n\x11GetGeographicView\x12:.google.ads.googleads.v1.services.GetGeographicViewRequest\x1a\x31.google.ads.googleads.v1.resources.GeographicView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/geographicViews/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1aGeographicViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETGEOGRAPHICVIEWREQUEST = _descriptor.Descriptor( - name='GetGeographicViewRequest', - full_name='google.ads.googleads.v1.services.GetGeographicViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetGeographicViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=199, - serialized_end=248, -) - -DESCRIPTOR.message_types_by_name['GetGeographicViewRequest'] = _GETGEOGRAPHICVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGeographicViewRequest = _reflection.GeneratedProtocolMessageType('GetGeographicViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGEOGRAPHICVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.geographic_view_service_pb2' - , - __doc__ = """Request message for - [GeographicViewService.GetGeographicView][google.ads.googleads.v1.services.GeographicViewService.GetGeographicView]. - - - Attributes: - resource_name: - The resource name of the geographic view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetGeographicViewRequest) - )) -_sym_db.RegisterMessage(GetGeographicViewRequest) - - -DESCRIPTOR._options = None - -_GEOGRAPHICVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GeographicViewService', - full_name='google.ads.googleads.v1.services.GeographicViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=251, - serialized_end=466, - methods=[ - _descriptor.MethodDescriptor( - name='GetGeographicView', - full_name='google.ads.googleads.v1.services.GeographicViewService.GetGeographicView', - index=0, - containing_service=None, - input_type=_GETGEOGRAPHICVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/geographicViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GEOGRAPHICVIEWSERVICE) - -DESCRIPTOR.services_by_name['GeographicViewService'] = _GEOGRAPHICVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2.py deleted file mode 100644 index 74b6b8ceb..000000000 --- a/google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/group_placement_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/group_placement_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036GroupPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/services/group_placement_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x42google/ads/googleads_v1/proto/resources/group_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\"5\n\x1cGetGroupPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xeb\x01\n\x19GroupPlacementViewService\x12\xcd\x01\n\x15GetGroupPlacementView\x12>.google.ads.googleads.v1.services.GetGroupPlacementViewRequest\x1a\x35.google.ads.googleads.v1.resources.GroupPlacementView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/groupPlacementViews/*}B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1eGroupPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETGROUPPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetGroupPlacementViewRequest', - full_name='google.ads.googleads.v1.services.GetGroupPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetGroupPlacementViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=209, - serialized_end=262, -) - -DESCRIPTOR.message_types_by_name['GetGroupPlacementViewRequest'] = _GETGROUPPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetGroupPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetGroupPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETGROUPPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.group_placement_view_service_pb2' - , - __doc__ = """Request message for - [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v1.services.GroupPlacementViewService.GetGroupPlacementView]. - - - Attributes: - resource_name: - The resource name of the Group Placement view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetGroupPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetGroupPlacementViewRequest) - - -DESCRIPTOR._options = None - -_GROUPPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='GroupPlacementViewService', - full_name='google.ads.googleads.v1.services.GroupPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=265, - serialized_end=500, - methods=[ - _descriptor.MethodDescriptor( - name='GetGroupPlacementView', - full_name='google.ads.googleads.v1.services.GroupPlacementViewService.GetGroupPlacementView', - index=0, - containing_service=None, - input_type=_GETGROUPPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/groupPlacementViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_GROUPPLACEMENTVIEWSERVICE) - -DESCRIPTOR.services_by_name['GroupPlacementViewService'] = _GROUPPLACEMENTVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2.py deleted file mode 100644 index 8951ff732..000000000 --- a/google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/hotel_group_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/hotel_group_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032HotelGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/hotel_group_view_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/hotel_group_view.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetHotelGroupViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x01\n\x15HotelGroupViewService\x12\xbd\x01\n\x11GetHotelGroupView\x12:.google.ads.googleads.v1.services.GetHotelGroupViewRequest\x1a\x31.google.ads.googleads.v1.resources.HotelGroupView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/hotelGroupViews/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1aHotelGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETHOTELGROUPVIEWREQUEST = _descriptor.Descriptor( - name='GetHotelGroupViewRequest', - full_name='google.ads.googleads.v1.services.GetHotelGroupViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetHotelGroupViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=201, - serialized_end=250, -) - -DESCRIPTOR.message_types_by_name['GetHotelGroupViewRequest'] = _GETHOTELGROUPVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetHotelGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelGroupViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETHOTELGROUPVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.hotel_group_view_service_pb2' - , - __doc__ = """Request message for - [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v1.services.HotelGroupViewService.GetHotelGroupView]. - - - Attributes: - resource_name: - Resource name of the Hotel Group View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetHotelGroupViewRequest) - )) -_sym_db.RegisterMessage(GetHotelGroupViewRequest) - - -DESCRIPTOR._options = None - -_HOTELGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( - name='HotelGroupViewService', - full_name='google.ads.googleads.v1.services.HotelGroupViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=253, - serialized_end=468, - methods=[ - _descriptor.MethodDescriptor( - name='GetHotelGroupView', - full_name='google.ads.googleads.v1.services.HotelGroupViewService.GetHotelGroupView', - index=0, - containing_service=None, - input_type=_GETHOTELGROUPVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/hotelGroupViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_HOTELGROUPVIEWSERVICE) - -DESCRIPTOR.services_by_name['HotelGroupViewService'] = _HOTELGROUPVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2.py deleted file mode 100644 index 5b74b0759..000000000 --- a/google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/hotel_performance_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/hotel_performance_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB HotelPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/services/hotel_performance_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x44google/ads/googleads_v1/proto/resources/hotel_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x1eGetHotelPerformanceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf2\x01\n\x1bHotelPerformanceViewService\x12\xd2\x01\n\x17GetHotelPerformanceView\x12@.google.ads.googleads.v1.services.GetHotelPerformanceViewRequest\x1a\x37.google.ads.googleads.v1.resources.HotelPerformanceView\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{resource_name=customers/*/hotelPerformanceView}B\x87\x02\n$com.google.ads.googleads.v1.servicesB HotelPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETHOTELPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( - name='GetHotelPerformanceViewRequest', - full_name='google.ads.googleads.v1.services.GetHotelPerformanceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetHotelPerformanceViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=213, - serialized_end=268, -) - -DESCRIPTOR.message_types_by_name['GetHotelPerformanceViewRequest'] = _GETHOTELPERFORMANCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetHotelPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelPerformanceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETHOTELPERFORMANCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.hotel_performance_view_service_pb2' - , - __doc__ = """Request message for - [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v1.services.HotelPerformanceViewService.GetHotelPerformanceView]. - - - Attributes: - resource_name: - Resource name of the Hotel Performance View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetHotelPerformanceViewRequest) - )) -_sym_db.RegisterMessage(GetHotelPerformanceViewRequest) - - -DESCRIPTOR._options = None - -_HOTELPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='HotelPerformanceViewService', - full_name='google.ads.googleads.v1.services.HotelPerformanceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=271, - serialized_end=513, - methods=[ - _descriptor.MethodDescriptor( - name='GetHotelPerformanceView', - full_name='google.ads.googleads.v1.services.HotelPerformanceViewService.GetHotelPerformanceView', - index=0, - containing_service=None, - input_type=_GETHOTELPERFORMANCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW, - serialized_options=_b('\202\323\344\223\0026\0224/v1/{resource_name=customers/*/hotelPerformanceView}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_HOTELPERFORMANCEVIEWSERVICE) - -DESCRIPTOR.services_by_name['HotelPerformanceViewService'] = _HOTELPERFORMANCEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2.py b/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2.py deleted file mode 100644 index cb17c4878..000000000 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2.py +++ /dev/null @@ -1,406 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_plan_keyword_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_plan_keyword_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036KeywordPlanKeywordServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/services/keyword_plan_keyword_service.proto\x12 google.ads.googleads.v1.services\x1a\x42google/ads/googleads_v1/proto/resources/keyword_plan_keyword.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"5\n\x1cGetKeywordPlanKeywordRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xba\x01\n MutateKeywordPlanKeywordsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12Q\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v1.services.KeywordPlanKeywordOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xff\x01\n\x1bKeywordPlanKeywordOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.KeywordPlanKeywordH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.KeywordPlanKeywordH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateKeywordPlanKeywordsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v1.services.MutateKeywordPlanKeywordResult\"7\n\x1eMutateKeywordPlanKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x03\n\x19KeywordPlanKeywordService\x12\xcd\x01\n\x15GetKeywordPlanKeyword\x12>.google.ads.googleads.v1.services.GetKeywordPlanKeywordRequest\x1a\x35.google.ads.googleads.v1.resources.KeywordPlanKeyword\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/keywordPlanKeywords/*}\x12\xe9\x01\n\x19MutateKeywordPlanKeywords\x12\x42.google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest\x1a\x43.google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/keywordPlanKeywords:mutate:\x01*B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1eKeywordPlanKeywordServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANKEYWORDREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanKeywordRequest', - full_name='google.ads.googleads.v1.services.GetKeywordPlanKeywordRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordPlanKeywordRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=300, - serialized_end=353, -) - - -_MUTATEKEYWORDPLANKEYWORDSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordsRequest', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest.customer_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest.operations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest.partial_failure', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest.validate_only', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=356, - serialized_end=542, -) - - -_KEYWORDPLANKEYWORDOPERATION = _descriptor.Descriptor( - name='KeywordPlanKeywordOperation', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation.update_mask', index=0, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation.create', index=1, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation.update', index=2, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation.remove', index=3, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=545, - serialized_end=800, -) - - -_MUTATEKEYWORDPLANKEYWORDSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordsResponse', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse.partial_failure_error', index=0, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse.results', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=803, - serialized_end=972, -) - - -_MUTATEKEYWORDPLANKEYWORDRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanKeywordResult', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateKeywordPlanKeywordResult.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=974, - serialized_end=1029, -) - -_MUTATEKEYWORDPLANKEYWORDSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANKEYWORDOPERATION -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD -_KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANKEYWORDOPERATION.fields_by_name['create']) -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANKEYWORDOPERATION.fields_by_name['update']) -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANKEYWORDOPERATION.fields_by_name['remove']) -_KEYWORDPLANKEYWORDOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANKEYWORDOPERATION.oneofs_by_name['operation'] -_MUTATEKEYWORDPLANKEYWORDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEKEYWORDPLANKEYWORDSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANKEYWORDRESULT -DESCRIPTOR.message_types_by_name['GetKeywordPlanKeywordRequest'] = _GETKEYWORDPLANKEYWORDREQUEST -DESCRIPTOR.message_types_by_name['MutateKeywordPlanKeywordsRequest'] = _MUTATEKEYWORDPLANKEYWORDSREQUEST -DESCRIPTOR.message_types_by_name['KeywordPlanKeywordOperation'] = _KEYWORDPLANKEYWORDOPERATION -DESCRIPTOR.message_types_by_name['MutateKeywordPlanKeywordsResponse'] = _MUTATEKEYWORDPLANKEYWORDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateKeywordPlanKeywordResult'] = _MUTATEKEYWORDPLANKEYWORDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordPlanKeywordRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanKeywordRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDPLANKEYWORDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanKeywordService.GetKeywordPlanKeyword][google.ads.googleads.v1.services.KeywordPlanKeywordService.GetKeywordPlanKeyword]. - - - Attributes: - resource_name: - The resource name of the ad group keyword to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordPlanKeywordRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanKeywordRequest) - -MutateKeywordPlanKeywordsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanKeywordService.MutateKeywordPlanKeywords][google.ads.googleads.v1.services.KeywordPlanKeywordService.MutateKeywordPlanKeywords]. - - - Attributes: - customer_id: - The ID of the customer whose Keyword Plan keywords are being - modified. - operations: - The list of operations to perform on individual Keyword Plan - keywords. - partial_failure: - If true, successful operations will be carried out and invalid - operations will return errors. If false, all operations will - be carried out in one transaction if and only if they are all - valid. Default is false. - validate_only: - If true, the request is validated but not executed. Only - errors are returned, not results. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanKeywordsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordsRequest) - -KeywordPlanKeywordOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANKEYWORDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a Keyword Plan keyword. - - - Attributes: - update_mask: - The FieldMask that determines which resource fields are - modified in an update. - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - Keyword Plan ad group keyword. - update: - Update operation: The Keyword Plan keyword is expected to have - a valid resource name. - remove: - Remove operation: A resource name for the removed Keyword Plan - keyword is expected, in this format: ``customers/{customer_id - }/keywordPlanKeywords/{kp_ad_group_keyword_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanKeywordOperation) - )) -_sym_db.RegisterMessage(KeywordPlanKeywordOperation) - -MutateKeywordPlanKeywordsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """Response message for a Keyword Plan keyword mutate. - - - Attributes: - partial_failure_error: - Errors that pertain to operation failures in the partial - failure mode. Returned only when partial\_failure = true and - all errors occur inside the operations. If any errors occur - outside the operations (e.g. auth errors), we return an RPC - level error. - results: - All results for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanKeywordsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordsResponse) - -MutateKeywordPlanKeywordResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanKeywordResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANKEYWORDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_keyword_service_pb2' - , - __doc__ = """The result for the Keyword Plan keyword mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanKeywordResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanKeywordResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANKEYWORDSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanKeywordService', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1032, - serialized_end=1503, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanKeyword', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordService.GetKeywordPlanKeyword', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANKEYWORDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/keywordPlanKeywords/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanKeywords', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordService.MutateKeywordPlanKeywords', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANKEYWORDSREQUEST, - output_type=_MUTATEKEYWORDPLANKEYWORDSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/keywordPlanKeywords:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANKEYWORDSERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanKeywordService'] = _KEYWORDPLANKEYWORDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2_grpc.py b/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2_grpc.py deleted file mode 100644 index 7a85321ae..000000000 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_keyword_service_pb2_grpc.py +++ /dev/null @@ -1,69 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v1.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2 -from google.ads.google_ads.v1.proto.services import keyword_plan_keyword_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2 - - -class KeywordPlanKeywordServiceStub(object): - """Proto file describing the keyword plan keyword service. - - Service to manage Keyword Plan ad group keywords. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordPlanKeyword = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanKeywordService/GetKeywordPlanKeyword', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.GetKeywordPlanKeywordRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.KeywordPlanKeyword.FromString, - ) - self.MutateKeywordPlanKeywords = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanKeywordService/MutateKeywordPlanKeywords', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsResponse.FromString, - ) - - -class KeywordPlanKeywordServiceServicer(object): - """Proto file describing the keyword plan keyword service. - - Service to manage Keyword Plan ad group keywords. - """ - - def GetKeywordPlanKeyword(self, request, context): - """Returns the requested Keyword Plan keyword in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateKeywordPlanKeywords(self, request, context): - """Creates, updates, or removes Keyword Plan keywords. Operation statuses are - returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_KeywordPlanKeywordServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetKeywordPlanKeyword': grpc.unary_unary_rpc_method_handler( - servicer.GetKeywordPlanKeyword, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.GetKeywordPlanKeywordRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.KeywordPlanKeyword.SerializeToString, - ), - 'MutateKeywordPlanKeywords': grpc.unary_unary_rpc_method_handler( - servicer.MutateKeywordPlanKeywords, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__keyword__service__pb2.MutateKeywordPlanKeywordsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanKeywordService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2.py b/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2.py deleted file mode 100644 index fe798cb7a..000000000 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2.py +++ /dev/null @@ -1,407 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_plan_negative_keyword_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_plan_negative_keyword_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB&KeywordPlanNegativeKeywordServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v1/proto/services/keyword_plan_negative_keyword_service.proto\x12 google.ads.googleads.v1.services\x1aKgoogle/ads/googleads_v1/proto/resources/keyword_plan_negative_keyword.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"=\n$GetKeywordPlanNegativeKeywordRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xca\x01\n(MutateKeywordPlanNegativeKeywordsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12Y\n\noperations\x18\x02 \x03(\x0b\x32\x45.google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x97\x02\n#KeywordPlanNegativeKeywordOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12O\n\x06\x63reate\x18\x01 \x01(\x0b\x32=.google.ads.googleads.v1.resources.KeywordPlanNegativeKeywordH\x00\x12O\n\x06update\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v1.resources.KeywordPlanNegativeKeywordH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb9\x01\n)MutateKeywordPlanNegativeKeywordsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Y\n\x07results\x18\x02 \x03(\x0b\x32H.google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordResult\"?\n&MutateKeywordPlanNegativeKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9f\x04\n!KeywordPlanNegativeKeywordService\x12\xed\x01\n\x1dGetKeywordPlanNegativeKeyword\x12\x46.google.ads.googleads.v1.services.GetKeywordPlanNegativeKeywordRequest\x1a=.google.ads.googleads.v1.resources.KeywordPlanNegativeKeyword\"E\x82\xd3\xe4\x93\x02?\x12=/v1/{resource_name=customers/*/keywordPlanNegativeKeywords/*}\x12\x89\x02\n!MutateKeywordPlanNegativeKeywords\x12J.google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest\x1aK.google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse\"K\x82\xd3\xe4\x93\x02\x45\"@/v1/customers/{customer_id=*}/keywordPlanNegativeKeywords:mutate:\x01*B\x8d\x02\n$com.google.ads.googleads.v1.servicesB&KeywordPlanNegativeKeywordServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDPLANNEGATIVEKEYWORDREQUEST = _descriptor.Descriptor( - name='GetKeywordPlanNegativeKeywordRequest', - full_name='google.ads.googleads.v1.services.GetKeywordPlanNegativeKeywordRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordPlanNegativeKeywordRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=318, - serialized_end=379, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordsRequest', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest.customer_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest.operations', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest.partial_failure', index=2, - number=3, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest.validate_only', index=3, - number=4, type=8, cpp_type=7, label=1, - has_default_value=False, default_value=False, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=382, - serialized_end=584, -) - - -_KEYWORDPLANNEGATIVEKEYWORDOPERATION = _descriptor.Descriptor( - name='KeywordPlanNegativeKeywordOperation', - full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation.update_mask', index=0, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation.create', index=1, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation.update', index=2, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation.remove', index=3, - number=3, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation.operation', - index=0, containing_type=None, fields=[]), - ], - serialized_start=587, - serialized_end=866, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordsResponse', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse.partial_failure_error', index=0, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse.results', index=1, - number=2, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=869, - serialized_end=1054, -) - - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT = _descriptor.Descriptor( - name='MutateKeywordPlanNegativeKeywordResult', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordResult.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1056, - serialized_end=1119, -) - -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANNEGATIVEKEYWORDOPERATION -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['create']) -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['update']) -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'] -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( - _KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['remove']) -_KEYWORDPLANNEGATIVEKEYWORDOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANNEGATIVEKEYWORDOPERATION.oneofs_by_name['operation'] -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS -_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT -DESCRIPTOR.message_types_by_name['GetKeywordPlanNegativeKeywordRequest'] = _GETKEYWORDPLANNEGATIVEKEYWORDREQUEST -DESCRIPTOR.message_types_by_name['MutateKeywordPlanNegativeKeywordsRequest'] = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST -DESCRIPTOR.message_types_by_name['KeywordPlanNegativeKeywordOperation'] = _KEYWORDPLANNEGATIVEKEYWORDOPERATION -DESCRIPTOR.message_types_by_name['MutateKeywordPlanNegativeKeywordsResponse'] = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE -DESCRIPTOR.message_types_by_name['MutateKeywordPlanNegativeKeywordResult'] = _MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordPlanNegativeKeywordRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanNegativeKeywordRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDPLANNEGATIVEKEYWORDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword][google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword]. - - - Attributes: - resource_name: - The resource name of the plan to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordPlanNegativeKeywordRequest) - )) -_sym_db.RegisterMessage(GetKeywordPlanNegativeKeywordRequest) - -MutateKeywordPlanNegativeKeywordsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordsRequest', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """Request message for - [KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords][google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords]. - - - Attributes: - customer_id: - The ID of the customer whose negative keywords are being - modified. - operations: - The list of operations to perform on individual Keyword Plan - negative keywords. - partial_failure: - If true, successful operations will be carried out and invalid - operations will return errors. If false, all operations will - be carried out in one transaction if and only if they are all - valid. Default is false. - validate_only: - If true, the request is validated but not executed. Only - errors are returned, not results. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsRequest) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordsRequest) - -KeywordPlanNegativeKeywordOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanNegativeKeywordOperation', (_message.Message,), dict( - DESCRIPTOR = _KEYWORDPLANNEGATIVEKEYWORDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """A single operation (create, update, remove) on a Keyword Plan negative - keyword. - - - Attributes: - update_mask: - The FieldMask that determines which resource fields are - modified in an update. - operation: - The mutate operation. - create: - Create operation: No resource name is expected for the new - Keyword Plan negative keyword. - update: - Update operation: The Keyword Plan negative keyword expected - to have a valid resource name. - remove: - Remove operation: A resource name for the removed Keyword Plan - negative keywords expected in this format: ``customers/{custo - mer_id}/keywordPlanNegativeKeywords/{kp_negative_keyword_id}`` - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanNegativeKeywordOperation) - )) -_sym_db.RegisterMessage(KeywordPlanNegativeKeywordOperation) - -MutateKeywordPlanNegativeKeywordsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordsResponse', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """Response message for a Keyword Plan negative keyword mutate. - - - Attributes: - partial_failure_error: - Errors that pertain to operation failures in the partial - failure mode. Returned only when partial\_failure = true and - all errors occur inside the operations. If any errors occur - outside the operations (e.g. auth errors), we return an RPC - level error. - results: - All results for the mutate. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordsResponse) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordsResponse) - -MutateKeywordPlanNegativeKeywordResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanNegativeKeywordResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEKEYWORDPLANNEGATIVEKEYWORDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_negative_keyword_service_pb2' - , - __doc__ = """The result for the Keyword Plan negative keyword mutate. - - - Attributes: - resource_name: - Returned for successful operations. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanNegativeKeywordResult) - )) -_sym_db.RegisterMessage(MutateKeywordPlanNegativeKeywordResult) - - -DESCRIPTOR._options = None - -_KEYWORDPLANNEGATIVEKEYWORDSERVICE = _descriptor.ServiceDescriptor( - name='KeywordPlanNegativeKeywordService', - full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1122, - serialized_end=1665, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordPlanNegativeKeyword', - full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService.GetKeywordPlanNegativeKeyword', - index=0, - containing_service=None, - input_type=_GETKEYWORDPLANNEGATIVEKEYWORDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD, - serialized_options=_b('\202\323\344\223\002?\022=/v1/{resource_name=customers/*/keywordPlanNegativeKeywords/*}'), - ), - _descriptor.MethodDescriptor( - name='MutateKeywordPlanNegativeKeywords', - full_name='google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService.MutateKeywordPlanNegativeKeywords', - index=1, - containing_service=None, - input_type=_MUTATEKEYWORDPLANNEGATIVEKEYWORDSREQUEST, - output_type=_MUTATEKEYWORDPLANNEGATIVEKEYWORDSRESPONSE, - serialized_options=_b('\202\323\344\223\002E\"@/v1/customers/{customer_id=*}/keywordPlanNegativeKeywords:mutate:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDPLANNEGATIVEKEYWORDSERVICE) - -DESCRIPTOR.services_by_name['KeywordPlanNegativeKeywordService'] = _KEYWORDPLANNEGATIVEKEYWORDSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py b/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py deleted file mode 100644 index dba928133..000000000 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_negative_keyword_service_pb2_grpc.py +++ /dev/null @@ -1,69 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v1.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2 -from google.ads.google_ads.v1.proto.services import keyword_plan_negative_keyword_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2 - - -class KeywordPlanNegativeKeywordServiceStub(object): - """Proto file describing the keyword plan negative keyword service. - - Service to manage Keyword Plan negative keywords. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetKeywordPlanNegativeKeyword = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService/GetKeywordPlanNegativeKeyword', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.GetKeywordPlanNegativeKeywordRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.KeywordPlanNegativeKeyword.FromString, - ) - self.MutateKeywordPlanNegativeKeywords = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService/MutateKeywordPlanNegativeKeywords', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsResponse.FromString, - ) - - -class KeywordPlanNegativeKeywordServiceServicer(object): - """Proto file describing the keyword plan negative keyword service. - - Service to manage Keyword Plan negative keywords. - """ - - def GetKeywordPlanNegativeKeyword(self, request, context): - """Returns the requested plan in full detail. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def MutateKeywordPlanNegativeKeywords(self, request, context): - """Creates, updates, or removes Keyword Plan negative keywords. Operation - statuses are returned. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_KeywordPlanNegativeKeywordServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetKeywordPlanNegativeKeyword': grpc.unary_unary_rpc_method_handler( - servicer.GetKeywordPlanNegativeKeyword, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.GetKeywordPlanNegativeKeywordRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.KeywordPlanNegativeKeyword.SerializeToString, - ), - 'MutateKeywordPlanNegativeKeywords': grpc.unary_unary_rpc_method_handler( - servicer.MutateKeywordPlanNegativeKeywords, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__negative__keyword__service__pb2.MutateKeywordPlanNegativeKeywordsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/keyword_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/keyword_view_service_pb2.py deleted file mode 100644 index 52fd0e818..000000000 --- a/google/ads/google_ads/v1/proto/services/keyword_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\027KeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/services/keyword_view_service.proto\x12 google.ads.googleads.v1.services\x1a:google/ads/googleads_v1/proto/resources/keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\".\n\x15GetKeywordViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc8\x01\n\x12KeywordViewService\x12\xb1\x01\n\x0eGetKeywordView\x12\x37.google.ads.googleads.v1.services.GetKeywordViewRequest\x1a..google.ads.googleads.v1.resources.KeywordView\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{resource_name=customers/*/keywordViews/*}B\xfe\x01\n$com.google.ads.googleads.v1.servicesB\x17KeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETKEYWORDVIEWREQUEST = _descriptor.Descriptor( - name='GetKeywordViewRequest', - full_name='google.ads.googleads.v1.services.GetKeywordViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=193, - serialized_end=239, -) - -DESCRIPTOR.message_types_by_name['GetKeywordViewRequest'] = _GETKEYWORDVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetKeywordViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETKEYWORDVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_view_service_pb2' - , - __doc__ = """Request message for - [KeywordViewService.GetKeywordView][google.ads.googleads.v1.services.KeywordViewService.GetKeywordView]. - - - Attributes: - resource_name: - The resource name of the keyword view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordViewRequest) - )) -_sym_db.RegisterMessage(GetKeywordViewRequest) - - -DESCRIPTOR._options = None - -_KEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( - name='KeywordViewService', - full_name='google.ads.googleads.v1.services.KeywordViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=242, - serialized_end=442, - methods=[ - _descriptor.MethodDescriptor( - name='GetKeywordView', - full_name='google.ads.googleads.v1.services.KeywordViewService.GetKeywordView', - index=0, - containing_service=None, - input_type=_GETKEYWORDVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW, - serialized_options=_b('\202\323\344\223\0020\022./v1/{resource_name=customers/*/keywordViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_KEYWORDVIEWSERVICE) - -DESCRIPTOR.services_by_name['KeywordViewService'] = _KEYWORDVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2.py deleted file mode 100644 index 44e40e65a..000000000 --- a/google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/landing_page_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/landing_page_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033LandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/landing_page_view_service.proto\x12 google.ads.googleads.v1.services\x1a?google/ads/googleads_v1/proto/resources/landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\"2\n\x19GetLandingPageViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xdc\x01\n\x16LandingPageViewService\x12\xc1\x01\n\x12GetLandingPageView\x12;.google.ads.googleads.v1.services.GetLandingPageViewRequest\x1a\x32.google.ads.googleads.v1.resources.LandingPageView\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{resource_name=customers/*/landingPageViews/*}B\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1bLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) - - - - -_GETLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( - name='GetLandingPageViewRequest', - full_name='google.ads.googleads.v1.services.GetLandingPageViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetLandingPageViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=235, - serialized_end=285, -) - -DESCRIPTOR.message_types_by_name['GetLandingPageViewRequest'] = _GETLANDINGPAGEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetLandingPageViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLANDINGPAGEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.landing_page_view_service_pb2' - , - __doc__ = """Request message for - [LandingPageViewService.GetLandingPageView][google.ads.googleads.v1.services.LandingPageViewService.GetLandingPageView]. - - - Attributes: - resource_name: - The resource name of the landing page view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetLandingPageViewRequest) - )) -_sym_db.RegisterMessage(GetLandingPageViewRequest) - - -DESCRIPTOR._options = None - -_LANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='LandingPageViewService', - full_name='google.ads.googleads.v1.services.LandingPageViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=288, - serialized_end=508, - methods=[ - _descriptor.MethodDescriptor( - name='GetLandingPageView', - full_name='google.ads.googleads.v1.services.LandingPageViewService.GetLandingPageView', - index=0, - containing_service=None, - input_type=_GETLANDINGPAGEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW, - serialized_options=_b('\202\323\344\223\0024\0222/v1/{resource_name=customers/*/landingPageViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_LANDINGPAGEVIEWSERVICE) - -DESCRIPTOR.services_by_name['LandingPageViewService'] = _LANDINGPAGEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/language_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/language_constant_service_pb2.py deleted file mode 100644 index 4e9cc9a1a..000000000 --- a/google/ads/google_ads/v1/proto/services/language_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/language_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/language_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\034LanguageConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/language_constant_service.proto\x12 google.ads.googleads.v1.services\x1a?google/ads/googleads_v1/proto/resources/language_constant.proto\x1a\x1cgoogle/api/annotations.proto\"3\n\x1aGetLanguageConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd5\x01\n\x17LanguageConstantService\x12\xb9\x01\n\x13GetLanguageConstant\x12<.google.ads.googleads.v1.services.GetLanguageConstantRequest\x1a\x33.google.ads.googleads.v1.resources.LanguageConstant\"/\x82\xd3\xe4\x93\x02)\x12\'/v1/{resource_name=languageConstants/*}B\x83\x02\n$com.google.ads.googleads.v1.servicesB\x1cLanguageConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETLANGUAGECONSTANTREQUEST = _descriptor.Descriptor( - name='GetLanguageConstantRequest', - full_name='google.ads.googleads.v1.services.GetLanguageConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetLanguageConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=203, - serialized_end=254, -) - -DESCRIPTOR.message_types_by_name['GetLanguageConstantRequest'] = _GETLANGUAGECONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLanguageConstantRequest = _reflection.GeneratedProtocolMessageType('GetLanguageConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLANGUAGECONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.language_constant_service_pb2' - , - __doc__ = """Request message for - [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v1.services.LanguageConstantService.GetLanguageConstant]. - - - Attributes: - resource_name: - Resource name of the language constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetLanguageConstantRequest) - )) -_sym_db.RegisterMessage(GetLanguageConstantRequest) - - -DESCRIPTOR._options = None - -_LANGUAGECONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='LanguageConstantService', - full_name='google.ads.googleads.v1.services.LanguageConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=257, - serialized_end=470, - methods=[ - _descriptor.MethodDescriptor( - name='GetLanguageConstant', - full_name='google.ads.googleads.v1.services.LanguageConstantService.GetLanguageConstant', - index=0, - containing_service=None, - input_type=_GETLANGUAGECONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT, - serialized_options=_b('\202\323\344\223\002)\022\'/v1/{resource_name=languageConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_LANGUAGECONSTANTSERVICE) - -DESCRIPTOR.services_by_name['LanguageConstantService'] = _LANGUAGECONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/location_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/location_view_service_pb2.py deleted file mode 100644 index 76c415735..000000000 --- a/google/ads/google_ads/v1/proto/services/location_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/location_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/location_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030LocationViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/location_view_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/location_view.proto\x1a\x1cgoogle/api/annotations.proto\"/\n\x16GetLocationViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcd\x01\n\x13LocationViewService\x12\xb5\x01\n\x0fGetLocationView\x12\x38.google.ads.googleads.v1.services.GetLocationViewRequest\x1a/.google.ads.googleads.v1.resources.LocationView\"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{resource_name=customers/*/locationViews/*}B\xff\x01\n$com.google.ads.googleads.v1.servicesB\x18LocationViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETLOCATIONVIEWREQUEST = _descriptor.Descriptor( - name='GetLocationViewRequest', - full_name='google.ads.googleads.v1.services.GetLocationViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetLocationViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=195, - serialized_end=242, -) - -DESCRIPTOR.message_types_by_name['GetLocationViewRequest'] = _GETLOCATIONVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetLocationViewRequest = _reflection.GeneratedProtocolMessageType('GetLocationViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETLOCATIONVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.location_view_service_pb2' - , - __doc__ = """Request message for - [LocationViewService.GetLocationView][google.ads.googleads.v1.services.LocationViewService.GetLocationView]. - - - Attributes: - resource_name: - The resource name of the location view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetLocationViewRequest) - )) -_sym_db.RegisterMessage(GetLocationViewRequest) - - -DESCRIPTOR._options = None - -_LOCATIONVIEWSERVICE = _descriptor.ServiceDescriptor( - name='LocationViewService', - full_name='google.ads.googleads.v1.services.LocationViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=245, - serialized_end=450, - methods=[ - _descriptor.MethodDescriptor( - name='GetLocationView', - full_name='google.ads.googleads.v1.services.LocationViewService.GetLocationView', - index=0, - containing_service=None, - input_type=_GETLOCATIONVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW, - serialized_options=_b('\202\323\344\223\0021\022//v1/{resource_name=customers/*/locationViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_LOCATIONVIEWSERVICE) - -DESCRIPTOR.services_by_name['LocationViewService'] = _LOCATIONVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2.py deleted file mode 100644 index 961d10bbd..000000000 --- a/google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/managed_placement_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/managed_placement_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB ManagedPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/services/managed_placement_view_service.proto\x12 google.ads.googleads.v1.services\x1a\x44google/ads/googleads_v1/proto/resources/managed_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x1eGetManagedPlacementViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf5\x01\n\x1bManagedPlacementViewService\x12\xd5\x01\n\x17GetManagedPlacementView\x12@.google.ads.googleads.v1.services.GetManagedPlacementViewRequest\x1a\x37.google.ads.googleads.v1.resources.ManagedPlacementView\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{resource_name=customers/*/managedPlacementViews/*}B\x87\x02\n$com.google.ads.googleads.v1.servicesB ManagedPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETMANAGEDPLACEMENTVIEWREQUEST = _descriptor.Descriptor( - name='GetManagedPlacementViewRequest', - full_name='google.ads.googleads.v1.services.GetManagedPlacementViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetManagedPlacementViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=213, - serialized_end=268, -) - -DESCRIPTOR.message_types_by_name['GetManagedPlacementViewRequest'] = _GETMANAGEDPLACEMENTVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetManagedPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetManagedPlacementViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMANAGEDPLACEMENTVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.managed_placement_view_service_pb2' - , - __doc__ = """Request message for - [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v1.services.ManagedPlacementViewService.GetManagedPlacementView]. - - - Attributes: - resource_name: - The resource name of the Managed Placement View to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetManagedPlacementViewRequest) - )) -_sym_db.RegisterMessage(GetManagedPlacementViewRequest) - - -DESCRIPTOR._options = None - -_MANAGEDPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ManagedPlacementViewService', - full_name='google.ads.googleads.v1.services.ManagedPlacementViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=271, - serialized_end=516, - methods=[ - _descriptor.MethodDescriptor( - name='GetManagedPlacementView', - full_name='google.ads.googleads.v1.services.ManagedPlacementViewService.GetManagedPlacementView', - index=0, - containing_service=None, - input_type=_GETMANAGEDPLACEMENTVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW, - serialized_options=_b('\202\323\344\223\0029\0227/v1/{resource_name=customers/*/managedPlacementViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MANAGEDPLACEMENTVIEWSERVICE) - -DESCRIPTOR.services_by_name['ManagedPlacementViewService'] = _MANAGEDPLACEMENTVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2.py deleted file mode 100644 index dac9ef56b..000000000 --- a/google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/mobile_app_category_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/mobile_app_category_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB%MobileAppCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nQgoogle/ads/googleads_v1/proto/services/mobile_app_category_constant_service.proto\x12 google.ads.googleads.v1.services\x1aJgoogle/ads/googleads_v1/proto/resources/mobile_app_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\"<\n#GetMobileAppCategoryConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x82\x02\n MobileAppCategoryConstantService\x12\xdd\x01\n\x1cGetMobileAppCategoryConstant\x12\x45.google.ads.googleads.v1.services.GetMobileAppCategoryConstantRequest\x1a<.google.ads.googleads.v1.resources.MobileAppCategoryConstant\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{resource_name=mobileAppCategoryConstants/*}B\x8c\x02\n$com.google.ads.googleads.v1.servicesB%MobileAppCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETMOBILEAPPCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( - name='GetMobileAppCategoryConstantRequest', - full_name='google.ads.googleads.v1.services.GetMobileAppCategoryConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetMobileAppCategoryConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=225, - serialized_end=285, -) - -DESCRIPTOR.message_types_by_name['GetMobileAppCategoryConstantRequest'] = _GETMOBILEAPPCATEGORYCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetMobileAppCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileAppCategoryConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMOBILEAPPCATEGORYCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mobile_app_category_constant_service_pb2' - , - __doc__ = """Request message for - [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v1.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. - - - Attributes: - resource_name: - Resource name of the mobile app category constant to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetMobileAppCategoryConstantRequest) - )) -_sym_db.RegisterMessage(GetMobileAppCategoryConstantRequest) - - -DESCRIPTOR._options = None - -_MOBILEAPPCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='MobileAppCategoryConstantService', - full_name='google.ads.googleads.v1.services.MobileAppCategoryConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=288, - serialized_end=546, - methods=[ - _descriptor.MethodDescriptor( - name='GetMobileAppCategoryConstant', - full_name='google.ads.googleads.v1.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant', - index=0, - containing_service=None, - input_type=_GETMOBILEAPPCATEGORYCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2._MOBILEAPPCATEGORYCONSTANT, - serialized_options=_b('\202\323\344\223\0022\0220/v1/{resource_name=mobileAppCategoryConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MOBILEAPPCATEGORYCONSTANTSERVICE) - -DESCRIPTOR.services_by_name['MobileAppCategoryConstantService'] = _MOBILEAPPCATEGORYCONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2.py deleted file mode 100644 index e79945700..000000000 --- a/google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/mobile_device_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/mobile_device_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB MobileDeviceConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/services/mobile_device_constant_service.proto\x12 google.ads.googleads.v1.services\x1a\x44google/ads/googleads_v1/proto/resources/mobile_device_constant.proto\x1a\x1cgoogle/api/annotations.proto\"7\n\x1eGetMobileDeviceConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe9\x01\n\x1bMobileDeviceConstantService\x12\xc9\x01\n\x17GetMobileDeviceConstant\x12@.google.ads.googleads.v1.services.GetMobileDeviceConstantRequest\x1a\x37.google.ads.googleads.v1.resources.MobileDeviceConstant\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{resource_name=mobileDeviceConstants/*}B\x87\x02\n$com.google.ads.googleads.v1.servicesB MobileDeviceConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETMOBILEDEVICECONSTANTREQUEST = _descriptor.Descriptor( - name='GetMobileDeviceConstantRequest', - full_name='google.ads.googleads.v1.services.GetMobileDeviceConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetMobileDeviceConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=213, - serialized_end=268, -) - -DESCRIPTOR.message_types_by_name['GetMobileDeviceConstantRequest'] = _GETMOBILEDEVICECONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetMobileDeviceConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileDeviceConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMOBILEDEVICECONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mobile_device_constant_service_pb2' - , - __doc__ = """Request message for - [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v1.services.MobileDeviceConstantService.GetMobileDeviceConstant]. - - - Attributes: - resource_name: - Resource name of the mobile device to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetMobileDeviceConstantRequest) - )) -_sym_db.RegisterMessage(GetMobileDeviceConstantRequest) - - -DESCRIPTOR._options = None - -_MOBILEDEVICECONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='MobileDeviceConstantService', - full_name='google.ads.googleads.v1.services.MobileDeviceConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=271, - serialized_end=504, - methods=[ - _descriptor.MethodDescriptor( - name='GetMobileDeviceConstant', - full_name='google.ads.googleads.v1.services.MobileDeviceConstantService.GetMobileDeviceConstant', - index=0, - containing_service=None, - input_type=_GETMOBILEDEVICECONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT, - serialized_options=_b('\202\323\344\223\002-\022+/v1/{resource_name=mobileDeviceConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MOBILEDEVICECONSTANTSERVICE) - -DESCRIPTOR.services_by_name['MobileDeviceConstantService'] = _MOBILEDEVICECONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2.py b/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2.py deleted file mode 100644 index 5ee3aec00..000000000 --- a/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2.py +++ /dev/null @@ -1,627 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/mutate_job_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v1.proto.services import google_ads_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 -from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/mutate_job_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025MutateJobServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/services/mutate_job_service.proto\x12 google.ads.googleads.v1.services\x1a\x38google/ads/googleads_v1/proto/resources/mutate_job.proto\x1a?google/ads/googleads_v1/proto/services/google_ads_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a#google/longrunning/operations.proto\x1a\x17google/rpc/status.proto\"-\n\x16\x43reateMutateJobRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\"0\n\x17\x43reateMutateJobResponse\x12\x15\n\rresource_name\x18\x01 \x01(\t\",\n\x13GetMutateJobRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\",\n\x13RunMutateJobRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x9c\x01\n\x1d\x41\x64\x64MutateJobOperationsRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x16\n\x0esequence_token\x18\x02 \x01(\t\x12L\n\x11mutate_operations\x18\x03 \x03(\x0b\x32\x31.google.ads.googleads.v1.services.MutateOperation\"W\n\x1e\x41\x64\x64MutateJobOperationsResponse\x12\x18\n\x10total_operations\x18\x01 \x01(\x03\x12\x1b\n\x13next_sequence_token\x18\x02 \x01(\t\"[\n\x1bListMutateJobResultsRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"{\n\x1cListMutateJobResultsResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v1.services.MutateJobResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xac\x01\n\x0fMutateJobResult\x12\x17\n\x0foperation_index\x18\x01 \x01(\x03\x12\\\n\x19mutate_operation_response\x18\x02 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.MutateOperationResponse\x12\"\n\x06status\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status2\xe6\x07\n\x10MutateJobService\x12\xc2\x01\n\x0f\x43reateMutateJob\x12\x38.google.ads.googleads.v1.services.CreateMutateJobRequest\x1a\x39.google.ads.googleads.v1.services.CreateMutateJobResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/customers/{customer_id=*}/mutateJobs:create:\x01*\x12\xa9\x01\n\x0cGetMutateJob\x12\x35.google.ads.googleads.v1.services.GetMutateJobRequest\x1a,.google.ads.googleads.v1.resources.MutateJob\"4\x82\xd3\xe4\x93\x02.\x12,/v1/{resource_name=customers/*/mutateJobs/*}\x12\xd7\x01\n\x14ListMutateJobResults\x12=.google.ads.googleads.v1.services.ListMutateJobResultsRequest\x1a>.google.ads.googleads.v1.services.ListMutateJobResultsResponse\"@\x82\xd3\xe4\x93\x02:\x12\x38/v1/{resource_name=customers/*/mutateJobs/*}:listResults\x12\xa1\x01\n\x0cRunMutateJob\x12\x35.google.ads.googleads.v1.services.RunMutateJobRequest\x1a\x1d.google.longrunning.Operation\";\x82\xd3\xe4\x93\x02\x35\"0/v1/{resource_name=customers/*/mutateJobs/*}:run:\x01*\x12\xe2\x01\n\x16\x41\x64\x64MutateJobOperations\x12?.google.ads.googleads.v1.services.AddMutateJobOperationsRequest\x1a@.google.ads.googleads.v1.services.AddMutateJobOperationsResponse\"E\x82\xd3\xe4\x93\x02?\":/v1/{resource_name=customers/*/mutateJobs/*}:addOperations:\x01*B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15MutateJobServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) - - - - -_CREATEMUTATEJOBREQUEST = _descriptor.Descriptor( - name='CreateMutateJobRequest', - full_name='google.ads.googleads.v1.services.CreateMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.CreateMutateJobRequest.customer_id', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=316, - serialized_end=361, -) - - -_CREATEMUTATEJOBRESPONSE = _descriptor.Descriptor( - name='CreateMutateJobResponse', - full_name='google.ads.googleads.v1.services.CreateMutateJobResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.CreateMutateJobResponse.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=363, - serialized_end=411, -) - - -_GETMUTATEJOBREQUEST = _descriptor.Descriptor( - name='GetMutateJobRequest', - full_name='google.ads.googleads.v1.services.GetMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetMutateJobRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=413, - serialized_end=457, -) - - -_RUNMUTATEJOBREQUEST = _descriptor.Descriptor( - name='RunMutateJobRequest', - full_name='google.ads.googleads.v1.services.RunMutateJobRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.RunMutateJobRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=459, - serialized_end=503, -) - - -_ADDMUTATEJOBOPERATIONSREQUEST = _descriptor.Descriptor( - name='AddMutateJobOperationsRequest', - full_name='google.ads.googleads.v1.services.AddMutateJobOperationsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.AddMutateJobOperationsRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='sequence_token', full_name='google.ads.googleads.v1.services.AddMutateJobOperationsRequest.sequence_token', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='mutate_operations', full_name='google.ads.googleads.v1.services.AddMutateJobOperationsRequest.mutate_operations', index=2, - number=3, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=506, - serialized_end=662, -) - - -_ADDMUTATEJOBOPERATIONSRESPONSE = _descriptor.Descriptor( - name='AddMutateJobOperationsResponse', - full_name='google.ads.googleads.v1.services.AddMutateJobOperationsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='total_operations', full_name='google.ads.googleads.v1.services.AddMutateJobOperationsResponse.total_operations', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='next_sequence_token', full_name='google.ads.googleads.v1.services.AddMutateJobOperationsResponse.next_sequence_token', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=664, - serialized_end=751, -) - - -_LISTMUTATEJOBRESULTSREQUEST = _descriptor.Descriptor( - name='ListMutateJobResultsRequest', - full_name='google.ads.googleads.v1.services.ListMutateJobResultsRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.ListMutateJobResultsRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v1.services.ListMutateJobResultsRequest.page_token', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='page_size', full_name='google.ads.googleads.v1.services.ListMutateJobResultsRequest.page_size', index=2, - number=3, type=5, cpp_type=1, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=753, - serialized_end=844, -) - - -_LISTMUTATEJOBRESULTSRESPONSE = _descriptor.Descriptor( - name='ListMutateJobResultsResponse', - full_name='google.ads.googleads.v1.services.ListMutateJobResultsResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.ListMutateJobResultsResponse.results', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='next_page_token', full_name='google.ads.googleads.v1.services.ListMutateJobResultsResponse.next_page_token', index=1, - number=2, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=846, - serialized_end=969, -) - - -_MUTATEJOBRESULT = _descriptor.Descriptor( - name='MutateJobResult', - full_name='google.ads.googleads.v1.services.MutateJobResult', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='operation_index', full_name='google.ads.googleads.v1.services.MutateJobResult.operation_index', index=0, - number=1, type=3, cpp_type=2, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='mutate_operation_response', full_name='google.ads.googleads.v1.services.MutateJobResult.mutate_operation_response', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.services.MutateJobResult.status', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=972, - serialized_end=1144, -) - -_ADDMUTATEJOBOPERATIONSREQUEST.fields_by_name['mutate_operations'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2._MUTATEOPERATION -_LISTMUTATEJOBRESULTSRESPONSE.fields_by_name['results'].message_type = _MUTATEJOBRESULT -_MUTATEJOBRESULT.fields_by_name['mutate_operation_response'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2._MUTATEOPERATIONRESPONSE -_MUTATEJOBRESULT.fields_by_name['status'].message_type = google_dot_rpc_dot_status__pb2._STATUS -DESCRIPTOR.message_types_by_name['CreateMutateJobRequest'] = _CREATEMUTATEJOBREQUEST -DESCRIPTOR.message_types_by_name['CreateMutateJobResponse'] = _CREATEMUTATEJOBRESPONSE -DESCRIPTOR.message_types_by_name['GetMutateJobRequest'] = _GETMUTATEJOBREQUEST -DESCRIPTOR.message_types_by_name['RunMutateJobRequest'] = _RUNMUTATEJOBREQUEST -DESCRIPTOR.message_types_by_name['AddMutateJobOperationsRequest'] = _ADDMUTATEJOBOPERATIONSREQUEST -DESCRIPTOR.message_types_by_name['AddMutateJobOperationsResponse'] = _ADDMUTATEJOBOPERATIONSRESPONSE -DESCRIPTOR.message_types_by_name['ListMutateJobResultsRequest'] = _LISTMUTATEJOBRESULTSREQUEST -DESCRIPTOR.message_types_by_name['ListMutateJobResultsResponse'] = _LISTMUTATEJOBRESULTSRESPONSE -DESCRIPTOR.message_types_by_name['MutateJobResult'] = _MUTATEJOBRESULT -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CreateMutateJobRequest = _reflection.GeneratedProtocolMessageType('CreateMutateJobRequest', (_message.Message,), dict( - DESCRIPTOR = _CREATEMUTATEJOBREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for [MutateJobService.CreateMutateJobRequest][] - - - Attributes: - customer_id: - The ID of the customer for which to create a mutate job. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateMutateJobRequest) - )) -_sym_db.RegisterMessage(CreateMutateJobRequest) - -CreateMutateJobResponse = _reflection.GeneratedProtocolMessageType('CreateMutateJobResponse', (_message.Message,), dict( - DESCRIPTOR = _CREATEMUTATEJOBRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Response message for [MutateJobService.CreateMutateJobResponse][] - - - Attributes: - resource_name: - The resource name of the MutateJob. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateMutateJobResponse) - )) -_sym_db.RegisterMessage(CreateMutateJobResponse) - -GetMutateJobRequest = _reflection.GeneratedProtocolMessageType('GetMutateJobRequest', (_message.Message,), dict( - DESCRIPTOR = _GETMUTATEJOBREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.GetMutateJob][google.ads.googleads.v1.services.MutateJobService.GetMutateJob] - - - Attributes: - resource_name: - The resource name of the MutateJob to get. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetMutateJobRequest) - )) -_sym_db.RegisterMessage(GetMutateJobRequest) - -RunMutateJobRequest = _reflection.GeneratedProtocolMessageType('RunMutateJobRequest', (_message.Message,), dict( - DESCRIPTOR = _RUNMUTATEJOBREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.RunMutateJob][google.ads.googleads.v1.services.MutateJobService.RunMutateJob] - - - Attributes: - resource_name: - The resource name of the MutateJob to run. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.RunMutateJobRequest) - )) -_sym_db.RegisterMessage(RunMutateJobRequest) - -AddMutateJobOperationsRequest = _reflection.GeneratedProtocolMessageType('AddMutateJobOperationsRequest', (_message.Message,), dict( - DESCRIPTOR = _ADDMUTATEJOBOPERATIONSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.AddMutateJobOperations][google.ads.googleads.v1.services.MutateJobService.AddMutateJobOperations] - - - Attributes: - resource_name: - The resource name of the MutateJob. - sequence_token: - A token used to enforce sequencing. The first - AddMutateJobOperations request for a MutateJob should not set - sequence\_token. Subsequent requests must set sequence\_token - to the value of next\_sequence\_token received in the previous - AddMutateJobOperations response. - mutate_operations: - The list of mutates being added. Operations can use negative - integers as temp ids to signify dependencies between entities - created in this MutateJob. For example, a customer with id = - 1234 can create a campaign and an ad group in that same - campaign by creating a campaign in the first operation with - the resource name explicitly set to - "customers/1234/campaigns/-1", and creating an ad group in the - second operation with the campaign field also set to - "customers/1234/campaigns/-1". - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AddMutateJobOperationsRequest) - )) -_sym_db.RegisterMessage(AddMutateJobOperationsRequest) - -AddMutateJobOperationsResponse = _reflection.GeneratedProtocolMessageType('AddMutateJobOperationsResponse', (_message.Message,), dict( - DESCRIPTOR = _ADDMUTATEJOBOPERATIONSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Response message for - [MutateJobService.AddMutateJobOperations][google.ads.googleads.v1.services.MutateJobService.AddMutateJobOperations] - - - Attributes: - total_operations: - The total number of operations added so far for this job. - next_sequence_token: - The sequence token to be used when calling - AddMutateJobOperations again if more operations need to be - added. The next AddMutateJobOperations request must set the - sequence\_token field to the value of this field. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AddMutateJobOperationsResponse) - )) -_sym_db.RegisterMessage(AddMutateJobOperationsResponse) - -ListMutateJobResultsRequest = _reflection.GeneratedProtocolMessageType('ListMutateJobResultsRequest', (_message.Message,), dict( - DESCRIPTOR = _LISTMUTATEJOBRESULTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Request message for - [MutateJobService.ListMutateJobResults][google.ads.googleads.v1.services.MutateJobService.ListMutateJobResults]. - - - Attributes: - resource_name: - The resource name of the MutateJob whose results are being - listed. - page_token: - Token of the page to retrieve. If not specified, the first - page of results will be returned. Use the value obtained from - ``next_page_token`` in the previous response in order to - request the next page of results. - page_size: - Number of elements to retrieve in a single page. When a page - request is too large, the server may decide to further limit - the number of returned resources. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListMutateJobResultsRequest) - )) -_sym_db.RegisterMessage(ListMutateJobResultsRequest) - -ListMutateJobResultsResponse = _reflection.GeneratedProtocolMessageType('ListMutateJobResultsResponse', (_message.Message,), dict( - DESCRIPTOR = _LISTMUTATEJOBRESULTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """Response message for - [MutateJobService.ListMutateJobResults][google.ads.googleads.v1.services.MutateJobService.ListMutateJobResults]. - - - Attributes: - results: - The list of rows that matched the query. - next_page_token: - Pagination token used to retrieve the next page of results. - Pass the content of this string as the ``page_token`` - attribute of the next request. ``next_page_token`` is not - returned for the last page. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListMutateJobResultsResponse) - )) -_sym_db.RegisterMessage(ListMutateJobResultsResponse) - -MutateJobResult = _reflection.GeneratedProtocolMessageType('MutateJobResult', (_message.Message,), dict( - DESCRIPTOR = _MUTATEJOBRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.mutate_job_service_pb2' - , - __doc__ = """MutateJob result. - - - Attributes: - operation_index: - Index of the mutate operation. - mutate_operation_response: - Response for the mutate. May be empty if errors occurred. - status: - Details of the errors when processing the operation. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateJobResult) - )) -_sym_db.RegisterMessage(MutateJobResult) - - -DESCRIPTOR._options = None - -_MUTATEJOBSERVICE = _descriptor.ServiceDescriptor( - name='MutateJobService', - full_name='google.ads.googleads.v1.services.MutateJobService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1147, - serialized_end=2145, - methods=[ - _descriptor.MethodDescriptor( - name='CreateMutateJob', - full_name='google.ads.googleads.v1.services.MutateJobService.CreateMutateJob', - index=0, - containing_service=None, - input_type=_CREATEMUTATEJOBREQUEST, - output_type=_CREATEMUTATEJOBRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v1/customers/{customer_id=*}/mutateJobs:create:\001*'), - ), - _descriptor.MethodDescriptor( - name='GetMutateJob', - full_name='google.ads.googleads.v1.services.MutateJobService.GetMutateJob', - index=1, - containing_service=None, - input_type=_GETMUTATEJOBREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2._MUTATEJOB, - serialized_options=_b('\202\323\344\223\002.\022,/v1/{resource_name=customers/*/mutateJobs/*}'), - ), - _descriptor.MethodDescriptor( - name='ListMutateJobResults', - full_name='google.ads.googleads.v1.services.MutateJobService.ListMutateJobResults', - index=2, - containing_service=None, - input_type=_LISTMUTATEJOBRESULTSREQUEST, - output_type=_LISTMUTATEJOBRESULTSRESPONSE, - serialized_options=_b('\202\323\344\223\002:\0228/v1/{resource_name=customers/*/mutateJobs/*}:listResults'), - ), - _descriptor.MethodDescriptor( - name='RunMutateJob', - full_name='google.ads.googleads.v1.services.MutateJobService.RunMutateJob', - index=3, - containing_service=None, - input_type=_RUNMUTATEJOBREQUEST, - output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b('\202\323\344\223\0025\"0/v1/{resource_name=customers/*/mutateJobs/*}:run:\001*'), - ), - _descriptor.MethodDescriptor( - name='AddMutateJobOperations', - full_name='google.ads.googleads.v1.services.MutateJobService.AddMutateJobOperations', - index=4, - containing_service=None, - input_type=_ADDMUTATEJOBOPERATIONSREQUEST, - output_type=_ADDMUTATEJOBOPERATIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002?\":/v1/{resource_name=customers/*/mutateJobs/*}:addOperations:\001*'), - ), -]) -_sym_db.RegisterServiceDescriptor(_MUTATEJOBSERVICE) - -DESCRIPTOR.services_by_name['MutateJobService'] = _MUTATEJOBSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2_grpc.py b/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2_grpc.py deleted file mode 100644 index 1cd10551e..000000000 --- a/google/ads/google_ads/v1/proto/services/mutate_job_service_pb2_grpc.py +++ /dev/null @@ -1,125 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from google.ads.google_ads.v1.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v1.proto.services import mutate_job_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2 -from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 - - -class MutateJobServiceStub(object): - """Proto file describing the MutateJobService. - - Service to manage mutate jobs. - """ - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.CreateMutateJob = channel.unary_unary( - '/google.ads.googleads.v1.services.MutateJobService/CreateMutateJob', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobResponse.FromString, - ) - self.GetMutateJob = channel.unary_unary( - '/google.ads.googleads.v1.services.MutateJobService/GetMutateJob', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.GetMutateJobRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2.MutateJob.FromString, - ) - self.ListMutateJobResults = channel.unary_unary( - '/google.ads.googleads.v1.services.MutateJobService/ListMutateJobResults', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsResponse.FromString, - ) - self.RunMutateJob = channel.unary_unary( - '/google.ads.googleads.v1.services.MutateJobService/RunMutateJob', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.RunMutateJobRequest.SerializeToString, - response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, - ) - self.AddMutateJobOperations = channel.unary_unary( - '/google.ads.googleads.v1.services.MutateJobService/AddMutateJobOperations', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsResponse.FromString, - ) - - -class MutateJobServiceServicer(object): - """Proto file describing the MutateJobService. - - Service to manage mutate jobs. - """ - - def CreateMutateJob(self, request, context): - """Creates a mutate job. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetMutateJob(self, request, context): - """Returns the mutate job. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def ListMutateJobResults(self, request, context): - """Returns the results of the mutate job. The job must be done. - Supports standard list paging. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def RunMutateJob(self, request, context): - """Runs the mutate job. - - The Operation.metadata field type is MutateJobMetadata. When finished, the - long running operation will not contain errors or a response. Instead, use - ListMutateJobResults to get the results of the job. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def AddMutateJobOperations(self, request, context): - """Add operations to the mutate job. - """ - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_MutateJobServiceServicer_to_server(servicer, server): - rpc_method_handlers = { - 'CreateMutateJob': grpc.unary_unary_rpc_method_handler( - servicer.CreateMutateJob, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.CreateMutateJobResponse.SerializeToString, - ), - 'GetMutateJob': grpc.unary_unary_rpc_method_handler( - servicer.GetMutateJob, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.GetMutateJobRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2.MutateJob.SerializeToString, - ), - 'ListMutateJobResults': grpc.unary_unary_rpc_method_handler( - servicer.ListMutateJobResults, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.ListMutateJobResultsResponse.SerializeToString, - ), - 'RunMutateJob': grpc.unary_unary_rpc_method_handler( - servicer.RunMutateJob, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.RunMutateJobRequest.FromString, - response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, - ), - 'AddMutateJobOperations': grpc.unary_unary_rpc_method_handler( - servicer.AddMutateJobOperations, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mutate__job__service__pb2.AddMutateJobOperationsResponse.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.MutateJobService', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2.py deleted file mode 100644 index 1ee3878ce..000000000 --- a/google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/operating_system_version_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/operating_system_version_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB*OperatingSystemVersionConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nVgoogle/ads/googleads_v1/proto/services/operating_system_version_constant_service.proto\x12 google.ads.googleads.v1.services\x1aOgoogle/ads/googleads_v1/proto/resources/operating_system_version_constant.proto\x1a\x1cgoogle/api/annotations.proto\"A\n(GetOperatingSystemVersionConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9b\x02\n%OperatingSystemVersionConstantService\x12\xf1\x01\n!GetOperatingSystemVersionConstant\x12J.google.ads.googleads.v1.services.GetOperatingSystemVersionConstantRequest\x1a\x41.google.ads.googleads.v1.resources.OperatingSystemVersionConstant\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=operatingSystemVersionConstants/*}B\x91\x02\n$com.google.ads.googleads.v1.servicesB*OperatingSystemVersionConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST = _descriptor.Descriptor( - name='GetOperatingSystemVersionConstantRequest', - full_name='google.ads.googleads.v1.services.GetOperatingSystemVersionConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetOperatingSystemVersionConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=235, - serialized_end=300, -) - -DESCRIPTOR.message_types_by_name['GetOperatingSystemVersionConstantRequest'] = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetOperatingSystemVersionConstantRequest = _reflection.GeneratedProtocolMessageType('GetOperatingSystemVersionConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.operating_system_version_constant_service_pb2' - , - __doc__ = """Request message for - [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v1.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. - - - Attributes: - resource_name: - Resource name of the OS version to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetOperatingSystemVersionConstantRequest) - )) -_sym_db.RegisterMessage(GetOperatingSystemVersionConstantRequest) - - -DESCRIPTOR._options = None - -_OPERATINGSYSTEMVERSIONCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='OperatingSystemVersionConstantService', - full_name='google.ads.googleads.v1.services.OperatingSystemVersionConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=303, - serialized_end=586, - methods=[ - _descriptor.MethodDescriptor( - name='GetOperatingSystemVersionConstant', - full_name='google.ads.googleads.v1.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant', - index=0, - containing_service=None, - input_type=_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2._OPERATINGSYSTEMVERSIONCONSTANT, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=operatingSystemVersionConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_OPERATINGSYSTEMVERSIONCONSTANTSERVICE) - -DESCRIPTOR.services_by_name['OperatingSystemVersionConstantService'] = _OPERATINGSYSTEMVERSIONCONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/paid_organic_search_term_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/paid_organic_search_term_view_service_pb2.py deleted file mode 100644 index 2254ab76f..000000000 --- a/google/ads/google_ads/v1/proto/services/paid_organic_search_term_view_service_pb2.py +++ /dev/null @@ -1,108 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/paid_organic_search_term_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/paid_organic_search_term_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB%PaidOrganicSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nRgoogle/ads/googleads_v1/proto/services/paid_organic_search_term_view_service.proto\x12 google.ads.googleads.v1.services\x1aKgoogle/ads/googleads_v1/proto/resources/paid_organic_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\"<\n#GetPaidOrganicSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8e\x02\n PaidOrganicSearchTermViewService\x12\xe9\x01\n\x1cGetPaidOrganicSearchTermView\x12\x45.google.ads.googleads.v1.services.GetPaidOrganicSearchTermViewRequest\x1a<.google.ads.googleads.v1.resources.PaidOrganicSearchTermView\"D\x82\xd3\xe4\x93\x02>\x12\022.google.ads.googleads.v1.services.GetParentalStatusViewRequest\x1a\x35.google.ads.googleads.v1.resources.ParentalStatusView\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/parentalStatusViews/*}B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1eParentalStatusViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETPARENTALSTATUSVIEWREQUEST = _descriptor.Descriptor( - name='GetParentalStatusViewRequest', - full_name='google.ads.googleads.v1.services.GetParentalStatusViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetParentalStatusViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=209, - serialized_end=262, -) - -DESCRIPTOR.message_types_by_name['GetParentalStatusViewRequest'] = _GETPARENTALSTATUSVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetParentalStatusViewRequest = _reflection.GeneratedProtocolMessageType('GetParentalStatusViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPARENTALSTATUSVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.parental_status_view_service_pb2' - , - __doc__ = """Request message for - [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v1.services.ParentalStatusViewService.GetParentalStatusView]. - - - Attributes: - resource_name: - The resource name of the parental status view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetParentalStatusViewRequest) - )) -_sym_db.RegisterMessage(GetParentalStatusViewRequest) - - -DESCRIPTOR._options = None - -_PARENTALSTATUSVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ParentalStatusViewService', - full_name='google.ads.googleads.v1.services.ParentalStatusViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=265, - serialized_end=500, - methods=[ - _descriptor.MethodDescriptor( - name='GetParentalStatusView', - full_name='google.ads.googleads.v1.services.ParentalStatusViewService.GetParentalStatusView', - index=0, - containing_service=None, - input_type=_GETPARENTALSTATUSVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2._PARENTALSTATUSVIEW, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/parentalStatusViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_PARENTALSTATUSVIEWSERVICE) - -DESCRIPTOR.services_by_name['ParentalStatusViewService'] = _PARENTALSTATUSVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2.py deleted file mode 100644 index ddd6733a9..000000000 --- a/google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/product_bidding_category_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/product_bidding_category_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB*ProductBiddingCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nVgoogle/ads/googleads_v1/proto/services/product_bidding_category_constant_service.proto\x12 google.ads.googleads.v1.services\x1aOgoogle/ads/googleads_v1/proto/resources/product_bidding_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\"A\n(GetProductBiddingCategoryConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9b\x02\n%ProductBiddingCategoryConstantService\x12\xf1\x01\n!GetProductBiddingCategoryConstant\x12J.google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest\x1a\x41.google.ads.googleads.v1.resources.ProductBiddingCategoryConstant\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=productBiddingCategoryConstants/*}B\x91\x02\n$com.google.ads.googleads.v1.servicesB*ProductBiddingCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( - name='GetProductBiddingCategoryConstantRequest', - full_name='google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=235, - serialized_end=300, -) - -DESCRIPTOR.message_types_by_name['GetProductBiddingCategoryConstantRequest'] = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetProductBiddingCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetProductBiddingCategoryConstantRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.product_bidding_category_constant_service_pb2' - , - __doc__ = """Request message for - [ProductBiddingCategoryService.GetProductBiddingCategory][]. - - - Attributes: - resource_name: - Resource name of the Product Bidding Category to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetProductBiddingCategoryConstantRequest) - )) -_sym_db.RegisterMessage(GetProductBiddingCategoryConstantRequest) - - -DESCRIPTOR._options = None - -_PRODUCTBIDDINGCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( - name='ProductBiddingCategoryConstantService', - full_name='google.ads.googleads.v1.services.ProductBiddingCategoryConstantService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=303, - serialized_end=586, - methods=[ - _descriptor.MethodDescriptor( - name='GetProductBiddingCategoryConstant', - full_name='google.ads.googleads.v1.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant', - index=0, - containing_service=None, - input_type=_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2._PRODUCTBIDDINGCATEGORYCONSTANT, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=productBiddingCategoryConstants/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_PRODUCTBIDDINGCATEGORYCONSTANTSERVICE) - -DESCRIPTOR.services_by_name['ProductBiddingCategoryConstantService'] = _PRODUCTBIDDINGCATEGORYCONSTANTSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/product_group_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/product_group_view_service_pb2.py deleted file mode 100644 index 0afd3a821..000000000 --- a/google/ads/google_ads/v1/proto/services/product_group_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/product_group_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/product_group_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\034ProductGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/services/product_group_view_service.proto\x12 google.ads.googleads.v1.services\x1a@google/ads/googleads_v1/proto/resources/product_group_view.proto\x1a\x1cgoogle/api/annotations.proto\"3\n\x1aGetProductGroupViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe1\x01\n\x17ProductGroupViewService\x12\xc5\x01\n\x13GetProductGroupView\x12<.google.ads.googleads.v1.services.GetProductGroupViewRequest\x1a\x33.google.ads.googleads.v1.resources.ProductGroupView\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{resource_name=customers/*/productGroupViews/*}B\x83\x02\n$com.google.ads.googleads.v1.servicesB\x1cProductGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETPRODUCTGROUPVIEWREQUEST = _descriptor.Descriptor( - name='GetProductGroupViewRequest', - full_name='google.ads.googleads.v1.services.GetProductGroupViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetProductGroupViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=205, - serialized_end=256, -) - -DESCRIPTOR.message_types_by_name['GetProductGroupViewRequest'] = _GETPRODUCTGROUPVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetProductGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetProductGroupViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETPRODUCTGROUPVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.product_group_view_service_pb2' - , - __doc__ = """Request message for - [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v1.services.ProductGroupViewService.GetProductGroupView]. - - - Attributes: - resource_name: - The resource name of the product group view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetProductGroupViewRequest) - )) -_sym_db.RegisterMessage(GetProductGroupViewRequest) - - -DESCRIPTOR._options = None - -_PRODUCTGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ProductGroupViewService', - full_name='google.ads.googleads.v1.services.ProductGroupViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=259, - serialized_end=484, - methods=[ - _descriptor.MethodDescriptor( - name='GetProductGroupView', - full_name='google.ads.googleads.v1.services.ProductGroupViewService.GetProductGroupView', - index=0, - containing_service=None, - input_type=_GETPRODUCTGROUPVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW, - serialized_options=_b('\202\323\344\223\0025\0223/v1/{resource_name=customers/*/productGroupViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_PRODUCTGROUPVIEWSERVICE) - -DESCRIPTOR.services_by_name['ProductGroupViewService'] = _PRODUCTGROUPVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/search_term_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/search_term_view_service_pb2.py deleted file mode 100644 index 86b3c128f..000000000 --- a/google/ads/google_ads/v1/proto/services/search_term_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/search_term_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/search_term_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032SearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/search_term_view_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetSearchTermViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x01\n\x15SearchTermViewService\x12\xbd\x01\n\x11GetSearchTermView\x12:.google.ads.googleads.v1.services.GetSearchTermViewRequest\x1a\x31.google.ads.googleads.v1.resources.SearchTermView\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/searchTermViews/*}B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1aSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( - name='GetSearchTermViewRequest', - full_name='google.ads.googleads.v1.services.GetSearchTermViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetSearchTermViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=201, - serialized_end=250, -) - -DESCRIPTOR.message_types_by_name['GetSearchTermViewRequest'] = _GETSEARCHTERMVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetSearchTermViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSEARCHTERMVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.search_term_view_service_pb2' - , - __doc__ = """Request message for - [SearchTermViewService.GetSearchTermView][google.ads.googleads.v1.services.SearchTermViewService.GetSearchTermView]. - - - Attributes: - resource_name: - The resource name of the search term view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetSearchTermViewRequest) - )) -_sym_db.RegisterMessage(GetSearchTermViewRequest) - - -DESCRIPTOR._options = None - -_SEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( - name='SearchTermViewService', - full_name='google.ads.googleads.v1.services.SearchTermViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=253, - serialized_end=468, - methods=[ - _descriptor.MethodDescriptor( - name='GetSearchTermView', - full_name='google.ads.googleads.v1.services.SearchTermViewService.GetSearchTermView', - index=0, - containing_service=None, - input_type=_GETSEARCHTERMVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/searchTermViews/*}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_SEARCHTERMVIEWSERVICE) - -DESCRIPTOR.services_by_name['SearchTermViewService'] = _SEARCHTERMVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2.py b/google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2.py deleted file mode 100644 index 1ca0a000d..000000000 --- a/google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/shopping_performance_view_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/shopping_performance_view_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB#ShoppingPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nNgoogle/ads/googleads_v1/proto/services/shopping_performance_view_service.proto\x12 google.ads.googleads.v1.services\x1aGgoogle/ads/googleads_v1/proto/resources/shopping_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\":\n!GetShoppingPerformanceViewRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x81\x02\n\x1eShoppingPerformanceViewService\x12\xde\x01\n\x1aGetShoppingPerformanceView\x12\x43.google.ads.googleads.v1.services.GetShoppingPerformanceViewRequest\x1a:.google.ads.googleads.v1.resources.ShoppingPerformanceView\"?\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{resource_name=customers/*/shoppingPerformanceView}B\x8a\x02\n$com.google.ads.googleads.v1.servicesB#ShoppingPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') - , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) - - - - -_GETSHOPPINGPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( - name='GetShoppingPerformanceViewRequest', - full_name='google.ads.googleads.v1.services.GetShoppingPerformanceViewRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetShoppingPerformanceViewRequest.resource_name', index=0, - number=1, type=9, cpp_type=9, label=1, - has_default_value=False, default_value=_b("").decode('utf-8'), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=219, - serialized_end=277, -) - -DESCRIPTOR.message_types_by_name['GetShoppingPerformanceViewRequest'] = _GETSHOPPINGPERFORMANCEVIEWREQUEST -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetShoppingPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetShoppingPerformanceViewRequest', (_message.Message,), dict( - DESCRIPTOR = _GETSHOPPINGPERFORMANCEVIEWREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.shopping_performance_view_service_pb2' - , - __doc__ = """Request message for - [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v1.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. - - - Attributes: - resource_name: - The resource name of the Shopping performance view to fetch. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetShoppingPerformanceViewRequest) - )) -_sym_db.RegisterMessage(GetShoppingPerformanceViewRequest) - - -DESCRIPTOR._options = None - -_SHOPPINGPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( - name='ShoppingPerformanceViewService', - full_name='google.ads.googleads.v1.services.ShoppingPerformanceViewService', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=280, - serialized_end=537, - methods=[ - _descriptor.MethodDescriptor( - name='GetShoppingPerformanceView', - full_name='google.ads.googleads.v1.services.ShoppingPerformanceViewService.GetShoppingPerformanceView', - index=0, - containing_service=None, - input_type=_GETSHOPPINGPERFORMANCEVIEWREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW, - serialized_options=_b('\202\323\344\223\0029\0227/v1/{resource_name=customers/*/shoppingPerformanceView}'), - ), -]) -_sym_db.RegisterServiceDescriptor(_SHOPPINGPERFORMANCEVIEWSERVICE) - -DESCRIPTOR.services_by_name['ShoppingPerformanceViewService'] = _SHOPPINGPERFORMANCEVIEWSERVICE - -# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/topic_constant_service_pb2.py b/google/ads/google_ads/v1/proto/services/topic_constant_service_pb2.py deleted file mode 100644 index 71b17cc7c..000000000 --- a/google/ads/google_ads/v1/proto/services/topic_constant_service_pb2.py +++ /dev/null @@ -1,107 +0,0 @@ -# -*- coding: utf-8 -*- -# Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/topic_constant_service.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) -from google.protobuf import descriptor as _descriptor -from google.protobuf import message as _message -from google.protobuf import reflection as _reflection -from google.protobuf import symbol_database as _symbol_database -# @@protoc_insertion_point(imports) - -_sym_db = _symbol_database.Default() - - -from google.ads.google_ads.v1.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__constant__pb2 -from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 - - -DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/topic_constant_service.proto', - package='google.ads.googleads.v1.services', - syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\031TopicConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/topic_constant_service.proto\x12 google.ads.googleads.v1.services\x1a= 3.7 + """Lazily perform imports and class definitions on first demand.""" + if name == '__all__': + converted = (util.convert_snake_case_to_upper_case(key) for + key in _lazy_name_to_package_map) + all_names = sorted(converted) + globals()['__all__'] = all_names + return all_names + elif name.endswith('Transport'): + module = __getattr__(util.convert_upper_case_to_snake_case(name)) + sub_mod_class = getattr(module, name) + klass = type(name, (sub_mod_class,), {'__doc__': sub_mod_class.__doc__}) + globals()[name] = klass + return klass + elif name.endswith('ServiceClient'): + module = __getattr__(util.convert_upper_case_to_snake_case(name)) + enums = __getattr__('enums') + sub_mod_class = getattr(module, name) + klass = type(name, (sub_mod_class,), + {'__doc__': sub_mod_class.__doc__, 'enums': enums}) + globals()[name] = klass + return klass + elif name == 'enums': + path = 'google.ads.google_ads.v4.services.enums' + module = importlib.import_module(path) + globals()[name] = module + return module + elif name == 'types': + path = 'google.ads.google_ads.v4.types' + module = importlib.import_module(path) + globals()[name] = module + return module + elif name in _lazy_name_to_package_map: + module = importlib.import_module(f'{_lazy_name_to_package_map[name]}.{name}') + globals()[name] = module + return module + else: + raise AttributeError(f'unknown sub-module {name!r}.') + + +def __dir__(): + return globals().get('__all__') or __getattr__('__all__') diff --git a/google/ads/google_ads/v1/proto/__init__.py b/google/ads/google_ads/v4/proto/__init__.py similarity index 100% rename from google/ads/google_ads/v1/proto/__init__.py rename to google/ads/google_ads/v4/proto/__init__.py diff --git a/google/ads/google_ads/v1/proto/common/__init__.py b/google/ads/google_ads/v4/proto/common/__init__.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/__init__.py rename to google/ads/google_ads/v4/proto/common/__init__.py diff --git a/google/ads/google_ads/v1/proto/common/ad_asset_pb2.py b/google/ads/google_ads/v4/proto/common/ad_asset_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/common/ad_asset_pb2.py rename to google/ads/google_ads/v4/proto/common/ad_asset_pb2.py index da539d8c2..f9b5a189c 100644 --- a/google/ads/google_ads/v1/proto/common/ad_asset_pb2.py +++ b/google/ads/google_ads/v4/proto/common/ad_asset_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/ad_asset.proto +# source: google/ads/googleads_v4/proto/common/ad_asset.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,39 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import served_asset_field_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_served__asset__field__type__pb2 +from google.ads.google_ads.v4.proto.enums import served_asset_field_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_served__asset__field__type__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/ad_asset.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/ad_asset.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\014AdAssetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n3google/ads/googleads_v1/proto/common/ad_asset.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x41google/ads/googleads_v1/proto/enums/served_asset_field_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9d\x01\n\x0b\x41\x64TextAsset\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x0cpinned_field\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v1.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType\";\n\x0c\x41\x64ImageAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\";\n\x0c\x41\x64VideoAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"A\n\x12\x41\x64MediaBundleAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xe7\x01\n\"com.google.ads.googleads.v1.commonB\x0c\x41\x64\x41ssetProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\014AdAssetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/common/ad_asset.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x41google/ads/googleads_v4/proto/enums/served_asset_field_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9d\x01\n\x0b\x41\x64TextAsset\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x0cpinned_field\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v4.enums.ServedAssetFieldTypeEnum.ServedAssetFieldType\";\n\x0c\x41\x64ImageAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\";\n\x0c\x41\x64VideoAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"A\n\x12\x41\x64MediaBundleAsset\x12+\n\x05\x61sset\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xe7\x01\n\"com.google.ads.googleads.v4.commonB\x0c\x41\x64\x41ssetProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_served__asset__field__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_served__asset__field__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ADTEXTASSET = _descriptor.Descriptor( name='AdTextAsset', - full_name='google.ads.googleads.v1.common.AdTextAsset', + full_name='google.ads.googleads.v4.common.AdTextAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.common.AdTextAsset.text', index=0, + name='text', full_name='google.ads.googleads.v4.common.AdTextAsset.text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='pinned_field', full_name='google.ads.googleads.v1.common.AdTextAsset.pinned_field', index=1, + name='pinned_field', full_name='google.ads.googleads.v4.common.AdTextAsset.pinned_field', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -70,13 +70,13 @@ _ADIMAGEASSET = _descriptor.Descriptor( name='AdImageAsset', - full_name='google.ads.googleads.v1.common.AdImageAsset', + full_name='google.ads.googleads.v4.common.AdImageAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v1.common.AdImageAsset.asset', index=0, + name='asset', full_name='google.ads.googleads.v4.common.AdImageAsset.asset', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -101,13 +101,13 @@ _ADVIDEOASSET = _descriptor.Descriptor( name='AdVideoAsset', - full_name='google.ads.googleads.v1.common.AdVideoAsset', + full_name='google.ads.googleads.v4.common.AdVideoAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v1.common.AdVideoAsset.asset', index=0, + name='asset', full_name='google.ads.googleads.v4.common.AdVideoAsset.asset', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -132,13 +132,13 @@ _ADMEDIABUNDLEASSET = _descriptor.Descriptor( name='AdMediaBundleAsset', - full_name='google.ads.googleads.v1.common.AdMediaBundleAsset', + full_name='google.ads.googleads.v4.common.AdMediaBundleAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v1.common.AdMediaBundleAsset.asset', index=0, + name='asset', full_name='google.ads.googleads.v4.common.AdMediaBundleAsset.asset', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -161,7 +161,7 @@ ) _ADTEXTASSET.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADTEXTASSET.fields_by_name['pinned_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_served__asset__field__type__pb2._SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE +_ADTEXTASSET.fields_by_name['pinned_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_served__asset__field__type__pb2._SERVEDASSETFIELDTYPEENUM_SERVEDASSETFIELDTYPE _ADIMAGEASSET.fields_by_name['asset'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADVIDEOASSET.fields_by_name['asset'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADMEDIABUNDLEASSET.fields_by_name['asset'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -173,7 +173,7 @@ AdTextAsset = _reflection.GeneratedProtocolMessageType('AdTextAsset', (_message.Message,), dict( DESCRIPTOR = _ADTEXTASSET, - __module__ = 'google.ads.googleads_v1.proto.common.ad_asset_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_asset_pb2' , __doc__ = """A text asset used inside an ad. @@ -188,13 +188,13 @@ different field will not serve in a field where some other asset has been pinned. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AdTextAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AdTextAsset) )) _sym_db.RegisterMessage(AdTextAsset) AdImageAsset = _reflection.GeneratedProtocolMessageType('AdImageAsset', (_message.Message,), dict( DESCRIPTOR = _ADIMAGEASSET, - __module__ = 'google.ads.googleads_v1.proto.common.ad_asset_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_asset_pb2' , __doc__ = """An image asset used inside an ad. @@ -203,13 +203,13 @@ asset: The Asset resource name of this image. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AdImageAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AdImageAsset) )) _sym_db.RegisterMessage(AdImageAsset) AdVideoAsset = _reflection.GeneratedProtocolMessageType('AdVideoAsset', (_message.Message,), dict( DESCRIPTOR = _ADVIDEOASSET, - __module__ = 'google.ads.googleads_v1.proto.common.ad_asset_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_asset_pb2' , __doc__ = """A video asset used inside an ad. @@ -218,13 +218,13 @@ asset: The Asset resource name of this video. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AdVideoAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AdVideoAsset) )) _sym_db.RegisterMessage(AdVideoAsset) AdMediaBundleAsset = _reflection.GeneratedProtocolMessageType('AdMediaBundleAsset', (_message.Message,), dict( DESCRIPTOR = _ADMEDIABUNDLEASSET, - __module__ = 'google.ads.googleads_v1.proto.common.ad_asset_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_asset_pb2' , __doc__ = """A media bundle asset used inside an ad. @@ -233,7 +233,7 @@ asset: The Asset resource name of this media bundle. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AdMediaBundleAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AdMediaBundleAsset) )) _sym_db.RegisterMessage(AdMediaBundleAsset) diff --git a/google/ads/google_ads/v1/proto/common/ad_asset_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/ad_asset_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/ad_asset_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/ad_asset_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/ad_type_infos_pb2.py b/google/ads/google_ads/v4/proto/common/ad_type_infos_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/common/ad_type_infos_pb2.py rename to google/ads/google_ads/v4/proto/common/ad_type_infos_pb2.py index bae3cbba9..cfd3b0f23 100644 --- a/google/ads/google_ads/v1/proto/common/ad_type_infos_pb2.py +++ b/google/ads/google_ads/v4/proto/common/ad_type_infos_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/ad_type_infos.proto +# source: google/ads/googleads_v4/proto/common/ad_type_infos.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,51 +13,51 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import ad_asset_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2 -from google.ads.google_ads.v1.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 -from google.ads.google_ads.v1.proto.enums import display_ad_format_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__ad__format__setting__pb2 -from google.ads.google_ads.v1.proto.enums import display_upload_product_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__upload__product__type__pb2 -from google.ads.google_ads.v1.proto.enums import legacy_app_install_ad_app_store_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2 -from google.ads.google_ads.v1.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2 +from google.ads.google_ads.v4.proto.common import ad_asset_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2 +from google.ads.google_ads.v4.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 +from google.ads.google_ads.v4.proto.enums import display_ad_format_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__ad__format__setting__pb2 +from google.ads.google_ads.v4.proto.enums import display_upload_product_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__upload__product__type__pb2 +from google.ads.google_ads.v4.proto.enums import legacy_app_install_ad_app_store_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2 +from google.ads.google_ads.v4.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/ad_type_infos.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/ad_type_infos.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\020AdTypeInfosProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/common/ad_type_infos.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x33google/ads/googleads_v1/proto/common/ad_asset.proto\x1aIgoogle/ads/googleads_v1/proto/enums/call_conversion_reporting_state.proto\x1a\x43google/ads/googleads_v1/proto/enums/display_ad_format_setting.proto\x1a\x45google/ads/googleads_v1/proto/enums/display_upload_product_type.proto\x1aIgoogle/ads/googleads_v1/proto/enums/legacy_app_install_ad_app_store.proto\x1a\x33google/ads/googleads_v1/proto/enums/mime_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa4\x01\n\nTextAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf7\x02\n\x12\x45xpandedTextAdInfo\x12\x34\n\x0eheadline_part1\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eheadline_part2\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eheadline_part3\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xe7\x05\n\x0e\x43\x61llOnlyAdInfo\x12\x32\n\x0c\x63ountry_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\theadline1\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\theadline2\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0c\x63\x61ll_tracked\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12;\n\x17\x64isable_call_conversion\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x43\n\x1dphone_number_verification_url\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x80\x01\n\x1a\x63onversion_reporting_state\x18\n \x01(\x0e\x32\\.google.ads.googleads.v1.enums.CallConversionReportingStateEnum.CallConversionReportingState\"P\n\x1b\x45xpandedDynamicSearchAdInfo\x12\x31\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\r\n\x0bHotelAdInfo\"\x15\n\x13ShoppingSmartAdInfo\"\x17\n\x15ShoppingProductAdInfo\"Q\n\x1fShoppingComparisonListingAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa9\x04\n\x0bGmailAdInfo\x12;\n\x06teaser\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.common.GmailTeaser\x12\x32\n\x0cheader_image\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fmarketing_image\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x18marketing_image_headline\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x41\n\x1bmarketing_image_description\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x63\n&marketing_image_display_call_to_action\x18\x06 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.DisplayCallToAction\x12\x44\n\x0eproduct_images\x18\x07 \x03(\x0b\x32,.google.ads.googleads.v1.common.ProductImage\x12\x44\n\x0eproduct_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v1.common.ProductVideo\"\xd7\x01\n\x0bGmailTeaser\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nlogo_image\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xac\x01\n\x13\x44isplayCallToAction\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ntext_color\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11url_collection_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xcb\x01\n\x0cProductImage\x12\x33\n\rproduct_image\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x16\x64isplay_call_to_action\x18\x03 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.DisplayCallToAction\"C\n\x0cProductVideo\x12\x33\n\rproduct_video\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf1\x04\n\x0bImageAdInfo\x12\x30\n\x0bpixel_width\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0cpixel_height\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12/\n\timage_url\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x13preview_pixel_width\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14preview_pixel_height\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x11preview_image_url\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n\tmime_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.MimeTypeEnum.MimeType\x12*\n\x04name\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\nmedia_file\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValueH\x00\x12?\n\x18\x61\x64_id_to_copy_image_from\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x42\x07\n\x05image\"\x1b\n\x19VideoBumperInStreamAdInfo\"!\n\x1fVideoNonSkippableInStreamAdInfo\"\xc7\x01\n\x1bVideoTrueViewInStreamAdInfo\x12\x39\n\x13\x61\x63tion_button_label\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0f\x61\x63tion_headline\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63ompanion_banner\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"y\n\x14VideoOutstreamAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x8e\x03\n\x0bVideoAdInfo\x12\x30\n\nmedia_file\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12P\n\tin_stream\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfoH\x00\x12K\n\x06\x62umper\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v1.common.VideoBumperInStreamAdInfoH\x00\x12J\n\nout_stream\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v1.common.VideoOutstreamAdInfoH\x00\x12X\n\rnon_skippable\x18\x05 \x01(\x0b\x32?.google.ads.googleads.v1.common.VideoNonSkippableInStreamAdInfoH\x00\x42\x08\n\x06\x66ormat\"\xf5\x01\n\x16ResponsiveSearchAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12+\n\x05path1\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path2\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xfd\x06\n\x1dLegacyResponsiveDisplayAdInfo\x12\x34\n\x0eshort_headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlong_headline\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61llow_flexible_color\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0c\x61\x63\x63\x65nt_color\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nmain_color\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x63\x61ll_to_action_text\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nlogo_image\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11square_logo_image\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fmarketing_image\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x16square_marketing_image\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12h\n\x0e\x66ormat_setting\x18\r \x01(\x0e\x32P.google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\x12\x32\n\x0cprice_prefix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\npromo_text\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xab\x03\n\tAppAdInfo\x12\x46\n\x11mandatory_ad_text\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12>\n\theadlines\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12<\n\x06images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12\x44\n\x0eyoutube_videos\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdVideoAsset\x12O\n\x13html5_media_bundles\x18\x06 \x03(\x0b\x32\x32.google.ads.googleads.v1.common.AdMediaBundleAsset\"\x94\x02\n\x13\x41ppEngagementAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12<\n\x06images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12<\n\x06videos\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdVideoAsset\"\xcb\x02\n\x16LegacyAppInstallAdInfo\x12,\n\x06\x61pp_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12k\n\tapp_store\x18\x02 \x01(\x0e\x32X.google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore\x12.\n\x08headline\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xaa\x08\n\x17ResponsiveDisplayAdInfo\x12\x46\n\x10marketing_images\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12M\n\x17square_marketing_images\x18\x02 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12H\n\x12square_logo_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdImageAsset\x12>\n\theadlines\x18\x05 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x42\n\rlong_headline\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x07 \x03(\x0b\x32+.google.ads.googleads.v1.common.AdTextAsset\x12\x44\n\x0eyoutube_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v1.common.AdVideoAsset\x12\x33\n\rbusiness_name\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nmain_color\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x61\x63\x63\x65nt_color\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61llow_flexible_color\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x13\x63\x61ll_to_action_text\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cprice_prefix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\npromo_text\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12h\n\x0e\x66ormat_setting\x18\x10 \x01(\x0e\x32P.google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\"\xeb\x01\n\x13\x44isplayUploadAdInfo\x12y\n\x1b\x64isplay_upload_product_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType\x12J\n\x0cmedia_bundle\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.AdMediaBundleAssetH\x00\x42\r\n\x0bmedia_assetB\xeb\x01\n\"com.google.ads.googleads.v1.commonB\x10\x41\x64TypeInfosProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\020AdTypeInfosProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/common/ad_type_infos.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x33google/ads/googleads_v4/proto/common/ad_asset.proto\x1aIgoogle/ads/googleads_v4/proto/enums/call_conversion_reporting_state.proto\x1a\x43google/ads/googleads_v4/proto/enums/display_ad_format_setting.proto\x1a\x45google/ads/googleads_v4/proto/enums/display_upload_product_type.proto\x1aIgoogle/ads/googleads_v4/proto/enums/legacy_app_install_ad_app_store.proto\x1a\x33google/ads/googleads_v4/proto/enums/mime_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa4\x01\n\nTextAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf7\x02\n\x12\x45xpandedTextAdInfo\x12\x34\n\x0eheadline_part1\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eheadline_part2\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eheadline_part3\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xe7\x05\n\x0e\x43\x61llOnlyAdInfo\x12\x32\n\x0c\x63ountry_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\theadline1\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\theadline2\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0c\x63\x61ll_tracked\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12;\n\x17\x64isable_call_conversion\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x43\n\x1dphone_number_verification_url\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x80\x01\n\x1a\x63onversion_reporting_state\x18\n \x01(\x0e\x32\\.google.ads.googleads.v4.enums.CallConversionReportingStateEnum.CallConversionReportingState\"\x84\x01\n\x1b\x45xpandedDynamicSearchAdInfo\x12\x31\n\x0b\x64\x65scription\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\r\n\x0bHotelAdInfo\"\x15\n\x13ShoppingSmartAdInfo\"\x17\n\x15ShoppingProductAdInfo\"Q\n\x1fShoppingComparisonListingAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa9\x04\n\x0bGmailAdInfo\x12;\n\x06teaser\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.common.GmailTeaser\x12\x32\n\x0cheader_image\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fmarketing_image\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x18marketing_image_headline\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x41\n\x1bmarketing_image_description\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x63\n&marketing_image_display_call_to_action\x18\x06 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.DisplayCallToAction\x12\x44\n\x0eproduct_images\x18\x07 \x03(\x0b\x32,.google.ads.googleads.v4.common.ProductImage\x12\x44\n\x0eproduct_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v4.common.ProductVideo\"\xd7\x01\n\x0bGmailTeaser\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nlogo_image\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xac\x01\n\x13\x44isplayCallToAction\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\ntext_color\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11url_collection_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xcb\x01\n\x0cProductImage\x12\x33\n\rproduct_image\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x16\x64isplay_call_to_action\x18\x03 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.DisplayCallToAction\"C\n\x0cProductVideo\x12\x33\n\rproduct_video\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf1\x04\n\x0bImageAdInfo\x12\x30\n\x0bpixel_width\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0cpixel_height\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12/\n\timage_url\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x13preview_pixel_width\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14preview_pixel_height\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x11preview_image_url\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n\tmime_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.MimeTypeEnum.MimeType\x12*\n\x04name\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\nmedia_file\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.BytesValueH\x00\x12?\n\x18\x61\x64_id_to_copy_image_from\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x42\x07\n\x05image\"S\n\x19VideoBumperInStreamAdInfo\x12\x36\n\x10\x63ompanion_banner\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"Y\n\x1fVideoNonSkippableInStreamAdInfo\x12\x36\n\x10\x63ompanion_banner\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xc7\x01\n\x1bVideoTrueViewInStreamAdInfo\x12\x39\n\x13\x61\x63tion_button_label\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0f\x61\x63tion_headline\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63ompanion_banner\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"y\n\x14VideoOutstreamAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb6\x01\n\x1cVideoTrueViewDiscoveryAdInfo\x12.\n\x08headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xe1\x03\n\x0bVideoAdInfo\x12\x30\n\nmedia_file\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12P\n\tin_stream\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfoH\x00\x12K\n\x06\x62umper\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v4.common.VideoBumperInStreamAdInfoH\x00\x12J\n\nout_stream\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v4.common.VideoOutstreamAdInfoH\x00\x12X\n\rnon_skippable\x18\x05 \x01(\x0b\x32?.google.ads.googleads.v4.common.VideoNonSkippableInStreamAdInfoH\x00\x12Q\n\tdiscovery\x18\x06 \x01(\x0b\x32<.google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfoH\x00\x42\x08\n\x06\x66ormat\"\xf5\x01\n\x16ResponsiveSearchAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12+\n\x05path1\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path2\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xfd\x06\n\x1dLegacyResponsiveDisplayAdInfo\x12\x34\n\x0eshort_headline\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlong_headline\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rbusiness_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61llow_flexible_color\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0c\x61\x63\x63\x65nt_color\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nmain_color\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x63\x61ll_to_action_text\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nlogo_image\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11square_logo_image\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fmarketing_image\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x16square_marketing_image\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12h\n\x0e\x66ormat_setting\x18\r \x01(\x0e\x32P.google.ads.googleads.v4.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\x12\x32\n\x0cprice_prefix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\npromo_text\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xab\x03\n\tAppAdInfo\x12\x46\n\x11mandatory_ad_text\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12>\n\theadlines\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12<\n\x06images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12\x44\n\x0eyoutube_videos\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdVideoAsset\x12O\n\x13html5_media_bundles\x18\x06 \x03(\x0b\x32\x32.google.ads.googleads.v4.common.AdMediaBundleAsset\"\x94\x02\n\x13\x41ppEngagementAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12<\n\x06images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12<\n\x06videos\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdVideoAsset\"\xcb\x02\n\x16LegacyAppInstallAdInfo\x12,\n\x06\x61pp_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12k\n\tapp_store\x18\x02 \x01(\x0e\x32X.google.ads.googleads.v4.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore\x12.\n\x08headline\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription1\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64\x65scription2\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xaa\x08\n\x17ResponsiveDisplayAdInfo\x12\x46\n\x10marketing_images\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12M\n\x17square_marketing_images\x18\x02 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x03 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12H\n\x12square_logo_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12>\n\theadlines\x18\x05 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x42\n\rlong_headline\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x07 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x44\n\x0eyoutube_videos\x18\x08 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdVideoAsset\x12\x33\n\rbusiness_name\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nmain_color\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x61\x63\x63\x65nt_color\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61llow_flexible_color\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x13\x63\x61ll_to_action_text\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cprice_prefix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\npromo_text\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12h\n\x0e\x66ormat_setting\x18\x10 \x01(\x0e\x32P.google.ads.googleads.v4.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting\"\xf9\x03\n\x0bLocalAdInfo\x12>\n\theadlines\x18\x01 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x41\n\x0c\x64\x65scriptions\x18\x02 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x44\n\x0f\x63\x61ll_to_actions\x18\x03 \x03(\x0b\x32+.google.ads.googleads.v4.common.AdTextAsset\x12\x46\n\x10marketing_images\x18\x04 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12\x41\n\x0blogo_images\x18\x05 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdImageAsset\x12<\n\x06videos\x18\x06 \x03(\x0b\x32,.google.ads.googleads.v4.common.AdVideoAsset\x12+\n\x05path1\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05path2\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xeb\x01\n\x13\x44isplayUploadAdInfo\x12y\n\x1b\x64isplay_upload_product_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v4.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType\x12J\n\x0cmedia_bundle\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.AdMediaBundleAssetH\x00\x42\r\n\x0bmedia_assetB\xeb\x01\n\"com.google.ads.googleads.v4.commonB\x10\x41\x64TypeInfosProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__ad__format__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__upload__product__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__ad__format__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__upload__product__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _TEXTADINFO = _descriptor.Descriptor( name='TextAdInfo', - full_name='google.ads.googleads.v1.common.TextAdInfo', + full_name='google.ads.googleads.v4.common.TextAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.common.TextAdInfo.headline', index=0, + name='headline', full_name='google.ads.googleads.v4.common.TextAdInfo.headline', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description1', full_name='google.ads.googleads.v1.common.TextAdInfo.description1', index=1, + name='description1', full_name='google.ads.googleads.v4.common.TextAdInfo.description1', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description2', full_name='google.ads.googleads.v1.common.TextAdInfo.description2', index=2, + name='description2', full_name='google.ads.googleads.v4.common.TextAdInfo.description2', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -82,55 +82,55 @@ _EXPANDEDTEXTADINFO = _descriptor.Descriptor( name='ExpandedTextAdInfo', - full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo', + full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headline_part1', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.headline_part1', index=0, + name='headline_part1', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.headline_part1', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headline_part2', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.headline_part2', index=1, + name='headline_part2', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.headline_part2', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headline_part3', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.headline_part3', index=2, + name='headline_part3', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.headline_part3', index=2, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.description', index=3, + name='description', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.description', index=3, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description2', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.description2', index=4, + name='description2', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.description2', index=4, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='path1', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.path1', index=5, + name='path1', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.path1', index=5, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='path2', full_name='google.ads.googleads.v1.common.ExpandedTextAdInfo.path2', index=6, + name='path2', full_name='google.ads.googleads.v4.common.ExpandedTextAdInfo.path2', index=6, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -155,90 +155,90 @@ _CALLONLYADINFO = _descriptor.Descriptor( name='CallOnlyAdInfo', - full_name='google.ads.googleads.v1.common.CallOnlyAdInfo', + full_name='google.ads.googleads.v4.common.CallOnlyAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.country_code', index=0, + name='country_code', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.country_code', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.phone_number', index=1, + name='phone_number', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.phone_number', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.business_name', index=2, + name='business_name', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.business_name', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headline1', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.headline1', index=3, + name='headline1', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.headline1', index=3, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headline2', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.headline2', index=4, + name='headline2', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.headline2', index=4, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description1', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.description1', index=5, + name='description1', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.description1', index=5, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description2', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.description2', index=6, + name='description2', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.description2', index=6, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_tracked', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.call_tracked', index=7, + name='call_tracked', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.call_tracked', index=7, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='disable_call_conversion', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.disable_call_conversion', index=8, + name='disable_call_conversion', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.disable_call_conversion', index=8, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_number_verification_url', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.phone_number_verification_url', index=9, + name='phone_number_verification_url', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.phone_number_verification_url', index=9, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.conversion_action', index=10, + name='conversion_action', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.conversion_action', index=10, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_reporting_state', full_name='google.ads.googleads.v1.common.CallOnlyAdInfo.conversion_reporting_state', index=11, + name='conversion_reporting_state', full_name='google.ads.googleads.v4.common.CallOnlyAdInfo.conversion_reporting_state', index=11, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -263,18 +263,25 @@ _EXPANDEDDYNAMICSEARCHADINFO = _descriptor.Descriptor( name='ExpandedDynamicSearchAdInfo', - full_name='google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo', + full_name='google.ads.googleads.v4.common.ExpandedDynamicSearchAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo.description', index=0, + name='description', full_name='google.ads.googleads.v4.common.ExpandedDynamicSearchAdInfo.description', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v4.common.ExpandedDynamicSearchAdInfo.description2', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -287,14 +294,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1841, - serialized_end=1921, + serialized_start=1842, + serialized_end=1974, ) _HOTELADINFO = _descriptor.Descriptor( name='HotelAdInfo', - full_name='google.ads.googleads.v1.common.HotelAdInfo', + full_name='google.ads.googleads.v4.common.HotelAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, @@ -311,14 +318,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1923, - serialized_end=1936, + serialized_start=1976, + serialized_end=1989, ) _SHOPPINGSMARTADINFO = _descriptor.Descriptor( name='ShoppingSmartAdInfo', - full_name='google.ads.googleads.v1.common.ShoppingSmartAdInfo', + full_name='google.ads.googleads.v4.common.ShoppingSmartAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, @@ -335,14 +342,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1938, - serialized_end=1959, + serialized_start=1991, + serialized_end=2012, ) _SHOPPINGPRODUCTADINFO = _descriptor.Descriptor( name='ShoppingProductAdInfo', - full_name='google.ads.googleads.v1.common.ShoppingProductAdInfo', + full_name='google.ads.googleads.v4.common.ShoppingProductAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, @@ -359,20 +366,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1961, - serialized_end=1984, + serialized_start=2014, + serialized_end=2037, ) _SHOPPINGCOMPARISONLISTINGADINFO = _descriptor.Descriptor( name='ShoppingComparisonListingAdInfo', - full_name='google.ads.googleads.v1.common.ShoppingComparisonListingAdInfo', + full_name='google.ads.googleads.v4.common.ShoppingComparisonListingAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.common.ShoppingComparisonListingAdInfo.headline', index=0, + name='headline', full_name='google.ads.googleads.v4.common.ShoppingComparisonListingAdInfo.headline', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -390,69 +397,69 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1986, - serialized_end=2067, + serialized_start=2039, + serialized_end=2120, ) _GMAILADINFO = _descriptor.Descriptor( name='GmailAdInfo', - full_name='google.ads.googleads.v1.common.GmailAdInfo', + full_name='google.ads.googleads.v4.common.GmailAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='teaser', full_name='google.ads.googleads.v1.common.GmailAdInfo.teaser', index=0, + name='teaser', full_name='google.ads.googleads.v4.common.GmailAdInfo.teaser', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='header_image', full_name='google.ads.googleads.v1.common.GmailAdInfo.header_image', index=1, + name='header_image', full_name='google.ads.googleads.v4.common.GmailAdInfo.header_image', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='marketing_image', full_name='google.ads.googleads.v1.common.GmailAdInfo.marketing_image', index=2, + name='marketing_image', full_name='google.ads.googleads.v4.common.GmailAdInfo.marketing_image', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='marketing_image_headline', full_name='google.ads.googleads.v1.common.GmailAdInfo.marketing_image_headline', index=3, + name='marketing_image_headline', full_name='google.ads.googleads.v4.common.GmailAdInfo.marketing_image_headline', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='marketing_image_description', full_name='google.ads.googleads.v1.common.GmailAdInfo.marketing_image_description', index=4, + name='marketing_image_description', full_name='google.ads.googleads.v4.common.GmailAdInfo.marketing_image_description', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='marketing_image_display_call_to_action', full_name='google.ads.googleads.v1.common.GmailAdInfo.marketing_image_display_call_to_action', index=5, + name='marketing_image_display_call_to_action', full_name='google.ads.googleads.v4.common.GmailAdInfo.marketing_image_display_call_to_action', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_images', full_name='google.ads.googleads.v1.common.GmailAdInfo.product_images', index=6, + name='product_images', full_name='google.ads.googleads.v4.common.GmailAdInfo.product_images', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_videos', full_name='google.ads.googleads.v1.common.GmailAdInfo.product_videos', index=7, + name='product_videos', full_name='google.ads.googleads.v4.common.GmailAdInfo.product_videos', index=7, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -470,41 +477,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2070, - serialized_end=2623, + serialized_start=2123, + serialized_end=2676, ) _GMAILTEASER = _descriptor.Descriptor( name='GmailTeaser', - full_name='google.ads.googleads.v1.common.GmailTeaser', + full_name='google.ads.googleads.v4.common.GmailTeaser', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.common.GmailTeaser.headline', index=0, + name='headline', full_name='google.ads.googleads.v4.common.GmailTeaser.headline', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.GmailTeaser.description', index=1, + name='description', full_name='google.ads.googleads.v4.common.GmailTeaser.description', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.GmailTeaser.business_name', index=2, + name='business_name', full_name='google.ads.googleads.v4.common.GmailTeaser.business_name', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='logo_image', full_name='google.ads.googleads.v1.common.GmailTeaser.logo_image', index=3, + name='logo_image', full_name='google.ads.googleads.v4.common.GmailTeaser.logo_image', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -522,34 +529,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2626, - serialized_end=2841, + serialized_start=2679, + serialized_end=2894, ) _DISPLAYCALLTOACTION = _descriptor.Descriptor( name='DisplayCallToAction', - full_name='google.ads.googleads.v1.common.DisplayCallToAction', + full_name='google.ads.googleads.v4.common.DisplayCallToAction', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.common.DisplayCallToAction.text', index=0, + name='text', full_name='google.ads.googleads.v4.common.DisplayCallToAction.text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text_color', full_name='google.ads.googleads.v1.common.DisplayCallToAction.text_color', index=1, + name='text_color', full_name='google.ads.googleads.v4.common.DisplayCallToAction.text_color', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_collection_id', full_name='google.ads.googleads.v1.common.DisplayCallToAction.url_collection_id', index=2, + name='url_collection_id', full_name='google.ads.googleads.v4.common.DisplayCallToAction.url_collection_id', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -567,34 +574,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2844, - serialized_end=3016, + serialized_start=2897, + serialized_end=3069, ) _PRODUCTIMAGE = _descriptor.Descriptor( name='ProductImage', - full_name='google.ads.googleads.v1.common.ProductImage', + full_name='google.ads.googleads.v4.common.ProductImage', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='product_image', full_name='google.ads.googleads.v1.common.ProductImage.product_image', index=0, + name='product_image', full_name='google.ads.googleads.v4.common.ProductImage.product_image', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.ProductImage.description', index=1, + name='description', full_name='google.ads.googleads.v4.common.ProductImage.description', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='display_call_to_action', full_name='google.ads.googleads.v1.common.ProductImage.display_call_to_action', index=2, + name='display_call_to_action', full_name='google.ads.googleads.v4.common.ProductImage.display_call_to_action', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -612,20 +619,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3019, - serialized_end=3222, + serialized_start=3072, + serialized_end=3275, ) _PRODUCTVIDEO = _descriptor.Descriptor( name='ProductVideo', - full_name='google.ads.googleads.v1.common.ProductVideo', + full_name='google.ads.googleads.v4.common.ProductVideo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='product_video', full_name='google.ads.googleads.v1.common.ProductVideo.product_video', index=0, + name='product_video', full_name='google.ads.googleads.v4.common.ProductVideo.product_video', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -643,90 +650,90 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3224, - serialized_end=3291, + serialized_start=3277, + serialized_end=3344, ) _IMAGEADINFO = _descriptor.Descriptor( name='ImageAdInfo', - full_name='google.ads.googleads.v1.common.ImageAdInfo', + full_name='google.ads.googleads.v4.common.ImageAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='pixel_width', full_name='google.ads.googleads.v1.common.ImageAdInfo.pixel_width', index=0, + name='pixel_width', full_name='google.ads.googleads.v4.common.ImageAdInfo.pixel_width', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='pixel_height', full_name='google.ads.googleads.v1.common.ImageAdInfo.pixel_height', index=1, + name='pixel_height', full_name='google.ads.googleads.v4.common.ImageAdInfo.pixel_height', index=1, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='image_url', full_name='google.ads.googleads.v1.common.ImageAdInfo.image_url', index=2, + name='image_url', full_name='google.ads.googleads.v4.common.ImageAdInfo.image_url', index=2, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='preview_pixel_width', full_name='google.ads.googleads.v1.common.ImageAdInfo.preview_pixel_width', index=3, + name='preview_pixel_width', full_name='google.ads.googleads.v4.common.ImageAdInfo.preview_pixel_width', index=3, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='preview_pixel_height', full_name='google.ads.googleads.v1.common.ImageAdInfo.preview_pixel_height', index=4, + name='preview_pixel_height', full_name='google.ads.googleads.v4.common.ImageAdInfo.preview_pixel_height', index=4, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='preview_image_url', full_name='google.ads.googleads.v1.common.ImageAdInfo.preview_image_url', index=5, + name='preview_image_url', full_name='google.ads.googleads.v4.common.ImageAdInfo.preview_image_url', index=5, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mime_type', full_name='google.ads.googleads.v1.common.ImageAdInfo.mime_type', index=6, + name='mime_type', full_name='google.ads.googleads.v4.common.ImageAdInfo.mime_type', index=6, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.common.ImageAdInfo.name', index=7, + name='name', full_name='google.ads.googleads.v4.common.ImageAdInfo.name', index=7, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_file', full_name='google.ads.googleads.v1.common.ImageAdInfo.media_file', index=8, + name='media_file', full_name='google.ads.googleads.v4.common.ImageAdInfo.media_file', index=8, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v1.common.ImageAdInfo.data', index=9, + name='data', full_name='google.ads.googleads.v4.common.ImageAdInfo.data', index=9, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_id_to_copy_image_from', full_name='google.ads.googleads.v1.common.ImageAdInfo.ad_id_to_copy_image_from', index=10, + name='ad_id_to_copy_image_from', full_name='google.ads.googleads.v4.common.ImageAdInfo.ad_id_to_copy_image_from', index=10, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -744,21 +751,28 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='image', full_name='google.ads.googleads.v1.common.ImageAdInfo.image', + name='image', full_name='google.ads.googleads.v4.common.ImageAdInfo.image', index=0, containing_type=None, fields=[]), ], - serialized_start=3294, - serialized_end=3919, + serialized_start=3347, + serialized_end=3972, ) _VIDEOBUMPERINSTREAMADINFO = _descriptor.Descriptor( name='VideoBumperInStreamAdInfo', - full_name='google.ads.googleads.v1.common.VideoBumperInStreamAdInfo', + full_name='google.ads.googleads.v4.common.VideoBumperInStreamAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ + _descriptor.FieldDescriptor( + name='companion_banner', full_name='google.ads.googleads.v4.common.VideoBumperInStreamAdInfo.companion_banner', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -771,18 +785,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3921, - serialized_end=3948, + serialized_start=3974, + serialized_end=4057, ) _VIDEONONSKIPPABLEINSTREAMADINFO = _descriptor.Descriptor( name='VideoNonSkippableInStreamAdInfo', - full_name='google.ads.googleads.v1.common.VideoNonSkippableInStreamAdInfo', + full_name='google.ads.googleads.v4.common.VideoNonSkippableInStreamAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ + _descriptor.FieldDescriptor( + name='companion_banner', full_name='google.ads.googleads.v4.common.VideoNonSkippableInStreamAdInfo.companion_banner', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -795,34 +816,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3950, - serialized_end=3983, + serialized_start=4059, + serialized_end=4148, ) _VIDEOTRUEVIEWINSTREAMADINFO = _descriptor.Descriptor( name='VideoTrueViewInStreamAdInfo', - full_name='google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo', + full_name='google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='action_button_label', full_name='google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo.action_button_label', index=0, + name='action_button_label', full_name='google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfo.action_button_label', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='action_headline', full_name='google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo.action_headline', index=1, + name='action_headline', full_name='google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfo.action_headline', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='companion_banner', full_name='google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo.companion_banner', index=2, + name='companion_banner', full_name='google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfo.companion_banner', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -840,32 +861,77 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3986, - serialized_end=4185, + serialized_start=4151, + serialized_end=4350, ) _VIDEOOUTSTREAMADINFO = _descriptor.Descriptor( name='VideoOutstreamAdInfo', - full_name='google.ads.googleads.v1.common.VideoOutstreamAdInfo', + full_name='google.ads.googleads.v4.common.VideoOutstreamAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v4.common.VideoOutstreamAdInfo.headline', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='description', full_name='google.ads.googleads.v4.common.VideoOutstreamAdInfo.description', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4352, + serialized_end=4473, +) + + +_VIDEOTRUEVIEWDISCOVERYADINFO = _descriptor.Descriptor( + name='VideoTrueViewDiscoveryAdInfo', + full_name='google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.common.VideoOutstreamAdInfo.headline', index=0, + name='headline', full_name='google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfo.headline', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.VideoOutstreamAdInfo.description', index=1, + name='description1', full_name='google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfo.description1', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='description2', full_name='google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfo.description2', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -878,53 +944,60 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4187, - serialized_end=4308, + serialized_start=4476, + serialized_end=4658, ) _VIDEOADINFO = _descriptor.Descriptor( name='VideoAdInfo', - full_name='google.ads.googleads.v1.common.VideoAdInfo', + full_name='google.ads.googleads.v4.common.VideoAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='media_file', full_name='google.ads.googleads.v1.common.VideoAdInfo.media_file', index=0, + name='media_file', full_name='google.ads.googleads.v4.common.VideoAdInfo.media_file', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='in_stream', full_name='google.ads.googleads.v1.common.VideoAdInfo.in_stream', index=1, + name='in_stream', full_name='google.ads.googleads.v4.common.VideoAdInfo.in_stream', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bumper', full_name='google.ads.googleads.v1.common.VideoAdInfo.bumper', index=2, + name='bumper', full_name='google.ads.googleads.v4.common.VideoAdInfo.bumper', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='out_stream', full_name='google.ads.googleads.v1.common.VideoAdInfo.out_stream', index=3, + name='out_stream', full_name='google.ads.googleads.v4.common.VideoAdInfo.out_stream', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='non_skippable', full_name='google.ads.googleads.v1.common.VideoAdInfo.non_skippable', index=4, + name='non_skippable', full_name='google.ads.googleads.v4.common.VideoAdInfo.non_skippable', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='discovery', full_name='google.ads.googleads.v4.common.VideoAdInfo.discovery', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -937,44 +1010,44 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='format', full_name='google.ads.googleads.v1.common.VideoAdInfo.format', + name='format', full_name='google.ads.googleads.v4.common.VideoAdInfo.format', index=0, containing_type=None, fields=[]), ], - serialized_start=4311, - serialized_end=4709, + serialized_start=4661, + serialized_end=5142, ) _RESPONSIVESEARCHADINFO = _descriptor.Descriptor( name='ResponsiveSearchAdInfo', - full_name='google.ads.googleads.v1.common.ResponsiveSearchAdInfo', + full_name='google.ads.googleads.v4.common.ResponsiveSearchAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v1.common.ResponsiveSearchAdInfo.headlines', index=0, + name='headlines', full_name='google.ads.googleads.v4.common.ResponsiveSearchAdInfo.headlines', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='descriptions', full_name='google.ads.googleads.v1.common.ResponsiveSearchAdInfo.descriptions', index=1, + name='descriptions', full_name='google.ads.googleads.v4.common.ResponsiveSearchAdInfo.descriptions', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='path1', full_name='google.ads.googleads.v1.common.ResponsiveSearchAdInfo.path1', index=2, + name='path1', full_name='google.ads.googleads.v4.common.ResponsiveSearchAdInfo.path1', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='path2', full_name='google.ads.googleads.v1.common.ResponsiveSearchAdInfo.path2', index=3, + name='path2', full_name='google.ads.googleads.v4.common.ResponsiveSearchAdInfo.path2', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -992,118 +1065,118 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4712, - serialized_end=4957, + serialized_start=5145, + serialized_end=5390, ) _LEGACYRESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( name='LegacyResponsiveDisplayAdInfo', - full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo', + full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='short_headline', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.short_headline', index=0, + name='short_headline', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.short_headline', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='long_headline', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.long_headline', index=1, + name='long_headline', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.long_headline', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.description', index=2, + name='description', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.description', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.business_name', index=3, + name='business_name', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.business_name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='allow_flexible_color', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.allow_flexible_color', index=4, + name='allow_flexible_color', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.allow_flexible_color', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='accent_color', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.accent_color', index=5, + name='accent_color', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.accent_color', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='main_color', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.main_color', index=6, + name='main_color', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.main_color', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_to_action_text', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.call_to_action_text', index=7, + name='call_to_action_text', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.call_to_action_text', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='logo_image', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.logo_image', index=8, + name='logo_image', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.logo_image', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='square_logo_image', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.square_logo_image', index=9, + name='square_logo_image', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.square_logo_image', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='marketing_image', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.marketing_image', index=10, + name='marketing_image', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.marketing_image', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='square_marketing_image', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.square_marketing_image', index=11, + name='square_marketing_image', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.square_marketing_image', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='format_setting', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.format_setting', index=12, + name='format_setting', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.format_setting', index=12, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_prefix', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.price_prefix', index=13, + name='price_prefix', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.price_prefix', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promo_text', full_name='google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo.promo_text', index=14, + name='promo_text', full_name='google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo.promo_text', index=14, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1121,55 +1194,55 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4960, - serialized_end=5853, + serialized_start=5393, + serialized_end=6286, ) _APPADINFO = _descriptor.Descriptor( name='AppAdInfo', - full_name='google.ads.googleads.v1.common.AppAdInfo', + full_name='google.ads.googleads.v4.common.AppAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='mandatory_ad_text', full_name='google.ads.googleads.v1.common.AppAdInfo.mandatory_ad_text', index=0, + name='mandatory_ad_text', full_name='google.ads.googleads.v4.common.AppAdInfo.mandatory_ad_text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v1.common.AppAdInfo.headlines', index=1, + name='headlines', full_name='google.ads.googleads.v4.common.AppAdInfo.headlines', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='descriptions', full_name='google.ads.googleads.v1.common.AppAdInfo.descriptions', index=2, + name='descriptions', full_name='google.ads.googleads.v4.common.AppAdInfo.descriptions', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='images', full_name='google.ads.googleads.v1.common.AppAdInfo.images', index=3, + name='images', full_name='google.ads.googleads.v4.common.AppAdInfo.images', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_videos', full_name='google.ads.googleads.v1.common.AppAdInfo.youtube_videos', index=4, + name='youtube_videos', full_name='google.ads.googleads.v4.common.AppAdInfo.youtube_videos', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='html5_media_bundles', full_name='google.ads.googleads.v1.common.AppAdInfo.html5_media_bundles', index=5, + name='html5_media_bundles', full_name='google.ads.googleads.v4.common.AppAdInfo.html5_media_bundles', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1187,41 +1260,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5856, - serialized_end=6283, + serialized_start=6289, + serialized_end=6716, ) _APPENGAGEMENTADINFO = _descriptor.Descriptor( name='AppEngagementAdInfo', - full_name='google.ads.googleads.v1.common.AppEngagementAdInfo', + full_name='google.ads.googleads.v4.common.AppEngagementAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v1.common.AppEngagementAdInfo.headlines', index=0, + name='headlines', full_name='google.ads.googleads.v4.common.AppEngagementAdInfo.headlines', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='descriptions', full_name='google.ads.googleads.v1.common.AppEngagementAdInfo.descriptions', index=1, + name='descriptions', full_name='google.ads.googleads.v4.common.AppEngagementAdInfo.descriptions', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='images', full_name='google.ads.googleads.v1.common.AppEngagementAdInfo.images', index=2, + name='images', full_name='google.ads.googleads.v4.common.AppEngagementAdInfo.images', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='videos', full_name='google.ads.googleads.v1.common.AppEngagementAdInfo.videos', index=3, + name='videos', full_name='google.ads.googleads.v4.common.AppEngagementAdInfo.videos', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1239,48 +1312,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6286, - serialized_end=6562, + serialized_start=6719, + serialized_end=6995, ) _LEGACYAPPINSTALLADINFO = _descriptor.Descriptor( name='LegacyAppInstallAdInfo', - full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo', + full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo.app_id', index=0, + name='app_id', full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo.app_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_store', full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo.app_store', index=1, + name='app_store', full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo.app_store', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headline', full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo.headline', index=2, + name='headline', full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo.headline', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description1', full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo.description1', index=3, + name='description1', full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo.description1', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description2', full_name='google.ads.googleads.v1.common.LegacyAppInstallAdInfo.description2', index=4, + name='description2', full_name='google.ads.googleads.v4.common.LegacyAppInstallAdInfo.description2', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1298,125 +1371,125 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6565, - serialized_end=6896, + serialized_start=6998, + serialized_end=7329, ) _RESPONSIVEDISPLAYADINFO = _descriptor.Descriptor( name='ResponsiveDisplayAdInfo', - full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo', + full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='marketing_images', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.marketing_images', index=0, + name='marketing_images', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.marketing_images', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='square_marketing_images', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.square_marketing_images', index=1, + name='square_marketing_images', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.square_marketing_images', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='logo_images', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.logo_images', index=2, + name='logo_images', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.logo_images', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='square_logo_images', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.square_logo_images', index=3, + name='square_logo_images', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.square_logo_images', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='headlines', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.headlines', index=4, + name='headlines', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.headlines', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='long_headline', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.long_headline', index=5, + name='long_headline', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.long_headline', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='descriptions', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.descriptions', index=6, + name='descriptions', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.descriptions', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_videos', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.youtube_videos', index=7, + name='youtube_videos', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.youtube_videos', index=7, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.business_name', index=8, + name='business_name', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.business_name', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='main_color', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.main_color', index=9, + name='main_color', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.main_color', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='accent_color', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.accent_color', index=10, + name='accent_color', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.accent_color', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='allow_flexible_color', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.allow_flexible_color', index=11, + name='allow_flexible_color', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.allow_flexible_color', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_to_action_text', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.call_to_action_text', index=12, + name='call_to_action_text', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.call_to_action_text', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_prefix', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.price_prefix', index=13, + name='price_prefix', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.price_prefix', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promo_text', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.promo_text', index=14, + name='promo_text', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.promo_text', index=14, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='format_setting', full_name='google.ads.googleads.v1.common.ResponsiveDisplayAdInfo.format_setting', index=15, + name='format_setting', full_name='google.ads.googleads.v4.common.ResponsiveDisplayAdInfo.format_setting', index=15, number=16, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1434,27 +1507,107 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6899, - serialized_end=7965, + serialized_start=7332, + serialized_end=8398, +) + + +_LOCALADINFO = _descriptor.Descriptor( + name='LocalAdInfo', + full_name='google.ads.googleads.v4.common.LocalAdInfo', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='headlines', full_name='google.ads.googleads.v4.common.LocalAdInfo.headlines', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='descriptions', full_name='google.ads.googleads.v4.common.LocalAdInfo.descriptions', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='call_to_actions', full_name='google.ads.googleads.v4.common.LocalAdInfo.call_to_actions', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='marketing_images', full_name='google.ads.googleads.v4.common.LocalAdInfo.marketing_images', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='logo_images', full_name='google.ads.googleads.v4.common.LocalAdInfo.logo_images', index=4, + number=5, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='videos', full_name='google.ads.googleads.v4.common.LocalAdInfo.videos', index=5, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='path1', full_name='google.ads.googleads.v4.common.LocalAdInfo.path1', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='path2', full_name='google.ads.googleads.v4.common.LocalAdInfo.path2', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=8401, + serialized_end=8906, ) _DISPLAYUPLOADADINFO = _descriptor.Descriptor( name='DisplayUploadAdInfo', - full_name='google.ads.googleads.v1.common.DisplayUploadAdInfo', + full_name='google.ads.googleads.v4.common.DisplayUploadAdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='display_upload_product_type', full_name='google.ads.googleads.v1.common.DisplayUploadAdInfo.display_upload_product_type', index=0, + name='display_upload_product_type', full_name='google.ads.googleads.v4.common.DisplayUploadAdInfo.display_upload_product_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_bundle', full_name='google.ads.googleads.v1.common.DisplayUploadAdInfo.media_bundle', index=1, + name='media_bundle', full_name='google.ads.googleads.v4.common.DisplayUploadAdInfo.media_bundle', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1472,11 +1625,11 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='media_asset', full_name='google.ads.googleads.v1.common.DisplayUploadAdInfo.media_asset', + name='media_asset', full_name='google.ads.googleads.v4.common.DisplayUploadAdInfo.media_asset', index=0, containing_type=None, fields=[]), ], - serialized_start=7968, - serialized_end=8203, + serialized_start=8909, + serialized_end=9144, ) _TEXTADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -1500,8 +1653,9 @@ _CALLONLYADINFO.fields_by_name['disable_call_conversion'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CALLONLYADINFO.fields_by_name['phone_number_verification_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CALLONLYADINFO.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CALLONLYADINFO.fields_by_name['conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE +_CALLONLYADINFO.fields_by_name['conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE _EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_EXPANDEDDYNAMICSEARCHADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SHOPPINGCOMPARISONLISTINGADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _GMAILADINFO.fields_by_name['teaser'].message_type = _GMAILTEASER _GMAILADINFO.fields_by_name['header_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -1528,7 +1682,7 @@ _IMAGEADINFO.fields_by_name['preview_pixel_width'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _IMAGEADINFO.fields_by_name['preview_pixel_height'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _IMAGEADINFO.fields_by_name['preview_image_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_IMAGEADINFO.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE +_IMAGEADINFO.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE _IMAGEADINFO.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _IMAGEADINFO.fields_by_name['media_file'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _IMAGEADINFO.fields_by_name['data'].message_type = google_dot_protobuf_dot_wrappers__pb2._BYTESVALUE @@ -1542,16 +1696,22 @@ _IMAGEADINFO.oneofs_by_name['image'].fields.append( _IMAGEADINFO.fields_by_name['ad_id_to_copy_image_from']) _IMAGEADINFO.fields_by_name['ad_id_to_copy_image_from'].containing_oneof = _IMAGEADINFO.oneofs_by_name['image'] +_VIDEOBUMPERINSTREAMADINFO.fields_by_name['companion_banner'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEONONSKIPPABLEINSTREAMADINFO.fields_by_name['companion_banner'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_button_label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['action_headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOTRUEVIEWINSTREAMADINFO.fields_by_name['companion_banner'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOOUTSTREAMADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOOUTSTREAMADINFO.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEOTRUEVIEWDISCOVERYADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOADINFO.fields_by_name['media_file'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _VIDEOADINFO.fields_by_name['in_stream'].message_type = _VIDEOTRUEVIEWINSTREAMADINFO _VIDEOADINFO.fields_by_name['bumper'].message_type = _VIDEOBUMPERINSTREAMADINFO _VIDEOADINFO.fields_by_name['out_stream'].message_type = _VIDEOOUTSTREAMADINFO _VIDEOADINFO.fields_by_name['non_skippable'].message_type = _VIDEONONSKIPPABLEINSTREAMADINFO +_VIDEOADINFO.fields_by_name['discovery'].message_type = _VIDEOTRUEVIEWDISCOVERYADINFO _VIDEOADINFO.oneofs_by_name['format'].fields.append( _VIDEOADINFO.fields_by_name['in_stream']) _VIDEOADINFO.fields_by_name['in_stream'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] @@ -1564,8 +1724,11 @@ _VIDEOADINFO.oneofs_by_name['format'].fields.append( _VIDEOADINFO.fields_by_name['non_skippable']) _VIDEOADINFO.fields_by_name['non_skippable'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] -_RESPONSIVESEARCHADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVESEARCHADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_VIDEOADINFO.oneofs_by_name['format'].fields.append( + _VIDEOADINFO.fields_by_name['discovery']) +_VIDEOADINFO.fields_by_name['discovery'].containing_oneof = _VIDEOADINFO.oneofs_by_name['format'] +_RESPONSIVESEARCHADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVESEARCHADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET _RESPONSIVESEARCHADINFO.fields_by_name['path1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RESPONSIVESEARCHADINFO.fields_by_name['path2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['short_headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -1580,32 +1743,32 @@ _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['marketing_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_image'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING +_LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYRESPONSIVEDISPLAYADINFO.fields_by_name['promo_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_APPADINFO.fields_by_name['mandatory_ad_text'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_APPADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET -_APPADINFO.fields_by_name['html5_media_bundles'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET -_APPENGAGEMENTADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPENGAGEMENTADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_APPENGAGEMENTADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_APPENGAGEMENTADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_APPADINFO.fields_by_name['mandatory_ad_text'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_APPADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_APPADINFO.fields_by_name['html5_media_bundles'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET +_APPENGAGEMENTADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPENGAGEMENTADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_APPENGAGEMENTADINFO.fields_by_name['images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_APPENGAGEMENTADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET _LEGACYAPPINSTALLADINFO.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LEGACYAPPINSTALLADINFO.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2._LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE +_LEGACYAPPINSTALLADINFO.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_legacy__app__install__ad__app__store__pb2._LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE _LEGACYAPPINSTALLADINFO.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYAPPINSTALLADINFO.fields_by_name['description1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LEGACYAPPINSTALLADINFO.fields_by_name['description2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_RESPONSIVEDISPLAYADINFO.fields_by_name['marketing_images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_images'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET -_RESPONSIVEDISPLAYADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['marketing_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['square_marketing_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['square_logo_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['long_headline'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['youtube_videos'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET _RESPONSIVEDISPLAYADINFO.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RESPONSIVEDISPLAYADINFO.fields_by_name['main_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RESPONSIVEDISPLAYADINFO.fields_by_name['accent_color'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -1613,9 +1776,17 @@ _RESPONSIVEDISPLAYADINFO.fields_by_name['call_to_action_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RESPONSIVEDISPLAYADINFO.fields_by_name['price_prefix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RESPONSIVEDISPLAYADINFO.fields_by_name['promo_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_RESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING -_DISPLAYUPLOADADINFO.fields_by_name['display_upload_product_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_display__upload__product__type__pb2._DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE -_DISPLAYUPLOADADINFO.fields_by_name['media_bundle'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET +_RESPONSIVEDISPLAYADINFO.fields_by_name['format_setting'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__ad__format__setting__pb2._DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING +_LOCALADINFO.fields_by_name['headlines'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['descriptions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['call_to_actions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADTEXTASSET +_LOCALADINFO.fields_by_name['marketing_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_LOCALADINFO.fields_by_name['logo_images'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADIMAGEASSET +_LOCALADINFO.fields_by_name['videos'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADVIDEOASSET +_LOCALADINFO.fields_by_name['path1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_LOCALADINFO.fields_by_name['path2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DISPLAYUPLOADADINFO.fields_by_name['display_upload_product_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_display__upload__product__type__pb2._DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE +_DISPLAYUPLOADADINFO.fields_by_name['media_bundle'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__asset__pb2._ADMEDIABUNDLEASSET _DISPLAYUPLOADADINFO.oneofs_by_name['media_asset'].fields.append( _DISPLAYUPLOADADINFO.fields_by_name['media_bundle']) _DISPLAYUPLOADADINFO.fields_by_name['media_bundle'].containing_oneof = _DISPLAYUPLOADADINFO.oneofs_by_name['media_asset'] @@ -1637,6 +1808,7 @@ DESCRIPTOR.message_types_by_name['VideoNonSkippableInStreamAdInfo'] = _VIDEONONSKIPPABLEINSTREAMADINFO DESCRIPTOR.message_types_by_name['VideoTrueViewInStreamAdInfo'] = _VIDEOTRUEVIEWINSTREAMADINFO DESCRIPTOR.message_types_by_name['VideoOutstreamAdInfo'] = _VIDEOOUTSTREAMADINFO +DESCRIPTOR.message_types_by_name['VideoTrueViewDiscoveryAdInfo'] = _VIDEOTRUEVIEWDISCOVERYADINFO DESCRIPTOR.message_types_by_name['VideoAdInfo'] = _VIDEOADINFO DESCRIPTOR.message_types_by_name['ResponsiveSearchAdInfo'] = _RESPONSIVESEARCHADINFO DESCRIPTOR.message_types_by_name['LegacyResponsiveDisplayAdInfo'] = _LEGACYRESPONSIVEDISPLAYADINFO @@ -1644,12 +1816,13 @@ DESCRIPTOR.message_types_by_name['AppEngagementAdInfo'] = _APPENGAGEMENTADINFO DESCRIPTOR.message_types_by_name['LegacyAppInstallAdInfo'] = _LEGACYAPPINSTALLADINFO DESCRIPTOR.message_types_by_name['ResponsiveDisplayAdInfo'] = _RESPONSIVEDISPLAYADINFO +DESCRIPTOR.message_types_by_name['LocalAdInfo'] = _LOCALADINFO DESCRIPTOR.message_types_by_name['DisplayUploadAdInfo'] = _DISPLAYUPLOADADINFO _sym_db.RegisterFileDescriptor(DESCRIPTOR) TextAdInfo = _reflection.GeneratedProtocolMessageType('TextAdInfo', (_message.Message,), dict( DESCRIPTOR = _TEXTADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A text ad. @@ -1662,13 +1835,13 @@ description2: The second line of the ad's description. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TextAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TextAdInfo) )) _sym_db.RegisterMessage(TextAdInfo) ExpandedTextAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedTextAdInfo', (_message.Message,), dict( DESCRIPTOR = _EXPANDEDTEXTADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """An expanded text ad. @@ -1690,13 +1863,13 @@ Additional text that can appear alongside the ad's displayed URL. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ExpandedTextAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ExpandedTextAdInfo) )) _sym_db.RegisterMessage(ExpandedTextAdInfo) CallOnlyAdInfo = _reflection.GeneratedProtocolMessageType('CallOnlyAdInfo', (_message.Message,), dict( DESCRIPTOR = _CALLONLYADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A call-only ad. @@ -1736,13 +1909,13 @@ its own call conversion setting, inherit the account level setting, or be disabled. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CallOnlyAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CallOnlyAdInfo) )) _sym_db.RegisterMessage(CallOnlyAdInfo) ExpandedDynamicSearchAdInfo = _reflection.GeneratedProtocolMessageType('ExpandedDynamicSearchAdInfo', (_message.Message,), dict( DESCRIPTOR = _EXPANDEDDYNAMICSEARCHADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """An expanded dynamic search ad. @@ -1750,44 +1923,46 @@ Attributes: description: The description of the ad. + description2: + The second description of the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ExpandedDynamicSearchAdInfo) )) _sym_db.RegisterMessage(ExpandedDynamicSearchAdInfo) HotelAdInfo = _reflection.GeneratedProtocolMessageType('HotelAdInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A hotel ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelAdInfo) )) _sym_db.RegisterMessage(HotelAdInfo) ShoppingSmartAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingSmartAdInfo', (_message.Message,), dict( DESCRIPTOR = _SHOPPINGSMARTADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A Smart Shopping ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ShoppingSmartAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ShoppingSmartAdInfo) )) _sym_db.RegisterMessage(ShoppingSmartAdInfo) ShoppingProductAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingProductAdInfo', (_message.Message,), dict( DESCRIPTOR = _SHOPPINGPRODUCTADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A standard Shopping ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ShoppingProductAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ShoppingProductAdInfo) )) _sym_db.RegisterMessage(ShoppingProductAdInfo) ShoppingComparisonListingAdInfo = _reflection.GeneratedProtocolMessageType('ShoppingComparisonListingAdInfo', (_message.Message,), dict( DESCRIPTOR = _SHOPPINGCOMPARISONLISTINGADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A Shopping Comparison Listing ad. @@ -1797,13 +1972,13 @@ Headline of the ad. This field is required. Allowed length is between 25 and 45 characters. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ShoppingComparisonListingAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ShoppingComparisonListingAdInfo) )) _sym_db.RegisterMessage(ShoppingComparisonListingAdInfo) GmailAdInfo = _reflection.GeneratedProtocolMessageType('GmailAdInfo', (_message.Message,), dict( DESCRIPTOR = _GMAILADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A Gmail ad. @@ -1834,13 +2009,13 @@ Product videos. Up to 7 videos are supported. At least one product video or a marketing image must be specified. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.GmailAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.GmailAdInfo) )) _sym_db.RegisterMessage(GmailAdInfo) GmailTeaser = _reflection.GeneratedProtocolMessageType('GmailTeaser', (_message.Message,), dict( DESCRIPTOR = _GMAILTEASER, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Gmail teaser data. The teaser is a small header that acts as an invitation to view the rest of the ad (the body). @@ -1858,13 +2033,13 @@ types are GIF, JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must be 1:1 (+-1%). """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.GmailTeaser) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.GmailTeaser) )) _sym_db.RegisterMessage(GmailTeaser) DisplayCallToAction = _reflection.GeneratedProtocolMessageType('DisplayCallToAction', (_message.Message,), dict( DESCRIPTOR = _DISPLAYCALLTOACTION, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Data for display call to action. The call to action is a piece of the ad that prompts the user to do something. Like clicking a link or making a @@ -1881,13 +2056,13 @@ Identifies the url collection in the ad.url\_collections field. If not set the url defaults to final\_url. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.DisplayCallToAction) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.DisplayCallToAction) )) _sym_db.RegisterMessage(DisplayCallToAction) ProductImage = _reflection.GeneratedProtocolMessageType('ProductImage', (_message.Message,), dict( DESCRIPTOR = _PRODUCTIMAGE, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Product image specific data. @@ -1902,13 +2077,13 @@ display_call_to_action: Display-call-to-action of the product image. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductImage) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductImage) )) _sym_db.RegisterMessage(ProductImage) ProductVideo = _reflection.GeneratedProtocolMessageType('ProductVideo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTVIDEO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Product video specific data. @@ -1918,13 +2093,13 @@ The MediaFile resource name of a video which must be hosted on YouTube. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductVideo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductVideo) )) _sym_db.RegisterMessage(ProductVideo) ImageAdInfo = _reflection.GeneratedProtocolMessageType('ImageAdInfo', (_message.Message,), dict( DESCRIPTOR = _IMAGEADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """An image ad. @@ -1959,35 +2134,47 @@ ad_id_to_copy_image_from: An ad ID to copy the image from. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ImageAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ImageAdInfo) )) _sym_db.RegisterMessage(ImageAdInfo) VideoBumperInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoBumperInStreamAdInfo', (_message.Message,), dict( DESCRIPTOR = _VIDEOBUMPERINSTREAMADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Representation of video bumper in-stream ad format (very short in-stream non-skippable video ad). + + + Attributes: + companion_banner: + The MediaFile resource name of the companion banner used with + the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.VideoBumperInStreamAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoBumperInStreamAdInfo) )) _sym_db.RegisterMessage(VideoBumperInStreamAdInfo) VideoNonSkippableInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoNonSkippableInStreamAdInfo', (_message.Message,), dict( DESCRIPTOR = _VIDEONONSKIPPABLEINSTREAMADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Representation of video non-skippable in-stream ad format (15 second in-stream non-skippable video ad). + + + Attributes: + companion_banner: + The MediaFile resource name of the companion banner used with + the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.VideoNonSkippableInStreamAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoNonSkippableInStreamAdInfo) )) _sym_db.RegisterMessage(VideoNonSkippableInStreamAdInfo) VideoTrueViewInStreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoTrueViewInStreamAdInfo', (_message.Message,), dict( DESCRIPTOR = _VIDEOTRUEVIEWINSTREAMADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Representation of video TrueView in-stream ad format (ad shown during video playback, often at beginning, which displays a skip button a few @@ -2006,13 +2193,13 @@ The MediaFile resource name of the companion banner used with the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.VideoTrueViewInStreamAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoTrueViewInStreamAdInfo) )) _sym_db.RegisterMessage(VideoTrueViewInStreamAdInfo) VideoOutstreamAdInfo = _reflection.GeneratedProtocolMessageType('VideoOutstreamAdInfo', (_message.Message,), dict( DESCRIPTOR = _VIDEOOUTSTREAMADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """Representation of video out-stream ad format (ad shown alongside a feed with automatic playback, without sound). @@ -2024,13 +2211,32 @@ description: The description line. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.VideoOutstreamAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoOutstreamAdInfo) )) _sym_db.RegisterMessage(VideoOutstreamAdInfo) +VideoTrueViewDiscoveryAdInfo = _reflection.GeneratedProtocolMessageType('VideoTrueViewDiscoveryAdInfo', (_message.Message,), dict( + DESCRIPTOR = _VIDEOTRUEVIEWDISCOVERYADINFO, + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' + , + __doc__ = """Representation of video TrueView discovery ad format. + + + Attributes: + headline: + The headline of the ad. + description1: + First text line for a TrueView video discovery ad. + description2: + Second text line for a TrueView video discovery ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoTrueViewDiscoveryAdInfo) + )) +_sym_db.RegisterMessage(VideoTrueViewDiscoveryAdInfo) + VideoAdInfo = _reflection.GeneratedProtocolMessageType('VideoAdInfo', (_message.Message,), dict( DESCRIPTOR = _VIDEOADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A video ad. @@ -2048,14 +2254,16 @@ Video out-stream ad format. non_skippable: Video non-skippable in-stream ad format. + discovery: + Video TrueView discovery ad format. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.VideoAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.VideoAdInfo) )) _sym_db.RegisterMessage(VideoAdInfo) ResponsiveSearchAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveSearchAdInfo', (_message.Message,), dict( DESCRIPTOR = _RESPONSIVESEARCHADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A responsive search ad. @@ -2085,13 +2293,13 @@ displayed in the ad. This field can only be set when path1 is also set. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ResponsiveSearchAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ResponsiveSearchAdInfo) )) _sym_db.RegisterMessage(ResponsiveSearchAdInfo) LegacyResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('LegacyResponsiveDisplayAdInfo', (_message.Message,), dict( DESCRIPTOR = _LEGACYRESPONSIVEDISPLAYADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' in the Google Ads UI. @@ -2142,13 +2350,13 @@ Promotion text used for dyanmic formats of responsive ads. For example 'Free two-day shipping'. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfo) )) _sym_db.RegisterMessage(LegacyResponsiveDisplayAdInfo) AppAdInfo = _reflection.GeneratedProtocolMessageType('AppAdInfo', (_message.Message,), dict( DESCRIPTOR = _APPADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """An app ad. @@ -2171,13 +2379,13 @@ html5_media_bundles: List of media bundle assets that may be used with the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AppAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AppAdInfo) )) _sym_db.RegisterMessage(AppAdInfo) AppEngagementAdInfo = _reflection.GeneratedProtocolMessageType('AppEngagementAdInfo', (_message.Message,), dict( DESCRIPTOR = _APPENGAGEMENTADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """App engagement ads allow you to write text encouraging a specific action in the app, like checking in, making a purchase, or booking a flight. @@ -2197,13 +2405,13 @@ videos: List of video assets that may be displayed with the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AppEngagementAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AppEngagementAdInfo) )) _sym_db.RegisterMessage(AppEngagementAdInfo) LegacyAppInstallAdInfo = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdInfo', (_message.Message,), dict( DESCRIPTOR = _LEGACYAPPINSTALLADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A legacy app install ad that only can be used by a few select customers. @@ -2220,13 +2428,13 @@ description2: The second description line of the ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LegacyAppInstallAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LegacyAppInstallAdInfo) )) _sym_db.RegisterMessage(LegacyAppInstallAdInfo) ResponsiveDisplayAdInfo = _reflection.GeneratedProtocolMessageType('ResponsiveDisplayAdInfo', (_message.Message,), dict( DESCRIPTOR = _RESPONSIVEDISPLAYADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A responsive display ad. @@ -2264,7 +2472,7 @@ Descriptive texts for the ad. The maximum length is 90 characters. At least 1 and max 5 headlines can be specified. youtube_videos: - Optional YouTube vidoes for the ad. A maximum of 5 videos can + Optional YouTube videos for the ad. A maximum of 5 videos can be specified. business_name: The advertiser/brand name. Maximum display width is 25. @@ -2294,13 +2502,56 @@ Specifies which format the ad will be served in. Default is ALL\_FORMATS. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ResponsiveDisplayAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ResponsiveDisplayAdInfo) )) _sym_db.RegisterMessage(ResponsiveDisplayAdInfo) +LocalAdInfo = _reflection.GeneratedProtocolMessageType('LocalAdInfo', (_message.Message,), dict( + DESCRIPTOR = _LOCALADINFO, + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' + , + __doc__ = """A local ad. + + + Attributes: + headlines: + List of text assets for headlines. When the ad serves the + headlines will be selected from this list. At least 1 and at + most 5 headlines must be specified. + descriptions: + List of text assets for descriptions. When the ad serves the + descriptions will be selected from this list. At least 1 and + at most 5 descriptions must be specified. + call_to_actions: + List of text assets for call-to-actions. When the ad serves + the call-to-actions will be selected from this list. Call-to- + actions are optional and at most 5 can be specified. + marketing_images: + List of marketing image assets that may be displayed with the + ad. The images must be 314x600 pixels or 320x320 pixels. At + least 1 and at most 20 image assets must be specified. + logo_images: + List of logo image assets that may be displayed with the ad. + The images must be 128x128 pixels and not larger than 120KB. + At least 1 and at most 5 image assets must be specified. + videos: + List of YouTube video assets that may be displayed with the + ad. Videos are optional and at most 20 can be specified. + path1: + First part of optional text that may appear appended to the + url displayed in the ad. + path2: + Second part of optional text that may appear appended to the + url displayed in the ad. This field can only be set when path1 + is also set. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LocalAdInfo) + )) +_sym_db.RegisterMessage(LocalAdInfo) + DisplayUploadAdInfo = _reflection.GeneratedProtocolMessageType('DisplayUploadAdInfo', (_message.Message,), dict( DESCRIPTOR = _DISPLAYUPLOADADINFO, - __module__ = 'google.ads.googleads_v1.proto.common.ad_type_infos_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.ad_type_infos_pb2' , __doc__ = """A generic type of display ad. The exact ad format is controlled by the display\_upload\_product\_type field, which determines what kinds of @@ -2323,7 +2574,7 @@ https://support.google.com/webdesigner/answer/7543898 for more information. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.DisplayUploadAdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.DisplayUploadAdInfo) )) _sym_db.RegisterMessage(DisplayUploadAdInfo) diff --git a/google/ads/google_ads/v1/proto/common/ad_type_infos_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/ad_type_infos_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/ad_type_infos_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/ad_type_infos_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/asset_types_pb2.py b/google/ads/google_ads/v4/proto/common/asset_types_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/common/asset_types_pb2.py rename to google/ads/google_ads/v4/proto/common/asset_types_pb2.py index 368a11cab..cf57fda3e 100644 --- a/google/ads/google_ads/v1/proto/common/asset_types_pb2.py +++ b/google/ads/google_ads/v4/proto/common/asset_types_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/asset_types.proto +# source: google/ads/googleads_v4/proto/common/asset_types.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,32 +13,32 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2 +from google.ads.google_ads.v4.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/asset_types.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/asset_types.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\017AssetTypesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/common/asset_types.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x33google/ads/googleads_v1/proto/enums/mime_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"K\n\x11YoutubeVideoAsset\x12\x36\n\x10youtube_video_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"=\n\x10MediaBundleAsset\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\"\xf3\x01\n\nImageAsset\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x12.\n\tfile_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12G\n\tmime_type\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.MimeTypeEnum.MimeType\x12\x41\n\tfull_size\x18\x04 \x01(\x0b\x32..google.ads.googleads.v1.common.ImageDimension\"\xa2\x01\n\x0eImageDimension\x12\x32\n\rheight_pixels\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0cwidth_pixels\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03url\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"7\n\tTextAsset\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xea\x01\n\"com.google.ads.googleads.v1.commonB\x0f\x41ssetTypesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\017AssetTypesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/common/asset_types.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x33google/ads/googleads_v4/proto/enums/mime_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"K\n\x11YoutubeVideoAsset\x12\x36\n\x10youtube_video_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"=\n\x10MediaBundleAsset\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\"\xf3\x01\n\nImageAsset\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\x12.\n\tfile_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12G\n\tmime_type\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.MimeTypeEnum.MimeType\x12\x41\n\tfull_size\x18\x04 \x01(\x0b\x32..google.ads.googleads.v4.common.ImageDimension\"\xa2\x01\n\x0eImageDimension\x12\x32\n\rheight_pixels\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0cwidth_pixels\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12)\n\x03url\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"7\n\tTextAsset\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x13\n\x11\x42ookOnGoogleAssetB\xea\x01\n\"com.google.ads.googleads.v4.commonB\x0f\x41ssetTypesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _YOUTUBEVIDEOASSET = _descriptor.Descriptor( name='YoutubeVideoAsset', - full_name='google.ads.googleads.v1.common.YoutubeVideoAsset', + full_name='google.ads.googleads.v4.common.YoutubeVideoAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='youtube_video_id', full_name='google.ads.googleads.v1.common.YoutubeVideoAsset.youtube_video_id', index=0, + name='youtube_video_id', full_name='google.ads.googleads.v4.common.YoutubeVideoAsset.youtube_video_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -63,13 +63,13 @@ _MEDIABUNDLEASSET = _descriptor.Descriptor( name='MediaBundleAsset', - full_name='google.ads.googleads.v1.common.MediaBundleAsset', + full_name='google.ads.googleads.v4.common.MediaBundleAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v1.common.MediaBundleAsset.data', index=0, + name='data', full_name='google.ads.googleads.v4.common.MediaBundleAsset.data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -94,34 +94,34 @@ _IMAGEASSET = _descriptor.Descriptor( name='ImageAsset', - full_name='google.ads.googleads.v1.common.ImageAsset', + full_name='google.ads.googleads.v4.common.ImageAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v1.common.ImageAsset.data', index=0, + name='data', full_name='google.ads.googleads.v4.common.ImageAsset.data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='file_size', full_name='google.ads.googleads.v1.common.ImageAsset.file_size', index=1, + name='file_size', full_name='google.ads.googleads.v4.common.ImageAsset.file_size', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mime_type', full_name='google.ads.googleads.v1.common.ImageAsset.mime_type', index=2, + name='mime_type', full_name='google.ads.googleads.v4.common.ImageAsset.mime_type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='full_size', full_name='google.ads.googleads.v1.common.ImageAsset.full_size', index=3, + name='full_size', full_name='google.ads.googleads.v4.common.ImageAsset.full_size', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -146,27 +146,27 @@ _IMAGEDIMENSION = _descriptor.Descriptor( name='ImageDimension', - full_name='google.ads.googleads.v1.common.ImageDimension', + full_name='google.ads.googleads.v4.common.ImageDimension', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='height_pixels', full_name='google.ads.googleads.v1.common.ImageDimension.height_pixels', index=0, + name='height_pixels', full_name='google.ads.googleads.v4.common.ImageDimension.height_pixels', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='width_pixels', full_name='google.ads.googleads.v1.common.ImageDimension.width_pixels', index=1, + name='width_pixels', full_name='google.ads.googleads.v4.common.ImageDimension.width_pixels', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v1.common.ImageDimension.url', index=2, + name='url', full_name='google.ads.googleads.v4.common.ImageDimension.url', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -191,13 +191,13 @@ _TEXTASSET = _descriptor.Descriptor( name='TextAsset', - full_name='google.ads.googleads.v1.common.TextAsset', + full_name='google.ads.googleads.v4.common.TextAsset', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.common.TextAsset.text', index=0, + name='text', full_name='google.ads.googleads.v4.common.TextAsset.text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -219,11 +219,35 @@ serialized_end=811, ) + +_BOOKONGOOGLEASSET = _descriptor.Descriptor( + name='BookOnGoogleAsset', + full_name='google.ads.googleads.v4.common.BookOnGoogleAsset', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=813, + serialized_end=832, +) + _YOUTUBEVIDEOASSET.fields_by_name['youtube_video_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MEDIABUNDLEASSET.fields_by_name['data'].message_type = google_dot_protobuf_dot_wrappers__pb2._BYTESVALUE _IMAGEASSET.fields_by_name['data'].message_type = google_dot_protobuf_dot_wrappers__pb2._BYTESVALUE _IMAGEASSET.fields_by_name['file_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_IMAGEASSET.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE +_IMAGEASSET.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE _IMAGEASSET.fields_by_name['full_size'].message_type = _IMAGEDIMENSION _IMAGEDIMENSION.fields_by_name['height_pixels'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _IMAGEDIMENSION.fields_by_name['width_pixels'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -234,11 +258,12 @@ DESCRIPTOR.message_types_by_name['ImageAsset'] = _IMAGEASSET DESCRIPTOR.message_types_by_name['ImageDimension'] = _IMAGEDIMENSION DESCRIPTOR.message_types_by_name['TextAsset'] = _TEXTASSET +DESCRIPTOR.message_types_by_name['BookOnGoogleAsset'] = _BOOKONGOOGLEASSET _sym_db.RegisterFileDescriptor(DESCRIPTOR) YoutubeVideoAsset = _reflection.GeneratedProtocolMessageType('YoutubeVideoAsset', (_message.Message,), dict( DESCRIPTOR = _YOUTUBEVIDEOASSET, - __module__ = 'google.ads.googleads_v1.proto.common.asset_types_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' , __doc__ = """A YouTube asset. @@ -248,13 +273,13 @@ YouTube video id. This is the 11 character string value used in the YouTube video URL. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.YoutubeVideoAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.YoutubeVideoAsset) )) _sym_db.RegisterMessage(YoutubeVideoAsset) MediaBundleAsset = _reflection.GeneratedProtocolMessageType('MediaBundleAsset', (_message.Message,), dict( DESCRIPTOR = _MEDIABUNDLEASSET, - __module__ = 'google.ads.googleads_v1.proto.common.asset_types_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' , __doc__ = """A MediaBundle asset. @@ -267,13 +292,13 @@ ad field where you plan on using the MediaBundleAsset. This field is mutate only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MediaBundleAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MediaBundleAsset) )) _sym_db.RegisterMessage(MediaBundleAsset) ImageAsset = _reflection.GeneratedProtocolMessageType('ImageAsset', (_message.Message,), dict( DESCRIPTOR = _IMAGEASSET, - __module__ = 'google.ads.googleads_v1.proto.common.asset_types_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' , __doc__ = """An Image asset. @@ -288,13 +313,13 @@ full_size: Metadata for this image at its original size. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ImageAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ImageAsset) )) _sym_db.RegisterMessage(ImageAsset) ImageDimension = _reflection.GeneratedProtocolMessageType('ImageDimension', (_message.Message,), dict( DESCRIPTOR = _IMAGEDIMENSION, - __module__ = 'google.ads.googleads_v1.proto.common.asset_types_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' , __doc__ = """Metadata for an image at a certain size, either original or resized. @@ -307,13 +332,13 @@ url: A URL that returns the image with this height and width. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ImageDimension) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ImageDimension) )) _sym_db.RegisterMessage(ImageDimension) TextAsset = _reflection.GeneratedProtocolMessageType('TextAsset', (_message.Message,), dict( DESCRIPTOR = _TEXTASSET, - __module__ = 'google.ads.googleads_v1.proto.common.asset_types_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' , __doc__ = """A Text asset. @@ -322,10 +347,22 @@ text: Text content of the text asset. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TextAsset) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TextAsset) )) _sym_db.RegisterMessage(TextAsset) +BookOnGoogleAsset = _reflection.GeneratedProtocolMessageType('BookOnGoogleAsset', (_message.Message,), dict( + DESCRIPTOR = _BOOKONGOOGLEASSET, + __module__ = 'google.ads.googleads_v4.proto.common.asset_types_pb2' + , + __doc__ = """A Book on Google asset. Used to redirect user to book through Google. + Book on Google will change the redirect url to book directly through + Google. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.BookOnGoogleAsset) + )) +_sym_db.RegisterMessage(BookOnGoogleAsset) + DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/common/asset_types_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/asset_types_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/asset_types_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/asset_types_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/bidding_pb2.py b/google/ads/google_ads/v4/proto/common/bidding_pb2.py similarity index 52% rename from google/ads/google_ads/v1/proto/common/bidding_pb2.py rename to google/ads/google_ads/v4/proto/common/bidding_pb2.py index 172916c48..87047ca53 100644 --- a/google/ads/google_ads/v1/proto/common/bidding_pb2.py +++ b/google/ads/google_ads/v4/proto/common/bidding_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/bidding.proto +# source: google/ads/googleads_v4/proto/common/bidding.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,33 +13,32 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import page_one_promoted_strategy_goal_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_page__one__promoted__strategy__goal__pb2 -from google.ads.google_ads.v1.proto.enums import target_impression_share_location_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__impression__share__location__pb2 +from google.ads.google_ads.v4.proto.enums import target_impression_share_location_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__impression__share__location__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/bidding.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/bidding.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\014BiddingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n2google/ads/googleads_v1/proto/common/bidding.proto\x12\x1egoogle.ads.googleads.v1.common\x1aIgoogle/ads/googleads_v1/proto/enums/page_one_promoted_strategy_goal.proto\x1aJgoogle/ads/googleads_v1/proto/enums/target_impression_share_location.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"I\n\nCommission\x12;\n\x16\x63ommission_rate_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\r\n\x0b\x45nhancedCpc\"E\n\tManualCpc\x12\x38\n\x14\x65nhanced_cpc_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x0b\n\tManualCpm\"\x0b\n\tManualCpv\"\x15\n\x13MaximizeConversions\"L\n\x17MaximizeConversionValue\x12\x31\n\x0btarget_roas\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xc6\x03\n\x0fPageOnePromoted\x12q\n\rstrategy_goal\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.PageOnePromotedStrategyGoalEnum.PageOnePromotedStrategyGoal\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0c\x62id_modifier\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x37\n\x13only_raise_cpc_bids\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12I\n%raise_cpc_bid_when_budget_constrained\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12K\n\'raise_cpc_bid_when_quality_score_is_low\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xbb\x01\n\tTargetCpa\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x63pc_bid_floor_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x0b\n\tTargetCpm\"\x85\x02\n\x15TargetImpressionShare\x12p\n\x08location\x18\x01 \x01(\x0e\x32^.google.ads.googleads.v1.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation\x12=\n\x18location_fraction_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xd2\x02\n\x12TargetOutrankShare\x12@\n\x1btarget_outrank_share_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x37\n\x11\x63ompetitor_domain\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x13only_raise_cpc_bids\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12K\n\'raise_cpc_bid_when_quality_score_is_low\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xb7\x01\n\nTargetRoas\x12\x31\n\x0btarget_roas\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x63pc_bid_floor_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x84\x01\n\x0bTargetSpend\x12\x38\n\x13target_spend_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x83\x01\n\nPercentCpc\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x14\x65nhanced_cpc_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xe7\x01\n\"com.google.ads.googleads.v1.commonB\x0c\x42iddingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\014BiddingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n2google/ads/googleads_v4/proto/common/bidding.proto\x12\x1egoogle.ads.googleads.v4.common\x1aJgoogle/ads/googleads_v4/proto/enums/target_impression_share_location.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"I\n\nCommission\x12;\n\x16\x63ommission_rate_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\r\n\x0b\x45nhancedCpc\"E\n\tManualCpc\x12\x38\n\x14\x65nhanced_cpc_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x0b\n\tManualCpm\"\x0b\n\tManualCpv\"\x15\n\x13MaximizeConversions\"L\n\x17MaximizeConversionValue\x12\x31\n\x0btarget_roas\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xbb\x01\n\tTargetCpa\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x63pc_bid_floor_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x0b\n\tTargetCpm\"\x85\x02\n\x15TargetImpressionShare\x12p\n\x08location\x18\x01 \x01(\x0e\x32^.google.ads.googleads.v4.enums.TargetImpressionShareLocationEnum.TargetImpressionShareLocation\x12=\n\x18location_fraction_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xb7\x01\n\nTargetRoas\x12\x31\n\x0btarget_roas\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x63pc_bid_floor_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x84\x01\n\x0bTargetSpend\x12\x38\n\x13target_spend_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x83\x01\n\nPercentCpc\x12;\n\x16\x63pc_bid_ceiling_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x14\x65nhanced_cpc_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xe7\x01\n\"com.google.ads.googleads.v4.commonB\x0c\x42iddingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_page__one__promoted__strategy__goal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__impression__share__location__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__impression__share__location__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _COMMISSION = _descriptor.Descriptor( name='Commission', - full_name='google.ads.googleads.v1.common.Commission', + full_name='google.ads.googleads.v4.common.Commission', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='commission_rate_micros', full_name='google.ads.googleads.v1.common.Commission.commission_rate_micros', index=0, + name='commission_rate_micros', full_name='google.ads.googleads.v4.common.Commission.commission_rate_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -57,14 +56,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=299, - serialized_end=372, + serialized_start=224, + serialized_end=297, ) _ENHANCEDCPC = _descriptor.Descriptor( name='EnhancedCpc', - full_name='google.ads.googleads.v1.common.EnhancedCpc', + full_name='google.ads.googleads.v4.common.EnhancedCpc', filename=None, file=DESCRIPTOR, containing_type=None, @@ -81,20 +80,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=374, - serialized_end=387, + serialized_start=299, + serialized_end=312, ) _MANUALCPC = _descriptor.Descriptor( name='ManualCpc', - full_name='google.ads.googleads.v1.common.ManualCpc', + full_name='google.ads.googleads.v4.common.ManualCpc', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='enhanced_cpc_enabled', full_name='google.ads.googleads.v1.common.ManualCpc.enhanced_cpc_enabled', index=0, + name='enhanced_cpc_enabled', full_name='google.ads.googleads.v4.common.ManualCpc.enhanced_cpc_enabled', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -112,14 +111,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=389, - serialized_end=458, + serialized_start=314, + serialized_end=383, ) _MANUALCPM = _descriptor.Descriptor( name='ManualCpm', - full_name='google.ads.googleads.v1.common.ManualCpm', + full_name='google.ads.googleads.v4.common.ManualCpm', filename=None, file=DESCRIPTOR, containing_type=None, @@ -136,14 +135,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=460, - serialized_end=471, + serialized_start=385, + serialized_end=396, ) _MANUALCPV = _descriptor.Descriptor( name='ManualCpv', - full_name='google.ads.googleads.v1.common.ManualCpv', + full_name='google.ads.googleads.v4.common.ManualCpv', filename=None, file=DESCRIPTOR, containing_type=None, @@ -160,14 +159,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=473, - serialized_end=484, + serialized_start=398, + serialized_end=409, ) _MAXIMIZECONVERSIONS = _descriptor.Descriptor( name='MaximizeConversions', - full_name='google.ads.googleads.v1.common.MaximizeConversions', + full_name='google.ads.googleads.v4.common.MaximizeConversions', filename=None, file=DESCRIPTOR, containing_type=None, @@ -184,20 +183,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=486, - serialized_end=507, + serialized_start=411, + serialized_end=432, ) _MAXIMIZECONVERSIONVALUE = _descriptor.Descriptor( name='MaximizeConversionValue', - full_name='google.ads.googleads.v1.common.MaximizeConversionValue', + full_name='google.ads.googleads.v4.common.MaximizeConversionValue', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v1.common.MaximizeConversionValue.target_roas', index=0, + name='target_roas', full_name='google.ads.googleads.v4.common.MaximizeConversionValue.target_roas', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -215,100 +214,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=509, - serialized_end=585, -) - - -_PAGEONEPROMOTED = _descriptor.Descriptor( - name='PageOnePromoted', - full_name='google.ads.googleads.v1.common.PageOnePromoted', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='strategy_goal', full_name='google.ads.googleads.v1.common.PageOnePromoted.strategy_goal', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.PageOnePromoted.cpc_bid_ceiling_micros', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v1.common.PageOnePromoted.bid_modifier', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='only_raise_cpc_bids', full_name='google.ads.googleads.v1.common.PageOnePromoted.only_raise_cpc_bids', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='raise_cpc_bid_when_budget_constrained', full_name='google.ads.googleads.v1.common.PageOnePromoted.raise_cpc_bid_when_budget_constrained', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='raise_cpc_bid_when_quality_score_is_low', full_name='google.ads.googleads.v1.common.PageOnePromoted.raise_cpc_bid_when_quality_score_is_low', index=5, - number=6, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=588, - serialized_end=1042, + serialized_start=434, + serialized_end=510, ) _TARGETCPA = _descriptor.Descriptor( name='TargetCpa', - full_name='google.ads.googleads.v1.common.TargetCpa', + full_name='google.ads.googleads.v4.common.TargetCpa', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v1.common.TargetCpa.target_cpa_micros', index=0, + name='target_cpa_micros', full_name='google.ads.googleads.v4.common.TargetCpa.target_cpa_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.TargetCpa.cpc_bid_ceiling_micros', index=1, + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v4.common.TargetCpa.cpc_bid_ceiling_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_floor_micros', full_name='google.ads.googleads.v1.common.TargetCpa.cpc_bid_floor_micros', index=2, + name='cpc_bid_floor_micros', full_name='google.ads.googleads.v4.common.TargetCpa.cpc_bid_floor_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -326,14 +259,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1045, - serialized_end=1232, + serialized_start=513, + serialized_end=700, ) _TARGETCPM = _descriptor.Descriptor( name='TargetCpm', - full_name='google.ads.googleads.v1.common.TargetCpm', + full_name='google.ads.googleads.v4.common.TargetCpm', filename=None, file=DESCRIPTOR, containing_type=None, @@ -350,34 +283,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1234, - serialized_end=1245, + serialized_start=702, + serialized_end=713, ) _TARGETIMPRESSIONSHARE = _descriptor.Descriptor( name='TargetImpressionShare', - full_name='google.ads.googleads.v1.common.TargetImpressionShare', + full_name='google.ads.googleads.v4.common.TargetImpressionShare', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='location', full_name='google.ads.googleads.v1.common.TargetImpressionShare.location', index=0, + name='location', full_name='google.ads.googleads.v4.common.TargetImpressionShare.location', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_fraction_micros', full_name='google.ads.googleads.v1.common.TargetImpressionShare.location_fraction_micros', index=1, + name='location_fraction_micros', full_name='google.ads.googleads.v4.common.TargetImpressionShare.location_fraction_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.TargetImpressionShare.cpc_bid_ceiling_micros', index=2, + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v4.common.TargetImpressionShare.cpc_bid_ceiling_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -395,93 +328,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1248, - serialized_end=1509, -) - - -_TARGETOUTRANKSHARE = _descriptor.Descriptor( - name='TargetOutrankShare', - full_name='google.ads.googleads.v1.common.TargetOutrankShare', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='target_outrank_share_micros', full_name='google.ads.googleads.v1.common.TargetOutrankShare.target_outrank_share_micros', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='competitor_domain', full_name='google.ads.googleads.v1.common.TargetOutrankShare.competitor_domain', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.TargetOutrankShare.cpc_bid_ceiling_micros', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='only_raise_cpc_bids', full_name='google.ads.googleads.v1.common.TargetOutrankShare.only_raise_cpc_bids', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='raise_cpc_bid_when_quality_score_is_low', full_name='google.ads.googleads.v1.common.TargetOutrankShare.raise_cpc_bid_when_quality_score_is_low', index=4, - number=5, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1512, - serialized_end=1850, + serialized_start=716, + serialized_end=977, ) _TARGETROAS = _descriptor.Descriptor( name='TargetRoas', - full_name='google.ads.googleads.v1.common.TargetRoas', + full_name='google.ads.googleads.v4.common.TargetRoas', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v1.common.TargetRoas.target_roas', index=0, + name='target_roas', full_name='google.ads.googleads.v4.common.TargetRoas.target_roas', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.TargetRoas.cpc_bid_ceiling_micros', index=1, + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v4.common.TargetRoas.cpc_bid_ceiling_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_floor_micros', full_name='google.ads.googleads.v1.common.TargetRoas.cpc_bid_floor_micros', index=2, + name='cpc_bid_floor_micros', full_name='google.ads.googleads.v4.common.TargetRoas.cpc_bid_floor_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -499,27 +373,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1853, - serialized_end=2036, + serialized_start=980, + serialized_end=1163, ) _TARGETSPEND = _descriptor.Descriptor( name='TargetSpend', - full_name='google.ads.googleads.v1.common.TargetSpend', + full_name='google.ads.googleads.v4.common.TargetSpend', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_spend_micros', full_name='google.ads.googleads.v1.common.TargetSpend.target_spend_micros', index=0, + name='target_spend_micros', full_name='google.ads.googleads.v4.common.TargetSpend.target_spend_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.TargetSpend.cpc_bid_ceiling_micros', index=1, + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v4.common.TargetSpend.cpc_bid_ceiling_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -537,27 +411,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2039, - serialized_end=2171, + serialized_start=1166, + serialized_end=1298, ) _PERCENTCPC = _descriptor.Descriptor( name='PercentCpc', - full_name='google.ads.googleads.v1.common.PercentCpc', + full_name='google.ads.googleads.v4.common.PercentCpc', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v1.common.PercentCpc.cpc_bid_ceiling_micros', index=0, + name='cpc_bid_ceiling_micros', full_name='google.ads.googleads.v4.common.PercentCpc.cpc_bid_ceiling_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enhanced_cpc_enabled', full_name='google.ads.googleads.v1.common.PercentCpc.enhanced_cpc_enabled', index=1, + name='enhanced_cpc_enabled', full_name='google.ads.googleads.v4.common.PercentCpc.enhanced_cpc_enabled', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -575,30 +449,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2174, - serialized_end=2305, + serialized_start=1301, + serialized_end=1432, ) _COMMISSION.fields_by_name['commission_rate_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _MANUALCPC.fields_by_name['enhanced_cpc_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _MAXIMIZECONVERSIONVALUE.fields_by_name['target_roas'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_PAGEONEPROMOTED.fields_by_name['strategy_goal'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_page__one__promoted__strategy__goal__pb2._PAGEONEPROMOTEDSTRATEGYGOALENUM_PAGEONEPROMOTEDSTRATEGYGOAL -_PAGEONEPROMOTED.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_PAGEONEPROMOTED.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_PAGEONEPROMOTED.fields_by_name['only_raise_cpc_bids'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_PAGEONEPROMOTED.fields_by_name['raise_cpc_bid_when_budget_constrained'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_PAGEONEPROMOTED.fields_by_name['raise_cpc_bid_when_quality_score_is_low'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _TARGETCPA.fields_by_name['target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPA.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPA.fields_by_name['cpc_bid_floor_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_TARGETIMPRESSIONSHARE.fields_by_name['location'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__impression__share__location__pb2._TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION +_TARGETIMPRESSIONSHARE.fields_by_name['location'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__impression__share__location__pb2._TARGETIMPRESSIONSHARELOCATIONENUM_TARGETIMPRESSIONSHARELOCATION _TARGETIMPRESSIONSHARE.fields_by_name['location_fraction_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETIMPRESSIONSHARE.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_TARGETOUTRANKSHARE.fields_by_name['target_outrank_share_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_TARGETOUTRANKSHARE.fields_by_name['competitor_domain'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_TARGETOUTRANKSHARE.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_TARGETOUTRANKSHARE.fields_by_name['only_raise_cpc_bids'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_TARGETOUTRANKSHARE.fields_by_name['raise_cpc_bid_when_quality_score_is_low'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _TARGETROAS.fields_by_name['target_roas'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _TARGETROAS.fields_by_name['cpc_bid_ceiling_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETROAS.fields_by_name['cpc_bid_floor_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -613,11 +476,9 @@ DESCRIPTOR.message_types_by_name['ManualCpv'] = _MANUALCPV DESCRIPTOR.message_types_by_name['MaximizeConversions'] = _MAXIMIZECONVERSIONS DESCRIPTOR.message_types_by_name['MaximizeConversionValue'] = _MAXIMIZECONVERSIONVALUE -DESCRIPTOR.message_types_by_name['PageOnePromoted'] = _PAGEONEPROMOTED DESCRIPTOR.message_types_by_name['TargetCpa'] = _TARGETCPA DESCRIPTOR.message_types_by_name['TargetCpm'] = _TARGETCPM DESCRIPTOR.message_types_by_name['TargetImpressionShare'] = _TARGETIMPRESSIONSHARE -DESCRIPTOR.message_types_by_name['TargetOutrankShare'] = _TARGETOUTRANKSHARE DESCRIPTOR.message_types_by_name['TargetRoas'] = _TARGETROAS DESCRIPTOR.message_types_by_name['TargetSpend'] = _TARGETSPEND DESCRIPTOR.message_types_by_name['PercentCpc'] = _PERCENTCPC @@ -625,7 +486,7 @@ Commission = _reflection.GeneratedProtocolMessageType('Commission', (_message.Message,), dict( DESCRIPTOR = _COMMISSION, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """Commission is an automatic bidding strategy in which the advertiser pays a certain portion of the conversion value. @@ -639,25 +500,25 @@ example, 106,000 represents a commission rate of 0.106 (10.6%). """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Commission) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Commission) )) _sym_db.RegisterMessage(Commission) EnhancedCpc = _reflection.GeneratedProtocolMessageType('EnhancedCpc', (_message.Message,), dict( DESCRIPTOR = _ENHANCEDCPC, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.EnhancedCpc) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.EnhancedCpc) )) _sym_db.RegisterMessage(EnhancedCpc) ManualCpc = _reflection.GeneratedProtocolMessageType('ManualCpc', (_message.Message,), dict( DESCRIPTOR = _MANUALCPC, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """Manual click-based bidding where user pays per click. @@ -667,45 +528,45 @@ Whether bids are to be enhanced based on conversion optimizer data. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ManualCpc) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ManualCpc) )) _sym_db.RegisterMessage(ManualCpc) ManualCpm = _reflection.GeneratedProtocolMessageType('ManualCpm', (_message.Message,), dict( DESCRIPTOR = _MANUALCPM, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """Manual impression-based bidding where user pays per thousand impressions. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ManualCpm) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ManualCpm) )) _sym_db.RegisterMessage(ManualCpm) ManualCpv = _reflection.GeneratedProtocolMessageType('ManualCpv', (_message.Message,), dict( DESCRIPTOR = _MANUALCPV, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """View based bidding where user pays per video view. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ManualCpv) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ManualCpv) )) _sym_db.RegisterMessage(ManualCpv) MaximizeConversions = _reflection.GeneratedProtocolMessageType('MaximizeConversions', (_message.Message,), dict( DESCRIPTOR = _MAXIMIZECONVERSIONS, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bidding strategy that sets bids to help get the most conversions for your campaign while spending your budget. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MaximizeConversions) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MaximizeConversions) )) _sym_db.RegisterMessage(MaximizeConversions) MaximizeConversionValue = _reflection.GeneratedProtocolMessageType('MaximizeConversionValue', (_message.Message,), dict( DESCRIPTOR = _MAXIMIZECONVERSIONVALUE, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bidding strategy which tries to maximize conversion value given a daily budget. @@ -720,50 +581,13 @@ target ROAS is not set, the bid strategy will aim to achieve the highest possible ROAS for the budget. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MaximizeConversionValue) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MaximizeConversionValue) )) _sym_db.RegisterMessage(MaximizeConversionValue) -PageOnePromoted = _reflection.GeneratedProtocolMessageType('PageOnePromoted', (_message.Message,), dict( - DESCRIPTOR = _PAGEONEPROMOTED, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' - , - __doc__ = """An automated bidding strategy which sets CPC bids to target impressions - on page one, or page one promoted slots on google.com. - - - Attributes: - strategy_goal: - The strategy goal of where impressions are desired to be shown - on search result pages. - cpc_bid_ceiling_micros: - Maximum bid limit that can be set by the bid strategy. The - limit applies to all keywords managed by the strategy. - bid_modifier: - Bid multiplier to be applied to the relevant bid estimate - (depending on the ``strategy_goal``) in determining a - keyword's new CPC bid. - only_raise_cpc_bids: - Whether the strategy should always follow bid estimate - changes, or only increase. If false, always sets a keyword's - new bid to the current bid estimate. If true, only updates a - keyword's bid if the current bid estimate is greater than the - current bid. - raise_cpc_bid_when_budget_constrained: - Whether the strategy is allowed to raise bids when the - throttling rate of the budget it is serving out of rises above - a threshold. - raise_cpc_bid_when_quality_score_is_low: - Whether the strategy is allowed to raise bids on keywords with - lower-range quality scores. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PageOnePromoted) - )) -_sym_db.RegisterMessage(PageOnePromoted) - TargetCpa = _reflection.GeneratedProtocolMessageType('TargetCpa', (_message.Message,), dict( DESCRIPTOR = _TARGETCPA, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bid strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition (CPA) you set. @@ -781,29 +605,29 @@ Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetCpa) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetCpa) )) _sym_db.RegisterMessage(TargetCpa) TargetCpm = _reflection.GeneratedProtocolMessageType('TargetCpm', (_message.Message,), dict( DESCRIPTOR = _TARGETCPM, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """Target CPM (cost per thousand impressions) is an automated bidding strategy that sets bids to optimize performance given the target CPM you set. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetCpm) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetCpm) )) _sym_db.RegisterMessage(TargetCpm) TargetImpressionShare = _reflection.GeneratedProtocolMessageType('TargetImpressionShare', (_message.Message,), dict( DESCRIPTOR = _TARGETIMPRESSIONSHARE, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bidding strategy that sets bids so that a certain percentage of search ads are shown at the top of the first page (or - other targeted location). Next Id = 4 + other targeted location). Attributes: @@ -817,49 +641,13 @@ to specify. This is a required field entered by the advertiser that sets the ceiling and specified in local micros. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetImpressionShare) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetImpressionShare) )) _sym_db.RegisterMessage(TargetImpressionShare) -TargetOutrankShare = _reflection.GeneratedProtocolMessageType('TargetOutrankShare', (_message.Message,), dict( - DESCRIPTOR = _TARGETOUTRANKSHARE, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' - , - __doc__ = """An automated bidding strategy that sets bids based on the target - fraction of auctions where the advertiser should outrank a specific - competitor. - - - Attributes: - target_outrank_share_micros: - The target fraction of auctions where the advertiser should - outrank the competitor. The advertiser outranks the competitor - in an auction if either the advertiser appears above the - competitor in the search results, or appears in the search - results when the competitor does not. Value must be between 1 - and 1000000, inclusive. - competitor_domain: - Competitor's visible domain URL. - cpc_bid_ceiling_micros: - Maximum bid limit that can be set by the bid strategy. The - limit applies to all keywords managed by the strategy. - only_raise_cpc_bids: - Whether the strategy should always follow bid estimate - changes, or only increase. If false, always set a keyword's - new bid to the current bid estimate. If true, only updates a - keyword's bid if the current bid estimate is greater than the - current bid. - raise_cpc_bid_when_quality_score_is_low: - Whether the strategy is allowed to raise bids on keywords with - lower-range quality scores. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetOutrankShare) - )) -_sym_db.RegisterMessage(TargetOutrankShare) - TargetRoas = _reflection.GeneratedProtocolMessageType('TargetRoas', (_message.Message,), dict( DESCRIPTOR = _TARGETROAS, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bidding strategy that helps you maximize revenue while averaging a specific target return on ad spend (ROAS). @@ -877,13 +665,13 @@ Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetRoas) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetRoas) )) _sym_db.RegisterMessage(TargetRoas) TargetSpend = _reflection.GeneratedProtocolMessageType('TargetSpend', (_message.Message,), dict( DESCRIPTOR = _TARGETSPEND, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """An automated bid strategy that sets your bids to help get as many clicks as possible within your budget. @@ -899,13 +687,13 @@ Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetSpend) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetSpend) )) _sym_db.RegisterMessage(TargetSpend) PercentCpc = _reflection.GeneratedProtocolMessageType('PercentCpc', (_message.Message,), dict( DESCRIPTOR = _PERCENTCPC, - __module__ = 'google.ads.googleads_v1.proto.common.bidding_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.bidding_pb2' , __doc__ = """A bidding strategy where bids are a fraction of the advertised price for some good or service. @@ -923,7 +711,7 @@ cpc\_bid\_ceiling\_micros, but the average bid amount for a campaign should not. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PercentCpc) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PercentCpc) )) _sym_db.RegisterMessage(PercentCpc) diff --git a/google/ads/google_ads/v1/proto/common/bidding_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/bidding_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/bidding_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/bidding_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/click_location_pb2.py b/google/ads/google_ads/v4/proto/common/click_location_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/common/click_location_pb2.py rename to google/ads/google_ads/v4/proto/common/click_location_pb2.py index d6e6f9666..988cb4f44 100644 --- a/google/ads/google_ads/v1/proto/common/click_location_pb2.py +++ b/google/ads/google_ads/v4/proto/common/click_location_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/click_location.proto +# source: google/ads/googleads_v4/proto/common/click_location.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/click_location.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/click_location.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\022ClickLocationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/common/click_location.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfa\x01\n\rClickLocation\x12*\n\x04\x63ity\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07\x63ountry\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05metro\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rmost_specific\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06region\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xed\x01\n\"com.google.ads.googleads.v1.commonB\x12\x43lickLocationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\022ClickLocationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/common/click_location.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfa\x01\n\rClickLocation\x12*\n\x04\x63ity\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07\x63ountry\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05metro\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rmost_specific\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06region\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xed\x01\n\"com.google.ads.googleads.v4.commonB\x12\x43lickLocationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,41 +31,41 @@ _CLICKLOCATION = _descriptor.Descriptor( name='ClickLocation', - full_name='google.ads.googleads.v1.common.ClickLocation', + full_name='google.ads.googleads.v4.common.ClickLocation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='city', full_name='google.ads.googleads.v1.common.ClickLocation.city', index=0, + name='city', full_name='google.ads.googleads.v4.common.ClickLocation.city', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country', full_name='google.ads.googleads.v1.common.ClickLocation.country', index=1, + name='country', full_name='google.ads.googleads.v4.common.ClickLocation.country', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='metro', full_name='google.ads.googleads.v1.common.ClickLocation.metro', index=2, + name='metro', full_name='google.ads.googleads.v4.common.ClickLocation.metro', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='most_specific', full_name='google.ads.googleads.v1.common.ClickLocation.most_specific', index=3, + name='most_specific', full_name='google.ads.googleads.v4.common.ClickLocation.most_specific', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='region', full_name='google.ads.googleads.v1.common.ClickLocation.region', index=4, + name='region', full_name='google.ads.googleads.v4.common.ClickLocation.region', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -97,7 +97,7 @@ ClickLocation = _reflection.GeneratedProtocolMessageType('ClickLocation', (_message.Message,), dict( DESCRIPTOR = _CLICKLOCATION, - __module__ = 'google.ads.googleads_v1.proto.common.click_location_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.click_location_pb2' , __doc__ = """Location criteria associated with a click. @@ -115,7 +115,7 @@ region: The region location criterion associated with the impression. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ClickLocation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ClickLocation) )) _sym_db.RegisterMessage(ClickLocation) diff --git a/google/ads/google_ads/v1/proto/common/click_location_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/click_location_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/click_location_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/click_location_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/criteria_pb2.py b/google/ads/google_ads/v4/proto/common/criteria_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/common/criteria_pb2.py rename to google/ads/google_ads/v4/proto/common/criteria_pb2.py index 4ec014893..676f43f96 100644 --- a/google/ads/google_ads/v1/proto/common/criteria_pb2.py +++ b/google/ads/google_ads/v4/proto/common/criteria_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/criteria.proto +# source: google/ads/googleads_v4/proto/common/criteria.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,62 +13,62 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import age_range_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_age__range__type__pb2 -from google.ads.google_ads.v1.proto.enums import app_payment_model_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__payment__model__type__pb2 -from google.ads.google_ads.v1.proto.enums import content_label_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_content__label__type__pb2 -from google.ads.google_ads.v1.proto.enums import day_of_week_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2 -from google.ads.google_ads.v1.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2 -from google.ads.google_ads.v1.proto.enums import gender_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_gender__type__pb2 -from google.ads.google_ads.v1.proto.enums import hotel_date_selection_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2 -from google.ads.google_ads.v1.proto.enums import income_range_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_income__range__type__pb2 -from google.ads.google_ads.v1.proto.enums import interaction_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__type__pb2 -from google.ads.google_ads.v1.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v1.proto.enums import listing_custom_attribute_index_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__custom__attribute__index__pb2 -from google.ads.google_ads.v1.proto.enums import listing_group_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__group__type__pb2 -from google.ads.google_ads.v1.proto.enums import location_group_radius_units_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__group__radius__units__pb2 -from google.ads.google_ads.v1.proto.enums import minute_of_hour_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_minute__of__hour__pb2 -from google.ads.google_ads.v1.proto.enums import parental_status_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_parental__status__type__pb2 -from google.ads.google_ads.v1.proto.enums import preferred_content_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_preferred__content__type__pb2 -from google.ads.google_ads.v1.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 -from google.ads.google_ads.v1.proto.enums import product_channel_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__pb2 -from google.ads.google_ads.v1.proto.enums import product_channel_exclusivity_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2 -from google.ads.google_ads.v1.proto.enums import product_condition_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__condition__pb2 -from google.ads.google_ads.v1.proto.enums import product_type_level_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__type__level__pb2 -from google.ads.google_ads.v1.proto.enums import proximity_radius_units_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_proximity__radius__units__pb2 -from google.ads.google_ads.v1.proto.enums import webpage_condition_operand_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operand__pb2 -from google.ads.google_ads.v1.proto.enums import webpage_condition_operator_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operator__pb2 +from google.ads.google_ads.v4.proto.enums import age_range_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_age__range__type__pb2 +from google.ads.google_ads.v4.proto.enums import app_payment_model_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__payment__model__type__pb2 +from google.ads.google_ads.v4.proto.enums import content_label_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_content__label__type__pb2 +from google.ads.google_ads.v4.proto.enums import day_of_week_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2 +from google.ads.google_ads.v4.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2 +from google.ads.google_ads.v4.proto.enums import gender_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_gender__type__pb2 +from google.ads.google_ads.v4.proto.enums import hotel_date_selection_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2 +from google.ads.google_ads.v4.proto.enums import income_range_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_income__range__type__pb2 +from google.ads.google_ads.v4.proto.enums import interaction_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__type__pb2 +from google.ads.google_ads.v4.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2 +from google.ads.google_ads.v4.proto.enums import listing_group_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_listing__group__type__pb2 +from google.ads.google_ads.v4.proto.enums import location_group_radius_units_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__group__radius__units__pb2 +from google.ads.google_ads.v4.proto.enums import minute_of_hour_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_minute__of__hour__pb2 +from google.ads.google_ads.v4.proto.enums import parental_status_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_parental__status__type__pb2 +from google.ads.google_ads.v4.proto.enums import preferred_content_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_preferred__content__type__pb2 +from google.ads.google_ads.v4.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 +from google.ads.google_ads.v4.proto.enums import product_channel_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__pb2 +from google.ads.google_ads.v4.proto.enums import product_channel_exclusivity_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2 +from google.ads.google_ads.v4.proto.enums import product_condition_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__condition__pb2 +from google.ads.google_ads.v4.proto.enums import product_custom_attribute_index_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2 +from google.ads.google_ads.v4.proto.enums import product_type_level_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__type__level__pb2 +from google.ads.google_ads.v4.proto.enums import proximity_radius_units_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_proximity__radius__units__pb2 +from google.ads.google_ads.v4.proto.enums import webpage_condition_operand_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operand__pb2 +from google.ads.google_ads.v4.proto.enums import webpage_condition_operator_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operator__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/criteria.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/criteria.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\rCriteriaProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n3google/ads/googleads_v1/proto/common/criteria.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x38google/ads/googleads_v1/proto/enums/age_range_type.proto\x1a@google/ads/googleads_v1/proto/enums/app_payment_model_type.proto\x1agoogle/ads/googleads_v1/proto/enums/parental_status_type.proto\x1a@google/ads/googleads_v1/proto/enums/preferred_content_type.proto\x1aHgoogle/ads/googleads_v1/proto/enums/product_bidding_category_level.proto\x1a\x39google/ads/googleads_v1/proto/enums/product_channel.proto\x1a\x45google/ads/googleads_v1/proto/enums/product_channel_exclusivity.proto\x1a;google/ads/googleads_v1/proto/enums/product_condition.proto\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v1.enums.DeviceEnum.Device\"r\n\x14PreferredContentInfo\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v1.enums.PreferredContentTypeEnum.PreferredContentType\"\xf1\x01\n\x10ListingGroupInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.ListingGroupTypeEnum.ListingGroupType\x12H\n\ncase_value\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v1.common.ListingDimensionInfo\x12?\n\x19parent_ad_group_criterion\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\\\n\x10ListingScopeInfo\x12H\n\ndimensions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v1.common.ListingDimensionInfo\"\x9b\t\n\x14ListingDimensionInfo\x12I\n\rlisting_brand\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.ListingBrandInfoH\x00\x12?\n\x08hotel_id\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.common.HotelIdInfoH\x00\x12\x45\n\x0bhotel_class\x18\x03 \x01(\x0b\x32..google.ads.googleads.v1.common.HotelClassInfoH\x00\x12V\n\x14hotel_country_region\x18\x04 \x01(\x0b\x32\x36.google.ads.googleads.v1.common.HotelCountryRegionInfoH\x00\x12\x45\n\x0bhotel_state\x18\x05 \x01(\x0b\x32..google.ads.googleads.v1.common.HotelStateInfoH\x00\x12\x43\n\nhotel_city\x18\x06 \x01(\x0b\x32-.google.ads.googleads.v1.common.HotelCityInfoH\x00\x12^\n\x18listing_custom_attribute\x18\x07 \x01(\x0b\x32:.google.ads.googleads.v1.common.ListingCustomAttributeInfoH\x00\x12^\n\x18product_bidding_category\x18\r \x01(\x0b\x32:.google.ads.googleads.v1.common.ProductBiddingCategoryInfoH\x00\x12M\n\x0fproduct_channel\x18\x08 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.ProductChannelInfoH\x00\x12\x64\n\x1bproduct_channel_exclusivity\x18\t \x01(\x0b\x32=.google.ads.googleads.v1.common.ProductChannelExclusivityInfoH\x00\x12Q\n\x11product_condition\x18\n \x01(\x0b\x32\x34.google.ads.googleads.v1.common.ProductConditionInfoH\x00\x12L\n\x0fproduct_item_id\x18\x0b \x01(\x0b\x32\x31.google.ads.googleads.v1.common.ProductItemIdInfoH\x00\x12G\n\x0cproduct_type\x18\x0c \x01(\x0b\x32/.google.ads.googleads.v1.common.ProductTypeInfoH\x00\x12`\n\x19unknown_listing_dimension\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v1.common.UnknownListingDimensionInfoH\x00\x42\x0b\n\tdimension\"?\n\x10ListingBrandInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\":\n\x0bHotelIdInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"<\n\x0eHotelClassInfo\x12*\n\x05value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"X\n\x16HotelCountryRegionInfo\x12>\n\x18\x63ountry_region_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x0eHotelStateInfo\x12\x35\n\x0fstate_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"E\n\rHotelCityInfo\x12\x34\n\x0e\x63ity_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb4\x01\n\x1aListingCustomAttributeInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x05index\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum.ListingCustomAttributeIndex\"\xe4\x01\n\x1aProductBiddingCategoryInfo\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x05level\x18\x03 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel\"g\n\x12ProductChannelInfo\x12Q\n\x07\x63hannel\x18\x01 \x01(\x0e\x32@.google.ads.googleads.v1.enums.ProductChannelEnum.ProductChannel\"\x94\x01\n\x1dProductChannelExclusivityInfo\x12s\n\x13\x63hannel_exclusivity\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v1.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\"o\n\x14ProductConditionInfo\x12W\n\tcondition\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.ProductConditionEnum.ProductCondition\"@\n\x11ProductItemIdInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x93\x01\n\x0fProductTypeInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x05level\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.ProductTypeLevelEnum.ProductTypeLevel\"\x1d\n\x1bUnknownListingDimensionInfo\"|\n\x1aHotelDateSelectionTypeInfo\x12^\n\x04type\x18\x01 \x01(\x0e\x32P.google.ads.googleads.v1.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\"}\n\x1dHotelAdvanceBookingWindowInfo\x12-\n\x08min_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\x08max_days\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"y\n\x15HotelLengthOfStayInfo\x12/\n\nmin_nights\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12/\n\nmax_nights\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"b\n\x13HotelCheckInDayInfo\x12K\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.DayOfWeekEnum.DayOfWeek\"g\n\x13InteractionTypeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.InteractionTypeEnum.InteractionType\"\xe3\x02\n\x0e\x41\x64ScheduleInfo\x12R\n\x0cstart_minute\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v1.enums.MinuteOfHourEnum.MinuteOfHour\x12P\n\nend_minute\x18\x02 \x01(\x0e\x32<.google.ads.googleads.v1.enums.MinuteOfHourEnum.MinuteOfHour\x12/\n\nstart_hour\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12-\n\x08\x65nd_hour\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.DayOfWeekEnum.DayOfWeek\"Z\n\x0c\x41geRangeInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v1.enums.AgeRangeTypeEnum.AgeRangeType\"T\n\nGenderInfo\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.google.ads.googleads.v1.enums.GenderTypeEnum.GenderType\"c\n\x0fIncomeRangeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.IncomeRangeTypeEnum.IncomeRangeType\"l\n\x12ParentalStatusInfo\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v1.enums.ParentalStatusTypeEnum.ParentalStatusType\"B\n\x10YouTubeVideoInfo\x12.\n\x08video_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"F\n\x12YouTubeChannelInfo\x12\x30\n\nchannel_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"?\n\x0cUserListInfo\x12/\n\tuser_list\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa0\x02\n\rProximityInfo\x12?\n\tgeo_point\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v1.common.GeoPointInfo\x12,\n\x06radius\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x62\n\x0cradius_units\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v1.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits\x12<\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32+.google.ads.googleads.v1.common.AddressInfo\"\x8f\x01\n\x0cGeoPointInfo\x12?\n\x1alongitude_in_micro_degrees\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12>\n\x19latitude_in_micro_degrees\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"\xfc\x02\n\x0b\x41\x64\x64ressInfo\x12\x31\n\x0bpostal_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rprovince_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rprovince_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0estreet_address\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fstreet_address2\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tcity_name\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"m\n\tTopicInfo\x12\x34\n\x0etopic_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04path\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x0cLanguageInfo\x12\x37\n\x11language_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"?\n\x0bIpBlockInfo\x12\x30\n\nip_address\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"f\n\x10\x43ontentLabelInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.ContentLabelTypeEnum.ContentLabelType\"E\n\x0b\x43\x61rrierInfo\x12\x36\n\x10\x63\x61rrier_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"P\n\x10UserInterestInfo\x12<\n\x16user_interest_category\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x8d\x01\n\x0bWebpageInfo\x12\x34\n\x0e\x63riterion_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\nconditions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v1.common.WebpageConditionInfo\"\x93\x02\n\x14WebpageConditionInfo\x12\x63\n\x07operand\x18\x01 \x01(\x0e\x32R.google.ads.googleads.v1.enums.WebpageConditionOperandEnum.WebpageConditionOperand\x12\x66\n\x08operator\x18\x02 \x01(\x0e\x32T.google.ads.googleads.v1.enums.WebpageConditionOperatorEnum.WebpageConditionOperator\x12.\n\x08\x61rgument\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"e\n\x1aOperatingSystemVersionInfo\x12G\n!operating_system_version_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"o\n\x13\x41ppPaymentModelInfo\x12X\n\x04type\x18\x01 \x01(\x0e\x32J.google.ads.googleads.v1.enums.AppPaymentModelTypeEnum.AppPaymentModelType\"P\n\x10MobileDeviceInfo\x12<\n\x16mobile_device_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"K\n\x12\x43ustomAffinityInfo\x12\x35\n\x0f\x63ustom_affinity\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x10\x43ustomIntentInfo\x12\x33\n\rcustom_intent\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x02\n\x11LocationGroupInfo\x12*\n\x04\x66\x65\x65\x64\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14geo_target_constants\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x06radius\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12j\n\x0cradius_units\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v1.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnitsB\xe8\x01\n\"com.google.ads.googleads.v1.commonB\rCriteriaProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\rCriteriaProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/common/criteria.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x38google/ads/googleads_v4/proto/enums/age_range_type.proto\x1a@google/ads/googleads_v4/proto/enums/app_payment_model_type.proto\x1agoogle/ads/googleads_v4/proto/enums/parental_status_type.proto\x1a@google/ads/googleads_v4/proto/enums/preferred_content_type.proto\x1aHgoogle/ads/googleads_v4/proto/enums/product_bidding_category_level.proto\x1a\x39google/ads/googleads_v4/proto/enums/product_channel.proto\x1a\x45google/ads/googleads_v4/proto/enums/product_channel_exclusivity.proto\x1a;google/ads/googleads_v4/proto/enums/product_condition.proto\x1aHgoogle/ads/googleads_v4/proto/enums/product_custom_attribute_index.proto\x1a\n\x04type\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v4.enums.DeviceEnum.Device\"r\n\x14PreferredContentInfo\x12Z\n\x04type\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v4.enums.PreferredContentTypeEnum.PreferredContentType\"\xf1\x01\n\x10ListingGroupInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ListingGroupTypeEnum.ListingGroupType\x12H\n\ncase_value\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v4.common.ListingDimensionInfo\x12?\n\x19parent_ad_group_criterion\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\\\n\x10ListingScopeInfo\x12H\n\ndimensions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v4.common.ListingDimensionInfo\"\x9b\t\n\x14ListingDimensionInfo\x12?\n\x08hotel_id\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.common.HotelIdInfoH\x00\x12\x45\n\x0bhotel_class\x18\x03 \x01(\x0b\x32..google.ads.googleads.v4.common.HotelClassInfoH\x00\x12V\n\x14hotel_country_region\x18\x04 \x01(\x0b\x32\x36.google.ads.googleads.v4.common.HotelCountryRegionInfoH\x00\x12\x45\n\x0bhotel_state\x18\x05 \x01(\x0b\x32..google.ads.googleads.v4.common.HotelStateInfoH\x00\x12\x43\n\nhotel_city\x18\x06 \x01(\x0b\x32-.google.ads.googleads.v4.common.HotelCityInfoH\x00\x12^\n\x18product_bidding_category\x18\r \x01(\x0b\x32:.google.ads.googleads.v4.common.ProductBiddingCategoryInfoH\x00\x12I\n\rproduct_brand\x18\x0f \x01(\x0b\x32\x30.google.ads.googleads.v4.common.ProductBrandInfoH\x00\x12M\n\x0fproduct_channel\x18\x08 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.ProductChannelInfoH\x00\x12\x64\n\x1bproduct_channel_exclusivity\x18\t \x01(\x0b\x32=.google.ads.googleads.v4.common.ProductChannelExclusivityInfoH\x00\x12Q\n\x11product_condition\x18\n \x01(\x0b\x32\x34.google.ads.googleads.v4.common.ProductConditionInfoH\x00\x12^\n\x18product_custom_attribute\x18\x10 \x01(\x0b\x32:.google.ads.googleads.v4.common.ProductCustomAttributeInfoH\x00\x12L\n\x0fproduct_item_id\x18\x0b \x01(\x0b\x32\x31.google.ads.googleads.v4.common.ProductItemIdInfoH\x00\x12G\n\x0cproduct_type\x18\x0c \x01(\x0b\x32/.google.ads.googleads.v4.common.ProductTypeInfoH\x00\x12`\n\x19unknown_listing_dimension\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v4.common.UnknownListingDimensionInfoH\x00\x42\x0b\n\tdimension\":\n\x0bHotelIdInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"<\n\x0eHotelClassInfo\x12*\n\x05value\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"X\n\x16HotelCountryRegionInfo\x12>\n\x18\x63ountry_region_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x0eHotelStateInfo\x12\x35\n\x0fstate_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"E\n\rHotelCityInfo\x12\x34\n\x0e\x63ity_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xe4\x01\n\x1aProductBiddingCategoryInfo\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x05level\x18\x03 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel\"?\n\x10ProductBrandInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"g\n\x12ProductChannelInfo\x12Q\n\x07\x63hannel\x18\x01 \x01(\x0e\x32@.google.ads.googleads.v4.enums.ProductChannelEnum.ProductChannel\"\x94\x01\n\x1dProductChannelExclusivityInfo\x12s\n\x13\x63hannel_exclusivity\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v4.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\"o\n\x14ProductConditionInfo\x12W\n\tcondition\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ProductConditionEnum.ProductCondition\"\xb4\x01\n\x1aProductCustomAttributeInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x05index\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex\"@\n\x11ProductItemIdInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x93\x01\n\x0fProductTypeInfo\x12+\n\x05value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x05level\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ProductTypeLevelEnum.ProductTypeLevel\"\x1d\n\x1bUnknownListingDimensionInfo\"|\n\x1aHotelDateSelectionTypeInfo\x12^\n\x04type\x18\x01 \x01(\x0e\x32P.google.ads.googleads.v4.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\"}\n\x1dHotelAdvanceBookingWindowInfo\x12-\n\x08min_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\x08max_days\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"y\n\x15HotelLengthOfStayInfo\x12/\n\nmin_nights\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12/\n\nmax_nights\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"b\n\x13HotelCheckInDayInfo\x12K\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.DayOfWeekEnum.DayOfWeek\"g\n\x13InteractionTypeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.InteractionTypeEnum.InteractionType\"\xe3\x02\n\x0e\x41\x64ScheduleInfo\x12R\n\x0cstart_minute\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v4.enums.MinuteOfHourEnum.MinuteOfHour\x12P\n\nend_minute\x18\x02 \x01(\x0e\x32<.google.ads.googleads.v4.enums.MinuteOfHourEnum.MinuteOfHour\x12/\n\nstart_hour\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12-\n\x08\x65nd_hour\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.DayOfWeekEnum.DayOfWeek\"Z\n\x0c\x41geRangeInfo\x12J\n\x04type\x18\x01 \x01(\x0e\x32<.google.ads.googleads.v4.enums.AgeRangeTypeEnum.AgeRangeType\"T\n\nGenderInfo\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.GenderTypeEnum.GenderType\"c\n\x0fIncomeRangeInfo\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.IncomeRangeTypeEnum.IncomeRangeType\"l\n\x12ParentalStatusInfo\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v4.enums.ParentalStatusTypeEnum.ParentalStatusType\"B\n\x10YouTubeVideoInfo\x12.\n\x08video_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"F\n\x12YouTubeChannelInfo\x12\x30\n\nchannel_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"?\n\x0cUserListInfo\x12/\n\tuser_list\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa0\x02\n\rProximityInfo\x12?\n\tgeo_point\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v4.common.GeoPointInfo\x12,\n\x06radius\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x62\n\x0cradius_units\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v4.enums.ProximityRadiusUnitsEnum.ProximityRadiusUnits\x12<\n\x07\x61\x64\x64ress\x18\x04 \x01(\x0b\x32+.google.ads.googleads.v4.common.AddressInfo\"\x8f\x01\n\x0cGeoPointInfo\x12?\n\x1alongitude_in_micro_degrees\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12>\n\x19latitude_in_micro_degrees\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"\xfc\x02\n\x0b\x41\x64\x64ressInfo\x12\x31\n\x0bpostal_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rprovince_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rprovince_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0estreet_address\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fstreet_address2\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tcity_name\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"m\n\tTopicInfo\x12\x34\n\x0etopic_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04path\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x0cLanguageInfo\x12\x37\n\x11language_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"?\n\x0bIpBlockInfo\x12\x30\n\nip_address\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"f\n\x10\x43ontentLabelInfo\x12R\n\x04type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ContentLabelTypeEnum.ContentLabelType\"E\n\x0b\x43\x61rrierInfo\x12\x36\n\x10\x63\x61rrier_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"P\n\x10UserInterestInfo\x12<\n\x16user_interest_category\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x8d\x01\n\x0bWebpageInfo\x12\x34\n\x0e\x63riterion_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\nconditions\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v4.common.WebpageConditionInfo\"\x93\x02\n\x14WebpageConditionInfo\x12\x63\n\x07operand\x18\x01 \x01(\x0e\x32R.google.ads.googleads.v4.enums.WebpageConditionOperandEnum.WebpageConditionOperand\x12\x66\n\x08operator\x18\x02 \x01(\x0e\x32T.google.ads.googleads.v4.enums.WebpageConditionOperatorEnum.WebpageConditionOperator\x12.\n\x08\x61rgument\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"e\n\x1aOperatingSystemVersionInfo\x12G\n!operating_system_version_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"o\n\x13\x41ppPaymentModelInfo\x12X\n\x04type\x18\x01 \x01(\x0e\x32J.google.ads.googleads.v4.enums.AppPaymentModelTypeEnum.AppPaymentModelType\"P\n\x10MobileDeviceInfo\x12<\n\x16mobile_device_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"K\n\x12\x43ustomAffinityInfo\x12\x35\n\x0f\x63ustom_affinity\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"G\n\x10\x43ustomIntentInfo\x12\x33\n\rcustom_intent\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x02\n\x11LocationGroupInfo\x12*\n\x04\x66\x65\x65\x64\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14geo_target_constants\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x06radius\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12j\n\x0cradius_units\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v4.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnitsB\xe8\x01\n\"com.google.ads.googleads.v4.commonB\rCriteriaProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_age__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__payment__model__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_content__label__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_gender__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_income__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__custom__attribute__index__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__group__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_minute__of__hour__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_parental__status__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_preferred__content__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__type__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_proximity__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operand__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_age__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__payment__model__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_content__label__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_gender__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_income__range__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_listing__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__group__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_minute__of__hour__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_parental__status__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_preferred__content__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__type__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_proximity__radius__units__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operand__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _KEYWORDINFO = _descriptor.Descriptor( name='KeywordInfo', - full_name='google.ads.googleads.v1.common.KeywordInfo', + full_name='google.ads.googleads.v4.common.KeywordInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.common.KeywordInfo.text', index=0, + name='text', full_name='google.ads.googleads.v4.common.KeywordInfo.text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='match_type', full_name='google.ads.googleads.v1.common.KeywordInfo.match_type', index=1, + name='match_type', full_name='google.ads.googleads.v4.common.KeywordInfo.match_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -93,13 +93,13 @@ _PLACEMENTINFO = _descriptor.Descriptor( name='PlacementInfo', - full_name='google.ads.googleads.v1.common.PlacementInfo', + full_name='google.ads.googleads.v4.common.PlacementInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v1.common.PlacementInfo.url', index=0, + name='url', full_name='google.ads.googleads.v4.common.PlacementInfo.url', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -124,13 +124,13 @@ _MOBILEAPPCATEGORYINFO = _descriptor.Descriptor( name='MobileAppCategoryInfo', - full_name='google.ads.googleads.v1.common.MobileAppCategoryInfo', + full_name='google.ads.googleads.v4.common.MobileAppCategoryInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='mobile_app_category_constant', full_name='google.ads.googleads.v1.common.MobileAppCategoryInfo.mobile_app_category_constant', index=0, + name='mobile_app_category_constant', full_name='google.ads.googleads.v4.common.MobileAppCategoryInfo.mobile_app_category_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -155,20 +155,20 @@ _MOBILEAPPLICATIONINFO = _descriptor.Descriptor( name='MobileApplicationInfo', - full_name='google.ads.googleads.v1.common.MobileApplicationInfo', + full_name='google.ads.googleads.v4.common.MobileApplicationInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.common.MobileApplicationInfo.app_id', index=0, + name='app_id', full_name='google.ads.googleads.v4.common.MobileApplicationInfo.app_id', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.common.MobileApplicationInfo.name', index=1, + name='name', full_name='google.ads.googleads.v4.common.MobileApplicationInfo.name', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -193,13 +193,13 @@ _LOCATIONINFO = _descriptor.Descriptor( name='LocationInfo', - full_name='google.ads.googleads.v1.common.LocationInfo', + full_name='google.ads.googleads.v4.common.LocationInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v1.common.LocationInfo.geo_target_constant', index=0, + name='geo_target_constant', full_name='google.ads.googleads.v4.common.LocationInfo.geo_target_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -224,13 +224,13 @@ _DEVICEINFO = _descriptor.Descriptor( name='DeviceInfo', - full_name='google.ads.googleads.v1.common.DeviceInfo', + full_name='google.ads.googleads.v4.common.DeviceInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.DeviceInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.DeviceInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -255,13 +255,13 @@ _PREFERREDCONTENTINFO = _descriptor.Descriptor( name='PreferredContentInfo', - full_name='google.ads.googleads.v1.common.PreferredContentInfo', + full_name='google.ads.googleads.v4.common.PreferredContentInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.PreferredContentInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.PreferredContentInfo.type', index=0, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -286,27 +286,27 @@ _LISTINGGROUPINFO = _descriptor.Descriptor( name='ListingGroupInfo', - full_name='google.ads.googleads.v1.common.ListingGroupInfo', + full_name='google.ads.googleads.v4.common.ListingGroupInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.ListingGroupInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.ListingGroupInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='case_value', full_name='google.ads.googleads.v1.common.ListingGroupInfo.case_value', index=1, + name='case_value', full_name='google.ads.googleads.v4.common.ListingGroupInfo.case_value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_ad_group_criterion', full_name='google.ads.googleads.v1.common.ListingGroupInfo.parent_ad_group_criterion', index=2, + name='parent_ad_group_criterion', full_name='google.ads.googleads.v4.common.ListingGroupInfo.parent_ad_group_criterion', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -331,13 +331,13 @@ _LISTINGSCOPEINFO = _descriptor.Descriptor( name='ListingScopeInfo', - full_name='google.ads.googleads.v1.common.ListingScopeInfo', + full_name='google.ads.googleads.v4.common.ListingScopeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='dimensions', full_name='google.ads.googleads.v1.common.ListingScopeInfo.dimensions', index=0, + name='dimensions', full_name='google.ads.googleads.v4.common.ListingScopeInfo.dimensions', index=0, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -362,104 +362,104 @@ _LISTINGDIMENSIONINFO = _descriptor.Descriptor( name='ListingDimensionInfo', - full_name='google.ads.googleads.v1.common.ListingDimensionInfo', + full_name='google.ads.googleads.v4.common.ListingDimensionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='listing_brand', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.listing_brand', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='hotel_id', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.hotel_id', index=1, + name='hotel_id', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.hotel_id', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_class', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.hotel_class', index=2, + name='hotel_class', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.hotel_class', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_country_region', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.hotel_country_region', index=3, + name='hotel_country_region', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.hotel_country_region', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_state', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.hotel_state', index=4, + name='hotel_state', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.hotel_state', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_city', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.hotel_city', index=5, + name='hotel_city', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.hotel_city', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='listing_custom_attribute', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.listing_custom_attribute', index=6, - number=7, type=11, cpp_type=10, label=1, + name='product_bidding_category', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_bidding_category', index=5, + number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_bidding_category', index=7, - number=13, type=11, cpp_type=10, label=1, + name='product_brand', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_brand', index=6, + number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_channel', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_channel', index=8, + name='product_channel', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_channel', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_channel_exclusivity', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_channel_exclusivity', index=9, + name='product_channel_exclusivity', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_channel_exclusivity', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_condition', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_condition', index=10, + name='product_condition', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_condition', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_item_id', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_item_id', index=11, + name='product_custom_attribute', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_custom_attribute', index=10, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='product_item_id', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_item_id', index=11, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.product_type', index=12, + name='product_type', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.product_type', index=12, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='unknown_listing_dimension', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.unknown_listing_dimension', index=13, + name='unknown_listing_dimension', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.unknown_listing_dimension', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -477,7 +477,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='dimension', full_name='google.ads.googleads.v1.common.ListingDimensionInfo.dimension', + name='dimension', full_name='google.ads.googleads.v4.common.ListingDimensionInfo.dimension', index=0, containing_type=None, fields=[]), ], serialized_start=2700, @@ -485,15 +485,15 @@ ) -_LISTINGBRANDINFO = _descriptor.Descriptor( - name='ListingBrandInfo', - full_name='google.ads.googleads.v1.common.ListingBrandInfo', +_HOTELIDINFO = _descriptor.Descriptor( + name='HotelIdInfo', + full_name='google.ads.googleads.v4.common.HotelIdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.ListingBrandInfo.value', index=0, + name='value', full_name='google.ads.googleads.v4.common.HotelIdInfo.value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -512,19 +512,19 @@ oneofs=[ ], serialized_start=3881, - serialized_end=3944, + serialized_end=3939, ) -_HOTELIDINFO = _descriptor.Descriptor( - name='HotelIdInfo', - full_name='google.ads.googleads.v1.common.HotelIdInfo', +_HOTELCLASSINFO = _descriptor.Descriptor( + name='HotelClassInfo', + full_name='google.ads.googleads.v4.common.HotelClassInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.HotelIdInfo.value', index=0, + name='value', full_name='google.ads.googleads.v4.common.HotelClassInfo.value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -542,20 +542,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3946, - serialized_end=4004, + serialized_start=3941, + serialized_end=4001, ) -_HOTELCLASSINFO = _descriptor.Descriptor( - name='HotelClassInfo', - full_name='google.ads.googleads.v1.common.HotelClassInfo', +_HOTELCOUNTRYREGIONINFO = _descriptor.Descriptor( + name='HotelCountryRegionInfo', + full_name='google.ads.googleads.v4.common.HotelCountryRegionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.HotelClassInfo.value', index=0, + name='country_region_criterion', full_name='google.ads.googleads.v4.common.HotelCountryRegionInfo.country_region_criterion', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -573,20 +573,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4006, - serialized_end=4066, + serialized_start=4003, + serialized_end=4091, ) -_HOTELCOUNTRYREGIONINFO = _descriptor.Descriptor( - name='HotelCountryRegionInfo', - full_name='google.ads.googleads.v1.common.HotelCountryRegionInfo', +_HOTELSTATEINFO = _descriptor.Descriptor( + name='HotelStateInfo', + full_name='google.ads.googleads.v4.common.HotelStateInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='country_region_criterion', full_name='google.ads.googleads.v1.common.HotelCountryRegionInfo.country_region_criterion', index=0, + name='state_criterion', full_name='google.ads.googleads.v4.common.HotelStateInfo.state_criterion', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -604,20 +604,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4068, - serialized_end=4156, + serialized_start=4093, + serialized_end=4164, ) -_HOTELSTATEINFO = _descriptor.Descriptor( - name='HotelStateInfo', - full_name='google.ads.googleads.v1.common.HotelStateInfo', +_HOTELCITYINFO = _descriptor.Descriptor( + name='HotelCityInfo', + full_name='google.ads.googleads.v4.common.HotelCityInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='state_criterion', full_name='google.ads.googleads.v1.common.HotelStateInfo.state_criterion', index=0, + name='city_criterion', full_name='google.ads.googleads.v4.common.HotelCityInfo.city_criterion', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -635,25 +635,39 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4158, - serialized_end=4229, + serialized_start=4166, + serialized_end=4235, ) -_HOTELCITYINFO = _descriptor.Descriptor( - name='HotelCityInfo', - full_name='google.ads.googleads.v1.common.HotelCityInfo', +_PRODUCTBIDDINGCATEGORYINFO = _descriptor.Descriptor( + name='ProductBiddingCategoryInfo', + full_name='google.ads.googleads.v4.common.ProductBiddingCategoryInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='city_criterion', full_name='google.ads.googleads.v1.common.HotelCityInfo.city_criterion', index=0, + name='id', full_name='google.ads.googleads.v4.common.ProductBiddingCategoryInfo.id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v4.common.ProductBiddingCategoryInfo.country_code', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v4.common.ProductBiddingCategoryInfo.level', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -666,32 +680,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4231, - serialized_end=4300, + serialized_start=4238, + serialized_end=4466, ) -_LISTINGCUSTOMATTRIBUTEINFO = _descriptor.Descriptor( - name='ListingCustomAttributeInfo', - full_name='google.ads.googleads.v1.common.ListingCustomAttributeInfo', +_PRODUCTBRANDINFO = _descriptor.Descriptor( + name='ProductBrandInfo', + full_name='google.ads.googleads.v4.common.ProductBrandInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.ListingCustomAttributeInfo.value', index=0, + name='value', full_name='google.ads.googleads.v4.common.ProductBrandInfo.value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='index', full_name='google.ads.googleads.v1.common.ListingCustomAttributeInfo.index', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -704,35 +711,21 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4303, - serialized_end=4483, + serialized_start=4468, + serialized_end=4531, ) -_PRODUCTBIDDINGCATEGORYINFO = _descriptor.Descriptor( - name='ProductBiddingCategoryInfo', - full_name='google.ads.googleads.v1.common.ProductBiddingCategoryInfo', +_PRODUCTCHANNELINFO = _descriptor.Descriptor( + name='ProductChannelInfo', + full_name='google.ads.googleads.v4.common.ProductChannelInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.common.ProductBiddingCategoryInfo.id', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.ProductBiddingCategoryInfo.country_code', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v1.common.ProductBiddingCategoryInfo.level', index=2, - number=3, type=14, cpp_type=8, label=1, + name='channel', full_name='google.ads.googleads.v4.common.ProductChannelInfo.channel', index=0, + number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, @@ -749,20 +742,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4486, - serialized_end=4714, + serialized_start=4533, + serialized_end=4636, ) -_PRODUCTCHANNELINFO = _descriptor.Descriptor( - name='ProductChannelInfo', - full_name='google.ads.googleads.v1.common.ProductChannelInfo', +_PRODUCTCHANNELEXCLUSIVITYINFO = _descriptor.Descriptor( + name='ProductChannelExclusivityInfo', + full_name='google.ads.googleads.v4.common.ProductChannelExclusivityInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='channel', full_name='google.ads.googleads.v1.common.ProductChannelInfo.channel', index=0, + name='channel_exclusivity', full_name='google.ads.googleads.v4.common.ProductChannelExclusivityInfo.channel_exclusivity', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -780,20 +773,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4716, - serialized_end=4819, + serialized_start=4639, + serialized_end=4787, ) -_PRODUCTCHANNELEXCLUSIVITYINFO = _descriptor.Descriptor( - name='ProductChannelExclusivityInfo', - full_name='google.ads.googleads.v1.common.ProductChannelExclusivityInfo', +_PRODUCTCONDITIONINFO = _descriptor.Descriptor( + name='ProductConditionInfo', + full_name='google.ads.googleads.v4.common.ProductConditionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='channel_exclusivity', full_name='google.ads.googleads.v1.common.ProductChannelExclusivityInfo.channel_exclusivity', index=0, + name='condition', full_name='google.ads.googleads.v4.common.ProductConditionInfo.condition', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -811,21 +804,28 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4822, - serialized_end=4970, + serialized_start=4789, + serialized_end=4900, ) -_PRODUCTCONDITIONINFO = _descriptor.Descriptor( - name='ProductConditionInfo', - full_name='google.ads.googleads.v1.common.ProductConditionInfo', +_PRODUCTCUSTOMATTRIBUTEINFO = _descriptor.Descriptor( + name='ProductCustomAttributeInfo', + full_name='google.ads.googleads.v4.common.ProductCustomAttributeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='condition', full_name='google.ads.googleads.v1.common.ProductConditionInfo.condition', index=0, - number=1, type=14, cpp_type=8, label=1, + name='value', full_name='google.ads.googleads.v4.common.ProductCustomAttributeInfo.value', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='index', full_name='google.ads.googleads.v4.common.ProductCustomAttributeInfo.index', index=1, + number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, @@ -842,20 +842,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4972, + serialized_start=4903, serialized_end=5083, ) _PRODUCTITEMIDINFO = _descriptor.Descriptor( name='ProductItemIdInfo', - full_name='google.ads.googleads.v1.common.ProductItemIdInfo', + full_name='google.ads.googleads.v4.common.ProductItemIdInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.ProductItemIdInfo.value', index=0, + name='value', full_name='google.ads.googleads.v4.common.ProductItemIdInfo.value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -880,20 +880,20 @@ _PRODUCTTYPEINFO = _descriptor.Descriptor( name='ProductTypeInfo', - full_name='google.ads.googleads.v1.common.ProductTypeInfo', + full_name='google.ads.googleads.v4.common.ProductTypeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.ProductTypeInfo.value', index=0, + name='value', full_name='google.ads.googleads.v4.common.ProductTypeInfo.value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v1.common.ProductTypeInfo.level', index=1, + name='level', full_name='google.ads.googleads.v4.common.ProductTypeInfo.level', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -918,7 +918,7 @@ _UNKNOWNLISTINGDIMENSIONINFO = _descriptor.Descriptor( name='UnknownListingDimensionInfo', - full_name='google.ads.googleads.v1.common.UnknownListingDimensionInfo', + full_name='google.ads.googleads.v4.common.UnknownListingDimensionInfo', filename=None, file=DESCRIPTOR, containing_type=None, @@ -942,13 +942,13 @@ _HOTELDATESELECTIONTYPEINFO = _descriptor.Descriptor( name='HotelDateSelectionTypeInfo', - full_name='google.ads.googleads.v1.common.HotelDateSelectionTypeInfo', + full_name='google.ads.googleads.v4.common.HotelDateSelectionTypeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.HotelDateSelectionTypeInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.HotelDateSelectionTypeInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -973,20 +973,20 @@ _HOTELADVANCEBOOKINGWINDOWINFO = _descriptor.Descriptor( name='HotelAdvanceBookingWindowInfo', - full_name='google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo', + full_name='google.ads.googleads.v4.common.HotelAdvanceBookingWindowInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='min_days', full_name='google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo.min_days', index=0, + name='min_days', full_name='google.ads.googleads.v4.common.HotelAdvanceBookingWindowInfo.min_days', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='max_days', full_name='google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo.max_days', index=1, + name='max_days', full_name='google.ads.googleads.v4.common.HotelAdvanceBookingWindowInfo.max_days', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1011,20 +1011,20 @@ _HOTELLENGTHOFSTAYINFO = _descriptor.Descriptor( name='HotelLengthOfStayInfo', - full_name='google.ads.googleads.v1.common.HotelLengthOfStayInfo', + full_name='google.ads.googleads.v4.common.HotelLengthOfStayInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='min_nights', full_name='google.ads.googleads.v1.common.HotelLengthOfStayInfo.min_nights', index=0, + name='min_nights', full_name='google.ads.googleads.v4.common.HotelLengthOfStayInfo.min_nights', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='max_nights', full_name='google.ads.googleads.v1.common.HotelLengthOfStayInfo.max_nights', index=1, + name='max_nights', full_name='google.ads.googleads.v4.common.HotelLengthOfStayInfo.max_nights', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1049,13 +1049,13 @@ _HOTELCHECKINDAYINFO = _descriptor.Descriptor( name='HotelCheckInDayInfo', - full_name='google.ads.googleads.v1.common.HotelCheckInDayInfo', + full_name='google.ads.googleads.v4.common.HotelCheckInDayInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='day_of_week', full_name='google.ads.googleads.v1.common.HotelCheckInDayInfo.day_of_week', index=0, + name='day_of_week', full_name='google.ads.googleads.v4.common.HotelCheckInDayInfo.day_of_week', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1080,13 +1080,13 @@ _INTERACTIONTYPEINFO = _descriptor.Descriptor( name='InteractionTypeInfo', - full_name='google.ads.googleads.v1.common.InteractionTypeInfo', + full_name='google.ads.googleads.v4.common.InteractionTypeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.InteractionTypeInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.InteractionTypeInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1111,41 +1111,41 @@ _ADSCHEDULEINFO = _descriptor.Descriptor( name='AdScheduleInfo', - full_name='google.ads.googleads.v1.common.AdScheduleInfo', + full_name='google.ads.googleads.v4.common.AdScheduleInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='start_minute', full_name='google.ads.googleads.v1.common.AdScheduleInfo.start_minute', index=0, + name='start_minute', full_name='google.ads.googleads.v4.common.AdScheduleInfo.start_minute', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_minute', full_name='google.ads.googleads.v1.common.AdScheduleInfo.end_minute', index=1, + name='end_minute', full_name='google.ads.googleads.v4.common.AdScheduleInfo.end_minute', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_hour', full_name='google.ads.googleads.v1.common.AdScheduleInfo.start_hour', index=2, + name='start_hour', full_name='google.ads.googleads.v4.common.AdScheduleInfo.start_hour', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_hour', full_name='google.ads.googleads.v1.common.AdScheduleInfo.end_hour', index=3, + name='end_hour', full_name='google.ads.googleads.v4.common.AdScheduleInfo.end_hour', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='day_of_week', full_name='google.ads.googleads.v1.common.AdScheduleInfo.day_of_week', index=4, + name='day_of_week', full_name='google.ads.googleads.v4.common.AdScheduleInfo.day_of_week', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1170,13 +1170,13 @@ _AGERANGEINFO = _descriptor.Descriptor( name='AgeRangeInfo', - full_name='google.ads.googleads.v1.common.AgeRangeInfo', + full_name='google.ads.googleads.v4.common.AgeRangeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.AgeRangeInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.AgeRangeInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1201,13 +1201,13 @@ _GENDERINFO = _descriptor.Descriptor( name='GenderInfo', - full_name='google.ads.googleads.v1.common.GenderInfo', + full_name='google.ads.googleads.v4.common.GenderInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.GenderInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.GenderInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1232,13 +1232,13 @@ _INCOMERANGEINFO = _descriptor.Descriptor( name='IncomeRangeInfo', - full_name='google.ads.googleads.v1.common.IncomeRangeInfo', + full_name='google.ads.googleads.v4.common.IncomeRangeInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.IncomeRangeInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.IncomeRangeInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1263,13 +1263,13 @@ _PARENTALSTATUSINFO = _descriptor.Descriptor( name='ParentalStatusInfo', - full_name='google.ads.googleads.v1.common.ParentalStatusInfo', + full_name='google.ads.googleads.v4.common.ParentalStatusInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.ParentalStatusInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.ParentalStatusInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1294,13 +1294,13 @@ _YOUTUBEVIDEOINFO = _descriptor.Descriptor( name='YouTubeVideoInfo', - full_name='google.ads.googleads.v1.common.YouTubeVideoInfo', + full_name='google.ads.googleads.v4.common.YouTubeVideoInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='video_id', full_name='google.ads.googleads.v1.common.YouTubeVideoInfo.video_id', index=0, + name='video_id', full_name='google.ads.googleads.v4.common.YouTubeVideoInfo.video_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1325,13 +1325,13 @@ _YOUTUBECHANNELINFO = _descriptor.Descriptor( name='YouTubeChannelInfo', - full_name='google.ads.googleads.v1.common.YouTubeChannelInfo', + full_name='google.ads.googleads.v4.common.YouTubeChannelInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='channel_id', full_name='google.ads.googleads.v1.common.YouTubeChannelInfo.channel_id', index=0, + name='channel_id', full_name='google.ads.googleads.v4.common.YouTubeChannelInfo.channel_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1356,13 +1356,13 @@ _USERLISTINFO = _descriptor.Descriptor( name='UserListInfo', - full_name='google.ads.googleads.v1.common.UserListInfo', + full_name='google.ads.googleads.v4.common.UserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v1.common.UserListInfo.user_list', index=0, + name='user_list', full_name='google.ads.googleads.v4.common.UserListInfo.user_list', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1387,34 +1387,34 @@ _PROXIMITYINFO = _descriptor.Descriptor( name='ProximityInfo', - full_name='google.ads.googleads.v1.common.ProximityInfo', + full_name='google.ads.googleads.v4.common.ProximityInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='geo_point', full_name='google.ads.googleads.v1.common.ProximityInfo.geo_point', index=0, + name='geo_point', full_name='google.ads.googleads.v4.common.ProximityInfo.geo_point', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='radius', full_name='google.ads.googleads.v1.common.ProximityInfo.radius', index=1, + name='radius', full_name='google.ads.googleads.v4.common.ProximityInfo.radius', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='radius_units', full_name='google.ads.googleads.v1.common.ProximityInfo.radius_units', index=2, + name='radius_units', full_name='google.ads.googleads.v4.common.ProximityInfo.radius_units', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='address', full_name='google.ads.googleads.v1.common.ProximityInfo.address', index=3, + name='address', full_name='google.ads.googleads.v4.common.ProximityInfo.address', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1439,20 +1439,20 @@ _GEOPOINTINFO = _descriptor.Descriptor( name='GeoPointInfo', - full_name='google.ads.googleads.v1.common.GeoPointInfo', + full_name='google.ads.googleads.v4.common.GeoPointInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='longitude_in_micro_degrees', full_name='google.ads.googleads.v1.common.GeoPointInfo.longitude_in_micro_degrees', index=0, + name='longitude_in_micro_degrees', full_name='google.ads.googleads.v4.common.GeoPointInfo.longitude_in_micro_degrees', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='latitude_in_micro_degrees', full_name='google.ads.googleads.v1.common.GeoPointInfo.latitude_in_micro_degrees', index=1, + name='latitude_in_micro_degrees', full_name='google.ads.googleads.v4.common.GeoPointInfo.latitude_in_micro_degrees', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1477,55 +1477,55 @@ _ADDRESSINFO = _descriptor.Descriptor( name='AddressInfo', - full_name='google.ads.googleads.v1.common.AddressInfo', + full_name='google.ads.googleads.v4.common.AddressInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='postal_code', full_name='google.ads.googleads.v1.common.AddressInfo.postal_code', index=0, + name='postal_code', full_name='google.ads.googleads.v4.common.AddressInfo.postal_code', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='province_code', full_name='google.ads.googleads.v1.common.AddressInfo.province_code', index=1, + name='province_code', full_name='google.ads.googleads.v4.common.AddressInfo.province_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.AddressInfo.country_code', index=2, + name='country_code', full_name='google.ads.googleads.v4.common.AddressInfo.country_code', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='province_name', full_name='google.ads.googleads.v1.common.AddressInfo.province_name', index=3, + name='province_name', full_name='google.ads.googleads.v4.common.AddressInfo.province_name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='street_address', full_name='google.ads.googleads.v1.common.AddressInfo.street_address', index=4, + name='street_address', full_name='google.ads.googleads.v4.common.AddressInfo.street_address', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='street_address2', full_name='google.ads.googleads.v1.common.AddressInfo.street_address2', index=5, + name='street_address2', full_name='google.ads.googleads.v4.common.AddressInfo.street_address2', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='city_name', full_name='google.ads.googleads.v1.common.AddressInfo.city_name', index=6, + name='city_name', full_name='google.ads.googleads.v4.common.AddressInfo.city_name', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1550,20 +1550,20 @@ _TOPICINFO = _descriptor.Descriptor( name='TopicInfo', - full_name='google.ads.googleads.v1.common.TopicInfo', + full_name='google.ads.googleads.v4.common.TopicInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='topic_constant', full_name='google.ads.googleads.v1.common.TopicInfo.topic_constant', index=0, + name='topic_constant', full_name='google.ads.googleads.v4.common.TopicInfo.topic_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='path', full_name='google.ads.googleads.v1.common.TopicInfo.path', index=1, + name='path', full_name='google.ads.googleads.v4.common.TopicInfo.path', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1588,13 +1588,13 @@ _LANGUAGEINFO = _descriptor.Descriptor( name='LanguageInfo', - full_name='google.ads.googleads.v1.common.LanguageInfo', + full_name='google.ads.googleads.v4.common.LanguageInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='language_constant', full_name='google.ads.googleads.v1.common.LanguageInfo.language_constant', index=0, + name='language_constant', full_name='google.ads.googleads.v4.common.LanguageInfo.language_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1619,13 +1619,13 @@ _IPBLOCKINFO = _descriptor.Descriptor( name='IpBlockInfo', - full_name='google.ads.googleads.v1.common.IpBlockInfo', + full_name='google.ads.googleads.v4.common.IpBlockInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ip_address', full_name='google.ads.googleads.v1.common.IpBlockInfo.ip_address', index=0, + name='ip_address', full_name='google.ads.googleads.v4.common.IpBlockInfo.ip_address', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1650,13 +1650,13 @@ _CONTENTLABELINFO = _descriptor.Descriptor( name='ContentLabelInfo', - full_name='google.ads.googleads.v1.common.ContentLabelInfo', + full_name='google.ads.googleads.v4.common.ContentLabelInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.ContentLabelInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.ContentLabelInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1681,13 +1681,13 @@ _CARRIERINFO = _descriptor.Descriptor( name='CarrierInfo', - full_name='google.ads.googleads.v1.common.CarrierInfo', + full_name='google.ads.googleads.v4.common.CarrierInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='carrier_constant', full_name='google.ads.googleads.v1.common.CarrierInfo.carrier_constant', index=0, + name='carrier_constant', full_name='google.ads.googleads.v4.common.CarrierInfo.carrier_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1712,13 +1712,13 @@ _USERINTERESTINFO = _descriptor.Descriptor( name='UserInterestInfo', - full_name='google.ads.googleads.v1.common.UserInterestInfo', + full_name='google.ads.googleads.v4.common.UserInterestInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='user_interest_category', full_name='google.ads.googleads.v1.common.UserInterestInfo.user_interest_category', index=0, + name='user_interest_category', full_name='google.ads.googleads.v4.common.UserInterestInfo.user_interest_category', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1743,20 +1743,20 @@ _WEBPAGEINFO = _descriptor.Descriptor( name='WebpageInfo', - full_name='google.ads.googleads.v1.common.WebpageInfo', + full_name='google.ads.googleads.v4.common.WebpageInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='criterion_name', full_name='google.ads.googleads.v1.common.WebpageInfo.criterion_name', index=0, + name='criterion_name', full_name='google.ads.googleads.v4.common.WebpageInfo.criterion_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conditions', full_name='google.ads.googleads.v1.common.WebpageInfo.conditions', index=1, + name='conditions', full_name='google.ads.googleads.v4.common.WebpageInfo.conditions', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1781,27 +1781,27 @@ _WEBPAGECONDITIONINFO = _descriptor.Descriptor( name='WebpageConditionInfo', - full_name='google.ads.googleads.v1.common.WebpageConditionInfo', + full_name='google.ads.googleads.v4.common.WebpageConditionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operand', full_name='google.ads.googleads.v1.common.WebpageConditionInfo.operand', index=0, + name='operand', full_name='google.ads.googleads.v4.common.WebpageConditionInfo.operand', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.WebpageConditionInfo.operator', index=1, + name='operator', full_name='google.ads.googleads.v4.common.WebpageConditionInfo.operator', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='argument', full_name='google.ads.googleads.v1.common.WebpageConditionInfo.argument', index=2, + name='argument', full_name='google.ads.googleads.v4.common.WebpageConditionInfo.argument', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1826,13 +1826,13 @@ _OPERATINGSYSTEMVERSIONINFO = _descriptor.Descriptor( name='OperatingSystemVersionInfo', - full_name='google.ads.googleads.v1.common.OperatingSystemVersionInfo', + full_name='google.ads.googleads.v4.common.OperatingSystemVersionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operating_system_version_constant', full_name='google.ads.googleads.v1.common.OperatingSystemVersionInfo.operating_system_version_constant', index=0, + name='operating_system_version_constant', full_name='google.ads.googleads.v4.common.OperatingSystemVersionInfo.operating_system_version_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1857,13 +1857,13 @@ _APPPAYMENTMODELINFO = _descriptor.Descriptor( name='AppPaymentModelInfo', - full_name='google.ads.googleads.v1.common.AppPaymentModelInfo', + full_name='google.ads.googleads.v4.common.AppPaymentModelInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.AppPaymentModelInfo.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.AppPaymentModelInfo.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -1888,13 +1888,13 @@ _MOBILEDEVICEINFO = _descriptor.Descriptor( name='MobileDeviceInfo', - full_name='google.ads.googleads.v1.common.MobileDeviceInfo', + full_name='google.ads.googleads.v4.common.MobileDeviceInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='mobile_device_constant', full_name='google.ads.googleads.v1.common.MobileDeviceInfo.mobile_device_constant', index=0, + name='mobile_device_constant', full_name='google.ads.googleads.v4.common.MobileDeviceInfo.mobile_device_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1919,13 +1919,13 @@ _CUSTOMAFFINITYINFO = _descriptor.Descriptor( name='CustomAffinityInfo', - full_name='google.ads.googleads.v1.common.CustomAffinityInfo', + full_name='google.ads.googleads.v4.common.CustomAffinityInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='custom_affinity', full_name='google.ads.googleads.v1.common.CustomAffinityInfo.custom_affinity', index=0, + name='custom_affinity', full_name='google.ads.googleads.v4.common.CustomAffinityInfo.custom_affinity', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1950,13 +1950,13 @@ _CUSTOMINTENTINFO = _descriptor.Descriptor( name='CustomIntentInfo', - full_name='google.ads.googleads.v1.common.CustomIntentInfo', + full_name='google.ads.googleads.v4.common.CustomIntentInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='custom_intent', full_name='google.ads.googleads.v1.common.CustomIntentInfo.custom_intent', index=0, + name='custom_intent', full_name='google.ads.googleads.v4.common.CustomIntentInfo.custom_intent', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1981,34 +1981,34 @@ _LOCATIONGROUPINFO = _descriptor.Descriptor( name='LocationGroupInfo', - full_name='google.ads.googleads.v1.common.LocationGroupInfo', + full_name='google.ads.googleads.v4.common.LocationGroupInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v1.common.LocationGroupInfo.feed', index=0, + name='feed', full_name='google.ads.googleads.v4.common.LocationGroupInfo.feed', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constants', full_name='google.ads.googleads.v1.common.LocationGroupInfo.geo_target_constants', index=1, + name='geo_target_constants', full_name='google.ads.googleads.v4.common.LocationGroupInfo.geo_target_constants', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='radius', full_name='google.ads.googleads.v1.common.LocationGroupInfo.radius', index=2, + name='radius', full_name='google.ads.googleads.v4.common.LocationGroupInfo.radius', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='radius_units', full_name='google.ads.googleads.v1.common.LocationGroupInfo.radius_units', index=3, + name='radius_units', full_name='google.ads.googleads.v4.common.LocationGroupInfo.radius_units', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -2031,35 +2031,32 @@ ) _KEYWORDINFO.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDINFO.fields_by_name['match_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE +_KEYWORDINFO.fields_by_name['match_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE _PLACEMENTINFO.fields_by_name['url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MOBILEAPPCATEGORYINFO.fields_by_name['mobile_app_category_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MOBILEAPPLICATIONINFO.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MOBILEAPPLICATIONINFO.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONINFO.fields_by_name['geo_target_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_DEVICEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_PREFERREDCONTENTINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_preferred__content__type__pb2._PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE -_LISTINGGROUPINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__group__type__pb2._LISTINGGROUPTYPEENUM_LISTINGGROUPTYPE +_DEVICEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_PREFERREDCONTENTINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_preferred__content__type__pb2._PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE +_LISTINGGROUPINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_listing__group__type__pb2._LISTINGGROUPTYPEENUM_LISTINGGROUPTYPE _LISTINGGROUPINFO.fields_by_name['case_value'].message_type = _LISTINGDIMENSIONINFO _LISTINGGROUPINFO.fields_by_name['parent_ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LISTINGSCOPEINFO.fields_by_name['dimensions'].message_type = _LISTINGDIMENSIONINFO -_LISTINGDIMENSIONINFO.fields_by_name['listing_brand'].message_type = _LISTINGBRANDINFO _LISTINGDIMENSIONINFO.fields_by_name['hotel_id'].message_type = _HOTELIDINFO _LISTINGDIMENSIONINFO.fields_by_name['hotel_class'].message_type = _HOTELCLASSINFO _LISTINGDIMENSIONINFO.fields_by_name['hotel_country_region'].message_type = _HOTELCOUNTRYREGIONINFO _LISTINGDIMENSIONINFO.fields_by_name['hotel_state'].message_type = _HOTELSTATEINFO _LISTINGDIMENSIONINFO.fields_by_name['hotel_city'].message_type = _HOTELCITYINFO -_LISTINGDIMENSIONINFO.fields_by_name['listing_custom_attribute'].message_type = _LISTINGCUSTOMATTRIBUTEINFO _LISTINGDIMENSIONINFO.fields_by_name['product_bidding_category'].message_type = _PRODUCTBIDDINGCATEGORYINFO +_LISTINGDIMENSIONINFO.fields_by_name['product_brand'].message_type = _PRODUCTBRANDINFO _LISTINGDIMENSIONINFO.fields_by_name['product_channel'].message_type = _PRODUCTCHANNELINFO _LISTINGDIMENSIONINFO.fields_by_name['product_channel_exclusivity'].message_type = _PRODUCTCHANNELEXCLUSIVITYINFO _LISTINGDIMENSIONINFO.fields_by_name['product_condition'].message_type = _PRODUCTCONDITIONINFO +_LISTINGDIMENSIONINFO.fields_by_name['product_custom_attribute'].message_type = _PRODUCTCUSTOMATTRIBUTEINFO _LISTINGDIMENSIONINFO.fields_by_name['product_item_id'].message_type = _PRODUCTITEMIDINFO _LISTINGDIMENSIONINFO.fields_by_name['product_type'].message_type = _PRODUCTTYPEINFO _LISTINGDIMENSIONINFO.fields_by_name['unknown_listing_dimension'].message_type = _UNKNOWNLISTINGDIMENSIONINFO -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['listing_brand']) -_LISTINGDIMENSIONINFO.fields_by_name['listing_brand'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['hotel_id']) _LISTINGDIMENSIONINFO.fields_by_name['hotel_id'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] @@ -2075,12 +2072,12 @@ _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['hotel_city']) _LISTINGDIMENSIONINFO.fields_by_name['hotel_city'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( - _LISTINGDIMENSIONINFO.fields_by_name['listing_custom_attribute']) -_LISTINGDIMENSIONINFO.fields_by_name['listing_custom_attribute'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['product_bidding_category']) _LISTINGDIMENSIONINFO.fields_by_name['product_bidding_category'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['product_brand']) +_LISTINGDIMENSIONINFO.fields_by_name['product_brand'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['product_channel']) _LISTINGDIMENSIONINFO.fields_by_name['product_channel'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] @@ -2090,6 +2087,9 @@ _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['product_condition']) _LISTINGDIMENSIONINFO.fields_by_name['product_condition'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] +_LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( + _LISTINGDIMENSIONINFO.fields_by_name['product_custom_attribute']) +_LISTINGDIMENSIONINFO.fields_by_name['product_custom_attribute'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['product_item_id']) _LISTINGDIMENSIONINFO.fields_by_name['product_item_id'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] @@ -2099,45 +2099,45 @@ _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'].fields.append( _LISTINGDIMENSIONINFO.fields_by_name['unknown_listing_dimension']) _LISTINGDIMENSIONINFO.fields_by_name['unknown_listing_dimension'].containing_oneof = _LISTINGDIMENSIONINFO.oneofs_by_name['dimension'] -_LISTINGBRANDINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _HOTELIDINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _HOTELCLASSINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _HOTELCOUNTRYREGIONINFO.fields_by_name['country_region_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _HOTELSTATEINFO.fields_by_name['state_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _HOTELCITYINFO.fields_by_name['city_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LISTINGCUSTOMATTRIBUTEINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_LISTINGCUSTOMATTRIBUTEINFO.fields_by_name['index'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_listing__custom__attribute__index__pb2._LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX _PRODUCTBIDDINGCATEGORYINFO.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _PRODUCTBIDDINGCATEGORYINFO.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTBIDDINGCATEGORYINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL -_PRODUCTCHANNELINFO.fields_by_name['channel'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL -_PRODUCTCHANNELEXCLUSIVITYINFO.fields_by_name['channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY -_PRODUCTCONDITIONINFO.fields_by_name['condition'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION +_PRODUCTBIDDINGCATEGORYINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL +_PRODUCTBRANDINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTCHANNELINFO.fields_by_name['channel'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL +_PRODUCTCHANNELEXCLUSIVITYINFO.fields_by_name['channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY +_PRODUCTCONDITIONINFO.fields_by_name['condition'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION +_PRODUCTCUSTOMATTRIBUTEINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTCUSTOMATTRIBUTEINFO.fields_by_name['index'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__custom__attribute__index__pb2._PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX _PRODUCTITEMIDINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRODUCTTYPEINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRODUCTTYPEINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__type__level__pb2._PRODUCTTYPELEVELENUM_PRODUCTTYPELEVEL -_HOTELDATESELECTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE +_PRODUCTTYPEINFO.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__type__level__pb2._PRODUCTTYPELEVELENUM_PRODUCTTYPELEVEL +_HOTELDATESELECTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE _HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['min_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _HOTELADVANCEBOOKINGWINDOWINFO.fields_by_name['max_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _HOTELLENGTHOFSTAYINFO.fields_by_name['min_nights'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _HOTELLENGTHOFSTAYINFO.fields_by_name['max_nights'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_HOTELCHECKINDAYINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_INTERACTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__type__pb2._INTERACTIONTYPEENUM_INTERACTIONTYPE -_ADSCHEDULEINFO.fields_by_name['start_minute'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR -_ADSCHEDULEINFO.fields_by_name['end_minute'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR +_HOTELCHECKINDAYINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_INTERACTIONTYPEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__type__pb2._INTERACTIONTYPEENUM_INTERACTIONTYPE +_ADSCHEDULEINFO.fields_by_name['start_minute'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR +_ADSCHEDULEINFO.fields_by_name['end_minute'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_minute__of__hour__pb2._MINUTEOFHOURENUM_MINUTEOFHOUR _ADSCHEDULEINFO.fields_by_name['start_hour'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _ADSCHEDULEINFO.fields_by_name['end_hour'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_ADSCHEDULEINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_AGERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_age__range__type__pb2._AGERANGETYPEENUM_AGERANGETYPE -_GENDERINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_gender__type__pb2._GENDERTYPEENUM_GENDERTYPE -_INCOMERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_income__range__type__pb2._INCOMERANGETYPEENUM_INCOMERANGETYPE -_PARENTALSTATUSINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_parental__status__type__pb2._PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE +_ADSCHEDULEINFO.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_AGERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_age__range__type__pb2._AGERANGETYPEENUM_AGERANGETYPE +_GENDERINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_gender__type__pb2._GENDERTYPEENUM_GENDERTYPE +_INCOMERANGEINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_income__range__type__pb2._INCOMERANGETYPEENUM_INCOMERANGETYPE +_PARENTALSTATUSINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_parental__status__type__pb2._PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE _YOUTUBEVIDEOINFO.fields_by_name['video_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _YOUTUBECHANNELINFO.fields_by_name['channel_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _USERLISTINFO.fields_by_name['user_list'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROXIMITYINFO.fields_by_name['geo_point'].message_type = _GEOPOINTINFO _PROXIMITYINFO.fields_by_name['radius'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_PROXIMITYINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_proximity__radius__units__pb2._PROXIMITYRADIUSUNITSENUM_PROXIMITYRADIUSUNITS +_PROXIMITYINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_proximity__radius__units__pb2._PROXIMITYRADIUSUNITSENUM_PROXIMITYRADIUSUNITS _PROXIMITYINFO.fields_by_name['address'].message_type = _ADDRESSINFO _GEOPOINTINFO.fields_by_name['longitude_in_micro_degrees'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _GEOPOINTINFO.fields_by_name['latitude_in_micro_degrees'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE @@ -2152,23 +2152,23 @@ _TOPICINFO.fields_by_name['path'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LANGUAGEINFO.fields_by_name['language_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _IPBLOCKINFO.fields_by_name['ip_address'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONTENTLABELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_content__label__type__pb2._CONTENTLABELTYPEENUM_CONTENTLABELTYPE +_CONTENTLABELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_content__label__type__pb2._CONTENTLABELTYPEENUM_CONTENTLABELTYPE _CARRIERINFO.fields_by_name['carrier_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _USERINTERESTINFO.fields_by_name['user_interest_category'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _WEBPAGEINFO.fields_by_name['criterion_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _WEBPAGEINFO.fields_by_name['conditions'].message_type = _WEBPAGECONDITIONINFO -_WEBPAGECONDITIONINFO.fields_by_name['operand'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operand__pb2._WEBPAGECONDITIONOPERANDENUM_WEBPAGECONDITIONOPERAND -_WEBPAGECONDITIONINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_webpage__condition__operator__pb2._WEBPAGECONDITIONOPERATORENUM_WEBPAGECONDITIONOPERATOR +_WEBPAGECONDITIONINFO.fields_by_name['operand'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operand__pb2._WEBPAGECONDITIONOPERANDENUM_WEBPAGECONDITIONOPERAND +_WEBPAGECONDITIONINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_webpage__condition__operator__pb2._WEBPAGECONDITIONOPERATORENUM_WEBPAGECONDITIONOPERATOR _WEBPAGECONDITIONINFO.fields_by_name['argument'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _OPERATINGSYSTEMVERSIONINFO.fields_by_name['operating_system_version_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_APPPAYMENTMODELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__payment__model__type__pb2._APPPAYMENTMODELTYPEENUM_APPPAYMENTMODELTYPE +_APPPAYMENTMODELINFO.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__payment__model__type__pb2._APPPAYMENTMODELTYPEENUM_APPPAYMENTMODELTYPE _MOBILEDEVICEINFO.fields_by_name['mobile_device_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CUSTOMAFFINITYINFO.fields_by_name['custom_affinity'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CUSTOMINTENTINFO.fields_by_name['custom_intent'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONGROUPINFO.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONGROUPINFO.fields_by_name['geo_target_constants'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONGROUPINFO.fields_by_name['radius'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_LOCATIONGROUPINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__group__radius__units__pb2._LOCATIONGROUPRADIUSUNITSENUM_LOCATIONGROUPRADIUSUNITS +_LOCATIONGROUPINFO.fields_by_name['radius_units'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__group__radius__units__pb2._LOCATIONGROUPRADIUSUNITSENUM_LOCATIONGROUPRADIUSUNITS DESCRIPTOR.message_types_by_name['KeywordInfo'] = _KEYWORDINFO DESCRIPTOR.message_types_by_name['PlacementInfo'] = _PLACEMENTINFO DESCRIPTOR.message_types_by_name['MobileAppCategoryInfo'] = _MOBILEAPPCATEGORYINFO @@ -2179,17 +2179,17 @@ DESCRIPTOR.message_types_by_name['ListingGroupInfo'] = _LISTINGGROUPINFO DESCRIPTOR.message_types_by_name['ListingScopeInfo'] = _LISTINGSCOPEINFO DESCRIPTOR.message_types_by_name['ListingDimensionInfo'] = _LISTINGDIMENSIONINFO -DESCRIPTOR.message_types_by_name['ListingBrandInfo'] = _LISTINGBRANDINFO DESCRIPTOR.message_types_by_name['HotelIdInfo'] = _HOTELIDINFO DESCRIPTOR.message_types_by_name['HotelClassInfo'] = _HOTELCLASSINFO DESCRIPTOR.message_types_by_name['HotelCountryRegionInfo'] = _HOTELCOUNTRYREGIONINFO DESCRIPTOR.message_types_by_name['HotelStateInfo'] = _HOTELSTATEINFO DESCRIPTOR.message_types_by_name['HotelCityInfo'] = _HOTELCITYINFO -DESCRIPTOR.message_types_by_name['ListingCustomAttributeInfo'] = _LISTINGCUSTOMATTRIBUTEINFO DESCRIPTOR.message_types_by_name['ProductBiddingCategoryInfo'] = _PRODUCTBIDDINGCATEGORYINFO +DESCRIPTOR.message_types_by_name['ProductBrandInfo'] = _PRODUCTBRANDINFO DESCRIPTOR.message_types_by_name['ProductChannelInfo'] = _PRODUCTCHANNELINFO DESCRIPTOR.message_types_by_name['ProductChannelExclusivityInfo'] = _PRODUCTCHANNELEXCLUSIVITYINFO DESCRIPTOR.message_types_by_name['ProductConditionInfo'] = _PRODUCTCONDITIONINFO +DESCRIPTOR.message_types_by_name['ProductCustomAttributeInfo'] = _PRODUCTCUSTOMATTRIBUTEINFO DESCRIPTOR.message_types_by_name['ProductItemIdInfo'] = _PRODUCTITEMIDINFO DESCRIPTOR.message_types_by_name['ProductTypeInfo'] = _PRODUCTTYPEINFO DESCRIPTOR.message_types_by_name['UnknownListingDimensionInfo'] = _UNKNOWNLISTINGDIMENSIONINFO @@ -2227,7 +2227,7 @@ KeywordInfo = _reflection.GeneratedProtocolMessageType('KeywordInfo', (_message.Message,), dict( DESCRIPTOR = _KEYWORDINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A keyword criterion. @@ -2238,13 +2238,13 @@ match_type: The match type of the keyword. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.KeywordInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.KeywordInfo) )) _sym_db.RegisterMessage(KeywordInfo) PlacementInfo = _reflection.GeneratedProtocolMessageType('PlacementInfo', (_message.Message,), dict( DESCRIPTOR = _PLACEMENTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A placement criterion. This can be used to modify bids for sites when targeting the content network. @@ -2254,13 +2254,13 @@ url: URL of the placement. For example, "http://www.domain.com". """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PlacementInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PlacementInfo) )) _sym_db.RegisterMessage(PlacementInfo) MobileAppCategoryInfo = _reflection.GeneratedProtocolMessageType('MobileAppCategoryInfo', (_message.Message,), dict( DESCRIPTOR = _MOBILEAPPCATEGORYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A mobile app category criterion. @@ -2269,13 +2269,13 @@ mobile_app_category_constant: The mobile app category constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MobileAppCategoryInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MobileAppCategoryInfo) )) _sym_db.RegisterMessage(MobileAppCategoryInfo) MobileApplicationInfo = _reflection.GeneratedProtocolMessageType('MobileApplicationInfo', (_message.Message,), dict( DESCRIPTOR = _MOBILEAPPLICATIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A mobile application criterion. @@ -2290,24 +2290,25 @@ native to the corresponding platform. For iOS, this native identifier is the 9 digit string that appears at the end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App - Store link is http://itunes.apple.com/us/app/flood- - it!-2/id476943146). For Android, this native identifier is the - application's package name (e.g., "com.labpixies.colordrips" - for "Color Drips" given Google Play link https://play.google.c - om/store/apps/details?id=com.labpixies.colordrips). A well - formed app id for Google Ads API would thus be "1-476943146" - for iOS and "2-com.labpixies.colordrips" for Android. This - field is required and must be set in CREATE operations. + Store link is "http://itunes.apple.com/us/app/flood- + it!-2/id476943146"). For Android, this native identifier is + the application's package name (e.g., + "com.labpixies.colordrips" for "Color Drips" given Google Play + link "https://play.google.com/store/apps/details?id=com.labpix + ies.colordrips"). A well formed app id for Google Ads API + would thus be "1-476943146" for iOS and + "2-com.labpixies.colordrips" for Android. This field is + required and must be set in CREATE operations. name: Name of this mobile application. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MobileApplicationInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MobileApplicationInfo) )) _sym_db.RegisterMessage(MobileApplicationInfo) LocationInfo = _reflection.GeneratedProtocolMessageType('LocationInfo', (_message.Message,), dict( DESCRIPTOR = _LOCATIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A location criterion. @@ -2316,13 +2317,13 @@ geo_target_constant: The geo target constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LocationInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LocationInfo) )) _sym_db.RegisterMessage(LocationInfo) DeviceInfo = _reflection.GeneratedProtocolMessageType('DeviceInfo', (_message.Message,), dict( DESCRIPTOR = _DEVICEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A device criterion. @@ -2331,13 +2332,13 @@ type: Type of the device. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.DeviceInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.DeviceInfo) )) _sym_db.RegisterMessage(DeviceInfo) PreferredContentInfo = _reflection.GeneratedProtocolMessageType('PreferredContentInfo', (_message.Message,), dict( DESCRIPTOR = _PREFERREDCONTENTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A preferred content criterion. @@ -2346,13 +2347,13 @@ type: Type of the preferred content. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PreferredContentInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PreferredContentInfo) )) _sym_db.RegisterMessage(PreferredContentInfo) ListingGroupInfo = _reflection.GeneratedProtocolMessageType('ListingGroupInfo', (_message.Message,), dict( DESCRIPTOR = _LISTINGGROUPINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A listing group criterion. @@ -2367,13 +2368,13 @@ Resource name of ad group criterion which is the parent listing group subdivision. Null for the root group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ListingGroupInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ListingGroupInfo) )) _sym_db.RegisterMessage(ListingGroupInfo) ListingScopeInfo = _reflection.GeneratedProtocolMessageType('ListingScopeInfo', (_message.Message,), dict( DESCRIPTOR = _LISTINGSCOPEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A listing scope criterion. @@ -2382,13 +2383,13 @@ dimensions: Scope of the campaign criterion. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ListingScopeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ListingScopeInfo) )) _sym_db.RegisterMessage(ListingScopeInfo) ListingDimensionInfo = _reflection.GeneratedProtocolMessageType('ListingDimensionInfo', (_message.Message,), dict( DESCRIPTOR = _LISTINGDIMENSIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Listing dimensions for listing group criterion. @@ -2396,8 +2397,6 @@ Attributes: dimension: Dimension of one of the types below is always present. - listing_brand: - Brand of the listing. hotel_id: Advertiser-specific hotel ID. hotel_class: @@ -2408,16 +2407,18 @@ State the hotel is located in. hotel_city: City the hotel is located in. - listing_custom_attribute: - Listing custom attribute. product_bidding_category: Bidding category of a product offer. + product_brand: + Brand of a product offer. product_channel: Locality of a product offer. product_channel_exclusivity: Availability of a product offer. product_condition: Condition of a product offer. + product_custom_attribute: + Custom attribute of a product offer. product_item_id: Item id of a product offer. product_type: @@ -2425,28 +2426,13 @@ unknown_listing_dimension: Unknown dimension. Set when no other listing dimension is set. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ListingDimensionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ListingDimensionInfo) )) _sym_db.RegisterMessage(ListingDimensionInfo) -ListingBrandInfo = _reflection.GeneratedProtocolMessageType('ListingBrandInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGBRANDINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' - , - __doc__ = """Brand of the listing. - - - Attributes: - value: - String value of the listing brand. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ListingBrandInfo) - )) -_sym_db.RegisterMessage(ListingBrandInfo) - HotelIdInfo = _reflection.GeneratedProtocolMessageType('HotelIdInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELIDINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Advertiser-specific hotel ID. @@ -2455,13 +2441,13 @@ value: String value of the hotel ID. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelIdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelIdInfo) )) _sym_db.RegisterMessage(HotelIdInfo) HotelClassInfo = _reflection.GeneratedProtocolMessageType('HotelClassInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELCLASSINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Class of the hotel as a number of stars 1 to 5. @@ -2470,13 +2456,13 @@ value: Long value of the hotel class. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelClassInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelClassInfo) )) _sym_db.RegisterMessage(HotelClassInfo) HotelCountryRegionInfo = _reflection.GeneratedProtocolMessageType('HotelCountryRegionInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELCOUNTRYREGIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Country or Region the hotel is located in. @@ -2485,13 +2471,13 @@ country_region_criterion: The Geo Target Constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelCountryRegionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelCountryRegionInfo) )) _sym_db.RegisterMessage(HotelCountryRegionInfo) HotelStateInfo = _reflection.GeneratedProtocolMessageType('HotelStateInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELSTATEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """State the hotel is located in. @@ -2500,13 +2486,13 @@ state_criterion: The Geo Target Constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelStateInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelStateInfo) )) _sym_db.RegisterMessage(HotelStateInfo) HotelCityInfo = _reflection.GeneratedProtocolMessageType('HotelCityInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELCITYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """City the hotel is located in. @@ -2515,30 +2501,13 @@ city_criterion: The Geo Target Constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelCityInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelCityInfo) )) _sym_db.RegisterMessage(HotelCityInfo) -ListingCustomAttributeInfo = _reflection.GeneratedProtocolMessageType('ListingCustomAttributeInfo', (_message.Message,), dict( - DESCRIPTOR = _LISTINGCUSTOMATTRIBUTEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' - , - __doc__ = """Listing custom attribute. - - - Attributes: - value: - String value of the listing custom attribute. - index: - Indicates the index of the custom attribute. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ListingCustomAttributeInfo) - )) -_sym_db.RegisterMessage(ListingCustomAttributeInfo) - ProductBiddingCategoryInfo = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTBIDDINGCATEGORYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Bidding category of a product offer. @@ -2547,7 +2516,7 @@ id: ID of the product bidding category. This ID is equivalent to the google\_product\_category ID as described in this article: - https://support.google.com/merchants/answer/6324436. + https://support.google.com/merchants/answer/6324436 country_code: Two-letter upper-case country code of the product bidding category. It must match the @@ -2555,13 +2524,28 @@ level: Level of the product bidding category. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductBiddingCategoryInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductBiddingCategoryInfo) )) _sym_db.RegisterMessage(ProductBiddingCategoryInfo) +ProductBrandInfo = _reflection.GeneratedProtocolMessageType('ProductBrandInfo', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTBRANDINFO, + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' + , + __doc__ = """Brand of the product. + + + Attributes: + value: + String value of the product brand. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductBrandInfo) + )) +_sym_db.RegisterMessage(ProductBrandInfo) + ProductChannelInfo = _reflection.GeneratedProtocolMessageType('ProductChannelInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCHANNELINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Locality of a product offer. @@ -2570,13 +2554,13 @@ channel: Value of the locality. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductChannelInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductChannelInfo) )) _sym_db.RegisterMessage(ProductChannelInfo) ProductChannelExclusivityInfo = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCHANNELEXCLUSIVITYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Availability of a product offer. @@ -2585,13 +2569,13 @@ channel_exclusivity: Value of the availability. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductChannelExclusivityInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductChannelExclusivityInfo) )) _sym_db.RegisterMessage(ProductChannelExclusivityInfo) ProductConditionInfo = _reflection.GeneratedProtocolMessageType('ProductConditionInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCONDITIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Condition of a product offer. @@ -2600,13 +2584,30 @@ condition: Value of the condition. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductConditionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductConditionInfo) )) _sym_db.RegisterMessage(ProductConditionInfo) +ProductCustomAttributeInfo = _reflection.GeneratedProtocolMessageType('ProductCustomAttributeInfo', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTCUSTOMATTRIBUTEINFO, + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' + , + __doc__ = """Custom attribute of a product offer. + + + Attributes: + value: + String value of the product custom attribute. + index: + Indicates the index of the custom attribute. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductCustomAttributeInfo) + )) +_sym_db.RegisterMessage(ProductCustomAttributeInfo) + ProductItemIdInfo = _reflection.GeneratedProtocolMessageType('ProductItemIdInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTITEMIDINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Item id of a product offer. @@ -2615,13 +2616,13 @@ value: Value of the id. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductItemIdInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductItemIdInfo) )) _sym_db.RegisterMessage(ProductItemIdInfo) ProductTypeInfo = _reflection.GeneratedProtocolMessageType('ProductTypeInfo', (_message.Message,), dict( DESCRIPTOR = _PRODUCTTYPEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Type of a product offer. @@ -2632,23 +2633,23 @@ level: Level of the type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProductTypeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProductTypeInfo) )) _sym_db.RegisterMessage(ProductTypeInfo) UnknownListingDimensionInfo = _reflection.GeneratedProtocolMessageType('UnknownListingDimensionInfo', (_message.Message,), dict( DESCRIPTOR = _UNKNOWNLISTINGDIMENSIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Unknown listing dimension. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UnknownListingDimensionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UnknownListingDimensionInfo) )) _sym_db.RegisterMessage(UnknownListingDimensionInfo) HotelDateSelectionTypeInfo = _reflection.GeneratedProtocolMessageType('HotelDateSelectionTypeInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELDATESELECTIONTYPEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Criterion for hotel date selection (default dates vs. user selected). @@ -2657,13 +2658,13 @@ type: Type of the hotel date selection """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelDateSelectionTypeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelDateSelectionTypeInfo) )) _sym_db.RegisterMessage(HotelDateSelectionTypeInfo) HotelAdvanceBookingWindowInfo = _reflection.GeneratedProtocolMessageType('HotelAdvanceBookingWindowInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELADVANCEBOOKINGWINDOWINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Criterion for number of days prior to the stay the booking is being made. @@ -2675,13 +2676,13 @@ max_days: High end of the number of days prior to the stay. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelAdvanceBookingWindowInfo) )) _sym_db.RegisterMessage(HotelAdvanceBookingWindowInfo) HotelLengthOfStayInfo = _reflection.GeneratedProtocolMessageType('HotelLengthOfStayInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELLENGTHOFSTAYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Criterion for length of hotel stay in nights. @@ -2692,13 +2693,13 @@ max_nights: High end of the number of nights in the stay. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelLengthOfStayInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelLengthOfStayInfo) )) _sym_db.RegisterMessage(HotelLengthOfStayInfo) HotelCheckInDayInfo = _reflection.GeneratedProtocolMessageType('HotelCheckInDayInfo', (_message.Message,), dict( DESCRIPTOR = _HOTELCHECKINDAYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Criterion for day of the week the booking is for. @@ -2707,13 +2708,13 @@ day_of_week: The day of the week. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.HotelCheckInDayInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelCheckInDayInfo) )) _sym_db.RegisterMessage(HotelCheckInDayInfo) InteractionTypeInfo = _reflection.GeneratedProtocolMessageType('InteractionTypeInfo', (_message.Message,), dict( DESCRIPTOR = _INTERACTIONTYPEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Criterion for Interaction Type. @@ -2722,13 +2723,13 @@ type: The interaction type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.InteractionTypeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.InteractionTypeInfo) )) _sym_db.RegisterMessage(InteractionTypeInfo) AdScheduleInfo = _reflection.GeneratedProtocolMessageType('AdScheduleInfo', (_message.Message,), dict( DESCRIPTOR = _ADSCHEDULEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Represents an AdSchedule criterion. @@ -2762,13 +2763,13 @@ required for CREATE operations and is prohibited on UPDATE operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AdScheduleInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AdScheduleInfo) )) _sym_db.RegisterMessage(AdScheduleInfo) AgeRangeInfo = _reflection.GeneratedProtocolMessageType('AgeRangeInfo', (_message.Message,), dict( DESCRIPTOR = _AGERANGEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """An age range criterion. @@ -2777,13 +2778,13 @@ type: Type of the age range. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AgeRangeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AgeRangeInfo) )) _sym_db.RegisterMessage(AgeRangeInfo) GenderInfo = _reflection.GeneratedProtocolMessageType('GenderInfo', (_message.Message,), dict( DESCRIPTOR = _GENDERINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A gender criterion. @@ -2792,13 +2793,13 @@ type: Type of the gender. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.GenderInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.GenderInfo) )) _sym_db.RegisterMessage(GenderInfo) IncomeRangeInfo = _reflection.GeneratedProtocolMessageType('IncomeRangeInfo', (_message.Message,), dict( DESCRIPTOR = _INCOMERANGEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """An income range criterion. @@ -2807,13 +2808,13 @@ type: Type of the income range. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.IncomeRangeInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.IncomeRangeInfo) )) _sym_db.RegisterMessage(IncomeRangeInfo) ParentalStatusInfo = _reflection.GeneratedProtocolMessageType('ParentalStatusInfo', (_message.Message,), dict( DESCRIPTOR = _PARENTALSTATUSINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A parental status criterion. @@ -2822,13 +2823,13 @@ type: Type of the parental status. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ParentalStatusInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ParentalStatusInfo) )) _sym_db.RegisterMessage(ParentalStatusInfo) YouTubeVideoInfo = _reflection.GeneratedProtocolMessageType('YouTubeVideoInfo', (_message.Message,), dict( DESCRIPTOR = _YOUTUBEVIDEOINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A YouTube Video criterion. @@ -2837,13 +2838,13 @@ video_id: YouTube video id as it appears on the YouTube watch page. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.YouTubeVideoInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.YouTubeVideoInfo) )) _sym_db.RegisterMessage(YouTubeVideoInfo) YouTubeChannelInfo = _reflection.GeneratedProtocolMessageType('YouTubeChannelInfo', (_message.Message,), dict( DESCRIPTOR = _YOUTUBECHANNELINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A YouTube Channel criterion. @@ -2853,13 +2854,13 @@ The YouTube uploader channel id or the channel code of a YouTube channel. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.YouTubeChannelInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.YouTubeChannelInfo) )) _sym_db.RegisterMessage(YouTubeChannelInfo) UserListInfo = _reflection.GeneratedProtocolMessageType('UserListInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A User List criterion. Represents a user list that is defined by the advertiser to be targeted. @@ -2869,13 +2870,13 @@ user_list: The User List resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListInfo) )) _sym_db.RegisterMessage(UserListInfo) ProximityInfo = _reflection.GeneratedProtocolMessageType('ProximityInfo', (_message.Message,), dict( DESCRIPTOR = _PROXIMITYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A Proximity criterion. The geo point and radius determine what geographical area is included. The address is a description of the geo @@ -2897,13 +2898,13 @@ address: Full address. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ProximityInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ProximityInfo) )) _sym_db.RegisterMessage(ProximityInfo) GeoPointInfo = _reflection.GeneratedProtocolMessageType('GeoPointInfo', (_message.Message,), dict( DESCRIPTOR = _GEOPOINTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Geo point for proximity criterion. @@ -2914,13 +2915,13 @@ latitude_in_micro_degrees: Micro degrees for the latitude. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.GeoPointInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.GeoPointInfo) )) _sym_db.RegisterMessage(GeoPointInfo) AddressInfo = _reflection.GeneratedProtocolMessageType('AddressInfo', (_message.Message,), dict( DESCRIPTOR = _ADDRESSINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Address for proximity criterion. @@ -2943,13 +2944,13 @@ city_name: Name of the city. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AddressInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AddressInfo) )) _sym_db.RegisterMessage(AddressInfo) TopicInfo = _reflection.GeneratedProtocolMessageType('TopicInfo', (_message.Message,), dict( DESCRIPTOR = _TOPICINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A topic criterion. Use topics to target or exclude placements in the Google Display Network based on the category into which the placement @@ -2965,13 +2966,13 @@ "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" category. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TopicInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TopicInfo) )) _sym_db.RegisterMessage(TopicInfo) LanguageInfo = _reflection.GeneratedProtocolMessageType('LanguageInfo', (_message.Message,), dict( DESCRIPTOR = _LANGUAGEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A language criterion. @@ -2980,13 +2981,13 @@ language_constant: The language constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LanguageInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LanguageInfo) )) _sym_db.RegisterMessage(LanguageInfo) IpBlockInfo = _reflection.GeneratedProtocolMessageType('IpBlockInfo', (_message.Message,), dict( DESCRIPTOR = _IPBLOCKINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """An IpBlock criterion used for IP exclusions. We allow: - IPv4 and IPv6 addresses - individual addresses (192.168.0.1) - masks for individual @@ -2997,13 +2998,13 @@ ip_address: The IP address of this IP block. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.IpBlockInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.IpBlockInfo) )) _sym_db.RegisterMessage(IpBlockInfo) ContentLabelInfo = _reflection.GeneratedProtocolMessageType('ContentLabelInfo', (_message.Message,), dict( DESCRIPTOR = _CONTENTLABELINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Content Label for category exclusion. @@ -3012,13 +3013,13 @@ type: Content label type, required for CREATE operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ContentLabelInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ContentLabelInfo) )) _sym_db.RegisterMessage(ContentLabelInfo) CarrierInfo = _reflection.GeneratedProtocolMessageType('CarrierInfo', (_message.Message,), dict( DESCRIPTOR = _CARRIERINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Represents a Carrier Criterion. @@ -3027,13 +3028,13 @@ carrier_constant: The Carrier constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CarrierInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CarrierInfo) )) _sym_db.RegisterMessage(CarrierInfo) UserInterestInfo = _reflection.GeneratedProtocolMessageType('UserInterestInfo', (_message.Message,), dict( DESCRIPTOR = _USERINTERESTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Represents a particular interest-based topic to be targeted. @@ -3042,13 +3043,13 @@ user_interest_category: The UserInterest resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserInterestInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserInterestInfo) )) _sym_db.RegisterMessage(UserInterestInfo) WebpageInfo = _reflection.GeneratedProtocolMessageType('WebpageInfo', (_message.Message,), dict( DESCRIPTOR = _WEBPAGEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Represents a criterion for targeting webpages of an advertiser's website. @@ -3067,13 +3068,13 @@ evaluated for targeting. This field is required for CREATE operations and is prohibited on UPDATE operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.WebpageInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.WebpageInfo) )) _sym_db.RegisterMessage(WebpageInfo) WebpageConditionInfo = _reflection.GeneratedProtocolMessageType('WebpageConditionInfo', (_message.Message,), dict( DESCRIPTOR = _WEBPAGECONDITIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Logical expression for targeting webpages of an advertiser's website. @@ -3086,13 +3087,13 @@ argument: Argument of webpage targeting condition. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.WebpageConditionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.WebpageConditionInfo) )) _sym_db.RegisterMessage(WebpageConditionInfo) OperatingSystemVersionInfo = _reflection.GeneratedProtocolMessageType('OperatingSystemVersionInfo', (_message.Message,), dict( DESCRIPTOR = _OPERATINGSYSTEMVERSIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """Represents an operating system version to be targeted. @@ -3101,13 +3102,13 @@ operating_system_version_constant: The operating system version constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.OperatingSystemVersionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.OperatingSystemVersionInfo) )) _sym_db.RegisterMessage(OperatingSystemVersionInfo) AppPaymentModelInfo = _reflection.GeneratedProtocolMessageType('AppPaymentModelInfo', (_message.Message,), dict( DESCRIPTOR = _APPPAYMENTMODELINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """An app payment model criterion. @@ -3116,13 +3117,13 @@ type: Type of the app payment model. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AppPaymentModelInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AppPaymentModelInfo) )) _sym_db.RegisterMessage(AppPaymentModelInfo) MobileDeviceInfo = _reflection.GeneratedProtocolMessageType('MobileDeviceInfo', (_message.Message,), dict( DESCRIPTOR = _MOBILEDEVICEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A mobile device criterion. @@ -3131,13 +3132,13 @@ mobile_device_constant: The mobile device constant resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MobileDeviceInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MobileDeviceInfo) )) _sym_db.RegisterMessage(MobileDeviceInfo) CustomAffinityInfo = _reflection.GeneratedProtocolMessageType('CustomAffinityInfo', (_message.Message,), dict( DESCRIPTOR = _CUSTOMAFFINITYINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A custom affinity criterion. A criterion of this type is only targetable. @@ -3147,13 +3148,13 @@ custom_affinity: The CustomInterest resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CustomAffinityInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CustomAffinityInfo) )) _sym_db.RegisterMessage(CustomAffinityInfo) CustomIntentInfo = _reflection.GeneratedProtocolMessageType('CustomIntentInfo', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTENTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A custom intent criterion. A criterion of this type is only targetable. @@ -3162,13 +3163,13 @@ custom_intent: The CustomInterest resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CustomIntentInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CustomIntentInfo) )) _sym_db.RegisterMessage(CustomIntentInfo) LocationGroupInfo = _reflection.GeneratedProtocolMessageType('LocationGroupInfo', (_message.Message,), dict( DESCRIPTOR = _LOCATIONGROUPINFO, - __module__ = 'google.ads.googleads_v1.proto.common.criteria_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criteria_pb2' , __doc__ = """A radius around a list of locations specified via a feed. @@ -3189,7 +3190,7 @@ Unit of the radius, miles and meters supported currently. This is required and must be set in CREATE operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LocationGroupInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LocationGroupInfo) )) _sym_db.RegisterMessage(LocationGroupInfo) diff --git a/google/ads/google_ads/v1/proto/common/criteria_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/criteria_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/criteria_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/criteria_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/criterion_category_availability_pb2.py b/google/ads/google_ads/v4/proto/common/criterion_category_availability_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/common/criterion_category_availability_pb2.py rename to google/ads/google_ads/v4/proto/common/criterion_category_availability_pb2.py index 1c33c9ee2..eedcf5a26 100644 --- a/google/ads/google_ads/v1/proto/common/criterion_category_availability_pb2.py +++ b/google/ads/google_ads/v4/proto/common/criterion_category_availability_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/criterion_category_availability.proto +# source: google/ads/googleads_v4/proto/common/criterion_category_availability.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,42 +13,42 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 -from google.ads.google_ads.v1.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__type__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_category_channel_availability_mode_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_category_locale_availability_mode_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2 +from google.ads.google_ads.v4.proto.enums import advertising_channel_sub_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2 +from google.ads.google_ads.v4.proto.enums import advertising_channel_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__type__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_category_channel_availability_mode_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_category_locale_availability_mode_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/criterion_category_availability.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/criterion_category_availability.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\"CriterionCategoryAvailabilityProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/common/criterion_category_availability.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x46google/ads/googleads_v1/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v1/proto/enums/advertising_channel_type.proto\x1aVgoogle/ads/googleads_v1/proto/enums/criterion_category_channel_availability_mode.proto\x1aUgoogle/ads/googleads_v1/proto/enums/criterion_category_locale_availability_mode.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcb\x01\n\x1d\x43riterionCategoryAvailability\x12U\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x44.google.ads.googleads.v1.common.CriterionCategoryChannelAvailability\x12S\n\x06locale\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability\"\xf0\x03\n$CriterionCategoryChannelAvailability\x12\x8f\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32t.google.ads.googleads.v1.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode\x12r\n\x18\x61\x64vertising_channel_type\x18\x02 \x01(\x0e\x32P.google.ads.googleads.v1.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType\x12|\n\x1c\x61\x64vertising_channel_sub_type\x18\x03 \x03(\x0e\x32V.google.ads.googleads.v1.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType\x12\x44\n include_default_channel_sub_type\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9e\x02\n#CriterionCategoryLocaleAvailability\x12\x8d\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32r.google.ads.googleads.v1.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfd\x01\n\"com.google.ads.googleads.v1.commonB\"CriterionCategoryAvailabilityProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\"CriterionCategoryAvailabilityProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/common/criterion_category_availability.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x46google/ads/googleads_v4/proto/enums/advertising_channel_sub_type.proto\x1a\x42google/ads/googleads_v4/proto/enums/advertising_channel_type.proto\x1aVgoogle/ads/googleads_v4/proto/enums/criterion_category_channel_availability_mode.proto\x1aUgoogle/ads/googleads_v4/proto/enums/criterion_category_locale_availability_mode.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcb\x01\n\x1d\x43riterionCategoryAvailability\x12U\n\x07\x63hannel\x18\x01 \x01(\x0b\x32\x44.google.ads.googleads.v4.common.CriterionCategoryChannelAvailability\x12S\n\x06locale\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability\"\xf0\x03\n$CriterionCategoryChannelAvailability\x12\x8f\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32t.google.ads.googleads.v4.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode\x12r\n\x18\x61\x64vertising_channel_type\x18\x02 \x01(\x0e\x32P.google.ads.googleads.v4.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType\x12|\n\x1c\x61\x64vertising_channel_sub_type\x18\x03 \x03(\x0e\x32V.google.ads.googleads.v4.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType\x12\x44\n include_default_channel_sub_type\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\x9e\x02\n#CriterionCategoryLocaleAvailability\x12\x8d\x01\n\x11\x61vailability_mode\x18\x01 \x01(\x0e\x32r.google.ads.googleads.v4.enums.CriterionCategoryLocaleAvailabilityModeEnum.CriterionCategoryLocaleAvailabilityMode\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfd\x01\n\"com.google.ads.googleads.v4.commonB\"CriterionCategoryAvailabilityProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CRITERIONCATEGORYAVAILABILITY = _descriptor.Descriptor( name='CriterionCategoryAvailability', - full_name='google.ads.googleads.v1.common.CriterionCategoryAvailability', + full_name='google.ads.googleads.v4.common.CriterionCategoryAvailability', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='channel', full_name='google.ads.googleads.v1.common.CriterionCategoryAvailability.channel', index=0, + name='channel', full_name='google.ads.googleads.v4.common.CriterionCategoryAvailability.channel', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='locale', full_name='google.ads.googleads.v1.common.CriterionCategoryAvailability.locale', index=1, + name='locale', full_name='google.ads.googleads.v4.common.CriterionCategoryAvailability.locale', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -73,34 +73,34 @@ _CRITERIONCATEGORYCHANNELAVAILABILITY = _descriptor.Descriptor( name='CriterionCategoryChannelAvailability', - full_name='google.ads.googleads.v1.common.CriterionCategoryChannelAvailability', + full_name='google.ads.googleads.v4.common.CriterionCategoryChannelAvailability', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='availability_mode', full_name='google.ads.googleads.v1.common.CriterionCategoryChannelAvailability.availability_mode', index=0, + name='availability_mode', full_name='google.ads.googleads.v4.common.CriterionCategoryChannelAvailability.availability_mode', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='advertising_channel_type', full_name='google.ads.googleads.v1.common.CriterionCategoryChannelAvailability.advertising_channel_type', index=1, + name='advertising_channel_type', full_name='google.ads.googleads.v4.common.CriterionCategoryChannelAvailability.advertising_channel_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='advertising_channel_sub_type', full_name='google.ads.googleads.v1.common.CriterionCategoryChannelAvailability.advertising_channel_sub_type', index=2, + name='advertising_channel_sub_type', full_name='google.ads.googleads.v4.common.CriterionCategoryChannelAvailability.advertising_channel_sub_type', index=2, number=3, type=14, cpp_type=8, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='include_default_channel_sub_type', full_name='google.ads.googleads.v1.common.CriterionCategoryChannelAvailability.include_default_channel_sub_type', index=3, + name='include_default_channel_sub_type', full_name='google.ads.googleads.v4.common.CriterionCategoryChannelAvailability.include_default_channel_sub_type', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -125,27 +125,27 @@ _CRITERIONCATEGORYLOCALEAVAILABILITY = _descriptor.Descriptor( name='CriterionCategoryLocaleAvailability', - full_name='google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability', + full_name='google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='availability_mode', full_name='google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability.availability_mode', index=0, + name='availability_mode', full_name='google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability.availability_mode', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability.country_code', index=1, + name='country_code', full_name='google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability.country_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability.language_code', index=2, + name='language_code', full_name='google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability.language_code', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -169,11 +169,11 @@ _CRITERIONCATEGORYAVAILABILITY.fields_by_name['channel'].message_type = _CRITERIONCATEGORYCHANNELAVAILABILITY _CRITERIONCATEGORYAVAILABILITY.fields_by_name['locale'].message_type = _CRITERIONCATEGORYLOCALEAVAILABILITY -_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['availability_mode'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2._CRITERIONCATEGORYCHANNELAVAILABILITYMODEENUM_CRITERIONCATEGORYCHANNELAVAILABILITYMODE -_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['advertising_channel_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__type__pb2._ADVERTISINGCHANNELTYPEENUM_ADVERTISINGCHANNELTYPE -_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['advertising_channel_sub_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE +_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['availability_mode'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__channel__availability__mode__pb2._CRITERIONCATEGORYCHANNELAVAILABILITYMODEENUM_CRITERIONCATEGORYCHANNELAVAILABILITYMODE +_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['advertising_channel_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__type__pb2._ADVERTISINGCHANNELTYPEENUM_ADVERTISINGCHANNELTYPE +_CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['advertising_channel_sub_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE _CRITERIONCATEGORYCHANNELAVAILABILITY.fields_by_name['include_default_channel_sub_type'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['availability_mode'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2._CRITERIONCATEGORYLOCALEAVAILABILITYMODEENUM_CRITERIONCATEGORYLOCALEAVAILABILITYMODE +_CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['availability_mode'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__category__locale__availability__mode__pb2._CRITERIONCATEGORYLOCALEAVAILABILITYMODEENUM_CRITERIONCATEGORYLOCALEAVAILABILITYMODE _CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CRITERIONCATEGORYLOCALEAVAILABILITY.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE DESCRIPTOR.message_types_by_name['CriterionCategoryAvailability'] = _CRITERIONCATEGORYAVAILABILITY @@ -183,7 +183,7 @@ CriterionCategoryAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryAvailability', (_message.Message,), dict( DESCRIPTOR = _CRITERIONCATEGORYAVAILABILITY, - __module__ = 'google.ads.googleads_v1.proto.common.criterion_category_availability_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criterion_category_availability_pb2' , __doc__ = """Information of category availability, per advertising channel. @@ -194,13 +194,13 @@ locale: Locales that are available to the category for the channel. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CriterionCategoryAvailability) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CriterionCategoryAvailability) )) _sym_db.RegisterMessage(CriterionCategoryAvailability) CriterionCategoryChannelAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryChannelAvailability', (_message.Message,), dict( DESCRIPTOR = _CRITERIONCATEGORYCHANNELAVAILABILITY, - __module__ = 'google.ads.googleads_v1.proto.common.criterion_category_availability_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criterion_category_availability_pb2' , __doc__ = """Information of advertising channel type and subtypes a category is available in. @@ -227,13 +227,13 @@ the default display campaign where channel sub type is not set is not included in this availability configuration. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CriterionCategoryChannelAvailability) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CriterionCategoryChannelAvailability) )) _sym_db.RegisterMessage(CriterionCategoryChannelAvailability) CriterionCategoryLocaleAvailability = _reflection.GeneratedProtocolMessageType('CriterionCategoryLocaleAvailability', (_message.Message,), dict( DESCRIPTOR = _CRITERIONCATEGORYLOCALEAVAILABILITY, - __module__ = 'google.ads.googleads_v1.proto.common.criterion_category_availability_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.criterion_category_availability_pb2' , __doc__ = """Information about which locales a category is available in. @@ -250,7 +250,7 @@ language_code: Code of the language. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CriterionCategoryLocaleAvailability) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CriterionCategoryLocaleAvailability) )) _sym_db.RegisterMessage(CriterionCategoryLocaleAvailability) diff --git a/google/ads/google_ads/v1/proto/common/criterion_category_availability_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/criterion_category_availability_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/criterion_category_availability_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/criterion_category_availability_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/custom_parameter_pb2.py b/google/ads/google_ads/v4/proto/common/custom_parameter_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/common/custom_parameter_pb2.py rename to google/ads/google_ads/v4/proto/common/custom_parameter_pb2.py index 8f42ce6be..e5404ba5e 100644 --- a/google/ads/google_ads/v1/proto/common/custom_parameter_pb2.py +++ b/google/ads/google_ads/v4/proto/common/custom_parameter_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/custom_parameter.proto +# source: google/ads/googleads_v4/proto/common/custom_parameter.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/custom_parameter.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/custom_parameter.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\024CustomParameterProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/common/custom_parameter.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x0f\x43ustomParameter\x12)\n\x03key\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xef\x01\n\"com.google.ads.googleads.v1.commonB\x14\x43ustomParameterProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\024CustomParameterProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/common/custom_parameter.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"i\n\x0f\x43ustomParameter\x12)\n\x03key\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xef\x01\n\"com.google.ads.googleads.v4.commonB\x14\x43ustomParameterProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,20 +31,20 @@ _CUSTOMPARAMETER = _descriptor.Descriptor( name='CustomParameter', - full_name='google.ads.googleads.v1.common.CustomParameter', + full_name='google.ads.googleads.v4.common.CustomParameter', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='key', full_name='google.ads.googleads.v1.common.CustomParameter.key', index=0, + name='key', full_name='google.ads.googleads.v4.common.CustomParameter.key', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.CustomParameter.value', index=1, + name='value', full_name='google.ads.googleads.v4.common.CustomParameter.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -73,7 +73,7 @@ CustomParameter = _reflection.GeneratedProtocolMessageType('CustomParameter', (_message.Message,), dict( DESCRIPTOR = _CUSTOMPARAMETER, - __module__ = 'google.ads.googleads_v1.proto.common.custom_parameter_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.custom_parameter_pb2' , __doc__ = """A mapping that can be used by custom parameter tags in a ``tracking_url_template``, ``final_urls``, or ``mobile_final_urls``. @@ -85,7 +85,7 @@ value: The value to be substituted. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CustomParameter) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CustomParameter) )) _sym_db.RegisterMessage(CustomParameter) diff --git a/google/ads/google_ads/v1/proto/common/custom_parameter_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/custom_parameter_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/custom_parameter_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/custom_parameter_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/dates_pb2.py b/google/ads/google_ads/v4/proto/common/dates_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/common/dates_pb2.py rename to google/ads/google_ads/v4/proto/common/dates_pb2.py index cbf592e8f..e619ad6cb 100644 --- a/google/ads/google_ads/v1/proto/common/dates_pb2.py +++ b/google/ads/google_ads/v4/proto/common/dates_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/dates.proto +# source: google/ads/googleads_v4/proto/common/dates.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/dates.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/dates.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\nDatesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n0google/ads/googleads_v1/proto/common/dates.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"m\n\tDateRange\x12\x30\n\nstart_date\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xe5\x01\n\"com.google.ads.googleads.v1.commonB\nDatesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\nDatesProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n0google/ads/googleads_v4/proto/common/dates.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"m\n\tDateRange\x12\x30\n\nstart_date\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xe5\x01\n\"com.google.ads.googleads.v4.commonB\nDatesProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,20 +31,20 @@ _DATERANGE = _descriptor.Descriptor( name='DateRange', - full_name='google.ads.googleads.v1.common.DateRange', + full_name='google.ads.googleads.v4.common.DateRange', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.common.DateRange.start_date', index=0, + name='start_date', full_name='google.ads.googleads.v4.common.DateRange.start_date', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.common.DateRange.end_date', index=1, + name='end_date', full_name='google.ads.googleads.v4.common.DateRange.end_date', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -73,18 +73,18 @@ DateRange = _reflection.GeneratedProtocolMessageType('DateRange', (_message.Message,), dict( DESCRIPTOR = _DATERANGE, - __module__ = 'google.ads.googleads_v1.proto.common.dates_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.dates_pb2' , __doc__ = """A date range. Attributes: start_date: - The start date, in yyyy-mm-dd format. + The start date, in yyyy-mm-dd format. This date is inclusive. end_date: - The end date, in yyyy-mm-dd format. + The end date, in yyyy-mm-dd format. This date is inclusive. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.DateRange) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.DateRange) )) _sym_db.RegisterMessage(DateRange) diff --git a/google/ads/google_ads/v1/proto/common/dates_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/dates_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/dates_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/dates_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/explorer_auto_optimizer_setting_pb2.py b/google/ads/google_ads/v4/proto/common/explorer_auto_optimizer_setting_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/common/explorer_auto_optimizer_setting_pb2.py rename to google/ads/google_ads/v4/proto/common/explorer_auto_optimizer_setting_pb2.py index 6243184ed..d0e3ab92a 100644 --- a/google/ads/google_ads/v1/proto/common/explorer_auto_optimizer_setting_pb2.py +++ b/google/ads/google_ads/v4/proto/common/explorer_auto_optimizer_setting_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/explorer_auto_optimizer_setting.proto +# source: google/ads/googleads_v4/proto/common/explorer_auto_optimizer_setting.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/explorer_auto_optimizer_setting.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/explorer_auto_optimizer_setting.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB!ExplorerAutoOptimizerSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/common/explorer_auto_optimizer_setting.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"J\n\x1c\x45xplorerAutoOptimizerSetting\x12*\n\x06opt_in\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xfc\x01\n\"com.google.ads.googleads.v1.commonB!ExplorerAutoOptimizerSettingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB!ExplorerAutoOptimizerSettingProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/common/explorer_auto_optimizer_setting.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"J\n\x1c\x45xplorerAutoOptimizerSetting\x12*\n\x06opt_in\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\xfc\x01\n\"com.google.ads.googleads.v4.commonB!ExplorerAutoOptimizerSettingProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,13 +31,13 @@ _EXPLORERAUTOOPTIMIZERSETTING = _descriptor.Descriptor( name='ExplorerAutoOptimizerSetting', - full_name='google.ads.googleads.v1.common.ExplorerAutoOptimizerSetting', + full_name='google.ads.googleads.v4.common.ExplorerAutoOptimizerSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='opt_in', full_name='google.ads.googleads.v1.common.ExplorerAutoOptimizerSetting.opt_in', index=0, + name='opt_in', full_name='google.ads.googleads.v4.common.ExplorerAutoOptimizerSetting.opt_in', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -65,17 +65,18 @@ ExplorerAutoOptimizerSetting = _reflection.GeneratedProtocolMessageType('ExplorerAutoOptimizerSetting', (_message.Message,), dict( DESCRIPTOR = _EXPLORERAUTOOPTIMIZERSETTING, - __module__ = 'google.ads.googleads_v1.proto.common.explorer_auto_optimizer_setting_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.explorer_auto_optimizer_setting_pb2' , - __doc__ = """Settings for the Display Campaign Optimizer, initially termed - "Explorer". + __doc__ = """Settings for the Display Campaign Optimizer, initially named "Explorer". + Learn more about `automatic + targeting `__. Attributes: opt_in: Indicates whether the optimizer is turned on. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ExplorerAutoOptimizerSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ExplorerAutoOptimizerSetting) )) _sym_db.RegisterMessage(ExplorerAutoOptimizerSetting) diff --git a/google/ads/google_ads/v1/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/explorer_auto_optimizer_setting_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/extensions_pb2.py b/google/ads/google_ads/v4/proto/common/extensions_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/common/extensions_pb2.py rename to google/ads/google_ads/v4/proto/common/extensions_pb2.py index ac2b75df1..c29c21cb2 100644 --- a/google/ads/google_ads/v1/proto/common/extensions_pb2.py +++ b/google/ads/google_ads/v4/proto/common/extensions_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/extensions.proto +# source: google/ads/googleads_v4/proto/common/extensions.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,89 +13,89 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v1.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2 -from google.ads.google_ads.v1.proto.enums import app_store_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__store__pb2 -from google.ads.google_ads.v1.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 -from google.ads.google_ads.v1.proto.enums import price_extension_price_qualifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2 -from google.ads.google_ads.v1.proto.enums import price_extension_price_unit_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__unit__pb2 -from google.ads.google_ads.v1.proto.enums import price_extension_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__type__pb2 -from google.ads.google_ads.v1.proto.enums import promotion_extension_discount_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2 -from google.ads.google_ads.v1.proto.enums import promotion_extension_occasion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2 +from google.ads.google_ads.v4.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v4.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2 +from google.ads.google_ads.v4.proto.enums import app_store_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__store__pb2 +from google.ads.google_ads.v4.proto.enums import call_conversion_reporting_state_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2 +from google.ads.google_ads.v4.proto.enums import price_extension_price_qualifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2 +from google.ads.google_ads.v4.proto.enums import price_extension_price_unit_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__unit__pb2 +from google.ads.google_ads.v4.proto.enums import price_extension_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__type__pb2 +from google.ads.google_ads.v4.proto.enums import promotion_extension_discount_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2 +from google.ads.google_ads.v4.proto.enums import promotion_extension_occasion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/extensions.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/extensions.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\017ExtensionsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/common/extensions.proto\x12\x1egoogle.ads.googleads.v1.common\x1a;google/ads/googleads_v1/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v1/proto/common/feed_common.proto\x1a\x33google/ads/googleads_v1/proto/enums/app_store.proto\x1aIgoogle/ads/googleads_v1/proto/enums/call_conversion_reporting_state.proto\x1aIgoogle/ads/googleads_v1/proto/enums/price_extension_price_qualifier.proto\x1a\x44google/ads/googleads_v1/proto/enums/price_extension_price_unit.proto\x1a>google/ads/googleads_v1/proto/enums/price_extension_type.proto\x1aOgoogle/ads/googleads_v1/proto/enums/promotion_extension_discount_modifier.proto\x1a\x46google/ads/googleads_v1/proto/enums/promotion_extension_occasion.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe5\x03\n\x0b\x41ppFeedItem\x12/\n\tlink_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06\x61pp_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n\tapp_store\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.AppStoreEnum.AppStore\x12\x30\n\nfinal_urls\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xbe\x03\n\x0c\x43\x61llFeedItem\x12\x32\n\x0cphone_number\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x15\x63\x61ll_tracking_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12<\n\x16\x63\x61ll_conversion_action\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n!call_conversion_tracking_disabled\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x85\x01\n\x1f\x63\x61ll_conversion_reporting_state\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v1.enums.CallConversionReportingStateEnum.CallConversionReportingState\"E\n\x0f\x43\x61lloutFeedItem\x12\x32\n\x0c\x63\x61llout_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xaa\x03\n\x10LocationFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x63ity\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08province\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0bpostal_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x04\n\x19\x41\x66\x66iliateLocationFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x63ity\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08province\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0bpostal_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x08\x63hain_id\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\nchain_name\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x02\n\x13TextMessageFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04text\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x65xtension_text\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xcd\x03\n\rPriceFeedItem\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v1.enums.PriceExtensionTypeEnum.PriceExtensionType\x12u\n\x0fprice_qualifier\x18\x02 \x01(\x0e\x32\\.google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier\x12;\n\x15tracking_url_template\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x0fprice_offerings\x18\x05 \x03(\x0b\x32*.google.ads.googleads.v1.common.PriceOffer\x12\x36\n\x10\x66inal_url_suffix\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf0\x02\n\nPriceOffer\x12,\n\x06header\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x05price\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v1.common.Money\x12`\n\x04unit\x18\x04 \x01(\x0e\x32R.google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit\x12\x30\n\nfinal_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x06 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"\xb2\x08\n\x11PromotionFeedItem\x12\x36\n\x10promotion_target\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x83\x01\n\x11\x64iscount_modifier\x18\x02 \x01(\x0e\x32h.google.ads.googleads.v1.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier\x12:\n\x14promotion_start_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12promotion_end_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12j\n\x08occasion\x18\t \x01(\x0e\x32X.google.ads.googleads.v1.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion\x12\x30\n\nfinal_urls\x18\n \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\r \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0bpercent_off\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x12\x41\n\x10money_amount_off\x18\x04 \x01(\x0b\x32%.google.ads.googleads.v1.common.MoneyH\x00\x12\x36\n\x0epromotion_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12\x43\n\x12orders_over_amount\x18\x06 \x01(\x0b\x32%.google.ads.googleads.v1.common.MoneyH\x01\x42\x0f\n\rdiscount_typeB\x13\n\x11promotion_trigger\"w\n\x19StructuredSnippetFeedItem\x12,\n\x06header\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06values\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"\xcd\x03\n\x10SitelinkFeedItem\x12/\n\tlink_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05line1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05line2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nfinal_urls\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xea\x01\n\"com.google.ads.googleads.v1.commonB\x0f\x45xtensionsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\017ExtensionsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/common/extensions.proto\x12\x1egoogle.ads.googleads.v4.common\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v4/proto/common/feed_common.proto\x1a\x33google/ads/googleads_v4/proto/enums/app_store.proto\x1aIgoogle/ads/googleads_v4/proto/enums/call_conversion_reporting_state.proto\x1aIgoogle/ads/googleads_v4/proto/enums/price_extension_price_qualifier.proto\x1a\x44google/ads/googleads_v4/proto/enums/price_extension_price_unit.proto\x1a>google/ads/googleads_v4/proto/enums/price_extension_type.proto\x1aOgoogle/ads/googleads_v4/proto/enums/promotion_extension_discount_modifier.proto\x1a\x46google/ads/googleads_v4/proto/enums/promotion_extension_occasion.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe5\x03\n\x0b\x41ppFeedItem\x12/\n\tlink_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06\x61pp_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n\tapp_store\x18\x03 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.AppStoreEnum.AppStore\x12\x30\n\nfinal_urls\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xbe\x03\n\x0c\x43\x61llFeedItem\x12\x32\n\x0cphone_number\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x15\x63\x61ll_tracking_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12<\n\x16\x63\x61ll_conversion_action\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n!call_conversion_tracking_disabled\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x85\x01\n\x1f\x63\x61ll_conversion_reporting_state\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.CallConversionReportingStateEnum.CallConversionReportingState\"E\n\x0f\x43\x61lloutFeedItem\x12\x32\n\x0c\x63\x61llout_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xaa\x03\n\x10LocationFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x63ity\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08province\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0bpostal_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x04\n\x19\x41\x66\x66iliateLocationFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x64\x64ress_line_2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04\x63ity\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08province\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0bpostal_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x08\x63hain_id\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\nchain_name\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x94\x02\n\x13TextMessageFeedItem\x12\x33\n\rbusiness_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0cphone_number\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04text\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x65xtension_text\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xcd\x03\n\rPriceFeedItem\x12V\n\x04type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v4.enums.PriceExtensionTypeEnum.PriceExtensionType\x12u\n\x0fprice_qualifier\x18\x02 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier\x12;\n\x15tracking_url_template\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x0fprice_offerings\x18\x05 \x03(\x0b\x32*.google.ads.googleads.v4.common.PriceOffer\x12\x36\n\x10\x66inal_url_suffix\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf0\x02\n\nPriceOffer\x12,\n\x06header\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x05price\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v4.common.Money\x12`\n\x04unit\x18\x04 \x01(\x0e\x32R.google.ads.googleads.v4.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit\x12\x30\n\nfinal_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x06 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"\xb2\x08\n\x11PromotionFeedItem\x12\x36\n\x10promotion_target\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x83\x01\n\x11\x64iscount_modifier\x18\x02 \x01(\x0e\x32h.google.ads.googleads.v4.enums.PromotionExtensionDiscountModifierEnum.PromotionExtensionDiscountModifier\x12:\n\x14promotion_start_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12promotion_end_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12j\n\x08occasion\x18\t \x01(\x0e\x32X.google.ads.googleads.v4.enums.PromotionExtensionOccasionEnum.PromotionExtensionOccasion\x12\x30\n\nfinal_urls\x18\n \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\r \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0bpercent_off\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x12\x41\n\x10money_amount_off\x18\x04 \x01(\x0b\x32%.google.ads.googleads.v4.common.MoneyH\x00\x12\x36\n\x0epromotion_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12\x43\n\x12orders_over_amount\x18\x06 \x01(\x0b\x32%.google.ads.googleads.v4.common.MoneyH\x01\x42\x0f\n\rdiscount_typeB\x13\n\x11promotion_trigger\"w\n\x19StructuredSnippetFeedItem\x12,\n\x06header\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12,\n\x06values\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"\xcd\x03\n\x10SitelinkFeedItem\x12/\n\tlink_text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05line1\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05line2\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\nfinal_urls\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x07 \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12\x36\n\x10\x66inal_url_suffix\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"w\n\x14HotelCalloutFeedItem\x12*\n\x04text\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xea\x01\n\"com.google.ads.googleads.v4.commonB\x0f\x45xtensionsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__unit__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__unit__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _APPFEEDITEM = _descriptor.Descriptor( name='AppFeedItem', - full_name='google.ads.googleads.v1.common.AppFeedItem', + full_name='google.ads.googleads.v4.common.AppFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='link_text', full_name='google.ads.googleads.v1.common.AppFeedItem.link_text', index=0, + name='link_text', full_name='google.ads.googleads.v4.common.AppFeedItem.link_text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.common.AppFeedItem.app_id', index=1, + name='app_id', full_name='google.ads.googleads.v4.common.AppFeedItem.app_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_store', full_name='google.ads.googleads.v1.common.AppFeedItem.app_store', index=2, + name='app_store', full_name='google.ads.googleads.v4.common.AppFeedItem.app_store', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.common.AppFeedItem.final_urls', index=3, + name='final_urls', full_name='google.ads.googleads.v4.common.AppFeedItem.final_urls', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.common.AppFeedItem.final_mobile_urls', index=4, + name='final_mobile_urls', full_name='google.ads.googleads.v4.common.AppFeedItem.final_mobile_urls', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.common.AppFeedItem.tracking_url_template', index=5, + name='tracking_url_template', full_name='google.ads.googleads.v4.common.AppFeedItem.tracking_url_template', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.common.AppFeedItem.url_custom_parameters', index=6, + name='url_custom_parameters', full_name='google.ads.googleads.v4.common.AppFeedItem.url_custom_parameters', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.common.AppFeedItem.final_url_suffix', index=7, + name='final_url_suffix', full_name='google.ads.googleads.v4.common.AppFeedItem.final_url_suffix', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -120,48 +120,48 @@ _CALLFEEDITEM = _descriptor.Descriptor( name='CallFeedItem', - full_name='google.ads.googleads.v1.common.CallFeedItem', + full_name='google.ads.googleads.v4.common.CallFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v1.common.CallFeedItem.phone_number', index=0, + name='phone_number', full_name='google.ads.googleads.v4.common.CallFeedItem.phone_number', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.CallFeedItem.country_code', index=1, + name='country_code', full_name='google.ads.googleads.v4.common.CallFeedItem.country_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_tracking_enabled', full_name='google.ads.googleads.v1.common.CallFeedItem.call_tracking_enabled', index=2, + name='call_tracking_enabled', full_name='google.ads.googleads.v4.common.CallFeedItem.call_tracking_enabled', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_conversion_action', full_name='google.ads.googleads.v1.common.CallFeedItem.call_conversion_action', index=3, + name='call_conversion_action', full_name='google.ads.googleads.v4.common.CallFeedItem.call_conversion_action', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_conversion_tracking_disabled', full_name='google.ads.googleads.v1.common.CallFeedItem.call_conversion_tracking_disabled', index=4, + name='call_conversion_tracking_disabled', full_name='google.ads.googleads.v4.common.CallFeedItem.call_conversion_tracking_disabled', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_conversion_reporting_state', full_name='google.ads.googleads.v1.common.CallFeedItem.call_conversion_reporting_state', index=5, + name='call_conversion_reporting_state', full_name='google.ads.googleads.v4.common.CallFeedItem.call_conversion_reporting_state', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -186,13 +186,13 @@ _CALLOUTFEEDITEM = _descriptor.Descriptor( name='CalloutFeedItem', - full_name='google.ads.googleads.v1.common.CalloutFeedItem', + full_name='google.ads.googleads.v4.common.CalloutFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='callout_text', full_name='google.ads.googleads.v1.common.CalloutFeedItem.callout_text', index=0, + name='callout_text', full_name='google.ads.googleads.v4.common.CalloutFeedItem.callout_text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -217,62 +217,62 @@ _LOCATIONFEEDITEM = _descriptor.Descriptor( name='LocationFeedItem', - full_name='google.ads.googleads.v1.common.LocationFeedItem', + full_name='google.ads.googleads.v4.common.LocationFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.LocationFeedItem.business_name', index=0, + name='business_name', full_name='google.ads.googleads.v4.common.LocationFeedItem.business_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='address_line_1', full_name='google.ads.googleads.v1.common.LocationFeedItem.address_line_1', index=1, + name='address_line_1', full_name='google.ads.googleads.v4.common.LocationFeedItem.address_line_1', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='address_line_2', full_name='google.ads.googleads.v1.common.LocationFeedItem.address_line_2', index=2, + name='address_line_2', full_name='google.ads.googleads.v4.common.LocationFeedItem.address_line_2', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='city', full_name='google.ads.googleads.v1.common.LocationFeedItem.city', index=3, + name='city', full_name='google.ads.googleads.v4.common.LocationFeedItem.city', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='province', full_name='google.ads.googleads.v1.common.LocationFeedItem.province', index=4, + name='province', full_name='google.ads.googleads.v4.common.LocationFeedItem.province', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='postal_code', full_name='google.ads.googleads.v1.common.LocationFeedItem.postal_code', index=5, + name='postal_code', full_name='google.ads.googleads.v4.common.LocationFeedItem.postal_code', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.LocationFeedItem.country_code', index=6, + name='country_code', full_name='google.ads.googleads.v4.common.LocationFeedItem.country_code', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v1.common.LocationFeedItem.phone_number', index=7, + name='phone_number', full_name='google.ads.googleads.v4.common.LocationFeedItem.phone_number', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -297,76 +297,76 @@ _AFFILIATELOCATIONFEEDITEM = _descriptor.Descriptor( name='AffiliateLocationFeedItem', - full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem', + full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.business_name', index=0, + name='business_name', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.business_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='address_line_1', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.address_line_1', index=1, + name='address_line_1', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.address_line_1', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='address_line_2', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.address_line_2', index=2, + name='address_line_2', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.address_line_2', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='city', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.city', index=3, + name='city', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.city', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='province', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.province', index=4, + name='province', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.province', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='postal_code', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.postal_code', index=5, + name='postal_code', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.postal_code', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.country_code', index=6, + name='country_code', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.country_code', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.phone_number', index=7, + name='phone_number', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.phone_number', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='chain_id', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.chain_id', index=8, + name='chain_id', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.chain_id', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='chain_name', full_name='google.ads.googleads.v1.common.AffiliateLocationFeedItem.chain_name', index=9, + name='chain_name', full_name='google.ads.googleads.v4.common.AffiliateLocationFeedItem.chain_name', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -391,41 +391,41 @@ _TEXTMESSAGEFEEDITEM = _descriptor.Descriptor( name='TextMessageFeedItem', - full_name='google.ads.googleads.v1.common.TextMessageFeedItem', + full_name='google.ads.googleads.v4.common.TextMessageFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='business_name', full_name='google.ads.googleads.v1.common.TextMessageFeedItem.business_name', index=0, + name='business_name', full_name='google.ads.googleads.v4.common.TextMessageFeedItem.business_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.common.TextMessageFeedItem.country_code', index=1, + name='country_code', full_name='google.ads.googleads.v4.common.TextMessageFeedItem.country_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_number', full_name='google.ads.googleads.v1.common.TextMessageFeedItem.phone_number', index=2, + name='phone_number', full_name='google.ads.googleads.v4.common.TextMessageFeedItem.phone_number', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.common.TextMessageFeedItem.text', index=3, + name='text', full_name='google.ads.googleads.v4.common.TextMessageFeedItem.text', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_text', full_name='google.ads.googleads.v1.common.TextMessageFeedItem.extension_text', index=4, + name='extension_text', full_name='google.ads.googleads.v4.common.TextMessageFeedItem.extension_text', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -450,48 +450,48 @@ _PRICEFEEDITEM = _descriptor.Descriptor( name='PriceFeedItem', - full_name='google.ads.googleads.v1.common.PriceFeedItem', + full_name='google.ads.googleads.v4.common.PriceFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.common.PriceFeedItem.type', index=0, + name='type', full_name='google.ads.googleads.v4.common.PriceFeedItem.type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_qualifier', full_name='google.ads.googleads.v1.common.PriceFeedItem.price_qualifier', index=1, + name='price_qualifier', full_name='google.ads.googleads.v4.common.PriceFeedItem.price_qualifier', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.common.PriceFeedItem.tracking_url_template', index=2, + name='tracking_url_template', full_name='google.ads.googleads.v4.common.PriceFeedItem.tracking_url_template', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.common.PriceFeedItem.language_code', index=3, + name='language_code', full_name='google.ads.googleads.v4.common.PriceFeedItem.language_code', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_offerings', full_name='google.ads.googleads.v1.common.PriceFeedItem.price_offerings', index=4, + name='price_offerings', full_name='google.ads.googleads.v4.common.PriceFeedItem.price_offerings', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.common.PriceFeedItem.final_url_suffix', index=5, + name='final_url_suffix', full_name='google.ads.googleads.v4.common.PriceFeedItem.final_url_suffix', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -516,48 +516,48 @@ _PRICEOFFER = _descriptor.Descriptor( name='PriceOffer', - full_name='google.ads.googleads.v1.common.PriceOffer', + full_name='google.ads.googleads.v4.common.PriceOffer', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='header', full_name='google.ads.googleads.v1.common.PriceOffer.header', index=0, + name='header', full_name='google.ads.googleads.v4.common.PriceOffer.header', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.common.PriceOffer.description', index=1, + name='description', full_name='google.ads.googleads.v4.common.PriceOffer.description', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price', full_name='google.ads.googleads.v1.common.PriceOffer.price', index=2, + name='price', full_name='google.ads.googleads.v4.common.PriceOffer.price', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='unit', full_name='google.ads.googleads.v1.common.PriceOffer.unit', index=3, + name='unit', full_name='google.ads.googleads.v4.common.PriceOffer.unit', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.common.PriceOffer.final_urls', index=4, + name='final_urls', full_name='google.ads.googleads.v4.common.PriceOffer.final_urls', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.common.PriceOffer.final_mobile_urls', index=5, + name='final_mobile_urls', full_name='google.ads.googleads.v4.common.PriceOffer.final_mobile_urls', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -582,111 +582,111 @@ _PROMOTIONFEEDITEM = _descriptor.Descriptor( name='PromotionFeedItem', - full_name='google.ads.googleads.v1.common.PromotionFeedItem', + full_name='google.ads.googleads.v4.common.PromotionFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='promotion_target', full_name='google.ads.googleads.v1.common.PromotionFeedItem.promotion_target', index=0, + name='promotion_target', full_name='google.ads.googleads.v4.common.PromotionFeedItem.promotion_target', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='discount_modifier', full_name='google.ads.googleads.v1.common.PromotionFeedItem.discount_modifier', index=1, + name='discount_modifier', full_name='google.ads.googleads.v4.common.PromotionFeedItem.discount_modifier', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promotion_start_date', full_name='google.ads.googleads.v1.common.PromotionFeedItem.promotion_start_date', index=2, + name='promotion_start_date', full_name='google.ads.googleads.v4.common.PromotionFeedItem.promotion_start_date', index=2, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promotion_end_date', full_name='google.ads.googleads.v1.common.PromotionFeedItem.promotion_end_date', index=3, + name='promotion_end_date', full_name='google.ads.googleads.v4.common.PromotionFeedItem.promotion_end_date', index=3, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='occasion', full_name='google.ads.googleads.v1.common.PromotionFeedItem.occasion', index=4, + name='occasion', full_name='google.ads.googleads.v4.common.PromotionFeedItem.occasion', index=4, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.common.PromotionFeedItem.final_urls', index=5, + name='final_urls', full_name='google.ads.googleads.v4.common.PromotionFeedItem.final_urls', index=5, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.common.PromotionFeedItem.final_mobile_urls', index=6, + name='final_mobile_urls', full_name='google.ads.googleads.v4.common.PromotionFeedItem.final_mobile_urls', index=6, number=11, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.common.PromotionFeedItem.tracking_url_template', index=7, + name='tracking_url_template', full_name='google.ads.googleads.v4.common.PromotionFeedItem.tracking_url_template', index=7, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.common.PromotionFeedItem.url_custom_parameters', index=8, + name='url_custom_parameters', full_name='google.ads.googleads.v4.common.PromotionFeedItem.url_custom_parameters', index=8, number=13, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.common.PromotionFeedItem.final_url_suffix', index=9, + name='final_url_suffix', full_name='google.ads.googleads.v4.common.PromotionFeedItem.final_url_suffix', index=9, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.common.PromotionFeedItem.language_code', index=10, + name='language_code', full_name='google.ads.googleads.v4.common.PromotionFeedItem.language_code', index=10, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent_off', full_name='google.ads.googleads.v1.common.PromotionFeedItem.percent_off', index=11, + name='percent_off', full_name='google.ads.googleads.v4.common.PromotionFeedItem.percent_off', index=11, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='money_amount_off', full_name='google.ads.googleads.v1.common.PromotionFeedItem.money_amount_off', index=12, + name='money_amount_off', full_name='google.ads.googleads.v4.common.PromotionFeedItem.money_amount_off', index=12, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promotion_code', full_name='google.ads.googleads.v1.common.PromotionFeedItem.promotion_code', index=13, + name='promotion_code', full_name='google.ads.googleads.v4.common.PromotionFeedItem.promotion_code', index=13, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='orders_over_amount', full_name='google.ads.googleads.v1.common.PromotionFeedItem.orders_over_amount', index=14, + name='orders_over_amount', full_name='google.ads.googleads.v4.common.PromotionFeedItem.orders_over_amount', index=14, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -704,10 +704,10 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='discount_type', full_name='google.ads.googleads.v1.common.PromotionFeedItem.discount_type', + name='discount_type', full_name='google.ads.googleads.v4.common.PromotionFeedItem.discount_type', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='promotion_trigger', full_name='google.ads.googleads.v1.common.PromotionFeedItem.promotion_trigger', + name='promotion_trigger', full_name='google.ads.googleads.v4.common.PromotionFeedItem.promotion_trigger', index=1, containing_type=None, fields=[]), ], serialized_start=3845, @@ -717,20 +717,20 @@ _STRUCTUREDSNIPPETFEEDITEM = _descriptor.Descriptor( name='StructuredSnippetFeedItem', - full_name='google.ads.googleads.v1.common.StructuredSnippetFeedItem', + full_name='google.ads.googleads.v4.common.StructuredSnippetFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='header', full_name='google.ads.googleads.v1.common.StructuredSnippetFeedItem.header', index=0, + name='header', full_name='google.ads.googleads.v4.common.StructuredSnippetFeedItem.header', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='values', full_name='google.ads.googleads.v1.common.StructuredSnippetFeedItem.values', index=1, + name='values', full_name='google.ads.googleads.v4.common.StructuredSnippetFeedItem.values', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -755,62 +755,62 @@ _SITELINKFEEDITEM = _descriptor.Descriptor( name='SitelinkFeedItem', - full_name='google.ads.googleads.v1.common.SitelinkFeedItem', + full_name='google.ads.googleads.v4.common.SitelinkFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='link_text', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.link_text', index=0, + name='link_text', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.link_text', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='line1', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.line1', index=1, + name='line1', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.line1', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='line2', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.line2', index=2, + name='line2', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.line2', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.final_urls', index=3, + name='final_urls', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.final_urls', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.final_mobile_urls', index=4, + name='final_mobile_urls', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.final_mobile_urls', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.tracking_url_template', index=5, + name='tracking_url_template', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.tracking_url_template', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.url_custom_parameters', index=6, + name='url_custom_parameters', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.url_custom_parameters', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.common.SitelinkFeedItem.final_url_suffix', index=7, + name='final_url_suffix', full_name='google.ads.googleads.v4.common.SitelinkFeedItem.final_url_suffix', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -832,20 +832,58 @@ serialized_end=5504, ) + +_HOTELCALLOUTFEEDITEM = _descriptor.Descriptor( + name='HotelCalloutFeedItem', + full_name='google.ads.googleads.v4.common.HotelCalloutFeedItem', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='text', full_name='google.ads.googleads.v4.common.HotelCalloutFeedItem.text', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v4.common.HotelCalloutFeedItem.language_code', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=5506, + serialized_end=5625, +) + _APPFEEDITEM.fields_by_name['link_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _APPFEEDITEM.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_APPFEEDITEM.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__store__pb2._APPSTOREENUM_APPSTORE +_APPFEEDITEM.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__store__pb2._APPSTOREENUM_APPSTORE _APPFEEDITEM.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _APPFEEDITEM.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _APPFEEDITEM.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_APPFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_APPFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER _APPFEEDITEM.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CALLFEEDITEM.fields_by_name['phone_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CALLFEEDITEM.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CALLFEEDITEM.fields_by_name['call_tracking_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CALLFEEDITEM.fields_by_name['call_conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CALLFEEDITEM.fields_by_name['call_conversion_tracking_disabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CALLFEEDITEM.fields_by_name['call_conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE +_CALLFEEDITEM.fields_by_name['call_conversion_reporting_state'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__conversion__reporting__state__pb2._CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE _CALLOUTFEEDITEM.fields_by_name['callout_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONFEEDITEM.fields_by_name['business_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _LOCATIONFEEDITEM.fields_by_name['address_line_1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -870,33 +908,33 @@ _TEXTMESSAGEFEEDITEM.fields_by_name['phone_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _TEXTMESSAGEFEEDITEM.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _TEXTMESSAGEFEEDITEM.fields_by_name['extension_text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRICEFEEDITEM.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__type__pb2._PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE -_PRICEFEEDITEM.fields_by_name['price_qualifier'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2._PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER +_PRICEFEEDITEM.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__type__pb2._PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE +_PRICEFEEDITEM.fields_by_name['price_qualifier'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__qualifier__pb2._PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER _PRICEFEEDITEM.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRICEFEEDITEM.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRICEFEEDITEM.fields_by_name['price_offerings'].message_type = _PRICEOFFER _PRICEFEEDITEM.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRICEOFFER.fields_by_name['header'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRICEOFFER.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PRICEOFFER.fields_by_name['price'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2._MONEY -_PRICEOFFER.fields_by_name['unit'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__extension__price__unit__pb2._PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT +_PRICEOFFER.fields_by_name['price'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_PRICEOFFER.fields_by_name['unit'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__extension__price__unit__pb2._PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT _PRICEOFFER.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PRICEOFFER.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['promotion_target'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PROMOTIONFEEDITEM.fields_by_name['discount_modifier'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2._PROMOTIONEXTENSIONDISCOUNTMODIFIERENUM_PROMOTIONEXTENSIONDISCOUNTMODIFIER +_PROMOTIONFEEDITEM.fields_by_name['discount_modifier'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__discount__modifier__pb2._PROMOTIONEXTENSIONDISCOUNTMODIFIERENUM_PROMOTIONEXTENSIONDISCOUNTMODIFIER _PROMOTIONFEEDITEM.fields_by_name['promotion_start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['promotion_end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PROMOTIONFEEDITEM.fields_by_name['occasion'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2._PROMOTIONEXTENSIONOCCASIONENUM_PROMOTIONEXTENSIONOCCASION +_PROMOTIONFEEDITEM.fields_by_name['occasion'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__extension__occasion__pb2._PROMOTIONEXTENSIONOCCASIONENUM_PROMOTIONEXTENSIONOCCASION _PROMOTIONFEEDITEM.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PROMOTIONFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_PROMOTIONFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER _PROMOTIONFEEDITEM.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _PROMOTIONFEEDITEM.fields_by_name['percent_off'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_PROMOTIONFEEDITEM.fields_by_name['money_amount_off'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_PROMOTIONFEEDITEM.fields_by_name['money_amount_off'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2._MONEY _PROMOTIONFEEDITEM.fields_by_name['promotion_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_PROMOTIONFEEDITEM.fields_by_name['orders_over_amount'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_PROMOTIONFEEDITEM.fields_by_name['orders_over_amount'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2._MONEY _PROMOTIONFEEDITEM.oneofs_by_name['discount_type'].fields.append( _PROMOTIONFEEDITEM.fields_by_name['percent_off']) _PROMOTIONFEEDITEM.fields_by_name['percent_off'].containing_oneof = _PROMOTIONFEEDITEM.oneofs_by_name['discount_type'] @@ -917,8 +955,10 @@ _SITELINKFEEDITEM.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SITELINKFEEDITEM.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SITELINKFEEDITEM.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SITELINKFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_SITELINKFEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER _SITELINKFEEDITEM.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_HOTELCALLOUTFEEDITEM.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_HOTELCALLOUTFEEDITEM.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE DESCRIPTOR.message_types_by_name['AppFeedItem'] = _APPFEEDITEM DESCRIPTOR.message_types_by_name['CallFeedItem'] = _CALLFEEDITEM DESCRIPTOR.message_types_by_name['CalloutFeedItem'] = _CALLOUTFEEDITEM @@ -930,11 +970,12 @@ DESCRIPTOR.message_types_by_name['PromotionFeedItem'] = _PROMOTIONFEEDITEM DESCRIPTOR.message_types_by_name['StructuredSnippetFeedItem'] = _STRUCTUREDSNIPPETFEEDITEM DESCRIPTOR.message_types_by_name['SitelinkFeedItem'] = _SITELINKFEEDITEM +DESCRIPTOR.message_types_by_name['HotelCalloutFeedItem'] = _HOTELCALLOUTFEEDITEM _sym_db.RegisterFileDescriptor(DESCRIPTOR) AppFeedItem = _reflection.GeneratedProtocolMessageType('AppFeedItem', (_message.Message,), dict( DESCRIPTOR = _APPFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents an App extension. @@ -967,13 +1008,13 @@ URL template for appending params to landing page URLs served with parallel tracking. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AppFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AppFeedItem) )) _sym_db.RegisterMessage(AppFeedItem) CallFeedItem = _reflection.GeneratedProtocolMessageType('CallFeedItem', (_message.Message,), dict( DESCRIPTOR = _CALLFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a Call extension. @@ -1002,13 +1043,13 @@ own call conversion setting (or just have call conversion disabled), or following the account level setting. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CallFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CallFeedItem) )) _sym_db.RegisterMessage(CallFeedItem) CalloutFeedItem = _reflection.GeneratedProtocolMessageType('CalloutFeedItem', (_message.Message,), dict( DESCRIPTOR = _CALLOUTFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a callout extension. @@ -1018,13 +1059,13 @@ The callout text. The length of this string should be between 1 and 25, inclusive. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CalloutFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CalloutFeedItem) )) _sym_db.RegisterMessage(CalloutFeedItem) LocationFeedItem = _reflection.GeneratedProtocolMessageType('LocationFeedItem', (_message.Message,), dict( DESCRIPTOR = _LOCATIONFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a location extension. @@ -1047,13 +1088,13 @@ phone_number: Phone number of the business. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LocationFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LocationFeedItem) )) _sym_db.RegisterMessage(LocationFeedItem) AffiliateLocationFeedItem = _reflection.GeneratedProtocolMessageType('AffiliateLocationFeedItem', (_message.Message,), dict( DESCRIPTOR = _AFFILIATELOCATIONFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents an affiliate location extension. @@ -1081,13 +1122,13 @@ chain_name: Name of chain. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.AffiliateLocationFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.AffiliateLocationFeedItem) )) _sym_db.RegisterMessage(AffiliateLocationFeedItem) TextMessageFeedItem = _reflection.GeneratedProtocolMessageType('TextMessageFeedItem', (_message.Message,), dict( DESCRIPTOR = _TEXTMESSAGEFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """An extension that users can click on to send a text message to the advertiser. @@ -1108,13 +1149,13 @@ extension_text: The message text populated in the messaging app. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TextMessageFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TextMessageFeedItem) )) _sym_db.RegisterMessage(TextMessageFeedItem) PriceFeedItem = _reflection.GeneratedProtocolMessageType('PriceFeedItem', (_message.Message,), dict( DESCRIPTOR = _PRICEFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a Price extension. @@ -1134,13 +1175,13 @@ URL template for appending params to landing page URLs served with parallel tracking. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PriceFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PriceFeedItem) )) _sym_db.RegisterMessage(PriceFeedItem) PriceOffer = _reflection.GeneratedProtocolMessageType('PriceOffer', (_message.Message,), dict( DESCRIPTOR = _PRICEOFFER, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents one price offer in a price extension. @@ -1161,13 +1202,13 @@ A list of possible final mobile URLs after all cross domain redirects. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PriceOffer) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PriceOffer) )) _sym_db.RegisterMessage(PriceOffer) PromotionFeedItem = _reflection.GeneratedProtocolMessageType('PromotionFeedItem', (_message.Message,), dict( DESCRIPTOR = _PROMOTIONFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a Promotion extension. @@ -1223,13 +1264,13 @@ The amount the total order needs to be for the user to be eligible for the promotion. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.PromotionFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.PromotionFeedItem) )) _sym_db.RegisterMessage(PromotionFeedItem) StructuredSnippetFeedItem = _reflection.GeneratedProtocolMessageType('StructuredSnippetFeedItem', (_message.Message,), dict( DESCRIPTOR = _STRUCTUREDSNIPPETFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a structured snippet extension. @@ -1241,13 +1282,13 @@ The values in the snippet. The maximum size of this collection is 10. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.StructuredSnippetFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.StructuredSnippetFeedItem) )) _sym_db.RegisterMessage(StructuredSnippetFeedItem) SitelinkFeedItem = _reflection.GeneratedProtocolMessageType('SitelinkFeedItem', (_message.Message,), dict( DESCRIPTOR = _SITELINKFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.common.extensions_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' , __doc__ = """Represents a sitelink extension. @@ -1280,10 +1321,29 @@ Final URL suffix to be appended to landing page URLs served with parallel tracking. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.SitelinkFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.SitelinkFeedItem) )) _sym_db.RegisterMessage(SitelinkFeedItem) +HotelCalloutFeedItem = _reflection.GeneratedProtocolMessageType('HotelCalloutFeedItem', (_message.Message,), dict( + DESCRIPTOR = _HOTELCALLOUTFEEDITEM, + __module__ = 'google.ads.googleads_v4.proto.common.extensions_pb2' + , + __doc__ = """Represents a hotel callout extension. + + + Attributes: + text: + The callout text. The length of this string should be between + 1 and 25, inclusive. + language_code: + The language of the hotel callout text. IETF BCP 47 compliant + language code. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.HotelCalloutFeedItem) + )) +_sym_db.RegisterMessage(HotelCalloutFeedItem) + DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/common/extensions_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/extensions_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/extensions_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/extensions_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/feed_common_pb2.py b/google/ads/google_ads/v4/proto/common/feed_common_pb2.py similarity index 71% rename from google/ads/google_ads/v1/proto/common/feed_common_pb2.py rename to google/ads/google_ads/v4/proto/common/feed_common_pb2.py index 12863d42c..17dff12fe 100644 --- a/google/ads/google_ads/v1/proto/common/feed_common_pb2.py +++ b/google/ads/google_ads/v4/proto/common/feed_common_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/feed_common.proto +# source: google/ads/googleads_v4/proto/common/feed_common.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/feed_common.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/feed_common.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\017FeedCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/common/feed_common.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"p\n\x05Money\x12\x33\n\rcurrency_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\ramount_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xea\x01\n\"com.google.ads.googleads.v1.commonB\x0f\x46\x65\x65\x64\x43ommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\017FeedCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/common/feed_common.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"p\n\x05Money\x12\x33\n\rcurrency_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\ramount_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xea\x01\n\"com.google.ads.googleads.v4.commonB\x0f\x46\x65\x65\x64\x43ommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,20 +31,20 @@ _MONEY = _descriptor.Descriptor( name='Money', - full_name='google.ads.googleads.v1.common.Money', + full_name='google.ads.googleads.v4.common.Money', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.common.Money.currency_code', index=0, + name='currency_code', full_name='google.ads.googleads.v4.common.Money.currency_code', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='amount_micros', full_name='google.ads.googleads.v1.common.Money.amount_micros', index=1, + name='amount_micros', full_name='google.ads.googleads.v4.common.Money.amount_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -73,7 +73,7 @@ Money = _reflection.GeneratedProtocolMessageType('Money', (_message.Message,), dict( DESCRIPTOR = _MONEY, - __module__ = 'google.ads.googleads_v1.proto.common.feed_common_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.feed_common_pb2' , __doc__ = """Represents a price in a particular currency. @@ -84,7 +84,7 @@ amount_micros: Amount in micros. One million is equivalent to one unit. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Money) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Money) )) _sym_db.RegisterMessage(Money) diff --git a/google/ads/google_ads/v1/proto/common/feed_common_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/feed_common_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/feed_common_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/feed_common_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/final_app_url_pb2.py b/google/ads/google_ads/v4/proto/common/final_app_url_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/common/final_app_url_pb2.py rename to google/ads/google_ads/v4/proto/common/final_app_url_pb2.py index 52c13f63b..29a2d7053 100644 --- a/google/ads/google_ads/v1/proto/common/final_app_url_pb2.py +++ b/google/ads/google_ads/v4/proto/common/final_app_url_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/final_app_url.proto +# source: google/ads/googleads_v4/proto/common/final_app_url.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,39 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import app_url_operating_system_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2 +from google.ads.google_ads.v4.proto.enums import app_url_operating_system_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/final_app_url.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/final_app_url.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\020FinalAppUrlProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/common/final_app_url.proto\x12\x1egoogle.ads.googleads.v1.common\x1aGgoogle/ads/googleads_v1/proto/enums/app_url_operating_system_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa1\x01\n\x0b\x46inalAppUrl\x12g\n\x07os_type\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v1.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType\x12)\n\x03url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xeb\x01\n\"com.google.ads.googleads.v1.commonB\x10\x46inalAppUrlProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\020FinalAppUrlProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/common/final_app_url.proto\x12\x1egoogle.ads.googleads.v4.common\x1aGgoogle/ads/googleads_v4/proto/enums/app_url_operating_system_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa1\x01\n\x0b\x46inalAppUrl\x12g\n\x07os_type\x18\x01 \x01(\x0e\x32V.google.ads.googleads.v4.enums.AppUrlOperatingSystemTypeEnum.AppUrlOperatingSystemType\x12)\n\x03url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xeb\x01\n\"com.google.ads.googleads.v4.commonB\x10\x46inalAppUrlProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _FINALAPPURL = _descriptor.Descriptor( name='FinalAppUrl', - full_name='google.ads.googleads.v1.common.FinalAppUrl', + full_name='google.ads.googleads.v4.common.FinalAppUrl', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='os_type', full_name='google.ads.googleads.v1.common.FinalAppUrl.os_type', index=0, + name='os_type', full_name='google.ads.googleads.v4.common.FinalAppUrl.os_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v1.common.FinalAppUrl.url', index=1, + name='url', full_name='google.ads.googleads.v4.common.FinalAppUrl.url', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -67,14 +67,14 @@ serialized_end=389, ) -_FINALAPPURL.fields_by_name['os_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2._APPURLOPERATINGSYSTEMTYPEENUM_APPURLOPERATINGSYSTEMTYPE +_FINALAPPURL.fields_by_name['os_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__url__operating__system__type__pb2._APPURLOPERATINGSYSTEMTYPEENUM_APPURLOPERATINGSYSTEMTYPE _FINALAPPURL.fields_by_name['url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE DESCRIPTOR.message_types_by_name['FinalAppUrl'] = _FINALAPPURL _sym_db.RegisterFileDescriptor(DESCRIPTOR) FinalAppUrl = _reflection.GeneratedProtocolMessageType('FinalAppUrl', (_message.Message,), dict( DESCRIPTOR = _FINALAPPURL, - __module__ = 'google.ads.googleads_v1.proto.common.final_app_url_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.final_app_url_pb2' , __doc__ = """A URL for deep linking into an app for the given operating system. @@ -91,7 +91,7 @@ unique location in the app where your content exists. Example: "exampleapp://productid\_1234". Required. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.FinalAppUrl) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.FinalAppUrl) )) _sym_db.RegisterMessage(FinalAppUrl) diff --git a/google/ads/google_ads/v1/proto/common/final_app_url_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/final_app_url_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/final_app_url_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/final_app_url_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/frequency_cap_pb2.py b/google/ads/google_ads/v4/proto/common/frequency_cap_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/common/frequency_cap_pb2.py rename to google/ads/google_ads/v4/proto/common/frequency_cap_pb2.py index a5cf16403..c469697cf 100644 --- a/google/ads/google_ads/v1/proto/common/frequency_cap_pb2.py +++ b/google/ads/google_ads/v4/proto/common/frequency_cap_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/frequency_cap.proto +# source: google/ads/googleads_v4/proto/common/frequency_cap.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,41 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import frequency_cap_event_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2 -from google.ads.google_ads.v1.proto.enums import frequency_cap_level_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__level__pb2 -from google.ads.google_ads.v1.proto.enums import frequency_cap_time_unit_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2 +from google.ads.google_ads.v4.proto.enums import frequency_cap_event_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2 +from google.ads.google_ads.v4.proto.enums import frequency_cap_level_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__level__pb2 +from google.ads.google_ads.v4.proto.enums import frequency_cap_time_unit_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/frequency_cap.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/frequency_cap.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\021FrequencyCapProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/common/frequency_cap.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x42google/ads/googleads_v1/proto/enums/frequency_cap_event_type.proto\x1a=google/ads/googleads_v1/proto/enums/frequency_cap_level.proto\x1a\x41google/ads/googleads_v1/proto/enums/frequency_cap_time_unit.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"{\n\x11\x46requencyCapEntry\x12<\n\x03key\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v1.common.FrequencyCapKey\x12(\n\x03\x63\x61p\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"\xdf\x02\n\x0f\x46requencyCapKey\x12U\n\x05level\x18\x01 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.FrequencyCapLevelEnum.FrequencyCapLevel\x12\x62\n\nevent_type\x18\x03 \x01(\x0e\x32N.google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType\x12_\n\ttime_unit\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit\x12\x30\n\x0btime_length\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\xec\x01\n\"com.google.ads.googleads.v1.commonB\x11\x46requencyCapProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\021FrequencyCapProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/common/frequency_cap.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x42google/ads/googleads_v4/proto/enums/frequency_cap_event_type.proto\x1a=google/ads/googleads_v4/proto/enums/frequency_cap_level.proto\x1a\x41google/ads/googleads_v4/proto/enums/frequency_cap_time_unit.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"{\n\x11\x46requencyCapEntry\x12<\n\x03key\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v4.common.FrequencyCapKey\x12(\n\x03\x63\x61p\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"\xdf\x02\n\x0f\x46requencyCapKey\x12U\n\x05level\x18\x01 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.FrequencyCapLevelEnum.FrequencyCapLevel\x12\x62\n\nevent_type\x18\x03 \x01(\x0e\x32N.google.ads.googleads.v4.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType\x12_\n\ttime_unit\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v4.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit\x12\x30\n\x0btime_length\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\xec\x01\n\"com.google.ads.googleads.v4.commonB\x11\x46requencyCapProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _FREQUENCYCAPENTRY = _descriptor.Descriptor( name='FrequencyCapEntry', - full_name='google.ads.googleads.v1.common.FrequencyCapEntry', + full_name='google.ads.googleads.v4.common.FrequencyCapEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='key', full_name='google.ads.googleads.v1.common.FrequencyCapEntry.key', index=0, + name='key', full_name='google.ads.googleads.v4.common.FrequencyCapEntry.key', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cap', full_name='google.ads.googleads.v1.common.FrequencyCapEntry.cap', index=1, + name='cap', full_name='google.ads.googleads.v4.common.FrequencyCapEntry.cap', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -72,34 +72,34 @@ _FREQUENCYCAPKEY = _descriptor.Descriptor( name='FrequencyCapKey', - full_name='google.ads.googleads.v1.common.FrequencyCapKey', + full_name='google.ads.googleads.v4.common.FrequencyCapKey', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='level', full_name='google.ads.googleads.v1.common.FrequencyCapKey.level', index=0, + name='level', full_name='google.ads.googleads.v4.common.FrequencyCapKey.level', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='event_type', full_name='google.ads.googleads.v1.common.FrequencyCapKey.event_type', index=1, + name='event_type', full_name='google.ads.googleads.v4.common.FrequencyCapKey.event_type', index=1, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='time_unit', full_name='google.ads.googleads.v1.common.FrequencyCapKey.time_unit', index=2, + name='time_unit', full_name='google.ads.googleads.v4.common.FrequencyCapKey.time_unit', index=2, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='time_length', full_name='google.ads.googleads.v1.common.FrequencyCapKey.time_length', index=3, + name='time_length', full_name='google.ads.googleads.v4.common.FrequencyCapKey.time_length', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -123,9 +123,9 @@ _FREQUENCYCAPENTRY.fields_by_name['key'].message_type = _FREQUENCYCAPKEY _FREQUENCYCAPENTRY.fields_by_name['cap'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_FREQUENCYCAPKEY.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__level__pb2._FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL -_FREQUENCYCAPKEY.fields_by_name['event_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2._FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE -_FREQUENCYCAPKEY.fields_by_name['time_unit'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2._FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT +_FREQUENCYCAPKEY.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__level__pb2._FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL +_FREQUENCYCAPKEY.fields_by_name['event_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__event__type__pb2._FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE +_FREQUENCYCAPKEY.fields_by_name['time_unit'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2._FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT _FREQUENCYCAPKEY.fields_by_name['time_length'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE DESCRIPTOR.message_types_by_name['FrequencyCapEntry'] = _FREQUENCYCAPENTRY DESCRIPTOR.message_types_by_name['FrequencyCapKey'] = _FREQUENCYCAPKEY @@ -133,7 +133,7 @@ FrequencyCapEntry = _reflection.GeneratedProtocolMessageType('FrequencyCapEntry', (_message.Message,), dict( DESCRIPTOR = _FREQUENCYCAPENTRY, - __module__ = 'google.ads.googleads_v1.proto.common.frequency_cap_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.frequency_cap_pb2' , __doc__ = """A rule specifying the maximum number of times an ad (or some set of ads) can be shown to a user over a particular time period. @@ -147,13 +147,13 @@ Maximum number of events allowed during the time range by this cap. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.FrequencyCapEntry) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.FrequencyCapEntry) )) _sym_db.RegisterMessage(FrequencyCapEntry) FrequencyCapKey = _reflection.GeneratedProtocolMessageType('FrequencyCapKey', (_message.Message,), dict( DESCRIPTOR = _FREQUENCYCAPKEY, - __module__ = 'google.ads.googleads_v1.proto.common.frequency_cap_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.frequency_cap_pb2' , __doc__ = """A group of fields used as keys for a frequency cap. There can be no more than one frequency cap with the same key. @@ -171,7 +171,7 @@ time_length: Number of time units the cap lasts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.FrequencyCapKey) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.FrequencyCapKey) )) _sym_db.RegisterMessage(FrequencyCapKey) diff --git a/google/ads/google_ads/v1/proto/common/frequency_cap_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/frequency_cap_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/frequency_cap_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/frequency_cap_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2.py b/google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2.py new file mode 100644 index 000000000..2853669fd --- /dev/null +++ b/google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2.py @@ -0,0 +1,214 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/common/keyword_plan_common.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import keyword_plan_competition_level_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2 +from google.ads.google_ads.v4.proto.enums import month_of_year_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/common/keyword_plan_common.proto', + package='google.ads.googleads.v4.common', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\026KeywordPlanCommonProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/common/keyword_plan_common.proto\x12\x1egoogle.ads.googleads.v4.common\x1aHgoogle/ads/googleads_v4/proto/enums/keyword_plan_competition_level.proto\x1a\x37google/ads/googleads_v4/proto/enums/month_of_year.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xda\x03\n\x1cKeywordPlanHistoricalMetrics\x12\x39\n\x14\x61vg_monthly_searches\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12S\n\x16monthly_search_volumes\x18\x06 \x03(\x0b\x32\x33.google.ads.googleads.v4.common.MonthlySearchVolume\x12o\n\x0b\x63ompetition\x18\x02 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.KeywordPlanCompetitionLevelEnum.KeywordPlanCompetitionLevel\x12\x36\n\x11\x63ompetition_index\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x1alow_top_of_page_bid_micros\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1bhigh_top_of_page_bid_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xc2\x01\n\x13MonthlySearchVolume\x12)\n\x04year\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12I\n\x05month\x18\x02 \x01(\x0e\x32:.google.ads.googleads.v4.enums.MonthOfYearEnum.MonthOfYear\x12\x35\n\x10monthly_searches\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xf1\x01\n\"com.google.ads.googleads.v4.commonB\x16KeywordPlanCommonProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_KEYWORDPLANHISTORICALMETRICS = _descriptor.Descriptor( + name='KeywordPlanHistoricalMetrics', + full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='avg_monthly_searches', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.avg_monthly_searches', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='monthly_search_volumes', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.monthly_search_volumes', index=1, + number=6, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='competition', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.competition', index=2, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='competition_index', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.competition_index', index=3, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='low_top_of_page_bid_micros', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.low_top_of_page_bid_micros', index=4, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='high_top_of_page_bid_micros', full_name='google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics.high_top_of_page_bid_micros', index=5, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=292, + serialized_end=766, +) + + +_MONTHLYSEARCHVOLUME = _descriptor.Descriptor( + name='MonthlySearchVolume', + full_name='google.ads.googleads.v4.common.MonthlySearchVolume', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='year', full_name='google.ads.googleads.v4.common.MonthlySearchVolume.year', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='month', full_name='google.ads.googleads.v4.common.MonthlySearchVolume.month', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='monthly_searches', full_name='google.ads.googleads.v4.common.MonthlySearchVolume.monthly_searches', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=769, + serialized_end=963, +) + +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['avg_monthly_searches'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['monthly_search_volumes'].message_type = _MONTHLYSEARCHVOLUME +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__competition__level__pb2._KEYWORDPLANCOMPETITIONLEVELENUM_KEYWORDPLANCOMPETITIONLEVEL +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['competition_index'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['low_top_of_page_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_KEYWORDPLANHISTORICALMETRICS.fields_by_name['high_top_of_page_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MONTHLYSEARCHVOLUME.fields_by_name['year'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MONTHLYSEARCHVOLUME.fields_by_name['month'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2._MONTHOFYEARENUM_MONTHOFYEAR +_MONTHLYSEARCHVOLUME.fields_by_name['monthly_searches'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['KeywordPlanHistoricalMetrics'] = _KEYWORDPLANHISTORICALMETRICS +DESCRIPTOR.message_types_by_name['MonthlySearchVolume'] = _MONTHLYSEARCHVOLUME +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanHistoricalMetrics = _reflection.GeneratedProtocolMessageType('KeywordPlanHistoricalMetrics', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANHISTORICALMETRICS, + __module__ = 'google.ads.googleads_v4.proto.common.keyword_plan_common_pb2' + , + __doc__ = """Historical metrics specific to the targeting options selected. Targeting + options include geographies, network, etc. Refer to + https://support.google.com/google-ads/answer/3022575 for more details. + + + Attributes: + avg_monthly_searches: + Approximate number of monthly searches on this query averaged + for the past 12 months. + monthly_search_volumes: + Approximate number of searches on this query for the past + twelve months. + competition: + The competition level for the query. + competition_index: + The competition index for the query in the range [0, 100]. + Shows how competitive ad placement is for a keyword. The level + of competition from 0-100 is determined by the number of ad + slots filled divided by the total number of ad slots + available. If not enough data is available, null is returned. + low_top_of_page_bid_micros: + Top of page bid low range (20th percentile) in micros for the + keyword. + high_top_of_page_bid_micros: + Top of page bid high range (80th percentile) in micros for the + keyword. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics) + )) +_sym_db.RegisterMessage(KeywordPlanHistoricalMetrics) + +MonthlySearchVolume = _reflection.GeneratedProtocolMessageType('MonthlySearchVolume', (_message.Message,), dict( + DESCRIPTOR = _MONTHLYSEARCHVOLUME, + __module__ = 'google.ads.googleads_v4.proto.common.keyword_plan_common_pb2' + , + __doc__ = """Monthly search volume. + + + Attributes: + year: + The year of the search volume (e.g. 2020). + month: + The month of the search volume. + monthly_searches: + Approximate number of searches for the month. A null value + indicates the search volume is unavailable for that month. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MonthlySearchVolume) + )) +_sym_db.RegisterMessage(MonthlySearchVolume) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/keyword_plan_common_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/keyword_plan_common_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/matching_function_pb2.py b/google/ads/google_ads/v4/proto/common/matching_function_pb2.py similarity index 79% rename from google/ads/google_ads/v1/proto/common/matching_function_pb2.py rename to google/ads/google_ads/v4/proto/common/matching_function_pb2.py index acc32a4cd..471e2adf7 100644 --- a/google/ads/google_ads/v1/proto/common/matching_function_pb2.py +++ b/google/ads/google_ads/v4/proto/common/matching_function_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/matching_function.proto +# source: google/ads/googleads_v4/proto/common/matching_function.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,54 +13,54 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import matching_function_context_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__context__type__pb2 -from google.ads.google_ads.v1.proto.enums import matching_function_operator_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__operator__pb2 +from google.ads.google_ads.v4.proto.enums import matching_function_context_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__context__type__pb2 +from google.ads.google_ads.v4.proto.enums import matching_function_operator_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__operator__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/matching_function.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/matching_function.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\025MatchingFunctionProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n\n\rleft_operands\x18\x02 \x03(\x0b\x32\'.google.ads.googleads.v1.common.Operand\x12?\n\x0eright_operands\x18\x03 \x03(\x0b\x32\'.google.ads.googleads.v1.common.Operand\"\xfe\x07\n\x07Operand\x12S\n\x10\x63onstant_operand\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v1.common.Operand.ConstantOperandH\x00\x12^\n\x16\x66\x65\x65\x64_attribute_operand\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v1.common.Operand.FeedAttributeOperandH\x00\x12S\n\x10\x66unction_operand\x18\x03 \x01(\x0b\x32\x37.google.ads.googleads.v1.common.Operand.FunctionOperandH\x00\x12`\n\x17request_context_operand\x18\x04 \x01(\x0b\x32=.google.ads.googleads.v1.common.Operand.RequestContextOperandH\x00\x1a\xff\x01\n\x0f\x43onstantOperand\x12\x34\n\x0cstring_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12\x31\n\nlong_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x12\x33\n\rboolean_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x12\x34\n\x0c\x64ouble_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueH\x00\x42\x18\n\x16\x63onstant_operand_value\x1a|\n\x14\x46\x65\x65\x64\x41ttributeOperand\x12,\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11\x66\x65\x65\x64_attribute_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a^\n\x0f\x46unctionOperand\x12K\n\x11matching_function\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.MatchingFunction\x1a\x89\x01\n\x15RequestContextOperand\x12p\n\x0c\x63ontext_type\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextTypeB\x1b\n\x19\x66unction_argument_operandB\xf0\x01\n\"com.google.ads.googleads.v1.commonB\x15MatchingFunctionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\025MatchingFunctionProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n\n\rleft_operands\x18\x02 \x03(\x0b\x32\'.google.ads.googleads.v4.common.Operand\x12?\n\x0eright_operands\x18\x03 \x03(\x0b\x32\'.google.ads.googleads.v4.common.Operand\"\xfe\x07\n\x07Operand\x12S\n\x10\x63onstant_operand\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v4.common.Operand.ConstantOperandH\x00\x12^\n\x16\x66\x65\x65\x64_attribute_operand\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v4.common.Operand.FeedAttributeOperandH\x00\x12S\n\x10\x66unction_operand\x18\x03 \x01(\x0b\x32\x37.google.ads.googleads.v4.common.Operand.FunctionOperandH\x00\x12`\n\x17request_context_operand\x18\x04 \x01(\x0b\x32=.google.ads.googleads.v4.common.Operand.RequestContextOperandH\x00\x1a\xff\x01\n\x0f\x43onstantOperand\x12\x34\n\x0cstring_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12\x31\n\nlong_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x00\x12\x33\n\rboolean_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueH\x00\x12\x34\n\x0c\x64ouble_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueH\x00\x42\x18\n\x16\x63onstant_operand_value\x1a|\n\x14\x46\x65\x65\x64\x41ttributeOperand\x12,\n\x07\x66\x65\x65\x64_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11\x66\x65\x65\x64_attribute_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a^\n\x0f\x46unctionOperand\x12K\n\x11matching_function\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.MatchingFunction\x1a\x89\x01\n\x15RequestContextOperand\x12p\n\x0c\x63ontext_type\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextTypeB\x1b\n\x19\x66unction_argument_operandB\xf0\x01\n\"com.google.ads.googleads.v4.commonB\x15MatchingFunctionProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__context__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__context__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _MATCHINGFUNCTION = _descriptor.Descriptor( name='MatchingFunction', - full_name='google.ads.googleads.v1.common.MatchingFunction', + full_name='google.ads.googleads.v4.common.MatchingFunction', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='function_string', full_name='google.ads.googleads.v1.common.MatchingFunction.function_string', index=0, + name='function_string', full_name='google.ads.googleads.v4.common.MatchingFunction.function_string', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.MatchingFunction.operator', index=1, + name='operator', full_name='google.ads.googleads.v4.common.MatchingFunction.operator', index=1, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='left_operands', full_name='google.ads.googleads.v1.common.MatchingFunction.left_operands', index=2, + name='left_operands', full_name='google.ads.googleads.v4.common.MatchingFunction.left_operands', index=2, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='right_operands', full_name='google.ads.googleads.v1.common.MatchingFunction.right_operands', index=3, + name='right_operands', full_name='google.ads.googleads.v4.common.MatchingFunction.right_operands', index=3, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -85,34 +85,34 @@ _OPERAND_CONSTANTOPERAND = _descriptor.Descriptor( name='ConstantOperand', - full_name='google.ads.googleads.v1.common.Operand.ConstantOperand', + full_name='google.ads.googleads.v4.common.Operand.ConstantOperand', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='string_value', full_name='google.ads.googleads.v1.common.Operand.ConstantOperand.string_value', index=0, + name='string_value', full_name='google.ads.googleads.v4.common.Operand.ConstantOperand.string_value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='long_value', full_name='google.ads.googleads.v1.common.Operand.ConstantOperand.long_value', index=1, + name='long_value', full_name='google.ads.googleads.v4.common.Operand.ConstantOperand.long_value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='boolean_value', full_name='google.ads.googleads.v1.common.Operand.ConstantOperand.boolean_value', index=2, + name='boolean_value', full_name='google.ads.googleads.v4.common.Operand.ConstantOperand.boolean_value', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='double_value', full_name='google.ads.googleads.v1.common.Operand.ConstantOperand.double_value', index=3, + name='double_value', full_name='google.ads.googleads.v4.common.Operand.ConstantOperand.double_value', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -130,7 +130,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='constant_operand_value', full_name='google.ads.googleads.v1.common.Operand.ConstantOperand.constant_operand_value', + name='constant_operand_value', full_name='google.ads.googleads.v4.common.Operand.ConstantOperand.constant_operand_value', index=0, containing_type=None, fields=[]), ], serialized_start=988, @@ -139,20 +139,20 @@ _OPERAND_FEEDATTRIBUTEOPERAND = _descriptor.Descriptor( name='FeedAttributeOperand', - full_name='google.ads.googleads.v1.common.Operand.FeedAttributeOperand', + full_name='google.ads.googleads.v4.common.Operand.FeedAttributeOperand', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='feed_id', full_name='google.ads.googleads.v1.common.Operand.FeedAttributeOperand.feed_id', index=0, + name='feed_id', full_name='google.ads.googleads.v4.common.Operand.FeedAttributeOperand.feed_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_attribute_id', full_name='google.ads.googleads.v1.common.Operand.FeedAttributeOperand.feed_attribute_id', index=1, + name='feed_attribute_id', full_name='google.ads.googleads.v4.common.Operand.FeedAttributeOperand.feed_attribute_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -176,13 +176,13 @@ _OPERAND_FUNCTIONOPERAND = _descriptor.Descriptor( name='FunctionOperand', - full_name='google.ads.googleads.v1.common.Operand.FunctionOperand', + full_name='google.ads.googleads.v4.common.Operand.FunctionOperand', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='matching_function', full_name='google.ads.googleads.v1.common.Operand.FunctionOperand.matching_function', index=0, + name='matching_function', full_name='google.ads.googleads.v4.common.Operand.FunctionOperand.matching_function', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -206,13 +206,13 @@ _OPERAND_REQUESTCONTEXTOPERAND = _descriptor.Descriptor( name='RequestContextOperand', - full_name='google.ads.googleads.v1.common.Operand.RequestContextOperand', + full_name='google.ads.googleads.v4.common.Operand.RequestContextOperand', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='context_type', full_name='google.ads.googleads.v1.common.Operand.RequestContextOperand.context_type', index=0, + name='context_type', full_name='google.ads.googleads.v4.common.Operand.RequestContextOperand.context_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -236,34 +236,34 @@ _OPERAND = _descriptor.Descriptor( name='Operand', - full_name='google.ads.googleads.v1.common.Operand', + full_name='google.ads.googleads.v4.common.Operand', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='constant_operand', full_name='google.ads.googleads.v1.common.Operand.constant_operand', index=0, + name='constant_operand', full_name='google.ads.googleads.v4.common.Operand.constant_operand', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_attribute_operand', full_name='google.ads.googleads.v1.common.Operand.feed_attribute_operand', index=1, + name='feed_attribute_operand', full_name='google.ads.googleads.v4.common.Operand.feed_attribute_operand', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='function_operand', full_name='google.ads.googleads.v1.common.Operand.function_operand', index=2, + name='function_operand', full_name='google.ads.googleads.v4.common.Operand.function_operand', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='request_context_operand', full_name='google.ads.googleads.v1.common.Operand.request_context_operand', index=3, + name='request_context_operand', full_name='google.ads.googleads.v4.common.Operand.request_context_operand', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -281,7 +281,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='function_argument_operand', full_name='google.ads.googleads.v1.common.Operand.function_argument_operand', + name='function_argument_operand', full_name='google.ads.googleads.v4.common.Operand.function_argument_operand', index=0, containing_type=None, fields=[]), ], serialized_start=612, @@ -289,7 +289,7 @@ ) _MATCHINGFUNCTION.fields_by_name['function_string'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_MATCHINGFUNCTION.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__operator__pb2._MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR +_MATCHINGFUNCTION.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__operator__pb2._MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR _MATCHINGFUNCTION.fields_by_name['left_operands'].message_type = _OPERAND _MATCHINGFUNCTION.fields_by_name['right_operands'].message_type = _OPERAND _OPERAND_CONSTANTOPERAND.fields_by_name['string_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -314,7 +314,7 @@ _OPERAND_FEEDATTRIBUTEOPERAND.containing_type = _OPERAND _OPERAND_FUNCTIONOPERAND.fields_by_name['matching_function'].message_type = _MATCHINGFUNCTION _OPERAND_FUNCTIONOPERAND.containing_type = _OPERAND -_OPERAND_REQUESTCONTEXTOPERAND.fields_by_name['context_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_matching__function__context__type__pb2._MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE +_OPERAND_REQUESTCONTEXTOPERAND.fields_by_name['context_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_matching__function__context__type__pb2._MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE _OPERAND_REQUESTCONTEXTOPERAND.containing_type = _OPERAND _OPERAND.fields_by_name['constant_operand'].message_type = _OPERAND_CONSTANTOPERAND _OPERAND.fields_by_name['feed_attribute_operand'].message_type = _OPERAND_FEEDATTRIBUTEOPERAND @@ -338,7 +338,7 @@ MatchingFunction = _reflection.GeneratedProtocolMessageType('MatchingFunction', (_message.Message,), dict( DESCRIPTOR = _MATCHINGFUNCTION, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """Matching function associated with a CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used to filter the set of feed @@ -347,18 +347,19 @@ Attributes: function_string: - String representation of the Function. Examples: 1) - IDENTITY(true) or IDENTITY(false). All or none feed items - serve. 2) EQUALS(CONTEXT.DEVICE,"Mobile") 3) - IN(FEED\_ITEM\_ID,{1000001,1000002,1000003}) 4) + String representation of the Function. Examples: 1. + IDENTITY(true) or IDENTITY(false). All or no feed items + served. 2. EQUALS(CONTEXT.DEVICE,"Mobile") 3. + IN(FEED\_ITEM\_ID,{1000001,1000002,1000003}) 4. CONTAINS\_ANY(FeedAttribute[12345678,0],{"Mars cruise","Venus - cruise"}) 5) AND(IN(FEED\_ITEM\_ID,{10001,10002}),EQUALS(CONTE - XT.DEVICE,"Mobile")) See https: - //developers.google.com/adwords/api/docs/guides/feed-matching- - functions Note that because multiple strings may represent - the same underlying function (whitespace and single versus - double quotation marks, for example), the value returned may - not be identical to the string sent in a mutate request. + cruise"}) 5. AND(IN(FEED\_ITEM\_ID,{10001,10002}),EQUALS(CONTE + XT.DEVICE,"Mobile")) For more details, visit + https://developers.google.com/adwords/api/docs/guides/feed- + matching-functions Note that because multiple strings may + represent the same underlying function (whitespace and single + versus double quotation marks, for example), the value + returned may not be identical to the string sent in a mutate + request. operator: Operator for a function. left_operands: @@ -368,7 +369,7 @@ right_operands: The operands on the right hand side of the equation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.MatchingFunction) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.MatchingFunction) )) _sym_db.RegisterMessage(MatchingFunction) @@ -376,7 +377,7 @@ ConstantOperand = _reflection.GeneratedProtocolMessageType('ConstantOperand', (_message.Message,), dict( DESCRIPTOR = _OPERAND_CONSTANTOPERAND, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """A constant operand in a matching function. @@ -393,13 +394,13 @@ double_value: Double value of the operand if it is a double type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Operand.ConstantOperand) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Operand.ConstantOperand) )) , FeedAttributeOperand = _reflection.GeneratedProtocolMessageType('FeedAttributeOperand', (_message.Message,), dict( DESCRIPTOR = _OPERAND_FEEDATTRIBUTEOPERAND, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """A feed attribute operand in a matching function. Used to represent a feed attribute in feed. @@ -411,13 +412,13 @@ feed_attribute_id: Id of the referenced feed attribute. Required. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Operand.FeedAttributeOperand) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Operand.FeedAttributeOperand) )) , FunctionOperand = _reflection.GeneratedProtocolMessageType('FunctionOperand', (_message.Message,), dict( DESCRIPTOR = _OPERAND_FUNCTIONOPERAND, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """A function operand in a matching function. Used to represent nested functions. @@ -427,13 +428,13 @@ matching_function: The matching function held in this operand. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Operand.FunctionOperand) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Operand.FunctionOperand) )) , RequestContextOperand = _reflection.GeneratedProtocolMessageType('RequestContextOperand', (_message.Message,), dict( DESCRIPTOR = _OPERAND_REQUESTCONTEXTOPERAND, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """An operand in a function referring to a value in the request context. @@ -442,11 +443,11 @@ context_type: Type of value to be referred in the request context. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Operand.RequestContextOperand) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Operand.RequestContextOperand) )) , DESCRIPTOR = _OPERAND, - __module__ = 'google.ads.googleads_v1.proto.common.matching_function_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.matching_function_pb2' , __doc__ = """An operand in a matching function. @@ -466,7 +467,7 @@ An operand in a function referring to a value in the request context. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Operand) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Operand) )) _sym_db.RegisterMessage(Operand) _sym_db.RegisterMessage(Operand.ConstantOperand) diff --git a/google/ads/google_ads/v1/proto/common/matching_function_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/matching_function_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/matching_function_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/matching_function_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/metrics_pb2.py b/google/ads/google_ads/v4/proto/common/metrics_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/common/metrics_pb2.py rename to google/ads/google_ads/v4/proto/common/metrics_pb2.py index f013b2668..7131a2391 100644 --- a/google/ads/google_ads/v1/proto/common/metrics_pb2.py +++ b/google/ads/google_ads/v4/proto/common/metrics_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/metrics.proto +# source: google/ads/googleads_v4/proto/common/metrics.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,796 +13,810 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import interaction_event_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__event__type__pb2 -from google.ads.google_ads.v1.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2 +from google.ads.google_ads.v4.proto.enums import interaction_event_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__event__type__pb2 +from google.ads.google_ads.v4.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/metrics.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/metrics.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\014MetricsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n2google/ads/googleads_v1/proto/common/metrics.proto\x12\x1egoogle.ads.googleads.v1.common\x1a@google/ads/googleads_v1/proto/enums/interaction_event_type.proto\x1a>google/ads/googleads_v1/proto/enums/quality_score_bucket.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb3\x39\n\x07Metrics\x12H\n\"absolute_top_impression_percentage\x18_ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61\x63tive_view_cpm\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61\x63tive_view_ctr\x18O \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x17\x61\x63tive_view_impressions\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19\x61\x63tive_view_measurability\x18` \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n\"active_view_measurable_cost_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12G\n\"active_view_measurable_impressions\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x17\x61\x63tive_view_viewability\x18\x61 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12L\n&all_conversions_from_interactions_rate\x18\x41 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x15\x61ll_conversions_value\x18\x42 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61ll_conversions\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x44\n\x1e\x61ll_conversions_value_per_cost\x18> \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"all_conversions_from_click_to_call\x18v \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x45\n\x1f\x61ll_conversions_from_directions\x18w \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12]\n7all_conversions_from_interactions_value_per_interaction\x18\x43 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19\x61ll_conversions_from_menu\x18x \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x61ll_conversions_from_order\x18y \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12K\n%all_conversions_from_other_engagement\x18z \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x46\n all_conversions_from_store_visit\x18{ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"all_conversions_from_store_website\x18| \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x0c\x61verage_cost\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpc\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpe\x18\x62 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpm\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpv\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x37\n\x11\x61verage_frequency\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x12\x61verage_page_views\x18\x63 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x36\n\x10\x61verage_position\x18\r \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14\x61verage_time_on_site\x18T \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19\x62\x65nchmark_average_max_cpc\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rbenchmark_ctr\x18M \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x62ounce_rate\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0f\x63ombined_clicks\x18s \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19\x63ombined_clicks_per_query\x18t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x10\x63ombined_queries\x18u \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12J\n$content_budget_lost_impression_share\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12>\n\x18\x63ontent_impression_share\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12P\n*conversion_last_received_request_date_time\x18I \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1f\x63onversion_last_conversion_date\x18J \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\"content_rank_lost_impression_share\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"conversions_from_interactions_rate\x18\x45 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x37\n\x11\x63onversions_value\x18\x46 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x63onversions_value_per_cost\x18G \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12Y\n3conversions_from_interactions_value_per_interaction\x18H \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x63onversions\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x63ost_micros\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x18\x63ost_per_all_conversions\x18\x44 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x39\n\x13\x63ost_per_conversion\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12R\n,cost_per_current_model_attributed_conversion\x18j \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12>\n\x18\x63ross_device_conversions\x18\x1d \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12)\n\x03\x63tr\x18\x1e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12J\n$current_model_attributed_conversions\x18\x65 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x61\n;current_model_attributed_conversions_from_interactions_rate\x18\x66 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12r\nLcurrent_model_attributed_conversions_from_interactions_value_per_interaction\x18g \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12P\n*current_model_attributed_conversions_value\x18h \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12Y\n3current_model_attributed_conversions_value_per_cost\x18i \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x65ngagement_rate\x18\x1f \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x65ngagements\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x45\n\x1fhotel_average_lead_value_micros\x18K \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12s\n!historical_creative_quality_score\x18P \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x12w\n%historical_landing_page_quality_score\x18Q \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x12=\n\x18historical_quality_score\x18R \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12q\n\x1fhistorical_search_predicted_ctr\x18S \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x12\x33\n\x0egmail_forwards\x18U \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bgmail_saves\x18V \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16gmail_secondary_clicks\x18W \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x35\n\x10impression_reach\x18$ \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x41\n\x1cimpressions_from_store_reach\x18} \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18% \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x10interaction_rate\x18& \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0cinteractions\x18\' \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12m\n\x17interaction_event_types\x18\x64 \x03(\x0e\x32L.google.ads.googleads.v1.enums.InteractionEventTypeEnum.InteractionEventType\x12\x38\n\x12invalid_click_rate\x18( \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0einvalid_clicks\x18) \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12G\n!mobile_friendly_clicks_percentage\x18m \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0eorganic_clicks\x18n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x18organic_clicks_per_query\x18o \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x13organic_impressions\x18p \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x43\n\x1dorganic_impressions_per_query\x18q \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0forganic_queries\x18r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14percent_new_visitors\x18* \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bphone_calls\x18+ \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11phone_impressions\x18, \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x12phone_through_rate\x18- \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x0crelative_ctr\x18. \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12J\n$search_absolute_top_impression_share\x18N \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12V\n0search_budget_lost_absolute_top_impression_share\x18X \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12I\n#search_budget_lost_impression_share\x18/ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12M\n\'search_budget_lost_top_impression_share\x18Y \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x12search_click_share\x18\x30 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12I\n#search_exact_match_impression_share\x18\x31 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12=\n\x17search_impression_share\x18\x32 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12T\n.search_rank_lost_absolute_top_impression_share\x18Z \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n!search_rank_lost_impression_share\x18\x33 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12K\n%search_rank_lost_top_impression_share\x18[ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x41\n\x1bsearch_top_impression_share\x18\\ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bspeed_score\x18k \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19top_impression_percentage\x18] \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12V\n0valid_accelerated_mobile_pages_clicks_percentage\x18l \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19value_per_all_conversions\x18\x34 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14value_per_conversion\x18\x35 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12S\n-value_per_current_model_attributed_conversion\x18^ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12=\n\x17video_quartile_100_rate\x18\x36 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_25_rate\x18\x37 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_50_rate\x18\x38 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_75_rate\x18\x39 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0fvideo_view_rate\x18: \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bvideo_views\x18; \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18view_through_conversions\x18< \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xe7\x01\n\"com.google.ads.googleads.v1.commonB\x0cMetricsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\014MetricsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n2google/ads/googleads_v4/proto/common/metrics.proto\x12\x1egoogle.ads.googleads.v4.common\x1a@google/ads/googleads_v4/proto/enums/interaction_event_type.proto\x1a>google/ads/googleads_v4/proto/enums/quality_score_bucket.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xbf:\n\x07Metrics\x12H\n\"absolute_top_impression_percentage\x18_ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61\x63tive_view_cpm\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61\x63tive_view_ctr\x18O \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x17\x61\x63tive_view_impressions\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19\x61\x63tive_view_measurability\x18` \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n\"active_view_measurable_cost_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12G\n\"active_view_measurable_impressions\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x17\x61\x63tive_view_viewability\x18\x61 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12L\n&all_conversions_from_interactions_rate\x18\x41 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x15\x61ll_conversions_value\x18\x42 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x61ll_conversions\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x44\n\x1e\x61ll_conversions_value_per_cost\x18> \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"all_conversions_from_click_to_call\x18v \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x45\n\x1f\x61ll_conversions_from_directions\x18w \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12]\n7all_conversions_from_interactions_value_per_interaction\x18\x43 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19\x61ll_conversions_from_menu\x18x \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x61ll_conversions_from_order\x18y \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12K\n%all_conversions_from_other_engagement\x18z \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x46\n all_conversions_from_store_visit\x18{ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"all_conversions_from_store_website\x18| \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x0c\x61verage_cost\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpc\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpe\x18\x62 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpm\x18\n \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x61verage_cpv\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x12\x61verage_page_views\x18\x63 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14\x61verage_time_on_site\x18T \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19\x62\x65nchmark_average_max_cpc\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rbenchmark_ctr\x18M \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x62ounce_rate\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0f\x63ombined_clicks\x18s \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19\x63ombined_clicks_per_query\x18t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x10\x63ombined_queries\x18u \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12J\n$content_budget_lost_impression_share\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12>\n\x18\x63ontent_impression_share\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12P\n*conversion_last_received_request_date_time\x18I \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1f\x63onversion_last_conversion_date\x18J \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\"content_rank_lost_impression_share\x18\x16 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n\"conversions_from_interactions_rate\x18\x45 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x37\n\x11\x63onversions_value\x18\x46 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x63onversions_value_per_cost\x18G \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12Y\n3conversions_from_interactions_value_per_interaction\x18H \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0b\x63onversions\x18\x19 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x63ost_micros\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x18\x63ost_per_all_conversions\x18\x44 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x39\n\x13\x63ost_per_conversion\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12R\n,cost_per_current_model_attributed_conversion\x18j \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12>\n\x18\x63ross_device_conversions\x18\x1d \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12)\n\x03\x63tr\x18\x1e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12J\n$current_model_attributed_conversions\x18\x65 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x61\n;current_model_attributed_conversions_from_interactions_rate\x18\x66 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12r\nLcurrent_model_attributed_conversions_from_interactions_value_per_interaction\x18g \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12P\n*current_model_attributed_conversions_value\x18h \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12Y\n3current_model_attributed_conversions_value_per_cost\x18i \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0f\x65ngagement_rate\x18\x1f \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x65ngagements\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x45\n\x1fhotel_average_lead_value_micros\x18K \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12H\n!hotel_price_difference_percentage\x18\x81\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1ahotel_eligible_impressions\x18\x82\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12s\n!historical_creative_quality_score\x18P \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket\x12w\n%historical_landing_page_quality_score\x18Q \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket\x12=\n\x18historical_quality_score\x18R \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12q\n\x1fhistorical_search_predicted_ctr\x18S \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket\x12\x33\n\x0egmail_forwards\x18U \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bgmail_saves\x18V \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16gmail_secondary_clicks\x18W \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x41\n\x1cimpressions_from_store_reach\x18} \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18% \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x10interaction_rate\x18& \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x31\n\x0cinteractions\x18\' \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12m\n\x17interaction_event_types\x18\x64 \x03(\x0e\x32L.google.ads.googleads.v4.enums.InteractionEventTypeEnum.InteractionEventType\x12\x38\n\x12invalid_click_rate\x18( \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0einvalid_clicks\x18) \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\rmessage_chats\x18~ \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13message_impressions\x18\x7f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x11message_chat_rate\x18\x80\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n!mobile_friendly_clicks_percentage\x18m \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0eorganic_clicks\x18n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x18organic_clicks_per_query\x18o \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x13organic_impressions\x18p \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x43\n\x1dorganic_impressions_per_query\x18q \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x34\n\x0forganic_queries\x18r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14percent_new_visitors\x18* \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bphone_calls\x18+ \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11phone_impressions\x18, \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x12phone_through_rate\x18- \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\x0crelative_ctr\x18. \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12J\n$search_absolute_top_impression_share\x18N \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12V\n0search_budget_lost_absolute_top_impression_share\x18X \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12I\n#search_budget_lost_impression_share\x18/ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12M\n\'search_budget_lost_top_impression_share\x18Y \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x38\n\x12search_click_share\x18\x30 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12I\n#search_exact_match_impression_share\x18\x31 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12=\n\x17search_impression_share\x18\x32 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12T\n.search_rank_lost_absolute_top_impression_share\x18Z \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n!search_rank_lost_impression_share\x18\x33 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12K\n%search_rank_lost_top_impression_share\x18[ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x41\n\x1bsearch_top_impression_share\x18\\ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bspeed_score\x18k \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x19top_impression_percentage\x18] \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12V\n0valid_accelerated_mobile_pages_clicks_percentage\x18l \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12?\n\x19value_per_all_conversions\x18\x34 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14value_per_conversion\x18\x35 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12S\n-value_per_current_model_attributed_conversion\x18^ \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12=\n\x17video_quartile_100_rate\x18\x36 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_25_rate\x18\x37 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_50_rate\x18\x38 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12<\n\x16video_quartile_75_rate\x18\x39 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x35\n\x0fvideo_view_rate\x18: \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0bvideo_views\x18; \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18view_through_conversions\x18< \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xe7\x01\n\"com.google.ads.googleads.v4.commonB\x0cMetricsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _METRICS = _descriptor.Descriptor( name='Metrics', - full_name='google.ads.googleads.v1.common.Metrics', + full_name='google.ads.googleads.v4.common.Metrics', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='absolute_top_impression_percentage', full_name='google.ads.googleads.v1.common.Metrics.absolute_top_impression_percentage', index=0, + name='absolute_top_impression_percentage', full_name='google.ads.googleads.v4.common.Metrics.absolute_top_impression_percentage', index=0, number=95, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_cpm', full_name='google.ads.googleads.v1.common.Metrics.active_view_cpm', index=1, + name='active_view_cpm', full_name='google.ads.googleads.v4.common.Metrics.active_view_cpm', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_ctr', full_name='google.ads.googleads.v1.common.Metrics.active_view_ctr', index=2, + name='active_view_ctr', full_name='google.ads.googleads.v4.common.Metrics.active_view_ctr', index=2, number=79, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_impressions', full_name='google.ads.googleads.v1.common.Metrics.active_view_impressions', index=3, + name='active_view_impressions', full_name='google.ads.googleads.v4.common.Metrics.active_view_impressions', index=3, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_measurability', full_name='google.ads.googleads.v1.common.Metrics.active_view_measurability', index=4, + name='active_view_measurability', full_name='google.ads.googleads.v4.common.Metrics.active_view_measurability', index=4, number=96, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_measurable_cost_micros', full_name='google.ads.googleads.v1.common.Metrics.active_view_measurable_cost_micros', index=5, + name='active_view_measurable_cost_micros', full_name='google.ads.googleads.v4.common.Metrics.active_view_measurable_cost_micros', index=5, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_measurable_impressions', full_name='google.ads.googleads.v1.common.Metrics.active_view_measurable_impressions', index=6, + name='active_view_measurable_impressions', full_name='google.ads.googleads.v4.common.Metrics.active_view_measurable_impressions', index=6, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='active_view_viewability', full_name='google.ads.googleads.v1.common.Metrics.active_view_viewability', index=7, + name='active_view_viewability', full_name='google.ads.googleads.v4.common.Metrics.active_view_viewability', index=7, number=97, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_interactions_rate', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_interactions_rate', index=8, + name='all_conversions_from_interactions_rate', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_interactions_rate', index=8, number=65, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_value', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_value', index=9, + name='all_conversions_value', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_value', index=9, number=66, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions', full_name='google.ads.googleads.v1.common.Metrics.all_conversions', index=10, + name='all_conversions', full_name='google.ads.googleads.v4.common.Metrics.all_conversions', index=10, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_value_per_cost', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_value_per_cost', index=11, + name='all_conversions_value_per_cost', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_value_per_cost', index=11, number=62, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_click_to_call', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_click_to_call', index=12, + name='all_conversions_from_click_to_call', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_click_to_call', index=12, number=118, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_directions', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_directions', index=13, + name='all_conversions_from_directions', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_directions', index=13, number=119, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_interactions_value_per_interaction', index=14, + name='all_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_interactions_value_per_interaction', index=14, number=67, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_menu', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_menu', index=15, + name='all_conversions_from_menu', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_menu', index=15, number=120, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_order', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_order', index=16, + name='all_conversions_from_order', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_order', index=16, number=121, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_other_engagement', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_other_engagement', index=17, + name='all_conversions_from_other_engagement', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_other_engagement', index=17, number=122, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_store_visit', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_store_visit', index=18, + name='all_conversions_from_store_visit', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_store_visit', index=18, number=123, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='all_conversions_from_store_website', full_name='google.ads.googleads.v1.common.Metrics.all_conversions_from_store_website', index=19, + name='all_conversions_from_store_website', full_name='google.ads.googleads.v4.common.Metrics.all_conversions_from_store_website', index=19, number=124, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cost', full_name='google.ads.googleads.v1.common.Metrics.average_cost', index=20, + name='average_cost', full_name='google.ads.googleads.v4.common.Metrics.average_cost', index=20, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cpc', full_name='google.ads.googleads.v1.common.Metrics.average_cpc', index=21, + name='average_cpc', full_name='google.ads.googleads.v4.common.Metrics.average_cpc', index=21, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cpe', full_name='google.ads.googleads.v1.common.Metrics.average_cpe', index=22, + name='average_cpe', full_name='google.ads.googleads.v4.common.Metrics.average_cpe', index=22, number=98, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cpm', full_name='google.ads.googleads.v1.common.Metrics.average_cpm', index=23, + name='average_cpm', full_name='google.ads.googleads.v4.common.Metrics.average_cpm', index=23, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cpv', full_name='google.ads.googleads.v1.common.Metrics.average_cpv', index=24, + name='average_cpv', full_name='google.ads.googleads.v4.common.Metrics.average_cpv', index=24, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_frequency', full_name='google.ads.googleads.v1.common.Metrics.average_frequency', index=25, - number=12, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='average_page_views', full_name='google.ads.googleads.v1.common.Metrics.average_page_views', index=26, + name='average_page_views', full_name='google.ads.googleads.v4.common.Metrics.average_page_views', index=25, number=99, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_position', full_name='google.ads.googleads.v1.common.Metrics.average_position', index=27, - number=13, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='average_time_on_site', full_name='google.ads.googleads.v1.common.Metrics.average_time_on_site', index=28, + name='average_time_on_site', full_name='google.ads.googleads.v4.common.Metrics.average_time_on_site', index=26, number=84, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='benchmark_average_max_cpc', full_name='google.ads.googleads.v1.common.Metrics.benchmark_average_max_cpc', index=29, + name='benchmark_average_max_cpc', full_name='google.ads.googleads.v4.common.Metrics.benchmark_average_max_cpc', index=27, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='benchmark_ctr', full_name='google.ads.googleads.v1.common.Metrics.benchmark_ctr', index=30, + name='benchmark_ctr', full_name='google.ads.googleads.v4.common.Metrics.benchmark_ctr', index=28, number=77, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bounce_rate', full_name='google.ads.googleads.v1.common.Metrics.bounce_rate', index=31, + name='bounce_rate', full_name='google.ads.googleads.v4.common.Metrics.bounce_rate', index=29, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.common.Metrics.clicks', index=32, + name='clicks', full_name='google.ads.googleads.v4.common.Metrics.clicks', index=30, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='combined_clicks', full_name='google.ads.googleads.v1.common.Metrics.combined_clicks', index=33, + name='combined_clicks', full_name='google.ads.googleads.v4.common.Metrics.combined_clicks', index=31, number=115, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='combined_clicks_per_query', full_name='google.ads.googleads.v1.common.Metrics.combined_clicks_per_query', index=34, + name='combined_clicks_per_query', full_name='google.ads.googleads.v4.common.Metrics.combined_clicks_per_query', index=32, number=116, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='combined_queries', full_name='google.ads.googleads.v1.common.Metrics.combined_queries', index=35, + name='combined_queries', full_name='google.ads.googleads.v4.common.Metrics.combined_queries', index=33, number=117, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='content_budget_lost_impression_share', full_name='google.ads.googleads.v1.common.Metrics.content_budget_lost_impression_share', index=36, + name='content_budget_lost_impression_share', full_name='google.ads.googleads.v4.common.Metrics.content_budget_lost_impression_share', index=34, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='content_impression_share', full_name='google.ads.googleads.v1.common.Metrics.content_impression_share', index=37, + name='content_impression_share', full_name='google.ads.googleads.v4.common.Metrics.content_impression_share', index=35, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_last_received_request_date_time', full_name='google.ads.googleads.v1.common.Metrics.conversion_last_received_request_date_time', index=38, + name='conversion_last_received_request_date_time', full_name='google.ads.googleads.v4.common.Metrics.conversion_last_received_request_date_time', index=36, number=73, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_last_conversion_date', full_name='google.ads.googleads.v1.common.Metrics.conversion_last_conversion_date', index=39, + name='conversion_last_conversion_date', full_name='google.ads.googleads.v4.common.Metrics.conversion_last_conversion_date', index=37, number=74, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='content_rank_lost_impression_share', full_name='google.ads.googleads.v1.common.Metrics.content_rank_lost_impression_share', index=40, + name='content_rank_lost_impression_share', full_name='google.ads.googleads.v4.common.Metrics.content_rank_lost_impression_share', index=38, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions_from_interactions_rate', full_name='google.ads.googleads.v1.common.Metrics.conversions_from_interactions_rate', index=41, + name='conversions_from_interactions_rate', full_name='google.ads.googleads.v4.common.Metrics.conversions_from_interactions_rate', index=39, number=69, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions_value', full_name='google.ads.googleads.v1.common.Metrics.conversions_value', index=42, + name='conversions_value', full_name='google.ads.googleads.v4.common.Metrics.conversions_value', index=40, number=70, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions_value_per_cost', full_name='google.ads.googleads.v1.common.Metrics.conversions_value_per_cost', index=43, + name='conversions_value_per_cost', full_name='google.ads.googleads.v4.common.Metrics.conversions_value_per_cost', index=41, number=71, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v1.common.Metrics.conversions_from_interactions_value_per_interaction', index=44, + name='conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v4.common.Metrics.conversions_from_interactions_value_per_interaction', index=42, number=72, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v1.common.Metrics.conversions', index=45, + name='conversions', full_name='google.ads.googleads.v4.common.Metrics.conversions', index=43, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.common.Metrics.cost_micros', index=46, + name='cost_micros', full_name='google.ads.googleads.v4.common.Metrics.cost_micros', index=44, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_per_all_conversions', full_name='google.ads.googleads.v1.common.Metrics.cost_per_all_conversions', index=47, + name='cost_per_all_conversions', full_name='google.ads.googleads.v4.common.Metrics.cost_per_all_conversions', index=45, number=68, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_per_conversion', full_name='google.ads.googleads.v1.common.Metrics.cost_per_conversion', index=48, + name='cost_per_conversion', full_name='google.ads.googleads.v4.common.Metrics.cost_per_conversion', index=46, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_per_current_model_attributed_conversion', full_name='google.ads.googleads.v1.common.Metrics.cost_per_current_model_attributed_conversion', index=49, + name='cost_per_current_model_attributed_conversion', full_name='google.ads.googleads.v4.common.Metrics.cost_per_current_model_attributed_conversion', index=47, number=106, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cross_device_conversions', full_name='google.ads.googleads.v1.common.Metrics.cross_device_conversions', index=50, + name='cross_device_conversions', full_name='google.ads.googleads.v4.common.Metrics.cross_device_conversions', index=48, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ctr', full_name='google.ads.googleads.v1.common.Metrics.ctr', index=51, + name='ctr', full_name='google.ads.googleads.v4.common.Metrics.ctr', index=49, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='current_model_attributed_conversions', full_name='google.ads.googleads.v1.common.Metrics.current_model_attributed_conversions', index=52, + name='current_model_attributed_conversions', full_name='google.ads.googleads.v4.common.Metrics.current_model_attributed_conversions', index=50, number=101, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='current_model_attributed_conversions_from_interactions_rate', full_name='google.ads.googleads.v1.common.Metrics.current_model_attributed_conversions_from_interactions_rate', index=53, + name='current_model_attributed_conversions_from_interactions_rate', full_name='google.ads.googleads.v4.common.Metrics.current_model_attributed_conversions_from_interactions_rate', index=51, number=102, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='current_model_attributed_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v1.common.Metrics.current_model_attributed_conversions_from_interactions_value_per_interaction', index=54, + name='current_model_attributed_conversions_from_interactions_value_per_interaction', full_name='google.ads.googleads.v4.common.Metrics.current_model_attributed_conversions_from_interactions_value_per_interaction', index=52, number=103, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='current_model_attributed_conversions_value', full_name='google.ads.googleads.v1.common.Metrics.current_model_attributed_conversions_value', index=55, + name='current_model_attributed_conversions_value', full_name='google.ads.googleads.v4.common.Metrics.current_model_attributed_conversions_value', index=53, number=104, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='current_model_attributed_conversions_value_per_cost', full_name='google.ads.googleads.v1.common.Metrics.current_model_attributed_conversions_value_per_cost', index=56, + name='current_model_attributed_conversions_value_per_cost', full_name='google.ads.googleads.v4.common.Metrics.current_model_attributed_conversions_value_per_cost', index=54, number=105, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='engagement_rate', full_name='google.ads.googleads.v1.common.Metrics.engagement_rate', index=57, + name='engagement_rate', full_name='google.ads.googleads.v4.common.Metrics.engagement_rate', index=55, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='engagements', full_name='google.ads.googleads.v1.common.Metrics.engagements', index=58, + name='engagements', full_name='google.ads.googleads.v4.common.Metrics.engagements', index=56, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_average_lead_value_micros', full_name='google.ads.googleads.v1.common.Metrics.hotel_average_lead_value_micros', index=59, + name='hotel_average_lead_value_micros', full_name='google.ads.googleads.v4.common.Metrics.hotel_average_lead_value_micros', index=57, number=75, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='historical_creative_quality_score', full_name='google.ads.googleads.v1.common.Metrics.historical_creative_quality_score', index=60, + name='hotel_price_difference_percentage', full_name='google.ads.googleads.v4.common.Metrics.hotel_price_difference_percentage', index=58, + number=129, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='hotel_eligible_impressions', full_name='google.ads.googleads.v4.common.Metrics.hotel_eligible_impressions', index=59, + number=130, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='historical_creative_quality_score', full_name='google.ads.googleads.v4.common.Metrics.historical_creative_quality_score', index=60, number=80, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='historical_landing_page_quality_score', full_name='google.ads.googleads.v1.common.Metrics.historical_landing_page_quality_score', index=61, + name='historical_landing_page_quality_score', full_name='google.ads.googleads.v4.common.Metrics.historical_landing_page_quality_score', index=61, number=81, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='historical_quality_score', full_name='google.ads.googleads.v1.common.Metrics.historical_quality_score', index=62, + name='historical_quality_score', full_name='google.ads.googleads.v4.common.Metrics.historical_quality_score', index=62, number=82, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='historical_search_predicted_ctr', full_name='google.ads.googleads.v1.common.Metrics.historical_search_predicted_ctr', index=63, + name='historical_search_predicted_ctr', full_name='google.ads.googleads.v4.common.Metrics.historical_search_predicted_ctr', index=63, number=83, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gmail_forwards', full_name='google.ads.googleads.v1.common.Metrics.gmail_forwards', index=64, + name='gmail_forwards', full_name='google.ads.googleads.v4.common.Metrics.gmail_forwards', index=64, number=85, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gmail_saves', full_name='google.ads.googleads.v1.common.Metrics.gmail_saves', index=65, + name='gmail_saves', full_name='google.ads.googleads.v4.common.Metrics.gmail_saves', index=65, number=86, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gmail_secondary_clicks', full_name='google.ads.googleads.v1.common.Metrics.gmail_secondary_clicks', index=66, + name='gmail_secondary_clicks', full_name='google.ads.googleads.v4.common.Metrics.gmail_secondary_clicks', index=66, number=87, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impression_reach', full_name='google.ads.googleads.v1.common.Metrics.impression_reach', index=67, - number=36, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='impressions_from_store_reach', full_name='google.ads.googleads.v1.common.Metrics.impressions_from_store_reach', index=68, + name='impressions_from_store_reach', full_name='google.ads.googleads.v4.common.Metrics.impressions_from_store_reach', index=67, number=125, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.common.Metrics.impressions', index=69, + name='impressions', full_name='google.ads.googleads.v4.common.Metrics.impressions', index=68, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='interaction_rate', full_name='google.ads.googleads.v1.common.Metrics.interaction_rate', index=70, + name='interaction_rate', full_name='google.ads.googleads.v4.common.Metrics.interaction_rate', index=69, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='interactions', full_name='google.ads.googleads.v1.common.Metrics.interactions', index=71, + name='interactions', full_name='google.ads.googleads.v4.common.Metrics.interactions', index=70, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='interaction_event_types', full_name='google.ads.googleads.v1.common.Metrics.interaction_event_types', index=72, + name='interaction_event_types', full_name='google.ads.googleads.v4.common.Metrics.interaction_event_types', index=71, number=100, type=14, cpp_type=8, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='invalid_click_rate', full_name='google.ads.googleads.v1.common.Metrics.invalid_click_rate', index=73, + name='invalid_click_rate', full_name='google.ads.googleads.v4.common.Metrics.invalid_click_rate', index=72, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='invalid_clicks', full_name='google.ads.googleads.v1.common.Metrics.invalid_clicks', index=74, + name='invalid_clicks', full_name='google.ads.googleads.v4.common.Metrics.invalid_clicks', index=73, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_friendly_clicks_percentage', full_name='google.ads.googleads.v1.common.Metrics.mobile_friendly_clicks_percentage', index=75, + name='message_chats', full_name='google.ads.googleads.v4.common.Metrics.message_chats', index=74, + number=126, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='message_impressions', full_name='google.ads.googleads.v4.common.Metrics.message_impressions', index=75, + number=127, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='message_chat_rate', full_name='google.ads.googleads.v4.common.Metrics.message_chat_rate', index=76, + number=128, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mobile_friendly_clicks_percentage', full_name='google.ads.googleads.v4.common.Metrics.mobile_friendly_clicks_percentage', index=77, number=109, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='organic_clicks', full_name='google.ads.googleads.v1.common.Metrics.organic_clicks', index=76, + name='organic_clicks', full_name='google.ads.googleads.v4.common.Metrics.organic_clicks', index=78, number=110, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='organic_clicks_per_query', full_name='google.ads.googleads.v1.common.Metrics.organic_clicks_per_query', index=77, + name='organic_clicks_per_query', full_name='google.ads.googleads.v4.common.Metrics.organic_clicks_per_query', index=79, number=111, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='organic_impressions', full_name='google.ads.googleads.v1.common.Metrics.organic_impressions', index=78, + name='organic_impressions', full_name='google.ads.googleads.v4.common.Metrics.organic_impressions', index=80, number=112, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='organic_impressions_per_query', full_name='google.ads.googleads.v1.common.Metrics.organic_impressions_per_query', index=79, + name='organic_impressions_per_query', full_name='google.ads.googleads.v4.common.Metrics.organic_impressions_per_query', index=81, number=113, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='organic_queries', full_name='google.ads.googleads.v1.common.Metrics.organic_queries', index=80, + name='organic_queries', full_name='google.ads.googleads.v4.common.Metrics.organic_queries', index=82, number=114, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent_new_visitors', full_name='google.ads.googleads.v1.common.Metrics.percent_new_visitors', index=81, + name='percent_new_visitors', full_name='google.ads.googleads.v4.common.Metrics.percent_new_visitors', index=83, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_calls', full_name='google.ads.googleads.v1.common.Metrics.phone_calls', index=82, + name='phone_calls', full_name='google.ads.googleads.v4.common.Metrics.phone_calls', index=84, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_impressions', full_name='google.ads.googleads.v1.common.Metrics.phone_impressions', index=83, + name='phone_impressions', full_name='google.ads.googleads.v4.common.Metrics.phone_impressions', index=85, number=44, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='phone_through_rate', full_name='google.ads.googleads.v1.common.Metrics.phone_through_rate', index=84, + name='phone_through_rate', full_name='google.ads.googleads.v4.common.Metrics.phone_through_rate', index=86, number=45, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='relative_ctr', full_name='google.ads.googleads.v1.common.Metrics.relative_ctr', index=85, + name='relative_ctr', full_name='google.ads.googleads.v4.common.Metrics.relative_ctr', index=87, number=46, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_absolute_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_absolute_top_impression_share', index=86, + name='search_absolute_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_absolute_top_impression_share', index=88, number=78, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_budget_lost_absolute_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_budget_lost_absolute_top_impression_share', index=87, + name='search_budget_lost_absolute_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_budget_lost_absolute_top_impression_share', index=89, number=88, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_budget_lost_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_budget_lost_impression_share', index=88, + name='search_budget_lost_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_budget_lost_impression_share', index=90, number=47, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_budget_lost_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_budget_lost_top_impression_share', index=89, + name='search_budget_lost_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_budget_lost_top_impression_share', index=91, number=89, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_click_share', full_name='google.ads.googleads.v1.common.Metrics.search_click_share', index=90, + name='search_click_share', full_name='google.ads.googleads.v4.common.Metrics.search_click_share', index=92, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_exact_match_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_exact_match_impression_share', index=91, + name='search_exact_match_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_exact_match_impression_share', index=93, number=49, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_impression_share', index=92, + name='search_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_impression_share', index=94, number=50, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_rank_lost_absolute_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_rank_lost_absolute_top_impression_share', index=93, + name='search_rank_lost_absolute_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_rank_lost_absolute_top_impression_share', index=95, number=90, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_rank_lost_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_rank_lost_impression_share', index=94, + name='search_rank_lost_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_rank_lost_impression_share', index=96, number=51, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_rank_lost_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_rank_lost_top_impression_share', index=95, + name='search_rank_lost_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_rank_lost_top_impression_share', index=97, number=91, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_top_impression_share', full_name='google.ads.googleads.v1.common.Metrics.search_top_impression_share', index=96, + name='search_top_impression_share', full_name='google.ads.googleads.v4.common.Metrics.search_top_impression_share', index=98, number=92, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='speed_score', full_name='google.ads.googleads.v1.common.Metrics.speed_score', index=97, + name='speed_score', full_name='google.ads.googleads.v4.common.Metrics.speed_score', index=99, number=107, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='top_impression_percentage', full_name='google.ads.googleads.v1.common.Metrics.top_impression_percentage', index=98, + name='top_impression_percentage', full_name='google.ads.googleads.v4.common.Metrics.top_impression_percentage', index=100, number=93, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='valid_accelerated_mobile_pages_clicks_percentage', full_name='google.ads.googleads.v1.common.Metrics.valid_accelerated_mobile_pages_clicks_percentage', index=99, + name='valid_accelerated_mobile_pages_clicks_percentage', full_name='google.ads.googleads.v4.common.Metrics.valid_accelerated_mobile_pages_clicks_percentage', index=101, number=108, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value_per_all_conversions', full_name='google.ads.googleads.v1.common.Metrics.value_per_all_conversions', index=100, + name='value_per_all_conversions', full_name='google.ads.googleads.v4.common.Metrics.value_per_all_conversions', index=102, number=52, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value_per_conversion', full_name='google.ads.googleads.v1.common.Metrics.value_per_conversion', index=101, + name='value_per_conversion', full_name='google.ads.googleads.v4.common.Metrics.value_per_conversion', index=103, number=53, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value_per_current_model_attributed_conversion', full_name='google.ads.googleads.v1.common.Metrics.value_per_current_model_attributed_conversion', index=102, + name='value_per_current_model_attributed_conversion', full_name='google.ads.googleads.v4.common.Metrics.value_per_current_model_attributed_conversion', index=104, number=94, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_quartile_100_rate', full_name='google.ads.googleads.v1.common.Metrics.video_quartile_100_rate', index=103, + name='video_quartile_100_rate', full_name='google.ads.googleads.v4.common.Metrics.video_quartile_100_rate', index=105, number=54, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_quartile_25_rate', full_name='google.ads.googleads.v1.common.Metrics.video_quartile_25_rate', index=104, + name='video_quartile_25_rate', full_name='google.ads.googleads.v4.common.Metrics.video_quartile_25_rate', index=106, number=55, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_quartile_50_rate', full_name='google.ads.googleads.v1.common.Metrics.video_quartile_50_rate', index=105, + name='video_quartile_50_rate', full_name='google.ads.googleads.v4.common.Metrics.video_quartile_50_rate', index=107, number=56, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_quartile_75_rate', full_name='google.ads.googleads.v1.common.Metrics.video_quartile_75_rate', index=106, + name='video_quartile_75_rate', full_name='google.ads.googleads.v4.common.Metrics.video_quartile_75_rate', index=108, number=57, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_view_rate', full_name='google.ads.googleads.v1.common.Metrics.video_view_rate', index=107, + name='video_view_rate', full_name='google.ads.googleads.v4.common.Metrics.video_view_rate', index=109, number=58, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_views', full_name='google.ads.googleads.v1.common.Metrics.video_views', index=108, + name='video_views', full_name='google.ads.googleads.v4.common.Metrics.video_views', index=110, number=59, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='view_through_conversions', full_name='google.ads.googleads.v1.common.Metrics.view_through_conversions', index=109, + name='view_through_conversions', full_name='google.ads.googleads.v4.common.Metrics.view_through_conversions', index=111, number=60, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -821,7 +835,7 @@ oneofs=[ ], serialized_start=279, - serialized_end=7626, + serialized_end=7766, ) _METRICS.fields_by_name['absolute_top_impression_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -849,9 +863,7 @@ _METRICS.fields_by_name['average_cpe'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['average_cpm'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['average_cpv'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['average_frequency'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['average_page_views'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['average_position'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['average_time_on_site'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['benchmark_average_max_cpc'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['benchmark_ctr'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -884,21 +896,25 @@ _METRICS.fields_by_name['engagement_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['engagements'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['hotel_average_lead_value_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_METRICS.fields_by_name['historical_creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET -_METRICS.fields_by_name['historical_landing_page_quality_score'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_METRICS.fields_by_name['hotel_price_difference_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_METRICS.fields_by_name['hotel_eligible_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_METRICS.fields_by_name['historical_creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_METRICS.fields_by_name['historical_landing_page_quality_score'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET _METRICS.fields_by_name['historical_quality_score'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['historical_search_predicted_ctr'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_METRICS.fields_by_name['historical_search_predicted_ctr'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET _METRICS.fields_by_name['gmail_forwards'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['gmail_saves'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['gmail_secondary_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['impression_reach'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['impressions_from_store_reach'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['interaction_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['interactions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_METRICS.fields_by_name['interaction_event_types'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_interaction__event__type__pb2._INTERACTIONEVENTTYPEENUM_INTERACTIONEVENTTYPE +_METRICS.fields_by_name['interaction_event_types'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_interaction__event__type__pb2._INTERACTIONEVENTTYPEENUM_INTERACTIONEVENTTYPE _METRICS.fields_by_name['invalid_click_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['invalid_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_METRICS.fields_by_name['message_chats'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_METRICS.fields_by_name['message_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_METRICS.fields_by_name['message_chat_rate'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['mobile_friendly_clicks_percentage'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _METRICS.fields_by_name['organic_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _METRICS.fields_by_name['organic_clicks_per_query'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -939,7 +955,7 @@ Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), dict( DESCRIPTOR = _METRICS, - __module__ = 'google.ads.googleads_v1.proto.common.metrics_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.metrics_pb2' , __doc__ = """Metrics data. @@ -974,11 +990,10 @@ All conversions from interactions (as oppose to view through conversions) divided by the number of ad interactions. all_conversions_value: - The total value of all conversions. + The value of all conversions. all_conversions: - The total number of conversions. This only includes conversion - actions which include\_in\_conversions\_metric attribute is - set to true. + The total number of conversions. This includes all conversions + regardless of the value of include\_in\_conversions\_metric. all_conversions_value_per_cost: The value of all conversions divided by the total cost of ad interactions (such as clicks for text ads or views for video @@ -1029,13 +1044,8 @@ The average amount you pay each time someone views your ad. The average CPV is defined by the total cost of all ad views divided by the number of views. - average_frequency: - Average number of times a unique cookie was exposed to your ad - over a given time period. Imported from Google Analytics. average_page_views: Average number of pages viewed per session. - average_position: - Your ad's position relative to those of other advertisers. average_time_on_site: Total duration of all sessions (in seconds) / number of sessions. Imported from Google Analytics. @@ -1097,24 +1107,31 @@ Conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. conversions_value: - The total value of conversions. This only includes conversion + The value of conversions. This only includes conversion actions which include\_in\_conversions\_metric attribute is - set to true. + set to true. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. conversions_value_per_cost: The value of conversions divided by the cost of ad interactions. This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. conversions_from_interactions_value_per_interaction: The value of conversions from interactions divided by the number of ad interactions. This only includes conversion actions which include\_in\_conversions\_metric attribute is - set to true. + set to true. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. conversions: The number of conversions. This only includes conversion actions which include\_in\_conversions\_metric attribute is - set to true. + set to true. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. cost_micros: The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period. @@ -1123,12 +1140,15 @@ cost_per_conversion: The cost of ad interactions divided by conversions. This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. cost_per_current_model_attributed_conversion: The cost of ad interactions divided by current model attributed conversions. This only includes conversion actions which include\_in\_conversions\_metric attribute is set to - true. + true. If you use conversion-based bidding, your bid strategies + will optimize for these conversions. cross_device_conversions: Conversions from when a customer clicks on a Google Ads ad on one device, then converts on a different device or browser. @@ -1141,27 +1161,35 @@ Shows how your historic conversions data would look under the attribution model you've currently selected. This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. current_model_attributed_conversions_from_interactions_rate: Current model attributed conversions from interactions divided by the number of ad interactions (such as clicks for text ads or views for video ads). This only includes conversion actions which include\_in\_conversions\_metric attribute is set to - true. + true. If you use conversion-based bidding, your bid strategies + will optimize for these conversions. current_model_attributed_conversions_from_interactions_value_per_interaction: The value of current model attributed conversions from interactions divided by the number of ad interactions. This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. current_model_attributed_conversions_value: - The total value of current model attributed conversions. This - only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + The value of current model attributed conversions. This only + includes conversion actions which + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. current_model_attributed_conversions_value_per_cost: The value of current model attributed conversions divided by the cost of ad interactions. This only includes conversion actions which include\_in\_conversions\_metric attribute is - set to true. + set to true. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. engagement_rate: How often people engage with your ad after it's shown to them. This is the number of ad expansions divided by the number of @@ -1171,7 +1199,14 @@ expands your Lightbox ad. Also, in the future, other ad types may support engagement metrics. hotel_average_lead_value_micros: - Average lead value of hotel. + Average lead value based on clicks. + hotel_price_difference_percentage: + The average price difference between the price offered by + reporting hotel advertiser and the cheapest price offered by + the competing advertiser. + hotel_eligible_impressions: + The number of impressions that hotel partners could have had + given their feed performance. historical_creative_quality_score: The creative historical quality score. historical_landing_page_quality_score: @@ -1189,9 +1224,6 @@ gmail_secondary_clicks: The number of clicks to the landing page on the expanded state of Gmail ads. - impression_reach: - Number of unique cookies that were exposed to your ad over a - given time period. impressions_from_store_reach: The number of times a store's location-based ad was shown. This metric applies to feed items only. @@ -1215,6 +1247,19 @@ invalid_clicks: Number of clicks Google considers illegitimate and doesn't charge you for. + message_chats: + Number of message chats initiated for Click To Message + impressions that were message tracking eligible. + message_impressions: + Number of Click To Message impressions that were message + tracking eligible. + message_chat_rate: + Number of message chats initiated (message\_chats) divided by + the number of message impressions (message\_impressions). Rate + at which a user initiates a message chat from an ad impression + with a messaging option and message tracking enabled. Note + that this rate can be more than 1.0 for a given message + impression. mobile_friendly_clicks_percentage: The percentage of mobile clicks that go to a mobile-friendly page. @@ -1266,8 +1311,9 @@ search_absolute_top_impression_share: The percentage of the customer's Shopping or Search ad impressions that are shown in the most prominent Shopping - position. See this Merchant Center article for details. Any - value below 0.1 is reported as 0.0999. + position. See https://support.google.com/google- + ads/answer/7501826 for details. Any value below 0.1 is + reported as 0.0999. search_budget_lost_absolute_top_impression_share: The number estimating how often your ad wasn't the very first ad above the organic search results due to a low budget. Note: @@ -1341,12 +1387,15 @@ value_per_conversion: The value of conversions divided by the number of conversions. This only includes conversion actions which - include\_in\_conversions\_metric attribute is set to true. + include\_in\_conversions\_metric attribute is set to true. If + you use conversion-based bidding, your bid strategies will + optimize for these conversions. value_per_current_model_attributed_conversion: The value of current model attributed conversions divided by the number of the conversions. This only includes conversion actions which include\_in\_conversions\_metric attribute is - set to true. + set to true. If you use conversion-based bidding, your bid + strategies will optimize for these conversions. video_quartile_100_rate: Percentage of impressions where the viewer watched all of your video. @@ -1371,7 +1420,7 @@ completes a conversion on your site without interacting with (e.g., clicking on) another ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Metrics) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Metrics) )) _sym_db.RegisterMessage(Metrics) diff --git a/google/ads/google_ads/v1/proto/common/metrics_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/metrics_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/metrics_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/metrics_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/common/offline_user_data_pb2.py b/google/ads/google_ads/v4/proto/common/offline_user_data_pb2.py new file mode 100644 index 000000000..75f27b5cc --- /dev/null +++ b/google/ads/google_ads/v4/proto/common/offline_user_data_pb2.py @@ -0,0 +1,718 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/common/offline_user_data.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/common/offline_user_data.proto', + package='google.ads.googleads.v4.common', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\024OfflineUserDataProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n.google.ads.googleads.v1.enums.AdNetworkTypeEnum.AdNetworkType\x12J\n\nclick_type\x18\x1a \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.ClickTypeEnum.ClickType\x12\x37\n\x11\x63onversion_action\x18\x34 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12x\n\x1a\x63onversion_action_category\x18\x35 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12<\n\x16\x63onversion_action_name\x18\x36 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x15\x63onversion_adjustment\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x8b\x01\n!conversion_attribution_event_type\x18\x02 \x01(\x0e\x32`.google.ads.googleads.v1.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType\x12i\n\x15\x63onversion_lag_bucket\x18\x32 \x01(\x0e\x32J.google.ads.googleads.v1.enums.ConversionLagBucketEnum.ConversionLagBucket\x12\x8f\x01\n#conversion_or_adjustment_lag_bucket\x18\x33 \x01(\x0e\x32\x62.google.ads.googleads.v1.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket\x12*\n\x04\x64\x61te\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.DayOfWeekEnum.DayOfWeek\x12@\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v1.enums.DeviceEnum.Device\x12x\n\x1a\x65xternal_conversion_source\x18\x37 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ExternalConversionSourceEnum.ExternalConversionSource\x12\x38\n\x12geo_target_airport\x18\x41 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fgeo_target_city\x18> \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11geo_target_county\x18\x44 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13geo_target_district\x18\x45 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10geo_target_metro\x18? \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n!geo_target_most_specific_location\x18H \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x16geo_target_postal_code\x18G \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13geo_target_province\x18K \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11geo_target_region\x18@ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10geo_target_state\x18\x43 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x19hotel_booking_window_days\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0fhotel_center_id\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x13hotel_check_in_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x1ahotel_check_in_day_of_week\x18\t \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.DayOfWeekEnum.DayOfWeek\x12\x30\n\nhotel_city\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0bhotel_class\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x33\n\rhotel_country\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12s\n\x19hotel_date_selection_type\x18\r \x01(\x0e\x32P.google.ads.googleads.v1.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\x12\x39\n\x14hotel_length_of_stay\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x38\n\x12hotel_rate_rule_id\x18I \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12W\n\x0fhotel_rate_type\x18J \x01(\x0e\x32>.google.ads.googleads.v1.enums.HotelRateTypeEnum.HotelRateType\x12\x31\n\x0bhotel_state\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12)\n\x04hour\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x41\n\x1dinteraction_on_this_extension\x18\x31 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x07keyword\x18= \x01(\x0b\x32\'.google.ads.googleads.v1.common.Keyword\x12+\n\x05month\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Q\n\rmonth_of_year\x18\x12 \x01(\x0e\x32:.google.ads.googleads.v1.enums.MonthOfYearEnum.MonthOfYear\x12\x36\n\x10partner_hotel_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\\\n\x10placeholder_type\x18\x14 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderType\x12;\n\x15product_aggregator_id\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.UInt64Value\x12\x45\n\x1fproduct_bidding_category_level1\x18\x38 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level2\x18\x39 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level3\x18: \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level4\x18; \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level5\x18< \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rproduct_brand\x18\x1d \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\x0fproduct_channel\x18\x1e \x01(\x0e\x32@.google.ads.googleads.v1.enums.ProductChannelEnum.ProductChannel\x12{\n\x1bproduct_channel_exclusivity\x18\x1f \x01(\x0e\x32V.google.ads.googleads.v1.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\x12_\n\x11product_condition\x18 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.ProductConditionEnum.ProductCondition\x12\x35\n\x0fproduct_country\x18! \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute0\x18\" \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute1\x18# \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute2\x18$ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute3\x18% \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute4\x18& \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_item_id\x18\' \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10product_language\x18( \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13product_merchant_id\x18) \x01(\x0b\x32\x1c.google.protobuf.UInt64Value\x12\x36\n\x10product_store_id\x18* \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rproduct_title\x18+ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l1\x18, \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l2\x18- \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l3\x18. \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l4\x18/ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l5\x18\x30 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07quarter\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x83\x01\n\x1fsearch_engine_results_page_type\x18\x46 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType\x12j\n\x16search_term_match_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v1.enums.SearchTermMatchTypeEnum.SearchTermMatchType\x12:\n\x04slot\x18\x17 \x01(\x0e\x32,.google.ads.googleads.v1.enums.SlotEnum.Slot\x12-\n\x07webpage\x18\x42 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04week\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12)\n\x04year\x18\x19 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"~\n\x07Keyword\x12\x38\n\x12\x61\x64_group_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x04info\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.common.KeywordInfoB\xe8\x01\n\"com.google.ads.googleads.v1.commonB\rSegmentsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\rSegmentsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/common/segments.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x39google/ads/googleads_v4/proto/enums/ad_network_type.proto\x1a\x34google/ads/googleads_v4/proto/enums/click_type.proto\x1a\x44google/ads/googleads_v4/proto/enums/conversion_action_category.proto\x1aKgoogle/ads/googleads_v4/proto/enums/conversion_attribution_event_type.proto\x1a?google/ads/googleads_v4/proto/enums/conversion_lag_bucket.proto\x1aMgoogle/ads/googleads_v4/proto/enums/conversion_or_adjustment_lag_bucket.proto\x1a\x35google/ads/googleads_v4/proto/enums/day_of_week.proto\x1a\x30google/ads/googleads_v4/proto/enums/device.proto\x1a\x44google/ads/googleads_v4/proto/enums/external_conversion_source.proto\x1a\x43google/ads/googleads_v4/proto/enums/hotel_date_selection_type.proto\x1a.google.ads.googleads.v4.enums.AdNetworkTypeEnum.AdNetworkType\x12J\n\nclick_type\x18\x1a \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.ClickTypeEnum.ClickType\x12\x37\n\x11\x63onversion_action\x18\x34 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12x\n\x1a\x63onversion_action_category\x18\x35 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12<\n\x16\x63onversion_action_name\x18\x36 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x15\x63onversion_adjustment\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x8b\x01\n!conversion_attribution_event_type\x18\x02 \x01(\x0e\x32`.google.ads.googleads.v4.enums.ConversionAttributionEventTypeEnum.ConversionAttributionEventType\x12i\n\x15\x63onversion_lag_bucket\x18\x32 \x01(\x0e\x32J.google.ads.googleads.v4.enums.ConversionLagBucketEnum.ConversionLagBucket\x12\x8f\x01\n#conversion_or_adjustment_lag_bucket\x18\x33 \x01(\x0e\x32\x62.google.ads.googleads.v4.enums.ConversionOrAdjustmentLagBucketEnum.ConversionOrAdjustmentLagBucket\x12*\n\x04\x64\x61te\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x0b\x64\x61y_of_week\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.DayOfWeekEnum.DayOfWeek\x12@\n\x06\x64\x65vice\x18\x01 \x01(\x0e\x32\x30.google.ads.googleads.v4.enums.DeviceEnum.Device\x12x\n\x1a\x65xternal_conversion_source\x18\x37 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ExternalConversionSourceEnum.ExternalConversionSource\x12\x38\n\x12geo_target_airport\x18\x41 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11geo_target_canton\x18L \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fgeo_target_city\x18> \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12geo_target_country\x18M \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11geo_target_county\x18\x44 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13geo_target_district\x18\x45 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10geo_target_metro\x18? \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12G\n!geo_target_most_specific_location\x18H \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x16geo_target_postal_code\x18G \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13geo_target_province\x18K \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11geo_target_region\x18@ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10geo_target_state\x18\x43 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x19hotel_booking_window_days\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0fhotel_center_id\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x13hotel_check_in_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x1ahotel_check_in_day_of_week\x18\t \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.DayOfWeekEnum.DayOfWeek\x12\x30\n\nhotel_city\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x30\n\x0bhotel_class\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x33\n\rhotel_country\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12s\n\x19hotel_date_selection_type\x18\r \x01(\x0e\x32P.google.ads.googleads.v4.enums.HotelDateSelectionTypeEnum.HotelDateSelectionType\x12\x39\n\x14hotel_length_of_stay\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x38\n\x12hotel_rate_rule_id\x18I \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12W\n\x0fhotel_rate_type\x18J \x01(\x0e\x32>.google.ads.googleads.v4.enums.HotelRateTypeEnum.HotelRateType\x12`\n\x12hotel_price_bucket\x18N \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.HotelPriceBucketEnum.HotelPriceBucket\x12\x31\n\x0bhotel_state\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12)\n\x04hour\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x41\n\x1dinteraction_on_this_extension\x18\x31 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x07keyword\x18= \x01(\x0b\x32\'.google.ads.googleads.v4.common.Keyword\x12+\n\x05month\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Q\n\rmonth_of_year\x18\x12 \x01(\x0e\x32:.google.ads.googleads.v4.enums.MonthOfYearEnum.MonthOfYear\x12\x36\n\x10partner_hotel_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\\\n\x10placeholder_type\x18\x14 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.PlaceholderTypeEnum.PlaceholderType\x12;\n\x15product_aggregator_id\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.UInt64Value\x12\x45\n\x1fproduct_bidding_category_level1\x18\x38 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level2\x18\x39 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level3\x18: \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level4\x18; \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x1fproduct_bidding_category_level5\x18< \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rproduct_brand\x18\x1d \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\x0fproduct_channel\x18\x1e \x01(\x0e\x32@.google.ads.googleads.v4.enums.ProductChannelEnum.ProductChannel\x12{\n\x1bproduct_channel_exclusivity\x18\x1f \x01(\x0e\x32V.google.ads.googleads.v4.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity\x12_\n\x11product_condition\x18 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ProductConditionEnum.ProductCondition\x12\x35\n\x0fproduct_country\x18! \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute0\x18\" \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute1\x18# \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute2\x18$ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute3\x18% \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19product_custom_attribute4\x18& \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_item_id\x18\' \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10product_language\x18( \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13product_merchant_id\x18) \x01(\x0b\x32\x1c.google.protobuf.UInt64Value\x12\x36\n\x10product_store_id\x18* \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rproduct_title\x18+ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l1\x18, \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l2\x18- \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l3\x18. \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l4\x18/ \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fproduct_type_l5\x18\x30 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12-\n\x07quarter\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x83\x01\n\x1fsearch_engine_results_page_type\x18\x46 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.SearchEngineResultsPageTypeEnum.SearchEngineResultsPageType\x12j\n\x16search_term_match_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v4.enums.SearchTermMatchTypeEnum.SearchTermMatchType\x12:\n\x04slot\x18\x17 \x01(\x0e\x32,.google.ads.googleads.v4.enums.SlotEnum.Slot\x12-\n\x07webpage\x18\x42 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04week\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12)\n\x04year\x18\x19 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"~\n\x07Keyword\x12\x38\n\x12\x61\x64_group_criterion\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x04info\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\xe8\x01\n\"com.google.ads.googleads.v4.commonB\rSegmentsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__network__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_click__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_external__conversion__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__rate__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__term__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_slot__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__network__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_click__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_external__conversion__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__price__bucket__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__rate__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__condition__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__term__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_slot__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _SEGMENTS = _descriptor.Descriptor( name='Segments', - full_name='google.ads.googleads.v1.common.Segments', + full_name='google.ads.googleads.v4.common.Segments', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_network_type', full_name='google.ads.googleads.v1.common.Segments.ad_network_type', index=0, + name='ad_network_type', full_name='google.ads.googleads.v4.common.Segments.ad_network_type', index=0, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='click_type', full_name='google.ads.googleads.v1.common.Segments.click_type', index=1, + name='click_type', full_name='google.ads.googleads.v4.common.Segments.click_type', index=1, number=26, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.common.Segments.conversion_action', index=2, + name='conversion_action', full_name='google.ads.googleads.v4.common.Segments.conversion_action', index=2, number=52, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action_category', full_name='google.ads.googleads.v1.common.Segments.conversion_action_category', index=3, + name='conversion_action_category', full_name='google.ads.googleads.v4.common.Segments.conversion_action_category', index=3, number=53, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action_name', full_name='google.ads.googleads.v1.common.Segments.conversion_action_name', index=4, + name='conversion_action_name', full_name='google.ads.googleads.v4.common.Segments.conversion_action_name', index=4, number=54, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_adjustment', full_name='google.ads.googleads.v1.common.Segments.conversion_adjustment', index=5, + name='conversion_adjustment', full_name='google.ads.googleads.v4.common.Segments.conversion_adjustment', index=5, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_attribution_event_type', full_name='google.ads.googleads.v1.common.Segments.conversion_attribution_event_type', index=6, + name='conversion_attribution_event_type', full_name='google.ads.googleads.v4.common.Segments.conversion_attribution_event_type', index=6, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_lag_bucket', full_name='google.ads.googleads.v1.common.Segments.conversion_lag_bucket', index=7, + name='conversion_lag_bucket', full_name='google.ads.googleads.v4.common.Segments.conversion_lag_bucket', index=7, number=50, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_or_adjustment_lag_bucket', full_name='google.ads.googleads.v1.common.Segments.conversion_or_adjustment_lag_bucket', index=8, + name='conversion_or_adjustment_lag_bucket', full_name='google.ads.googleads.v4.common.Segments.conversion_or_adjustment_lag_bucket', index=8, number=51, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date', full_name='google.ads.googleads.v1.common.Segments.date', index=9, + name='date', full_name='google.ads.googleads.v4.common.Segments.date', index=9, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='day_of_week', full_name='google.ads.googleads.v1.common.Segments.day_of_week', index=10, + name='day_of_week', full_name='google.ads.googleads.v4.common.Segments.day_of_week', index=10, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.common.Segments.device', index=11, + name='device', full_name='google.ads.googleads.v4.common.Segments.device', index=11, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='external_conversion_source', full_name='google.ads.googleads.v1.common.Segments.external_conversion_source', index=12, + name='external_conversion_source', full_name='google.ads.googleads.v4.common.Segments.external_conversion_source', index=12, number=55, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_airport', full_name='google.ads.googleads.v1.common.Segments.geo_target_airport', index=13, + name='geo_target_airport', full_name='google.ads.googleads.v4.common.Segments.geo_target_airport', index=13, number=65, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_city', full_name='google.ads.googleads.v1.common.Segments.geo_target_city', index=14, + name='geo_target_canton', full_name='google.ads.googleads.v4.common.Segments.geo_target_canton', index=14, + number=76, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='geo_target_city', full_name='google.ads.googleads.v4.common.Segments.geo_target_city', index=15, number=62, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_county', full_name='google.ads.googleads.v1.common.Segments.geo_target_county', index=15, + name='geo_target_country', full_name='google.ads.googleads.v4.common.Segments.geo_target_country', index=16, + number=77, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='geo_target_county', full_name='google.ads.googleads.v4.common.Segments.geo_target_county', index=17, number=68, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_district', full_name='google.ads.googleads.v1.common.Segments.geo_target_district', index=16, + name='geo_target_district', full_name='google.ads.googleads.v4.common.Segments.geo_target_district', index=18, number=69, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_metro', full_name='google.ads.googleads.v1.common.Segments.geo_target_metro', index=17, + name='geo_target_metro', full_name='google.ads.googleads.v4.common.Segments.geo_target_metro', index=19, number=63, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_most_specific_location', full_name='google.ads.googleads.v1.common.Segments.geo_target_most_specific_location', index=18, + name='geo_target_most_specific_location', full_name='google.ads.googleads.v4.common.Segments.geo_target_most_specific_location', index=20, number=72, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_postal_code', full_name='google.ads.googleads.v1.common.Segments.geo_target_postal_code', index=19, + name='geo_target_postal_code', full_name='google.ads.googleads.v4.common.Segments.geo_target_postal_code', index=21, number=71, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_province', full_name='google.ads.googleads.v1.common.Segments.geo_target_province', index=20, + name='geo_target_province', full_name='google.ads.googleads.v4.common.Segments.geo_target_province', index=22, number=75, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_region', full_name='google.ads.googleads.v1.common.Segments.geo_target_region', index=21, + name='geo_target_region', full_name='google.ads.googleads.v4.common.Segments.geo_target_region', index=23, number=64, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_state', full_name='google.ads.googleads.v1.common.Segments.geo_target_state', index=22, + name='geo_target_state', full_name='google.ads.googleads.v4.common.Segments.geo_target_state', index=24, number=67, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_booking_window_days', full_name='google.ads.googleads.v1.common.Segments.hotel_booking_window_days', index=23, + name='hotel_booking_window_days', full_name='google.ads.googleads.v4.common.Segments.hotel_booking_window_days', index=25, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_center_id', full_name='google.ads.googleads.v1.common.Segments.hotel_center_id', index=24, + name='hotel_center_id', full_name='google.ads.googleads.v4.common.Segments.hotel_center_id', index=26, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_check_in_date', full_name='google.ads.googleads.v1.common.Segments.hotel_check_in_date', index=25, + name='hotel_check_in_date', full_name='google.ads.googleads.v4.common.Segments.hotel_check_in_date', index=27, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_check_in_day_of_week', full_name='google.ads.googleads.v1.common.Segments.hotel_check_in_day_of_week', index=26, + name='hotel_check_in_day_of_week', full_name='google.ads.googleads.v4.common.Segments.hotel_check_in_day_of_week', index=28, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_city', full_name='google.ads.googleads.v1.common.Segments.hotel_city', index=27, + name='hotel_city', full_name='google.ads.googleads.v4.common.Segments.hotel_city', index=29, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_class', full_name='google.ads.googleads.v1.common.Segments.hotel_class', index=28, + name='hotel_class', full_name='google.ads.googleads.v4.common.Segments.hotel_class', index=30, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_country', full_name='google.ads.googleads.v1.common.Segments.hotel_country', index=29, + name='hotel_country', full_name='google.ads.googleads.v4.common.Segments.hotel_country', index=31, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_date_selection_type', full_name='google.ads.googleads.v1.common.Segments.hotel_date_selection_type', index=30, + name='hotel_date_selection_type', full_name='google.ads.googleads.v4.common.Segments.hotel_date_selection_type', index=32, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_length_of_stay', full_name='google.ads.googleads.v1.common.Segments.hotel_length_of_stay', index=31, + name='hotel_length_of_stay', full_name='google.ads.googleads.v4.common.Segments.hotel_length_of_stay', index=33, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_rate_rule_id', full_name='google.ads.googleads.v1.common.Segments.hotel_rate_rule_id', index=32, + name='hotel_rate_rule_id', full_name='google.ads.googleads.v4.common.Segments.hotel_rate_rule_id', index=34, number=73, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_rate_type', full_name='google.ads.googleads.v1.common.Segments.hotel_rate_type', index=33, + name='hotel_rate_type', full_name='google.ads.googleads.v4.common.Segments.hotel_rate_type', index=35, number=74, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_state', full_name='google.ads.googleads.v1.common.Segments.hotel_state', index=34, + name='hotel_price_bucket', full_name='google.ads.googleads.v4.common.Segments.hotel_price_bucket', index=36, + number=78, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='hotel_state', full_name='google.ads.googleads.v4.common.Segments.hotel_state', index=37, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hour', full_name='google.ads.googleads.v1.common.Segments.hour', index=35, + name='hour', full_name='google.ads.googleads.v4.common.Segments.hour', index=38, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='interaction_on_this_extension', full_name='google.ads.googleads.v1.common.Segments.interaction_on_this_extension', index=36, + name='interaction_on_this_extension', full_name='google.ads.googleads.v4.common.Segments.interaction_on_this_extension', index=39, number=49, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.common.Segments.keyword', index=37, + name='keyword', full_name='google.ads.googleads.v4.common.Segments.keyword', index=40, number=61, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='month', full_name='google.ads.googleads.v1.common.Segments.month', index=38, + name='month', full_name='google.ads.googleads.v4.common.Segments.month', index=41, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='month_of_year', full_name='google.ads.googleads.v1.common.Segments.month_of_year', index=39, + name='month_of_year', full_name='google.ads.googleads.v4.common.Segments.month_of_year', index=42, number=18, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partner_hotel_id', full_name='google.ads.googleads.v1.common.Segments.partner_hotel_id', index=40, + name='partner_hotel_id', full_name='google.ads.googleads.v4.common.Segments.partner_hotel_id', index=43, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placeholder_type', full_name='google.ads.googleads.v1.common.Segments.placeholder_type', index=41, + name='placeholder_type', full_name='google.ads.googleads.v4.common.Segments.placeholder_type', index=44, number=20, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_aggregator_id', full_name='google.ads.googleads.v1.common.Segments.product_aggregator_id', index=42, + name='product_aggregator_id', full_name='google.ads.googleads.v4.common.Segments.product_aggregator_id', index=45, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_level1', full_name='google.ads.googleads.v1.common.Segments.product_bidding_category_level1', index=43, + name='product_bidding_category_level1', full_name='google.ads.googleads.v4.common.Segments.product_bidding_category_level1', index=46, number=56, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_level2', full_name='google.ads.googleads.v1.common.Segments.product_bidding_category_level2', index=44, + name='product_bidding_category_level2', full_name='google.ads.googleads.v4.common.Segments.product_bidding_category_level2', index=47, number=57, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_level3', full_name='google.ads.googleads.v1.common.Segments.product_bidding_category_level3', index=45, + name='product_bidding_category_level3', full_name='google.ads.googleads.v4.common.Segments.product_bidding_category_level3', index=48, number=58, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_level4', full_name='google.ads.googleads.v1.common.Segments.product_bidding_category_level4', index=46, + name='product_bidding_category_level4', full_name='google.ads.googleads.v4.common.Segments.product_bidding_category_level4', index=49, number=59, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_level5', full_name='google.ads.googleads.v1.common.Segments.product_bidding_category_level5', index=47, + name='product_bidding_category_level5', full_name='google.ads.googleads.v4.common.Segments.product_bidding_category_level5', index=50, number=60, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_brand', full_name='google.ads.googleads.v1.common.Segments.product_brand', index=48, + name='product_brand', full_name='google.ads.googleads.v4.common.Segments.product_brand', index=51, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_channel', full_name='google.ads.googleads.v1.common.Segments.product_channel', index=49, + name='product_channel', full_name='google.ads.googleads.v4.common.Segments.product_channel', index=52, number=30, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_channel_exclusivity', full_name='google.ads.googleads.v1.common.Segments.product_channel_exclusivity', index=50, + name='product_channel_exclusivity', full_name='google.ads.googleads.v4.common.Segments.product_channel_exclusivity', index=53, number=31, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_condition', full_name='google.ads.googleads.v1.common.Segments.product_condition', index=51, + name='product_condition', full_name='google.ads.googleads.v4.common.Segments.product_condition', index=54, number=32, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_country', full_name='google.ads.googleads.v1.common.Segments.product_country', index=52, + name='product_country', full_name='google.ads.googleads.v4.common.Segments.product_country', index=55, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_custom_attribute0', full_name='google.ads.googleads.v1.common.Segments.product_custom_attribute0', index=53, + name='product_custom_attribute0', full_name='google.ads.googleads.v4.common.Segments.product_custom_attribute0', index=56, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_custom_attribute1', full_name='google.ads.googleads.v1.common.Segments.product_custom_attribute1', index=54, + name='product_custom_attribute1', full_name='google.ads.googleads.v4.common.Segments.product_custom_attribute1', index=57, number=35, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_custom_attribute2', full_name='google.ads.googleads.v1.common.Segments.product_custom_attribute2', index=55, + name='product_custom_attribute2', full_name='google.ads.googleads.v4.common.Segments.product_custom_attribute2', index=58, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_custom_attribute3', full_name='google.ads.googleads.v1.common.Segments.product_custom_attribute3', index=56, + name='product_custom_attribute3', full_name='google.ads.googleads.v4.common.Segments.product_custom_attribute3', index=59, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_custom_attribute4', full_name='google.ads.googleads.v1.common.Segments.product_custom_attribute4', index=57, + name='product_custom_attribute4', full_name='google.ads.googleads.v4.common.Segments.product_custom_attribute4', index=60, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_item_id', full_name='google.ads.googleads.v1.common.Segments.product_item_id', index=58, + name='product_item_id', full_name='google.ads.googleads.v4.common.Segments.product_item_id', index=61, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_language', full_name='google.ads.googleads.v1.common.Segments.product_language', index=59, + name='product_language', full_name='google.ads.googleads.v4.common.Segments.product_language', index=62, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_merchant_id', full_name='google.ads.googleads.v1.common.Segments.product_merchant_id', index=60, + name='product_merchant_id', full_name='google.ads.googleads.v4.common.Segments.product_merchant_id', index=63, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_store_id', full_name='google.ads.googleads.v1.common.Segments.product_store_id', index=61, + name='product_store_id', full_name='google.ads.googleads.v4.common.Segments.product_store_id', index=64, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_title', full_name='google.ads.googleads.v1.common.Segments.product_title', index=62, + name='product_title', full_name='google.ads.googleads.v4.common.Segments.product_title', index=65, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type_l1', full_name='google.ads.googleads.v1.common.Segments.product_type_l1', index=63, + name='product_type_l1', full_name='google.ads.googleads.v4.common.Segments.product_type_l1', index=66, number=44, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type_l2', full_name='google.ads.googleads.v1.common.Segments.product_type_l2', index=64, + name='product_type_l2', full_name='google.ads.googleads.v4.common.Segments.product_type_l2', index=67, number=45, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type_l3', full_name='google.ads.googleads.v1.common.Segments.product_type_l3', index=65, + name='product_type_l3', full_name='google.ads.googleads.v4.common.Segments.product_type_l3', index=68, number=46, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type_l4', full_name='google.ads.googleads.v1.common.Segments.product_type_l4', index=66, + name='product_type_l4', full_name='google.ads.googleads.v4.common.Segments.product_type_l4', index=69, number=47, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_type_l5', full_name='google.ads.googleads.v1.common.Segments.product_type_l5', index=67, + name='product_type_l5', full_name='google.ads.googleads.v4.common.Segments.product_type_l5', index=70, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='quarter', full_name='google.ads.googleads.v1.common.Segments.quarter', index=68, + name='quarter', full_name='google.ads.googleads.v4.common.Segments.quarter', index=71, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_engine_results_page_type', full_name='google.ads.googleads.v1.common.Segments.search_engine_results_page_type', index=69, + name='search_engine_results_page_type', full_name='google.ads.googleads.v4.common.Segments.search_engine_results_page_type', index=72, number=70, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_term_match_type', full_name='google.ads.googleads.v1.common.Segments.search_term_match_type', index=70, + name='search_term_match_type', full_name='google.ads.googleads.v4.common.Segments.search_term_match_type', index=73, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='slot', full_name='google.ads.googleads.v1.common.Segments.slot', index=71, + name='slot', full_name='google.ads.googleads.v4.common.Segments.slot', index=74, number=23, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='webpage', full_name='google.ads.googleads.v1.common.Segments.webpage', index=72, + name='webpage', full_name='google.ads.googleads.v4.common.Segments.webpage', index=75, number=66, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='week', full_name='google.ads.googleads.v1.common.Segments.week', index=73, + name='week', full_name='google.ads.googleads.v4.common.Segments.week', index=76, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='year', full_name='google.ads.googleads.v1.common.Segments.year', index=74, + name='year', full_name='google.ads.googleads.v4.common.Segments.year', index=77, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -593,27 +615,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1407, - serialized_end=6619, + serialized_start=1469, + serialized_end=6894, ) _KEYWORD = _descriptor.Descriptor( name='Keyword', - full_name='google.ads.googleads.v1.common.Keyword', + full_name='google.ads.googleads.v4.common.Keyword', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v1.common.Keyword.ad_group_criterion', index=0, + name='ad_group_criterion', full_name='google.ads.googleads.v4.common.Keyword.ad_group_criterion', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='info', full_name='google.ads.googleads.v1.common.Keyword.info', index=1, + name='info', full_name='google.ads.googleads.v4.common.Keyword.info', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -631,25 +653,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6621, - serialized_end=6747, + serialized_start=6896, + serialized_end=7022, ) -_SEGMENTS.fields_by_name['ad_network_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__network__type__pb2._ADNETWORKTYPEENUM_ADNETWORKTYPE -_SEGMENTS.fields_by_name['click_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_click__type__pb2._CLICKTYPEENUM_CLICKTYPE +_SEGMENTS.fields_by_name['ad_network_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__network__type__pb2._ADNETWORKTYPEENUM_ADNETWORKTYPE +_SEGMENTS.fields_by_name['click_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_click__type__pb2._CLICKTYPEENUM_CLICKTYPE _SEGMENTS.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['conversion_action_category'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY +_SEGMENTS.fields_by_name['conversion_action_category'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY _SEGMENTS.fields_by_name['conversion_action_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['conversion_adjustment'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_SEGMENTS.fields_by_name['conversion_attribution_event_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2._CONVERSIONATTRIBUTIONEVENTTYPEENUM_CONVERSIONATTRIBUTIONEVENTTYPE -_SEGMENTS.fields_by_name['conversion_lag_bucket'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2._CONVERSIONLAGBUCKETENUM_CONVERSIONLAGBUCKET -_SEGMENTS.fields_by_name['conversion_or_adjustment_lag_bucket'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2._CONVERSIONORADJUSTMENTLAGBUCKETENUM_CONVERSIONORADJUSTMENTLAGBUCKET +_SEGMENTS.fields_by_name['conversion_attribution_event_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__attribution__event__type__pb2._CONVERSIONATTRIBUTIONEVENTTYPEENUM_CONVERSIONATTRIBUTIONEVENTTYPE +_SEGMENTS.fields_by_name['conversion_lag_bucket'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__lag__bucket__pb2._CONVERSIONLAGBUCKETENUM_CONVERSIONLAGBUCKET +_SEGMENTS.fields_by_name['conversion_or_adjustment_lag_bucket'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__or__adjustment__lag__bucket__pb2._CONVERSIONORADJUSTMENTLAGBUCKETENUM_CONVERSIONORADJUSTMENTLAGBUCKET _SEGMENTS.fields_by_name['date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK -_SEGMENTS.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_SEGMENTS.fields_by_name['external_conversion_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_external__conversion__source__pb2._EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE +_SEGMENTS.fields_by_name['day_of_week'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_SEGMENTS.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_SEGMENTS.fields_by_name['external_conversion_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_external__conversion__source__pb2._EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE _SEGMENTS.fields_by_name['geo_target_airport'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SEGMENTS.fields_by_name['geo_target_canton'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['geo_target_city'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SEGMENTS.fields_by_name['geo_target_country'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['geo_target_county'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['geo_target_district'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['geo_target_metro'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -661,22 +685,23 @@ _SEGMENTS.fields_by_name['hotel_booking_window_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _SEGMENTS.fields_by_name['hotel_center_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _SEGMENTS.fields_by_name['hotel_check_in_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['hotel_check_in_day_of_week'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK +_SEGMENTS.fields_by_name['hotel_check_in_day_of_week'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_day__of__week__pb2._DAYOFWEEKENUM_DAYOFWEEK _SEGMENTS.fields_by_name['hotel_city'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['hotel_class'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _SEGMENTS.fields_by_name['hotel_country'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['hotel_date_selection_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE +_SEGMENTS.fields_by_name['hotel_date_selection_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__date__selection__type__pb2._HOTELDATESELECTIONTYPEENUM_HOTELDATESELECTIONTYPE _SEGMENTS.fields_by_name['hotel_length_of_stay'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _SEGMENTS.fields_by_name['hotel_rate_rule_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['hotel_rate_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__rate__type__pb2._HOTELRATETYPEENUM_HOTELRATETYPE +_SEGMENTS.fields_by_name['hotel_rate_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__rate__type__pb2._HOTELRATETYPEENUM_HOTELRATETYPE +_SEGMENTS.fields_by_name['hotel_price_bucket'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__price__bucket__pb2._HOTELPRICEBUCKETENUM_HOTELPRICEBUCKET _SEGMENTS.fields_by_name['hotel_state'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['hour'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _SEGMENTS.fields_by_name['interaction_on_this_extension'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _SEGMENTS.fields_by_name['keyword'].message_type = _KEYWORD _SEGMENTS.fields_by_name['month'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['month_of_year'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_month__of__year__pb2._MONTHOFYEARENUM_MONTHOFYEAR +_SEGMENTS.fields_by_name['month_of_year'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2._MONTHOFYEARENUM_MONTHOFYEAR _SEGMENTS.fields_by_name['partner_hotel_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE +_SEGMENTS.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE _SEGMENTS.fields_by_name['product_aggregator_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._UINT64VALUE _SEGMENTS.fields_by_name['product_bidding_category_level1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_bidding_category_level2'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -684,9 +709,9 @@ _SEGMENTS.fields_by_name['product_bidding_category_level4'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_bidding_category_level5'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_brand'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['product_channel'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL -_SEGMENTS.fields_by_name['product_channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY -_SEGMENTS.fields_by_name['product_condition'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION +_SEGMENTS.fields_by_name['product_channel'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__pb2._PRODUCTCHANNELENUM_PRODUCTCHANNEL +_SEGMENTS.fields_by_name['product_channel_exclusivity'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__channel__exclusivity__pb2._PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY +_SEGMENTS.fields_by_name['product_condition'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__condition__pb2._PRODUCTCONDITIONENUM_PRODUCTCONDITION _SEGMENTS.fields_by_name['product_country'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_custom_attribute0'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_custom_attribute1'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -704,21 +729,21 @@ _SEGMENTS.fields_by_name['product_type_l4'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['product_type_l5'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['quarter'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_SEGMENTS.fields_by_name['search_engine_results_page_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2._SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE -_SEGMENTS.fields_by_name['search_term_match_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_search__term__match__type__pb2._SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE -_SEGMENTS.fields_by_name['slot'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_slot__pb2._SLOTENUM_SLOT +_SEGMENTS.fields_by_name['search_engine_results_page_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__engine__results__page__type__pb2._SEARCHENGINERESULTSPAGETYPEENUM_SEARCHENGINERESULTSPAGETYPE +_SEGMENTS.fields_by_name['search_term_match_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__term__match__type__pb2._SEARCHTERMMATCHTYPEENUM_SEARCHTERMMATCHTYPE +_SEGMENTS.fields_by_name['slot'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_slot__pb2._SLOTENUM_SLOT _SEGMENTS.fields_by_name['webpage'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['week'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SEGMENTS.fields_by_name['year'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE _KEYWORD.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORD.fields_by_name['info'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_KEYWORD.fields_by_name['info'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO DESCRIPTOR.message_types_by_name['Segments'] = _SEGMENTS DESCRIPTOR.message_types_by_name['Keyword'] = _KEYWORD _sym_db.RegisterFileDescriptor(DESCRIPTOR) Segments = _reflection.GeneratedProtocolMessageType('Segments', (_message.Message,), dict( DESCRIPTOR = _SEGMENTS, - __module__ = 'google.ads.googleads_v1.proto.common.segments_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.segments_pb2' , __doc__ = """Segment only fields. @@ -762,9 +787,15 @@ geo_target_airport: Resource name of the geo target constant that represents an airport. + geo_target_canton: + Resource name of the geo target constant that represents a + canton. geo_target_city: Resource name of the geo target constant that represents a city. + geo_target_country: + Resource name of the geo target constant that represents a + country. geo_target_county: Resource name of the geo target constant that represents a county. @@ -811,6 +842,8 @@ Hotel rate rule ID. hotel_rate_type: Hotel rate type. + hotel_price_bucket: + Hotel price bucket. hotel_state: Hotel state. hour: @@ -904,13 +937,13 @@ year: Year, formatted as yyyy. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Segments) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Segments) )) _sym_db.RegisterMessage(Segments) Keyword = _reflection.GeneratedProtocolMessageType('Keyword', (_message.Message,), dict( DESCRIPTOR = _KEYWORD, - __module__ = 'google.ads.googleads_v1.proto.common.segments_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.segments_pb2' , __doc__ = """A Keyword criterion segment. @@ -921,7 +954,7 @@ info: Keyword info. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Keyword) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Keyword) )) _sym_db.RegisterMessage(Keyword) diff --git a/google/ads/google_ads/v1/proto/common/simulation_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/segments_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/simulation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/segments_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/simulation_pb2.py b/google/ads/google_ads/v4/proto/common/simulation_pb2.py similarity index 59% rename from google/ads/google_ads/v1/proto/common/simulation_pb2.py rename to google/ads/google_ads/v4/proto/common/simulation_pb2.py index 32855ae29..dd588b385 100644 --- a/google/ads/google_ads/v1/proto/common/simulation_pb2.py +++ b/google/ads/google_ads/v4/proto/common/simulation_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/simulation.proto +# source: google/ads/googleads_v4/proto/common/simulation.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -18,11 +18,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/simulation.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/simulation.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\017SimulationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/common/simulation.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"l\n\x1e\x42idModifierSimulationPointList\x12J\n\x06points\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v1.common.BidModifierSimulationPoint\"b\n\x19\x43pcBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v1.common.CpcBidSimulationPoint\"b\n\x19\x43pvBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v1.common.CpvBidSimulationPoint\"h\n\x1cTargetCpaSimulationPointList\x12H\n\x06points\x18\x01 \x03(\x0b\x32\x38.google.ads.googleads.v1.common.TargetCpaSimulationPoint\"\x8e\x06\n\x1a\x42idModifierSimulationPoint\x12\x32\n\x0c\x62id_modifier\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x41\n\x1bparent_biddable_conversions\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n!parent_biddable_conversions_value\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\rparent_clicks\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x12parent_cost_micros\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x12parent_impressions\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1bparent_top_slot_impressions\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x96\x03\n\x15\x43pcBidSimulationPoint\x12\x33\n\x0e\x63pc_bid_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xb0\x01\n\x15\x43pvBidSimulationPoint\x12\x33\n\x0e\x63pv_bid_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x9c\x03\n\x18TargetCpaSimulationPoint\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xea\x01\n\"com.google.ads.googleads.v1.commonB\x0fSimulationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\017SimulationProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/common/simulation.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"l\n\x1e\x42idModifierSimulationPointList\x12J\n\x06points\x18\x01 \x03(\x0b\x32:.google.ads.googleads.v4.common.BidModifierSimulationPoint\"b\n\x19\x43pcBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v4.common.CpcBidSimulationPoint\"b\n\x19\x43pvBidSimulationPointList\x12\x45\n\x06points\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v4.common.CpvBidSimulationPoint\"h\n\x1cTargetCpaSimulationPointList\x12H\n\x06points\x18\x01 \x03(\x0b\x32\x38.google.ads.googleads.v4.common.TargetCpaSimulationPoint\"j\n\x1dTargetRoasSimulationPointList\x12I\n\x06points\x18\x01 \x03(\x0b\x32\x39.google.ads.googleads.v4.common.TargetRoasSimulationPoint\"\xd2\x06\n\x1a\x42idModifierSimulationPoint\x12\x32\n\x0c\x62id_modifier\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x41\n\x1bparent_biddable_conversions\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12G\n!parent_biddable_conversions_value\x18\t \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x32\n\rparent_clicks\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x12parent_cost_micros\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x12parent_impressions\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12@\n\x1bparent_top_slot_impressions\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x42\n\x1dparent_required_budget_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x96\x03\n\x15\x43pcBidSimulationPoint\x12\x33\n\x0e\x63pc_bid_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xdc\x01\n\x15\x43pvBidSimulationPoint\x12\x33\n\x0e\x63pv_bid_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x05views\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x9c\x03\n\x18TargetCpaSimulationPoint\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x98\x03\n\x19TargetRoasSimulationPoint\x12\x31\n\x0btarget_roas\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x14\x62iddable_conversions\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x62iddable_conversions_value\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12+\n\x06\x63licks\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0b\x63ost_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0bimpressions\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14top_slot_impressions\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\xea\x01\n\"com.google.ads.googleads.v4.commonB\x0fSimulationProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -31,13 +31,13 @@ _BIDMODIFIERSIMULATIONPOINTLIST = _descriptor.Descriptor( name='BidModifierSimulationPointList', - full_name='google.ads.googleads.v1.common.BidModifierSimulationPointList', + full_name='google.ads.googleads.v4.common.BidModifierSimulationPointList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v1.common.BidModifierSimulationPointList.points', index=0, + name='points', full_name='google.ads.googleads.v4.common.BidModifierSimulationPointList.points', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -62,13 +62,13 @@ _CPCBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( name='CpcBidSimulationPointList', - full_name='google.ads.googleads.v1.common.CpcBidSimulationPointList', + full_name='google.ads.googleads.v4.common.CpcBidSimulationPointList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v1.common.CpcBidSimulationPointList.points', index=0, + name='points', full_name='google.ads.googleads.v4.common.CpcBidSimulationPointList.points', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -93,13 +93,13 @@ _CPVBIDSIMULATIONPOINTLIST = _descriptor.Descriptor( name='CpvBidSimulationPointList', - full_name='google.ads.googleads.v1.common.CpvBidSimulationPointList', + full_name='google.ads.googleads.v4.common.CpvBidSimulationPointList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v1.common.CpvBidSimulationPointList.points', index=0, + name='points', full_name='google.ads.googleads.v4.common.CpvBidSimulationPointList.points', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -124,13 +124,13 @@ _TARGETCPASIMULATIONPOINTLIST = _descriptor.Descriptor( name='TargetCpaSimulationPointList', - full_name='google.ads.googleads.v1.common.TargetCpaSimulationPointList', + full_name='google.ads.googleads.v4.common.TargetCpaSimulationPointList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='points', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPointList.points', index=0, + name='points', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPointList.points', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -153,104 +153,142 @@ ) +_TARGETROASSIMULATIONPOINTLIST = _descriptor.Descriptor( + name='TargetRoasSimulationPointList', + full_name='google.ads.googleads.v4.common.TargetRoasSimulationPointList', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='points', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPointList.points', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=567, + serialized_end=673, +) + + _BIDMODIFIERSIMULATIONPOINT = _descriptor.Descriptor( name='BidModifierSimulationPoint', - full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint', + full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.bid_modifier', index=0, + name='bid_modifier', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.bid_modifier', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.biddable_conversions', index=1, + name='biddable_conversions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.biddable_conversions', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions_value', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.biddable_conversions_value', index=2, + name='biddable_conversions_value', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.biddable_conversions_value', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.clicks', index=3, + name='clicks', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.clicks', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.cost_micros', index=4, + name='cost_micros', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.cost_micros', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.impressions', index=5, + name='impressions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.impressions', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='top_slot_impressions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.top_slot_impressions', index=6, + name='top_slot_impressions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.top_slot_impressions', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_biddable_conversions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_biddable_conversions', index=7, + name='parent_biddable_conversions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_biddable_conversions', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_biddable_conversions_value', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_biddable_conversions_value', index=8, + name='parent_biddable_conversions_value', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_biddable_conversions_value', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_clicks', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_clicks', index=9, + name='parent_clicks', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_clicks', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_cost_micros', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_cost_micros', index=10, + name='parent_cost_micros', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_cost_micros', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_impressions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_impressions', index=11, + name='parent_impressions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_impressions', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parent_top_slot_impressions', full_name='google.ads.googleads.v1.common.BidModifierSimulationPoint.parent_top_slot_impressions', index=12, + name='parent_top_slot_impressions', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_top_slot_impressions', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='parent_required_budget_micros', full_name='google.ads.googleads.v4.common.BidModifierSimulationPoint.parent_required_budget_micros', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -263,62 +301,62 @@ extension_ranges=[], oneofs=[ ], - serialized_start=568, - serialized_end=1350, + serialized_start=676, + serialized_end=1526, ) _CPCBIDSIMULATIONPOINT = _descriptor.Descriptor( name='CpcBidSimulationPoint', - full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint', + full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.cpc_bid_micros', index=0, + name='cpc_bid_micros', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.cpc_bid_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.biddable_conversions', index=1, + name='biddable_conversions', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.biddable_conversions', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions_value', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.biddable_conversions_value', index=2, + name='biddable_conversions_value', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.biddable_conversions_value', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.clicks', index=3, + name='clicks', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.clicks', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.cost_micros', index=4, + name='cost_micros', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.cost_micros', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.impressions', index=5, + name='impressions', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.impressions', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='top_slot_impressions', full_name='google.ads.googleads.v1.common.CpcBidSimulationPoint.top_slot_impressions', index=6, + name='top_slot_impressions', full_name='google.ads.googleads.v4.common.CpcBidSimulationPoint.top_slot_impressions', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -336,39 +374,46 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1353, - serialized_end=1759, + serialized_start=1529, + serialized_end=1935, ) _CPVBIDSIMULATIONPOINT = _descriptor.Descriptor( name='CpvBidSimulationPoint', - full_name='google.ads.googleads.v1.common.CpvBidSimulationPoint', + full_name='google.ads.googleads.v4.common.CpvBidSimulationPoint', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='cpv_bid_micros', full_name='google.ads.googleads.v1.common.CpvBidSimulationPoint.cpv_bid_micros', index=0, + name='cpv_bid_micros', full_name='google.ads.googleads.v4.common.CpvBidSimulationPoint.cpv_bid_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.common.CpvBidSimulationPoint.cost_micros', index=1, + name='cost_micros', full_name='google.ads.googleads.v4.common.CpvBidSimulationPoint.cost_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.common.CpvBidSimulationPoint.impressions', index=2, + name='impressions', full_name='google.ads.googleads.v4.common.CpvBidSimulationPoint.impressions', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='views', full_name='google.ads.googleads.v4.common.CpvBidSimulationPoint.views', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -381,62 +426,135 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1762, - serialized_end=1938, + serialized_start=1938, + serialized_end=2158, ) _TARGETCPASIMULATIONPOINT = _descriptor.Descriptor( name='TargetCpaSimulationPoint', - full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint', + full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='target_cpa_micros', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.target_cpa_micros', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='biddable_conversions', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.biddable_conversions', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='biddable_conversions_value', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.biddable_conversions_value', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='clicks', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.clicks', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.cost_micros', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.impressions', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='top_slot_impressions', full_name='google.ads.googleads.v4.common.TargetCpaSimulationPoint.top_slot_impressions', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2161, + serialized_end=2573, +) + + +_TARGETROASSIMULATIONPOINT = _descriptor.Descriptor( + name='TargetRoasSimulationPoint', + full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.target_cpa_micros', index=0, + name='target_roas', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.target_roas', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.biddable_conversions', index=1, + name='biddable_conversions', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.biddable_conversions', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='biddable_conversions_value', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.biddable_conversions_value', index=2, + name='biddable_conversions_value', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.biddable_conversions_value', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.clicks', index=3, + name='clicks', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.clicks', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.cost_micros', index=4, + name='cost_micros', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.cost_micros', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.impressions', index=5, + name='impressions', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.impressions', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='top_slot_impressions', full_name='google.ads.googleads.v1.common.TargetCpaSimulationPoint.top_slot_impressions', index=6, + name='top_slot_impressions', full_name='google.ads.googleads.v4.common.TargetRoasSimulationPoint.top_slot_impressions', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -454,14 +572,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1941, - serialized_end=2353, + serialized_start=2576, + serialized_end=2984, ) _BIDMODIFIERSIMULATIONPOINTLIST.fields_by_name['points'].message_type = _BIDMODIFIERSIMULATIONPOINT _CPCBIDSIMULATIONPOINTLIST.fields_by_name['points'].message_type = _CPCBIDSIMULATIONPOINT _CPVBIDSIMULATIONPOINTLIST.fields_by_name['points'].message_type = _CPVBIDSIMULATIONPOINT _TARGETCPASIMULATIONPOINTLIST.fields_by_name['points'].message_type = _TARGETCPASIMULATIONPOINT +_TARGETROASSIMULATIONPOINTLIST.fields_by_name['points'].message_type = _TARGETROASSIMULATIONPOINT _BIDMODIFIERSIMULATIONPOINT.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _BIDMODIFIERSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -475,6 +594,7 @@ _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_top_slot_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_BIDMODIFIERSIMULATIONPOINT.fields_by_name['parent_required_budget_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CPCBIDSIMULATIONPOINT.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _CPCBIDSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -485,6 +605,7 @@ _CPVBIDSIMULATIONPOINT.fields_by_name['cpv_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CPVBIDSIMULATIONPOINT.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CPVBIDSIMULATIONPOINT.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CPVBIDSIMULATIONPOINT.fields_by_name['views'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPASIMULATIONPOINT.fields_by_name['target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _TARGETCPASIMULATIONPOINT.fields_by_name['biddable_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE @@ -492,19 +613,28 @@ _TARGETCPASIMULATIONPOINT.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPASIMULATIONPOINT.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _TARGETCPASIMULATIONPOINT.fields_by_name['top_slot_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['target_roas'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['biddable_conversions_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_TARGETROASSIMULATIONPOINT.fields_by_name['top_slot_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE DESCRIPTOR.message_types_by_name['BidModifierSimulationPointList'] = _BIDMODIFIERSIMULATIONPOINTLIST DESCRIPTOR.message_types_by_name['CpcBidSimulationPointList'] = _CPCBIDSIMULATIONPOINTLIST DESCRIPTOR.message_types_by_name['CpvBidSimulationPointList'] = _CPVBIDSIMULATIONPOINTLIST DESCRIPTOR.message_types_by_name['TargetCpaSimulationPointList'] = _TARGETCPASIMULATIONPOINTLIST +DESCRIPTOR.message_types_by_name['TargetRoasSimulationPointList'] = _TARGETROASSIMULATIONPOINTLIST DESCRIPTOR.message_types_by_name['BidModifierSimulationPoint'] = _BIDMODIFIERSIMULATIONPOINT DESCRIPTOR.message_types_by_name['CpcBidSimulationPoint'] = _CPCBIDSIMULATIONPOINT DESCRIPTOR.message_types_by_name['CpvBidSimulationPoint'] = _CPVBIDSIMULATIONPOINT DESCRIPTOR.message_types_by_name['TargetCpaSimulationPoint'] = _TARGETCPASIMULATIONPOINT +DESCRIPTOR.message_types_by_name['TargetRoasSimulationPoint'] = _TARGETROASSIMULATIONPOINT _sym_db.RegisterFileDescriptor(DESCRIPTOR) BidModifierSimulationPointList = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPointList', (_message.Message,), dict( DESCRIPTOR = _BIDMODIFIERSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """A container for simulation points for simulations of type BID\_MODIFIER. @@ -513,13 +643,13 @@ points: Projected metrics for a series of bid modifier amounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.BidModifierSimulationPointList) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.BidModifierSimulationPointList) )) _sym_db.RegisterMessage(BidModifierSimulationPointList) CpcBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPointList', (_message.Message,), dict( DESCRIPTOR = _CPCBIDSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """A container for simulation points for simulations of type CPC\_BID. @@ -528,13 +658,13 @@ points: Projected metrics for a series of CPC bid amounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CpcBidSimulationPointList) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CpcBidSimulationPointList) )) _sym_db.RegisterMessage(CpcBidSimulationPointList) CpvBidSimulationPointList = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPointList', (_message.Message,), dict( DESCRIPTOR = _CPVBIDSIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """A container for simulation points for simulations of type CPV\_BID. @@ -543,13 +673,13 @@ points: Projected metrics for a series of CPV bid amounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CpvBidSimulationPointList) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CpvBidSimulationPointList) )) _sym_db.RegisterMessage(CpvBidSimulationPointList) TargetCpaSimulationPointList = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPointList', (_message.Message,), dict( DESCRIPTOR = _TARGETCPASIMULATIONPOINTLIST, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """A container for simulation points for simulations of type TARGET\_CPA. @@ -558,13 +688,28 @@ points: Projected metrics for a series of target CPA amounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetCpaSimulationPointList) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetCpaSimulationPointList) )) _sym_db.RegisterMessage(TargetCpaSimulationPointList) +TargetRoasSimulationPointList = _reflection.GeneratedProtocolMessageType('TargetRoasSimulationPointList', (_message.Message,), dict( + DESCRIPTOR = _TARGETROASSIMULATIONPOINTLIST, + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' + , + __doc__ = """A container for simulation points for simulations of type TARGET\_ROAS. + + + Attributes: + points: + Projected metrics for a series of target ROAS amounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetRoasSimulationPointList) + )) +_sym_db.RegisterMessage(TargetRoasSimulationPointList) + BidModifierSimulationPoint = _reflection.GeneratedProtocolMessageType('BidModifierSimulationPoint', (_message.Message,), dict( DESCRIPTOR = _BIDMODIFIERSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """Projected metrics for a specific bid modifier amount. @@ -574,9 +719,11 @@ The simulated bid modifier upon which projected metrics are based. biddable_conversions: - Projected number of biddable conversions. + Projected number of biddable conversions. Only search + advertising channel type supports this field. biddable_conversions_value: - Projected total value of biddable conversions. + Projected total value of biddable conversions. Only search + advertising channel type supports this field. clicks: Projected number of clicks. cost_micros: @@ -584,13 +731,16 @@ impressions: Projected number of impressions. top_slot_impressions: - Projected number of top slot impressions. + Projected number of top slot impressions. Only search + advertising channel type supports this field. parent_biddable_conversions: Projected number of biddable conversions for the parent - resource. + resource. Only search advertising channel type supports this + field. parent_biddable_conversions_value: Projected total value of biddable conversions for the parent - resource. + resource. Only search advertising channel type supports this + field. parent_clicks: Projected number of clicks for the parent resource. parent_cost_micros: @@ -599,15 +749,19 @@ Projected number of impressions for the parent resource. parent_top_slot_impressions: Projected number of top slot impressions for the parent - resource. + resource. Only search advertising channel type supports this + field. + parent_required_budget_micros: + Projected minimum daily budget that must be available to the + parent resource to realize this simulation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.BidModifierSimulationPoint) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.BidModifierSimulationPoint) )) _sym_db.RegisterMessage(BidModifierSimulationPoint) CpcBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpcBidSimulationPoint', (_message.Message,), dict( DESCRIPTOR = _CPCBIDSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """Projected metrics for a specific CPC bid amount. @@ -626,16 +780,16 @@ impressions: Projected number of impressions. top_slot_impressions: - Projected number of top slot impressions. Display network does - not support this field at the ad group level. + Projected number of top slot impressions. Only search + advertising channel type supports this field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CpcBidSimulationPoint) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CpcBidSimulationPoint) )) _sym_db.RegisterMessage(CpcBidSimulationPoint) CpvBidSimulationPoint = _reflection.GeneratedProtocolMessageType('CpvBidSimulationPoint', (_message.Message,), dict( DESCRIPTOR = _CPVBIDSIMULATIONPOINT, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """Projected metrics for a specific CPV bid amount. @@ -647,14 +801,16 @@ Projected cost in micros. impressions: Projected number of impressions. + views: + Projected number of views. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CpvBidSimulationPoint) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CpvBidSimulationPoint) )) _sym_db.RegisterMessage(CpvBidSimulationPoint) TargetCpaSimulationPoint = _reflection.GeneratedProtocolMessageType('TargetCpaSimulationPoint', (_message.Message,), dict( DESCRIPTOR = _TARGETCPASIMULATIONPOINT, - __module__ = 'google.ads.googleads_v1.proto.common.simulation_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' , __doc__ = """Projected metrics for a specific target CPA amount. @@ -674,13 +830,42 @@ impressions: Projected number of impressions. top_slot_impressions: - Projected number of top slot impressions. Display network does - not support this field at the ad group level. + Projected number of top slot impressions. Only search + advertising channel type supports this field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.TargetCpaSimulationPoint) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetCpaSimulationPoint) )) _sym_db.RegisterMessage(TargetCpaSimulationPoint) +TargetRoasSimulationPoint = _reflection.GeneratedProtocolMessageType('TargetRoasSimulationPoint', (_message.Message,), dict( + DESCRIPTOR = _TARGETROASSIMULATIONPOINT, + __module__ = 'google.ads.googleads_v4.proto.common.simulation_pb2' + , + __doc__ = """Projected metrics for a specific target ROAS amount. + + + Attributes: + target_roas: + The simulated target ROAS upon which projected metrics are + based. + biddable_conversions: + Projected number of biddable conversions. + biddable_conversions_value: + Projected total value of biddable conversions. + clicks: + Projected number of clicks. + cost_micros: + Projected cost in micros. + impressions: + Projected number of impressions. + top_slot_impressions: + Projected number of top slot impressions. Only Search + advertising channel type supports this field. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.TargetRoasSimulationPoint) + )) +_sym_db.RegisterMessage(TargetRoasSimulationPoint) + DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/common/tag_snippet_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/simulation_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/tag_snippet_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/simulation_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/tag_snippet_pb2.py b/google/ads/google_ads/v4/proto/common/tag_snippet_pb2.py similarity index 68% rename from google/ads/google_ads/v1/proto/common/tag_snippet_pb2.py rename to google/ads/google_ads/v4/proto/common/tag_snippet_pb2.py index 37090fe0b..704aba092 100644 --- a/google/ads/google_ads/v1/proto/common/tag_snippet_pb2.py +++ b/google/ads/google_ads/v4/proto/common/tag_snippet_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/tag_snippet.proto +# source: google/ads/googleads_v4/proto/common/tag_snippet.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,54 +13,54 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import tracking_code_page_format_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_tracking__code__page__format__pb2 -from google.ads.google_ads.v1.proto.enums import tracking_code_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_tracking__code__type__pb2 +from google.ads.google_ads.v4.proto.enums import tracking_code_page_format_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_tracking__code__page__format__pb2 +from google.ads.google_ads.v4.proto.enums import tracking_code_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_tracking__code__type__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/tag_snippet.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/tag_snippet.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\017TagSnippetProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/common/tag_snippet.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x43google/ads/googleads_v1/proto/enums/tracking_code_page_format.proto\x1a\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.UserListRuleInfo\x12\x30\n\nstart_date\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\\\n\x1a\x45xpressionRuleUserListInfo\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.UserListRuleInfo\"\xcd\x03\n\x15RuleBasedUserListInfo\x12x\n\x14prepopulation_status\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus\x12[\n\x17\x63ombined_rule_user_list\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v1.common.CombinedRuleUserListInfoH\x00\x12\x64\n\x1c\x64\x61te_specific_rule_user_list\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v1.common.DateSpecificRuleUserListInfoH\x00\x12_\n\x19\x65xpression_rule_user_list\x18\x04 \x01(\x0b\x32:.google.ads.googleads.v1.common.ExpressionRuleUserListInfoH\x00\x42\x16\n\x14rule_based_user_list\"]\n\x13LogicalUserListInfo\x12\x46\n\x05rules\x18\x01 \x03(\x0b\x32\x37.google.ads.googleads.v1.common.UserListLogicalRuleInfo\"\xda\x01\n\x17UserListLogicalRuleInfo\x12l\n\x08operator\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator\x12Q\n\rrule_operands\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.common.LogicalUserListOperandInfo\"M\n\x1aLogicalUserListOperandInfo\x12/\n\tuser_list\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"X\n\x11\x42\x61sicUserListInfo\x12\x43\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v1.common.UserListActionInfo\"\x9f\x01\n\x12UserListActionInfo\x12\x39\n\x11\x63onversion_action\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12:\n\x12remarketing_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x12\n\x10user_list_actionB\xe9\x01\n\"com.google.ads.googleads.v1.commonB\x0eUserListsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\016UserListsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/common/user_lists.proto\x12\x1egoogle.ads.googleads.v4.common\x1aHgoogle/ads/googleads_v4/proto/enums/customer_match_upload_key_type.proto\x1aJgoogle/ads/googleads_v4/proto/enums/user_list_combined_rule_operator.proto\x1aHgoogle/ads/googleads_v4/proto/enums/user_list_crm_data_source_type.proto\x1aKgoogle/ads/googleads_v4/proto/enums/user_list_date_rule_item_operator.proto\x1aIgoogle/ads/googleads_v4/proto/enums/user_list_logical_rule_operator.proto\x1aMgoogle/ads/googleads_v4/proto/enums/user_list_number_rule_item_operator.proto\x1aHgoogle/ads/googleads_v4/proto/enums/user_list_prepopulation_status.proto\x1a=google/ads/googleads_v4/proto/enums/user_list_rule_type.proto\x1aMgoogle/ads/googleads_v4/proto/enums/user_list_string_rule_item_operator.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"K\n\x13SimilarUserListInfo\x12\x34\n\x0eseed_user_list\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa9\x02\n\x14\x43rmBasedUserListInfo\x12,\n\x06\x61pp_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12q\n\x0fupload_key_type\x18\x02 \x01(\x0e\x32X.google.ads.googleads.v4.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType\x12p\n\x10\x64\x61ta_source_type\x18\x03 \x01(\x0e\x32V.google.ads.googleads.v4.enums.UserListCrmDataSourceTypeEnum.UserListCrmDataSourceType\"\xc0\x01\n\x10UserListRuleInfo\x12W\n\trule_type\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.UserListRuleTypeEnum.UserListRuleType\x12S\n\x10rule_item_groups\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.common.UserListRuleItemGroupInfo\"e\n\x19UserListRuleItemGroupInfo\x12H\n\nrule_items\x18\x01 \x03(\x0b\x32\x34.google.ads.googleads.v4.common.UserListRuleItemInfo\"\xd3\x02\n\x14UserListRuleItemInfo\x12*\n\x04name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12V\n\x10number_rule_item\x18\x02 \x01(\x0b\x32:.google.ads.googleads.v4.common.UserListNumberRuleItemInfoH\x00\x12V\n\x10string_rule_item\x18\x03 \x01(\x0b\x32:.google.ads.googleads.v4.common.UserListStringRuleItemInfoH\x00\x12R\n\x0e\x64\x61te_rule_item\x18\x04 \x01(\x0b\x32\x38.google.ads.googleads.v4.common.UserListDateRuleItemInfoH\x00\x42\x0b\n\trule_item\"\xec\x01\n\x18UserListDateRuleItemInfo\x12n\n\x08operator\x18\x01 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.UserListDateRuleItemOperatorEnum.UserListDateRuleItemOperator\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\x0eoffset_in_days\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xbd\x01\n\x1aUserListNumberRuleItemInfo\x12r\n\x08operator\x18\x01 \x01(\x0e\x32`.google.ads.googleads.v4.enums.UserListNumberRuleItemOperatorEnum.UserListNumberRuleItemOperator\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xbd\x01\n\x1aUserListStringRuleItemInfo\x12r\n\x08operator\x18\x01 \x01(\x0e\x32`.google.ads.googleads.v4.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator\x12+\n\x05value\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa0\x02\n\x18\x43ombinedRuleUserListInfo\x12\x46\n\x0cleft_operand\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserListRuleInfo\x12G\n\rright_operand\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserListRuleInfo\x12s\n\rrule_operator\x18\x03 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.UserListCombinedRuleOperatorEnum.UserListCombinedRuleOperator\"\xc0\x01\n\x1c\x44\x61teSpecificRuleUserListInfo\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserListRuleInfo\x12\x30\n\nstart_date\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\\\n\x1a\x45xpressionRuleUserListInfo\x12>\n\x04rule\x18\x01 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserListRuleInfo\"\xcd\x03\n\x15RuleBasedUserListInfo\x12x\n\x14prepopulation_status\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.UserListPrepopulationStatusEnum.UserListPrepopulationStatus\x12[\n\x17\x63ombined_rule_user_list\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v4.common.CombinedRuleUserListInfoH\x00\x12\x64\n\x1c\x64\x61te_specific_rule_user_list\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v4.common.DateSpecificRuleUserListInfoH\x00\x12_\n\x19\x65xpression_rule_user_list\x18\x04 \x01(\x0b\x32:.google.ads.googleads.v4.common.ExpressionRuleUserListInfoH\x00\x42\x16\n\x14rule_based_user_list\"]\n\x13LogicalUserListInfo\x12\x46\n\x05rules\x18\x01 \x03(\x0b\x32\x37.google.ads.googleads.v4.common.UserListLogicalRuleInfo\"\xda\x01\n\x17UserListLogicalRuleInfo\x12l\n\x08operator\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.UserListLogicalRuleOperatorEnum.UserListLogicalRuleOperator\x12Q\n\rrule_operands\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.common.LogicalUserListOperandInfo\"M\n\x1aLogicalUserListOperandInfo\x12/\n\tuser_list\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"X\n\x11\x42\x61sicUserListInfo\x12\x43\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v4.common.UserListActionInfo\"\x9f\x01\n\x12UserListActionInfo\x12\x39\n\x11\x63onversion_action\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12:\n\x12remarketing_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x12\n\x10user_list_actionB\xe9\x01\n\"com.google.ads.googleads.v4.commonB\x0eUserListsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__rule__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__rule__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _SIMILARUSERLISTINFO = _descriptor.Descriptor( name='SimilarUserListInfo', - full_name='google.ads.googleads.v1.common.SimilarUserListInfo', + full_name='google.ads.googleads.v4.common.SimilarUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='seed_user_list', full_name='google.ads.googleads.v1.common.SimilarUserListInfo.seed_user_list', index=0, + name='seed_user_list', full_name='google.ads.googleads.v4.common.SimilarUserListInfo.seed_user_list', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -71,27 +71,27 @@ _CRMBASEDUSERLISTINFO = _descriptor.Descriptor( name='CrmBasedUserListInfo', - full_name='google.ads.googleads.v1.common.CrmBasedUserListInfo', + full_name='google.ads.googleads.v4.common.CrmBasedUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.common.CrmBasedUserListInfo.app_id', index=0, + name='app_id', full_name='google.ads.googleads.v4.common.CrmBasedUserListInfo.app_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='upload_key_type', full_name='google.ads.googleads.v1.common.CrmBasedUserListInfo.upload_key_type', index=1, + name='upload_key_type', full_name='google.ads.googleads.v4.common.CrmBasedUserListInfo.upload_key_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='data_source_type', full_name='google.ads.googleads.v1.common.CrmBasedUserListInfo.data_source_type', index=2, + name='data_source_type', full_name='google.ads.googleads.v4.common.CrmBasedUserListInfo.data_source_type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -116,20 +116,20 @@ _USERLISTRULEINFO = _descriptor.Descriptor( name='UserListRuleInfo', - full_name='google.ads.googleads.v1.common.UserListRuleInfo', + full_name='google.ads.googleads.v4.common.UserListRuleInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='rule_type', full_name='google.ads.googleads.v1.common.UserListRuleInfo.rule_type', index=0, + name='rule_type', full_name='google.ads.googleads.v4.common.UserListRuleInfo.rule_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='rule_item_groups', full_name='google.ads.googleads.v1.common.UserListRuleInfo.rule_item_groups', index=1, + name='rule_item_groups', full_name='google.ads.googleads.v4.common.UserListRuleInfo.rule_item_groups', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -154,13 +154,13 @@ _USERLISTRULEITEMGROUPINFO = _descriptor.Descriptor( name='UserListRuleItemGroupInfo', - full_name='google.ads.googleads.v1.common.UserListRuleItemGroupInfo', + full_name='google.ads.googleads.v4.common.UserListRuleItemGroupInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='rule_items', full_name='google.ads.googleads.v1.common.UserListRuleItemGroupInfo.rule_items', index=0, + name='rule_items', full_name='google.ads.googleads.v4.common.UserListRuleItemGroupInfo.rule_items', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -185,34 +185,34 @@ _USERLISTRULEITEMINFO = _descriptor.Descriptor( name='UserListRuleItemInfo', - full_name='google.ads.googleads.v1.common.UserListRuleItemInfo', + full_name='google.ads.googleads.v4.common.UserListRuleItemInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.common.UserListRuleItemInfo.name', index=0, + name='name', full_name='google.ads.googleads.v4.common.UserListRuleItemInfo.name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='number_rule_item', full_name='google.ads.googleads.v1.common.UserListRuleItemInfo.number_rule_item', index=1, + name='number_rule_item', full_name='google.ads.googleads.v4.common.UserListRuleItemInfo.number_rule_item', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_rule_item', full_name='google.ads.googleads.v1.common.UserListRuleItemInfo.string_rule_item', index=2, + name='string_rule_item', full_name='google.ads.googleads.v4.common.UserListRuleItemInfo.string_rule_item', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date_rule_item', full_name='google.ads.googleads.v1.common.UserListRuleItemInfo.date_rule_item', index=3, + name='date_rule_item', full_name='google.ads.googleads.v4.common.UserListRuleItemInfo.date_rule_item', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -230,7 +230,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='rule_item', full_name='google.ads.googleads.v1.common.UserListRuleItemInfo.rule_item', + name='rule_item', full_name='google.ads.googleads.v4.common.UserListRuleItemInfo.rule_item', index=0, containing_type=None, fields=[]), ], serialized_start=1498, @@ -240,27 +240,27 @@ _USERLISTDATERULEITEMINFO = _descriptor.Descriptor( name='UserListDateRuleItemInfo', - full_name='google.ads.googleads.v1.common.UserListDateRuleItemInfo', + full_name='google.ads.googleads.v4.common.UserListDateRuleItemInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.UserListDateRuleItemInfo.operator', index=0, + name='operator', full_name='google.ads.googleads.v4.common.UserListDateRuleItemInfo.operator', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.UserListDateRuleItemInfo.value', index=1, + name='value', full_name='google.ads.googleads.v4.common.UserListDateRuleItemInfo.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='offset_in_days', full_name='google.ads.googleads.v1.common.UserListDateRuleItemInfo.offset_in_days', index=2, + name='offset_in_days', full_name='google.ads.googleads.v4.common.UserListDateRuleItemInfo.offset_in_days', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -285,20 +285,20 @@ _USERLISTNUMBERRULEITEMINFO = _descriptor.Descriptor( name='UserListNumberRuleItemInfo', - full_name='google.ads.googleads.v1.common.UserListNumberRuleItemInfo', + full_name='google.ads.googleads.v4.common.UserListNumberRuleItemInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.UserListNumberRuleItemInfo.operator', index=0, + name='operator', full_name='google.ads.googleads.v4.common.UserListNumberRuleItemInfo.operator', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.UserListNumberRuleItemInfo.value', index=1, + name='value', full_name='google.ads.googleads.v4.common.UserListNumberRuleItemInfo.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -323,20 +323,20 @@ _USERLISTSTRINGRULEITEMINFO = _descriptor.Descriptor( name='UserListStringRuleItemInfo', - full_name='google.ads.googleads.v1.common.UserListStringRuleItemInfo', + full_name='google.ads.googleads.v4.common.UserListStringRuleItemInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.UserListStringRuleItemInfo.operator', index=0, + name='operator', full_name='google.ads.googleads.v4.common.UserListStringRuleItemInfo.operator', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.common.UserListStringRuleItemInfo.value', index=1, + name='value', full_name='google.ads.googleads.v4.common.UserListStringRuleItemInfo.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -361,27 +361,27 @@ _COMBINEDRULEUSERLISTINFO = _descriptor.Descriptor( name='CombinedRuleUserListInfo', - full_name='google.ads.googleads.v1.common.CombinedRuleUserListInfo', + full_name='google.ads.googleads.v4.common.CombinedRuleUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='left_operand', full_name='google.ads.googleads.v1.common.CombinedRuleUserListInfo.left_operand', index=0, + name='left_operand', full_name='google.ads.googleads.v4.common.CombinedRuleUserListInfo.left_operand', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='right_operand', full_name='google.ads.googleads.v1.common.CombinedRuleUserListInfo.right_operand', index=1, + name='right_operand', full_name='google.ads.googleads.v4.common.CombinedRuleUserListInfo.right_operand', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='rule_operator', full_name='google.ads.googleads.v1.common.CombinedRuleUserListInfo.rule_operator', index=2, + name='rule_operator', full_name='google.ads.googleads.v4.common.CombinedRuleUserListInfo.rule_operator', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -406,27 +406,27 @@ _DATESPECIFICRULEUSERLISTINFO = _descriptor.Descriptor( name='DateSpecificRuleUserListInfo', - full_name='google.ads.googleads.v1.common.DateSpecificRuleUserListInfo', + full_name='google.ads.googleads.v4.common.DateSpecificRuleUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='rule', full_name='google.ads.googleads.v1.common.DateSpecificRuleUserListInfo.rule', index=0, + name='rule', full_name='google.ads.googleads.v4.common.DateSpecificRuleUserListInfo.rule', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.common.DateSpecificRuleUserListInfo.start_date', index=1, + name='start_date', full_name='google.ads.googleads.v4.common.DateSpecificRuleUserListInfo.start_date', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.common.DateSpecificRuleUserListInfo.end_date', index=2, + name='end_date', full_name='google.ads.googleads.v4.common.DateSpecificRuleUserListInfo.end_date', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -451,13 +451,13 @@ _EXPRESSIONRULEUSERLISTINFO = _descriptor.Descriptor( name='ExpressionRuleUserListInfo', - full_name='google.ads.googleads.v1.common.ExpressionRuleUserListInfo', + full_name='google.ads.googleads.v4.common.ExpressionRuleUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='rule', full_name='google.ads.googleads.v1.common.ExpressionRuleUserListInfo.rule', index=0, + name='rule', full_name='google.ads.googleads.v4.common.ExpressionRuleUserListInfo.rule', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -482,34 +482,34 @@ _RULEBASEDUSERLISTINFO = _descriptor.Descriptor( name='RuleBasedUserListInfo', - full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo', + full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='prepopulation_status', full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo.prepopulation_status', index=0, + name='prepopulation_status', full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo.prepopulation_status', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='combined_rule_user_list', full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo.combined_rule_user_list', index=1, + name='combined_rule_user_list', full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo.combined_rule_user_list', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date_specific_rule_user_list', full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo.date_specific_rule_user_list', index=2, + name='date_specific_rule_user_list', full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo.date_specific_rule_user_list', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='expression_rule_user_list', full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo.expression_rule_user_list', index=3, + name='expression_rule_user_list', full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo.expression_rule_user_list', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -527,7 +527,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='rule_based_user_list', full_name='google.ads.googleads.v1.common.RuleBasedUserListInfo.rule_based_user_list', + name='rule_based_user_list', full_name='google.ads.googleads.v4.common.RuleBasedUserListInfo.rule_based_user_list', index=0, containing_type=None, fields=[]), ], serialized_start=3043, @@ -537,13 +537,13 @@ _LOGICALUSERLISTINFO = _descriptor.Descriptor( name='LogicalUserListInfo', - full_name='google.ads.googleads.v1.common.LogicalUserListInfo', + full_name='google.ads.googleads.v4.common.LogicalUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='rules', full_name='google.ads.googleads.v1.common.LogicalUserListInfo.rules', index=0, + name='rules', full_name='google.ads.googleads.v4.common.LogicalUserListInfo.rules', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -568,20 +568,20 @@ _USERLISTLOGICALRULEINFO = _descriptor.Descriptor( name='UserListLogicalRuleInfo', - full_name='google.ads.googleads.v1.common.UserListLogicalRuleInfo', + full_name='google.ads.googleads.v4.common.UserListLogicalRuleInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.common.UserListLogicalRuleInfo.operator', index=0, + name='operator', full_name='google.ads.googleads.v4.common.UserListLogicalRuleInfo.operator', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='rule_operands', full_name='google.ads.googleads.v1.common.UserListLogicalRuleInfo.rule_operands', index=1, + name='rule_operands', full_name='google.ads.googleads.v4.common.UserListLogicalRuleInfo.rule_operands', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -606,13 +606,13 @@ _LOGICALUSERLISTOPERANDINFO = _descriptor.Descriptor( name='LogicalUserListOperandInfo', - full_name='google.ads.googleads.v1.common.LogicalUserListOperandInfo', + full_name='google.ads.googleads.v4.common.LogicalUserListOperandInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v1.common.LogicalUserListOperandInfo.user_list', index=0, + name='user_list', full_name='google.ads.googleads.v4.common.LogicalUserListOperandInfo.user_list', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -637,13 +637,13 @@ _BASICUSERLISTINFO = _descriptor.Descriptor( name='BasicUserListInfo', - full_name='google.ads.googleads.v1.common.BasicUserListInfo', + full_name='google.ads.googleads.v4.common.BasicUserListInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='actions', full_name='google.ads.googleads.v1.common.BasicUserListInfo.actions', index=0, + name='actions', full_name='google.ads.googleads.v4.common.BasicUserListInfo.actions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -668,20 +668,20 @@ _USERLISTACTIONINFO = _descriptor.Descriptor( name='UserListActionInfo', - full_name='google.ads.googleads.v1.common.UserListActionInfo', + full_name='google.ads.googleads.v4.common.UserListActionInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.common.UserListActionInfo.conversion_action', index=0, + name='conversion_action', full_name='google.ads.googleads.v4.common.UserListActionInfo.conversion_action', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remarketing_action', full_name='google.ads.googleads.v1.common.UserListActionInfo.remarketing_action', index=1, + name='remarketing_action', full_name='google.ads.googleads.v4.common.UserListActionInfo.remarketing_action', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -699,7 +699,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='user_list_action', full_name='google.ads.googleads.v1.common.UserListActionInfo.user_list_action', + name='user_list_action', full_name='google.ads.googleads.v4.common.UserListActionInfo.user_list_action', index=0, containing_type=None, fields=[]), ], serialized_start=3992, @@ -708,9 +708,9 @@ _SIMILARUSERLISTINFO.fields_by_name['seed_user_list'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CRMBASEDUSERLISTINFO.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CRMBASEDUSERLISTINFO.fields_by_name['upload_key_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2._CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE -_CRMBASEDUSERLISTINFO.fields_by_name['data_source_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2._USERLISTCRMDATASOURCETYPEENUM_USERLISTCRMDATASOURCETYPE -_USERLISTRULEINFO.fields_by_name['rule_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__rule__type__pb2._USERLISTRULETYPEENUM_USERLISTRULETYPE +_CRMBASEDUSERLISTINFO.fields_by_name['upload_key_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_customer__match__upload__key__type__pb2._CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE +_CRMBASEDUSERLISTINFO.fields_by_name['data_source_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__crm__data__source__type__pb2._USERLISTCRMDATASOURCETYPEENUM_USERLISTCRMDATASOURCETYPE +_USERLISTRULEINFO.fields_by_name['rule_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__rule__type__pb2._USERLISTRULETYPEENUM_USERLISTRULETYPE _USERLISTRULEINFO.fields_by_name['rule_item_groups'].message_type = _USERLISTRULEITEMGROUPINFO _USERLISTRULEITEMGROUPINFO.fields_by_name['rule_items'].message_type = _USERLISTRULEITEMINFO _USERLISTRULEITEMINFO.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -726,21 +726,21 @@ _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'].fields.append( _USERLISTRULEITEMINFO.fields_by_name['date_rule_item']) _USERLISTRULEITEMINFO.fields_by_name['date_rule_item'].containing_oneof = _USERLISTRULEITEMINFO.oneofs_by_name['rule_item'] -_USERLISTDATERULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2._USERLISTDATERULEITEMOPERATORENUM_USERLISTDATERULEITEMOPERATOR +_USERLISTDATERULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__date__rule__item__operator__pb2._USERLISTDATERULEITEMOPERATORENUM_USERLISTDATERULEITEMOPERATOR _USERLISTDATERULEITEMINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _USERLISTDATERULEITEMINFO.fields_by_name['offset_in_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_USERLISTNUMBERRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2._USERLISTNUMBERRULEITEMOPERATORENUM_USERLISTNUMBERRULEITEMOPERATOR +_USERLISTNUMBERRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__number__rule__item__operator__pb2._USERLISTNUMBERRULEITEMOPERATORENUM_USERLISTNUMBERRULEITEMOPERATOR _USERLISTNUMBERRULEITEMINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_USERLISTSTRINGRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2._USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR +_USERLISTSTRINGRULEITEMINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__string__rule__item__operator__pb2._USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR _USERLISTSTRINGRULEITEMINFO.fields_by_name['value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _COMBINEDRULEUSERLISTINFO.fields_by_name['left_operand'].message_type = _USERLISTRULEINFO _COMBINEDRULEUSERLISTINFO.fields_by_name['right_operand'].message_type = _USERLISTRULEINFO -_COMBINEDRULEUSERLISTINFO.fields_by_name['rule_operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2._USERLISTCOMBINEDRULEOPERATORENUM_USERLISTCOMBINEDRULEOPERATOR +_COMBINEDRULEUSERLISTINFO.fields_by_name['rule_operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__combined__rule__operator__pb2._USERLISTCOMBINEDRULEOPERATORENUM_USERLISTCOMBINEDRULEOPERATOR _DATESPECIFICRULEUSERLISTINFO.fields_by_name['rule'].message_type = _USERLISTRULEINFO _DATESPECIFICRULEUSERLISTINFO.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _DATESPECIFICRULEUSERLISTINFO.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _EXPRESSIONRULEUSERLISTINFO.fields_by_name['rule'].message_type = _USERLISTRULEINFO -_RULEBASEDUSERLISTINFO.fields_by_name['prepopulation_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2._USERLISTPREPOPULATIONSTATUSENUM_USERLISTPREPOPULATIONSTATUS +_RULEBASEDUSERLISTINFO.fields_by_name['prepopulation_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__prepopulation__status__pb2._USERLISTPREPOPULATIONSTATUSENUM_USERLISTPREPOPULATIONSTATUS _RULEBASEDUSERLISTINFO.fields_by_name['combined_rule_user_list'].message_type = _COMBINEDRULEUSERLISTINFO _RULEBASEDUSERLISTINFO.fields_by_name['date_specific_rule_user_list'].message_type = _DATESPECIFICRULEUSERLISTINFO _RULEBASEDUSERLISTINFO.fields_by_name['expression_rule_user_list'].message_type = _EXPRESSIONRULEUSERLISTINFO @@ -754,7 +754,7 @@ _RULEBASEDUSERLISTINFO.fields_by_name['expression_rule_user_list']) _RULEBASEDUSERLISTINFO.fields_by_name['expression_rule_user_list'].containing_oneof = _RULEBASEDUSERLISTINFO.oneofs_by_name['rule_based_user_list'] _LOGICALUSERLISTINFO.fields_by_name['rules'].message_type = _USERLISTLOGICALRULEINFO -_USERLISTLOGICALRULEINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2._USERLISTLOGICALRULEOPERATORENUM_USERLISTLOGICALRULEOPERATOR +_USERLISTLOGICALRULEINFO.fields_by_name['operator'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__logical__rule__operator__pb2._USERLISTLOGICALRULEOPERATORENUM_USERLISTLOGICALRULEOPERATOR _USERLISTLOGICALRULEINFO.fields_by_name['rule_operands'].message_type = _LOGICALUSERLISTOPERANDINFO _LOGICALUSERLISTOPERANDINFO.fields_by_name['user_list'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _BASICUSERLISTINFO.fields_by_name['actions'].message_type = _USERLISTACTIONINFO @@ -787,7 +787,7 @@ SimilarUserListInfo = _reflection.GeneratedProtocolMessageType('SimilarUserListInfo', (_message.Message,), dict( DESCRIPTOR = _SIMILARUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """SimilarUserList is a list of users which are similar to users from another UserList. These lists are read-only and automatically created by @@ -798,13 +798,13 @@ seed_user_list: Seed UserList from which this list is derived. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.SimilarUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.SimilarUserListInfo) )) _sym_db.RegisterMessage(SimilarUserListInfo) CrmBasedUserListInfo = _reflection.GeneratedProtocolMessageType('CrmBasedUserListInfo', (_message.Message,), dict( DESCRIPTOR = _CRMBASEDUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """UserList of CRM users provided by the advertiser. @@ -831,13 +831,13 @@ whitelisted customers can create third-party sourced CRM lists. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CrmBasedUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CrmBasedUserListInfo) )) _sym_db.RegisterMessage(CrmBasedUserListInfo) UserListRuleInfo = _reflection.GeneratedProtocolMessageType('UserListRuleInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTRULEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """A client defined rule based on custom parameters sent by web sites or uploaded by the advertiser. @@ -855,13 +855,13 @@ List of rule item groups that defines this rule. Rule item groups are grouped together based on rule\_type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListRuleInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListRuleInfo) )) _sym_db.RegisterMessage(UserListRuleInfo) UserListRuleItemGroupInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemGroupInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTRULEITEMGROUPINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """A group of rule items. @@ -870,15 +870,15 @@ rule_items: Rule items that will be grouped together based on rule\_type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListRuleItemGroupInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListRuleItemGroupInfo) )) _sym_db.RegisterMessage(UserListRuleItemGroupInfo) UserListRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListRuleItemInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTRULEITEMINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , - __doc__ = """An atomic rule fragment. + __doc__ = """An atomic rule item. Attributes: @@ -892,23 +892,23 @@ 'ref\_url\_\_'). This field must be populated when creating a new rule item. rule_item: - An atomic rule fragment. + An atomic rule item. number_rule_item: - An atomic rule fragment composed of a number operation. + An atomic rule item composed of a number operation. string_rule_item: - An atomic rule fragment composed of a string operation. + An atomic rule item composed of a string operation. date_rule_item: - An atomic rule fragment composed of a date operation. + An atomic rule item composed of a date operation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListRuleItemInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListRuleItemInfo) )) _sym_db.RegisterMessage(UserListRuleItemInfo) UserListDateRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListDateRuleItemInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTDATERULEITEMINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , - __doc__ = """A rule item composed of date operation. + __doc__ = """A rule item composed of a date operation. Attributes: @@ -924,15 +924,15 @@ number of days offset from now. The value field will override this field when both are present. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListDateRuleItemInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListDateRuleItemInfo) )) _sym_db.RegisterMessage(UserListDateRuleItemInfo) UserListNumberRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListNumberRuleItemInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTNUMBERRULEITEMINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , - __doc__ = """A rule item composed of number operation. + __doc__ = """A rule item composed of a number operation. Attributes: @@ -944,15 +944,15 @@ required and must be populated when creating a new number rule item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListNumberRuleItemInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListNumberRuleItemInfo) )) _sym_db.RegisterMessage(UserListNumberRuleItemInfo) UserListStringRuleItemInfo = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTSTRINGRULEITEMINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , - __doc__ = """A rule item fragment composed of date operation. + __doc__ = """A rule item composed of a string operation. Attributes: @@ -966,13 +966,13 @@ required and must be populated when creating a new string rule item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListStringRuleItemInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListStringRuleItemInfo) )) _sym_db.RegisterMessage(UserListStringRuleItemInfo) CombinedRuleUserListInfo = _reflection.GeneratedProtocolMessageType('CombinedRuleUserListInfo', (_message.Message,), dict( DESCRIPTOR = _COMBINEDRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """User lists defined by combining two rules, left operand and right operand. There are two operators: AND where left operand and right @@ -993,13 +993,13 @@ Operator to connect the two operands. Required for creating a combined rule user list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.CombinedRuleUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.CombinedRuleUserListInfo) )) _sym_db.RegisterMessage(CombinedRuleUserListInfo) DateSpecificRuleUserListInfo = _reflection.GeneratedProtocolMessageType('DateSpecificRuleUserListInfo', (_message.Message,), dict( DESCRIPTOR = _DATESPECIFICRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Visitors of a page during specific dates. @@ -1019,13 +1019,13 @@ be YYYY-MM-DD. Required for creating a data specific rule user list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.DateSpecificRuleUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.DateSpecificRuleUserListInfo) )) _sym_db.RegisterMessage(DateSpecificRuleUserListInfo) ExpressionRuleUserListInfo = _reflection.GeneratedProtocolMessageType('ExpressionRuleUserListInfo', (_message.Message,), dict( DESCRIPTOR = _EXPRESSIONRULEUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Visitors of a page. The page visit is defined by one boolean rule expression. @@ -1039,13 +1039,13 @@ ANDed together for evaluation based on rule.rule\_type. Required for creating an expression rule user list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.ExpressionRuleUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.ExpressionRuleUserListInfo) )) _sym_db.RegisterMessage(ExpressionRuleUserListInfo) RuleBasedUserListInfo = _reflection.GeneratedProtocolMessageType('RuleBasedUserListInfo', (_message.Message,), dict( DESCRIPTOR = _RULEBASEDUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Representation of a userlist that is generated by a rule. @@ -1078,13 +1078,13 @@ Visitors of a page. The page visit is defined by one boolean rule expression. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.RuleBasedUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.RuleBasedUserListInfo) )) _sym_db.RegisterMessage(RuleBasedUserListInfo) LogicalUserListInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListInfo', (_message.Message,), dict( DESCRIPTOR = _LOGICALUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Represents a user list that is a custom combination of user lists. @@ -1096,13 +1096,13 @@ user lists. All the rules are ANDed when they are evaluated. Required for creating a logical user list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LogicalUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LogicalUserListInfo) )) _sym_db.RegisterMessage(LogicalUserListInfo) UserListLogicalRuleInfo = _reflection.GeneratedProtocolMessageType('UserListLogicalRuleInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTLOGICALRULEINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """A user list logical rule. A rule has a logical operator (and/or/not) and a list of user lists as operands. @@ -1114,13 +1114,13 @@ rule_operands: The list of operands of the rule. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListLogicalRuleInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListLogicalRuleInfo) )) _sym_db.RegisterMessage(UserListLogicalRuleInfo) LogicalUserListOperandInfo = _reflection.GeneratedProtocolMessageType('LogicalUserListOperandInfo', (_message.Message,), dict( DESCRIPTOR = _LOGICALUSERLISTOPERANDINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Operand of logical user list that consists of a user list. @@ -1129,13 +1129,13 @@ user_list: Resource name of a user list as an operand. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.LogicalUserListOperandInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.LogicalUserListOperandInfo) )) _sym_db.RegisterMessage(LogicalUserListOperandInfo) BasicUserListInfo = _reflection.GeneratedProtocolMessageType('BasicUserListInfo', (_message.Message,), dict( DESCRIPTOR = _BASICUSERLISTINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """User list targeting as a collection of conversions or remarketing actions. @@ -1145,13 +1145,13 @@ actions: Actions associated with this user list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.BasicUserListInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.BasicUserListInfo) )) _sym_db.RegisterMessage(BasicUserListInfo) UserListActionInfo = _reflection.GeneratedProtocolMessageType('UserListActionInfo', (_message.Message,), dict( DESCRIPTOR = _USERLISTACTIONINFO, - __module__ = 'google.ads.googleads_v1.proto.common.user_lists_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.user_lists_pb2' , __doc__ = """Represents an action type used for building remarketing user lists. @@ -1164,7 +1164,7 @@ remarketing_action: A remarketing action. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.UserListActionInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.UserListActionInfo) )) _sym_db.RegisterMessage(UserListActionInfo) diff --git a/google/ads/google_ads/v1/proto/common/value_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/user_lists_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/common/value_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/user_lists_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/common/value_pb2.py b/google/ads/google_ads/v4/proto/common/value_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/common/value_pb2.py rename to google/ads/google_ads/v4/proto/common/value_pb2.py index 94249ea59..1a6074743 100644 --- a/google/ads/google_ads/v1/proto/common/value_pb2.py +++ b/google/ads/google_ads/v4/proto/common/value_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/common/value.proto +# source: google/ads/googleads_v4/proto/common/value.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/common/value.proto', - package='google.ads.googleads.v1.common', + name='google/ads/googleads_v4/proto/common/value.proto', + package='google.ads.googleads.v4.common', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.commonB\nValueProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Common\312\002\036Google\\Ads\\GoogleAds\\V1\\Common\352\002\"Google::Ads::GoogleAds::V1::Common'), - serialized_pb=_b('\n0google/ads/googleads_v1/proto/common/value.proto\x12\x1egoogle.ads.googleads.v1.common\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x05Value\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x03 \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x05 \x01(\tH\x00\x42\x07\n\x05valueB\xe5\x01\n\"com.google.ads.googleads.v1.commonB\nValueProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Common\xea\x02\"Google::Ads::GoogleAds::V1::Commonb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.commonB\nValueProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Common\312\002\036Google\\Ads\\GoogleAds\\V4\\Common\352\002\"Google::Ads::GoogleAds::V4::Common'), + serialized_pb=_b('\n0google/ads/googleads_v4/proto/common/value.proto\x12\x1egoogle.ads.googleads.v4.common\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x05Value\x12\x17\n\rboolean_value\x18\x01 \x01(\x08H\x00\x12\x15\n\x0bint64_value\x18\x02 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x03 \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x05 \x01(\tH\x00\x42\x07\n\x05valueB\xe5\x01\n\"com.google.ads.googleads.v4.commonB\nValueProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/common;common\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Common\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Common\xea\x02\"Google::Ads::GoogleAds::V4::Commonb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -30,41 +30,41 @@ _VALUE = _descriptor.Descriptor( name='Value', - full_name='google.ads.googleads.v1.common.Value', + full_name='google.ads.googleads.v4.common.Value', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='boolean_value', full_name='google.ads.googleads.v1.common.Value.boolean_value', index=0, + name='boolean_value', full_name='google.ads.googleads.v4.common.Value.boolean_value', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='int64_value', full_name='google.ads.googleads.v1.common.Value.int64_value', index=1, + name='int64_value', full_name='google.ads.googleads.v4.common.Value.int64_value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='float_value', full_name='google.ads.googleads.v1.common.Value.float_value', index=2, + name='float_value', full_name='google.ads.googleads.v4.common.Value.float_value', index=2, number=3, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='double_value', full_name='google.ads.googleads.v1.common.Value.double_value', index=3, + name='double_value', full_name='google.ads.googleads.v4.common.Value.double_value', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_value', full_name='google.ads.googleads.v1.common.Value.string_value', index=4, + name='string_value', full_name='google.ads.googleads.v4.common.Value.string_value', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -82,7 +82,7 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='value', full_name='google.ads.googleads.v1.common.Value.value', + name='value', full_name='google.ads.googleads.v4.common.Value.value', index=0, containing_type=None, fields=[]), ], serialized_start=115, @@ -109,7 +109,7 @@ Value = _reflection.GeneratedProtocolMessageType('Value', (_message.Message,), dict( DESCRIPTOR = _VALUE, - __module__ = 'google.ads.googleads_v1.proto.common.value_pb2' + __module__ = 'google.ads.googleads_v4.proto.common.value_pb2' , __doc__ = """A generic data container. @@ -128,7 +128,7 @@ string_value: A string. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.common.Value) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.common.Value) )) _sym_db.RegisterMessage(Value) diff --git a/google/ads/google_ads/v1/proto/enums/access_reason_pb2_grpc.py b/google/ads/google_ads/v4/proto/common/value_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/access_reason_pb2_grpc.py rename to google/ads/google_ads/v4/proto/common/value_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/__init__.py b/google/ads/google_ads/v4/proto/enums/__init__.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/__init__.py rename to google/ads/google_ads/v4/proto/enums/__init__.py diff --git a/google/ads/google_ads/v1/proto/enums/access_reason_pb2.py b/google/ads/google_ads/v4/proto/enums/access_reason_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/access_reason_pb2.py rename to google/ads/google_ads/v4/proto/enums/access_reason_pb2.py index f4772144e..07f600047 100644 --- a/google/ads/google_ads/v1/proto/enums/access_reason_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/access_reason_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/access_reason.proto +# source: google/ads/googleads_v4/proto/enums/access_reason.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/access_reason.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/access_reason.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\021AccessReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/enums/access_reason.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x85\x01\n\x10\x41\x63\x63\x65ssReasonEnum\"q\n\x0c\x41\x63\x63\x65ssReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05OWNED\x10\x02\x12\n\n\x06SHARED\x10\x03\x12\x0c\n\x08LICENSED\x10\x04\x12\x0e\n\nSUBSCRIBED\x10\x05\x12\x0e\n\nAFFILIATED\x10\x06\x42\xe6\x01\n!com.google.ads.googleads.v1.enumsB\x11\x41\x63\x63\x65ssReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\021AccessReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/enums/access_reason.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x85\x01\n\x10\x41\x63\x63\x65ssReasonEnum\"q\n\x0c\x41\x63\x63\x65ssReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05OWNED\x10\x02\x12\n\n\x06SHARED\x10\x03\x12\x0c\n\x08LICENSED\x10\x04\x12\x0e\n\nSUBSCRIBED\x10\x05\x12\x0e\n\nAFFILIATED\x10\x06\x42\xe6\x01\n!com.google.ads.googleads.v4.enumsB\x11\x41\x63\x63\x65ssReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ACCESSREASONENUM_ACCESSREASON = _descriptor.EnumDescriptor( name='AccessReason', - full_name='google.ads.googleads.v1.enums.AccessReasonEnum.AccessReason', + full_name='google.ads.googleads.v4.enums.AccessReasonEnum.AccessReason', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _ACCESSREASONENUM = _descriptor.Descriptor( name='AccessReasonEnum', - full_name='google.ads.googleads.v1.enums.AccessReasonEnum', + full_name='google.ads.googleads.v4.enums.AccessReasonEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ AccessReasonEnum = _reflection.GeneratedProtocolMessageType('AccessReasonEnum', (_message.Message,), dict( DESCRIPTOR = _ACCESSREASONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.access_reason_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.access_reason_pb2' , __doc__ = """Indicates the way the resource such as user list is related to a user. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AccessReasonEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccessReasonEnum) )) _sym_db.RegisterMessage(AccessReasonEnum) diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/access_reason_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/account_budget_proposal_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/access_reason_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/access_role_pb2.py b/google/ads/google_ads/v4/proto/enums/access_role_pb2.py new file mode 100644 index 000000000..4eb3cb4f5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/access_role_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/access_role.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/access_role.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\017AccessRoleProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/access_role.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x0e\x41\x63\x63\x65ssRoleEnum\"R\n\nAccessRole\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x41\x44MIN\x10\x02\x12\x0c\n\x08STANDARD\x10\x03\x12\r\n\tREAD_ONLY\x10\x04\x42\xe4\x01\n!com.google.ads.googleads.v4.enumsB\x0f\x41\x63\x63\x65ssRoleProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCESSROLEENUM_ACCESSROLE = _descriptor.EnumDescriptor( + name='AccessRole', + full_name='google.ads.googleads.v4.enums.AccessRoleEnum.AccessRole', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ADMIN', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='STANDARD', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='READ_ONLY', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=136, + serialized_end=218, +) +_sym_db.RegisterEnumDescriptor(_ACCESSROLEENUM_ACCESSROLE) + + +_ACCESSROLEENUM = _descriptor.Descriptor( + name='AccessRoleEnum', + full_name='google.ads.googleads.v4.enums.AccessRoleEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCESSROLEENUM_ACCESSROLE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=118, + serialized_end=218, +) + +_ACCESSROLEENUM_ACCESSROLE.containing_type = _ACCESSROLEENUM +DESCRIPTOR.message_types_by_name['AccessRoleEnum'] = _ACCESSROLEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccessRoleEnum = _reflection.GeneratedProtocolMessageType('AccessRoleEnum', (_message.Message,), dict( + DESCRIPTOR = _ACCESSROLEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.access_role_pb2' + , + __doc__ = """Container for enum describing possible access role for user. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccessRoleEnum) + )) +_sym_db.RegisterMessage(AccessRoleEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/access_role_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/account_budget_proposal_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/access_role_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_status_pb2.py b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_status_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/account_budget_proposal_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/account_budget_proposal_status_pb2.py index 9c22d61c1..cf29994b9 100644 --- a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/account_budget_proposal_status.proto +# source: google/ads/googleads_v4/proto/enums/account_budget_proposal_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/account_budget_proposal_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/account_budget_proposal_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB AccountBudgetProposalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/account_budget_proposal_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n\x1f\x41\x63\x63ountBudgetProposalStatusEnum\"\x86\x01\n\x1b\x41\x63\x63ountBudgetProposalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x11\n\rAPPROVED_HELD\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\x0c\n\x08REJECTED\x10\x06\x42\xf5\x01\n!com.google.ads.googleads.v1.enumsB AccountBudgetProposalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB AccountBudgetProposalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/account_budget_proposal_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n\x1f\x41\x63\x63ountBudgetProposalStatusEnum\"\x86\x01\n\x1b\x41\x63\x63ountBudgetProposalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x11\n\rAPPROVED_HELD\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\x0c\n\x08REJECTED\x10\x06\x42\xf5\x01\n!com.google.ads.googleads.v4.enumsB AccountBudgetProposalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS = _descriptor.EnumDescriptor( name='AccountBudgetProposalStatus', - full_name='google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus', + full_name='google.ads.googleads.v4.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _ACCOUNTBUDGETPROPOSALSTATUSENUM = _descriptor.Descriptor( name='AccountBudgetProposalStatusEnum', - full_name='google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum', + full_name='google.ads.googleads.v4.enums.AccountBudgetProposalStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ AccountBudgetProposalStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalStatusEnum', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGETPROPOSALSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.account_budget_proposal_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.account_budget_proposal_status_pb2' , __doc__ = """Message describing AccountBudgetProposal statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccountBudgetProposalStatusEnum) )) _sym_db.RegisterMessage(AccountBudgetProposalStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/account_budget_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/account_budget_proposal_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_type_pb2.py b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_type_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/account_budget_proposal_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/account_budget_proposal_type_pb2.py index 3a7d44ea0..70845509a 100644 --- a/google/ads/google_ads/v1/proto/enums/account_budget_proposal_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/account_budget_proposal_type.proto +# source: google/ads/googleads_v4/proto/enums/account_budget_proposal_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/account_budget_proposal_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/account_budget_proposal_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\036AccountBudgetProposalTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/enums/account_budget_proposal_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x1d\x41\x63\x63ountBudgetProposalTypeEnum\"f\n\x19\x41\x63\x63ountBudgetProposalType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x43REATE\x10\x02\x12\n\n\x06UPDATE\x10\x03\x12\x07\n\x03\x45ND\x10\x04\x12\n\n\x06REMOVE\x10\x05\x42\xf3\x01\n!com.google.ads.googleads.v1.enumsB\x1e\x41\x63\x63ountBudgetProposalTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\036AccountBudgetProposalTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/enums/account_budget_proposal_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x1d\x41\x63\x63ountBudgetProposalTypeEnum\"f\n\x19\x41\x63\x63ountBudgetProposalType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x43REATE\x10\x02\x12\n\n\x06UPDATE\x10\x03\x12\x07\n\x03\x45ND\x10\x04\x12\n\n\x06REMOVE\x10\x05\x42\xf3\x01\n!com.google.ads.googleads.v4.enumsB\x1e\x41\x63\x63ountBudgetProposalTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE = _descriptor.EnumDescriptor( name='AccountBudgetProposalType', - full_name='google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType', + full_name='google.ads.googleads.v4.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _ACCOUNTBUDGETPROPOSALTYPEENUM = _descriptor.Descriptor( name='AccountBudgetProposalTypeEnum', - full_name='google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum', + full_name='google.ads.googleads.v4.enums.AccountBudgetProposalTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ AccountBudgetProposalTypeEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalTypeEnum', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGETPROPOSALTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.account_budget_proposal_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.account_budget_proposal_type_pb2' , __doc__ = """Message describing AccountBudgetProposal types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccountBudgetProposalTypeEnum) )) _sym_db.RegisterMessage(AccountBudgetProposalTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/account_budget_proposal_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/account_budget_proposal_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/account_budget_status_pb2.py b/google/ads/google_ads/v4/proto/enums/account_budget_status_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/account_budget_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/account_budget_status_pb2.py index cdd5f08e9..4819b91fc 100644 --- a/google/ads/google_ads/v1/proto/enums/account_budget_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/account_budget_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/account_budget_status.proto +# source: google/ads/googleads_v4/proto/enums/account_budget_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/account_budget_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/account_budget_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\030AccountBudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/enums/account_budget_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"x\n\x17\x41\x63\x63ountBudgetStatusEnum\"]\n\x13\x41\x63\x63ountBudgetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0c\n\x08\x41PPROVED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\xed\x01\n!com.google.ads.googleads.v1.enumsB\x18\x41\x63\x63ountBudgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\030AccountBudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/enums/account_budget_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"x\n\x17\x41\x63\x63ountBudgetStatusEnum\"]\n\x13\x41\x63\x63ountBudgetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0c\n\x08\x41PPROVED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\xed\x01\n!com.google.ads.googleads.v4.enumsB\x18\x41\x63\x63ountBudgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS = _descriptor.EnumDescriptor( name='AccountBudgetStatus', - full_name='google.ads.googleads.v1.enums.AccountBudgetStatusEnum.AccountBudgetStatus', + full_name='google.ads.googleads.v4.enums.AccountBudgetStatusEnum.AccountBudgetStatus', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _ACCOUNTBUDGETSTATUSENUM = _descriptor.Descriptor( name='AccountBudgetStatusEnum', - full_name='google.ads.googleads.v1.enums.AccountBudgetStatusEnum', + full_name='google.ads.googleads.v4.enums.AccountBudgetStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ AccountBudgetStatusEnum = _reflection.GeneratedProtocolMessageType('AccountBudgetStatusEnum', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGETSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.account_budget_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.account_budget_status_pb2' , __doc__ = """Message describing AccountBudget statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AccountBudgetStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccountBudgetStatusEnum) )) _sym_db.RegisterMessage(AccountBudgetStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/account_budget_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/account_budget_status_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/account_link_status_pb2.py b/google/ads/google_ads/v4/proto/enums/account_link_status_pb2.py new file mode 100644 index 000000000..ec31011cb --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/account_link_status_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/account_link_status.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/account_link_status.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026AccountLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/account_link_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x15\x41\x63\x63ountLinkStatusEnum\"K\n\x11\x41\x63\x63ountLinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16\x41\x63\x63ountLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS = _descriptor.EnumDescriptor( + name='AccountLinkStatus', + full_name='google.ads.googleads.v4.enums.AccountLinkStatusEnum.AccountLinkStatus', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=151, + serialized_end=226, +) +_sym_db.RegisterEnumDescriptor(_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS) + + +_ACCOUNTLINKSTATUSENUM = _descriptor.Descriptor( + name='AccountLinkStatusEnum', + full_name='google.ads.googleads.v4.enums.AccountLinkStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=226, +) + +_ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS.containing_type = _ACCOUNTLINKSTATUSENUM +DESCRIPTOR.message_types_by_name['AccountLinkStatusEnum'] = _ACCOUNTLINKSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountLinkStatusEnum = _reflection.GeneratedProtocolMessageType('AccountLinkStatusEnum', (_message.Message,), dict( + DESCRIPTOR = _ACCOUNTLINKSTATUSENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.account_link_status_pb2' + , + __doc__ = """Container for enum describing possible statuses of an account link. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AccountLinkStatusEnum) + )) +_sym_db.RegisterMessage(AccountLinkStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_ad_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/account_link_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/ad_group_ad_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/account_link_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/ad_customizer_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/ad_customizer_placeholder_field_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/ad_customizer_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/ad_customizer_placeholder_field_pb2.py index 5da84e08e..c60c41c4c 100644 --- a/google/ads/google_ads/v1/proto/enums/ad_customizer_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/ad_customizer_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/ad_customizer_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/ad_customizer_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/ad_customizer_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/ad_customizer_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB!AdCustomizerPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/enums/ad_customizer_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8e\x01\n AdCustomizerPlaceholderFieldEnum\"j\n\x1c\x41\x64\x43ustomizerPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05PRICE\x10\x03\x12\x08\n\x04\x44\x41TE\x10\x04\x12\n\n\x06STRING\x10\x05\x42\xf6\x01\n!com.google.ads.googleads.v1.enumsB!AdCustomizerPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB!AdCustomizerPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/enums/ad_customizer_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8e\x01\n AdCustomizerPlaceholderFieldEnum\"j\n\x1c\x41\x64\x43ustomizerPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07INTEGER\x10\x02\x12\t\n\x05PRICE\x10\x03\x12\x08\n\x04\x44\x41TE\x10\x04\x12\n\n\x06STRING\x10\x05\x42\xf6\x01\n!com.google.ads.googleads.v4.enumsB!AdCustomizerPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='AdCustomizerPlaceholderField', - full_name='google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField', + full_name='google.ads.googleads.v4.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _ADCUSTOMIZERPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='AdCustomizerPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.AdCustomizerPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ AdCustomizerPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _ADCUSTOMIZERPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.ad_customizer_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.ad_customizer_placeholder_field_pb2' , __doc__ = """Values for Ad Customizer placeholder fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AdCustomizerPlaceholderFieldEnum) )) _sym_db.RegisterMessage(AdCustomizerPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/ad_group_criterion_approval_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/ad_customizer_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_ad_rotation_mode_pb2.py b/google/ads/google_ads/v4/proto/enums/ad_group_ad_rotation_mode_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/ad_group_ad_rotation_mode_pb2.py rename to google/ads/google_ads/v4/proto/enums/ad_group_ad_rotation_mode_pb2.py index 67044d13e..15320c8b2 100644 --- a/google/ads/google_ads/v1/proto/enums/ad_group_ad_rotation_mode_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/ad_group_ad_rotation_mode_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/ad_group_ad_rotation_mode.proto +# source: google/ads/googleads_v4/proto/enums/ad_group_ad_rotation_mode.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/ad_group_ad_rotation_mode.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/ad_group_ad_rotation_mode.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032AdGroupAdRotationModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/ad_group_ad_rotation_mode.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"t\n\x19\x41\x64GroupAdRotationModeEnum\"W\n\x15\x41\x64GroupAdRotationMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08OPTIMIZE\x10\x02\x12\x12\n\x0eROTATE_FOREVER\x10\x03\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1a\x41\x64GroupAdRotationModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032AdGroupAdRotationModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/ad_group_ad_rotation_mode.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"t\n\x19\x41\x64GroupAdRotationModeEnum\"W\n\x15\x41\x64GroupAdRotationMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08OPTIMIZE\x10\x02\x12\x12\n\x0eROTATE_FOREVER\x10\x03\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1a\x41\x64GroupAdRotationModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE = _descriptor.EnumDescriptor( name='AdGroupAdRotationMode', - full_name='google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode', + full_name='google.ads.googleads.v4.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _ADGROUPADROTATIONMODEENUM = _descriptor.Descriptor( name='AdGroupAdRotationModeEnum', - full_name='google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum', + full_name='google.ads.googleads.v4.enums.AdGroupAdRotationModeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ AdGroupAdRotationModeEnum = _reflection.GeneratedProtocolMessageType('AdGroupAdRotationModeEnum', (_message.Message,), dict( DESCRIPTOR = _ADGROUPADROTATIONMODEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.ad_group_ad_rotation_mode_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.ad_group_ad_rotation_mode_pb2' , __doc__ = """Container for enum describing possible ad rotation modes of ads within an ad group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.AdGroupAdRotationModeEnum) )) _sym_db.RegisterMessage(AdGroupAdRotationModeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_criterion_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/ad_group_criterion_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/ad_group_ad_rotation_mode_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/ad_group_ad_status_pb2.py b/google/ads/google_ads/v4/proto/enums/ad_group_ad_status_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/ad_group_ad_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/ad_group_ad_status_pb2.py index 3b6e79485..71d700c0e 100644 --- a/google/ads/google_ads/v1/proto/enums/ad_group_ad_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/ad_group_ad_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/ad_group_ad_status.proto +# source: google/ads/googleads_v4/proto/enums/ad_group_ad_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/ad_group_ad_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/ad_group_ad_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\024AdGroupAdStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/billing_setup_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x89\x01\n\x16\x42illingSetupStatusEnum\"o\n\x12\x42illingSetupStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x11\n\rAPPROVED_HELD\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17\x42illingSetupStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027BillingSetupStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/billing_setup_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x89\x01\n\x16\x42illingSetupStatusEnum\"o\n\x12\x42illingSetupStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x11\n\rAPPROVED_HELD\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17\x42illingSetupStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS = _descriptor.EnumDescriptor( name='BillingSetupStatus', - full_name='google.ads.googleads.v1.enums.BillingSetupStatusEnum.BillingSetupStatus', + full_name='google.ads.googleads.v4.enums.BillingSetupStatusEnum.BillingSetupStatus', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _BILLINGSETUPSTATUSENUM = _descriptor.Descriptor( name='BillingSetupStatusEnum', - full_name='google.ads.googleads.v1.enums.BillingSetupStatusEnum', + full_name='google.ads.googleads.v4.enums.BillingSetupStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ BillingSetupStatusEnum = _reflection.GeneratedProtocolMessageType('BillingSetupStatusEnum', (_message.Message,), dict( DESCRIPTOR = _BILLINGSETUPSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.billing_setup_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.billing_setup_status_pb2' , __doc__ = """Message describing BillingSetup statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BillingSetupStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BillingSetupStatusEnum) )) _sym_db.RegisterMessage(BillingSetupStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/call_conversion_reporting_state_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/billing_setup_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/call_conversion_reporting_state_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/billing_setup_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/brand_safety_suitability_pb2.py b/google/ads/google_ads/v4/proto/enums/brand_safety_suitability_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/brand_safety_suitability_pb2.py rename to google/ads/google_ads/v4/proto/enums/brand_safety_suitability_pb2.py index 5062d015e..d3de2922c 100644 --- a/google/ads/google_ads/v1/proto/enums/brand_safety_suitability_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/brand_safety_suitability_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/brand_safety_suitability.proto +# source: google/ads/googleads_v4/proto/enums/brand_safety_suitability.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/brand_safety_suitability.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/brand_safety_suitability.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033BrandSafetySuitabilityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/brand_safety_suitability.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x9b\x01\n\x1a\x42randSafetySuitabilityEnum\"}\n\x16\x42randSafetySuitability\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12\x45XPANDED_INVENTORY\x10\x02\x12\x16\n\x12STANDARD_INVENTORY\x10\x03\x12\x15\n\x11LIMITED_INVENTORY\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1b\x42randSafetySuitabilityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033BrandSafetySuitabilityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/brand_safety_suitability.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x9b\x01\n\x1a\x42randSafetySuitabilityEnum\"}\n\x16\x42randSafetySuitability\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12\x45XPANDED_INVENTORY\x10\x02\x12\x16\n\x12STANDARD_INVENTORY\x10\x03\x12\x15\n\x11LIMITED_INVENTORY\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1b\x42randSafetySuitabilityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY = _descriptor.EnumDescriptor( name='BrandSafetySuitability', - full_name='google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability', + full_name='google.ads.googleads.v4.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _BRANDSAFETYSUITABILITYENUM = _descriptor.Descriptor( name='BrandSafetySuitabilityEnum', - full_name='google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum', + full_name='google.ads.googleads.v4.enums.BrandSafetySuitabilityEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ BrandSafetySuitabilityEnum = _reflection.GeneratedProtocolMessageType('BrandSafetySuitabilityEnum', (_message.Message,), dict( DESCRIPTOR = _BRANDSAFETYSUITABILITYENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.brand_safety_suitability_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.brand_safety_suitability_pb2' , __doc__ = """Container for enum with 3-Tier brand safety suitability control. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BrandSafetySuitabilityEnum) )) _sym_db.RegisterMessage(BrandSafetySuitabilityEnum) diff --git a/google/ads/google_ads/v1/proto/enums/call_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/brand_safety_suitability_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/call_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/brand_safety_suitability_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/budget_delivery_method_pb2.py b/google/ads/google_ads/v4/proto/enums/budget_delivery_method_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/budget_delivery_method_pb2.py rename to google/ads/google_ads/v4/proto/enums/budget_delivery_method_pb2.py index 709c87ea9..e20c26e79 100644 --- a/google/ads/google_ads/v1/proto/enums/budget_delivery_method_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/budget_delivery_method_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/budget_delivery_method.proto +# source: google/ads/googleads_v4/proto/enums/budget_delivery_method.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/budget_delivery_method.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/budget_delivery_method.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031BudgetDeliveryMethodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/enums/budget_delivery_method.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"o\n\x18\x42udgetDeliveryMethodEnum\"S\n\x14\x42udgetDeliveryMethod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08STANDARD\x10\x02\x12\x0f\n\x0b\x41\x43\x43\x45LERATED\x10\x03\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19\x42udgetDeliveryMethodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031BudgetDeliveryMethodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/enums/budget_delivery_method.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"o\n\x18\x42udgetDeliveryMethodEnum\"S\n\x14\x42udgetDeliveryMethod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08STANDARD\x10\x02\x12\x0f\n\x0b\x41\x43\x43\x45LERATED\x10\x03\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19\x42udgetDeliveryMethodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD = _descriptor.EnumDescriptor( name='BudgetDeliveryMethod', - full_name='google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod', + full_name='google.ads.googleads.v4.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _BUDGETDELIVERYMETHODENUM = _descriptor.Descriptor( name='BudgetDeliveryMethodEnum', - full_name='google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum', + full_name='google.ads.googleads.v4.enums.BudgetDeliveryMethodEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ BudgetDeliveryMethodEnum = _reflection.GeneratedProtocolMessageType('BudgetDeliveryMethodEnum', (_message.Message,), dict( DESCRIPTOR = _BUDGETDELIVERYMETHODENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.budget_delivery_method_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.budget_delivery_method_pb2' , __doc__ = """Message describing Budget delivery methods. A delivery method determines the rate at which the Budget is spent. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BudgetDeliveryMethodEnum) )) _sym_db.RegisterMessage(BudgetDeliveryMethodEnum) diff --git a/google/ads/google_ads/v1/proto/enums/callout_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/budget_delivery_method_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/callout_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/budget_delivery_method_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/budget_period_pb2.py b/google/ads/google_ads/v4/proto/enums/budget_period_pb2.py similarity index 60% rename from google/ads/google_ads/v1/proto/enums/budget_period_pb2.py rename to google/ads/google_ads/v4/proto/enums/budget_period_pb2.py index 4abcda698..33e143171 100644 --- a/google/ads/google_ads/v1/proto/enums/budget_period_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/budget_period_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/budget_period.proto +# source: google/ads/googleads_v4/proto/enums/budget_period.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/budget_period.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/budget_period.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\021BudgetPeriodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/enums/budget_period.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"h\n\x10\x42udgetPeriodEnum\"T\n\x0c\x42udgetPeriod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06\x43USTOM\x10\x03\x12\x0f\n\x0b\x46IXED_DAILY\x10\x04\x42\xe6\x01\n!com.google.ads.googleads.v1.enumsB\x11\x42udgetPeriodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\021BudgetPeriodProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/enums/budget_period.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"K\n\x10\x42udgetPeriodEnum\"7\n\x0c\x42udgetPeriod\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x42\xe6\x01\n!com.google.ads.googleads.v4.enumsB\x11\x42udgetPeriodProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BUDGETPERIODENUM_BUDGETPERIOD = _descriptor.EnumDescriptor( name='BudgetPeriod', - full_name='google.ads.googleads.v1.enums.BudgetPeriodEnum.BudgetPeriod', + full_name='google.ads.googleads.v4.enums.BudgetPeriodEnum.BudgetPeriod', filename=None, file=DESCRIPTOR, values=[ @@ -45,26 +45,18 @@ name='DAILY', index=2, number=2, serialized_options=None, type=None), - _descriptor.EnumValueDescriptor( - name='CUSTOM', index=3, number=3, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='FIXED_DAILY', index=4, number=4, - serialized_options=None, - type=None), ], containing_type=None, serialized_options=None, serialized_start=140, - serialized_end=224, + serialized_end=195, ) _sym_db.RegisterEnumDescriptor(_BUDGETPERIODENUM_BUDGETPERIOD) _BUDGETPERIODENUM = _descriptor.Descriptor( name='BudgetPeriodEnum', - full_name='google.ads.googleads.v1.enums.BudgetPeriodEnum', + full_name='google.ads.googleads.v4.enums.BudgetPeriodEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -83,7 +75,7 @@ oneofs=[ ], serialized_start=120, - serialized_end=224, + serialized_end=195, ) _BUDGETPERIODENUM_BUDGETPERIOD.containing_type = _BUDGETPERIODENUM @@ -92,11 +84,11 @@ BudgetPeriodEnum = _reflection.GeneratedProtocolMessageType('BudgetPeriodEnum', (_message.Message,), dict( DESCRIPTOR = _BUDGETPERIODENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.budget_period_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.budget_period_pb2' , __doc__ = """Message describing Budget period. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BudgetPeriodEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BudgetPeriodEnum) )) _sym_db.RegisterMessage(BudgetPeriodEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_criterion_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/budget_period_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_criterion_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/budget_period_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/budget_status_pb2.py b/google/ads/google_ads/v4/proto/enums/budget_status_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/budget_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/budget_status_pb2.py index 410291638..2ca101099 100644 --- a/google/ads/google_ads/v1/proto/enums/budget_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/budget_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/budget_status.proto +# source: google/ads/googleads_v4/proto/enums/budget_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/budget_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/budget_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\021BudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/enums/budget_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"Z\n\x10\x42udgetStatusEnum\"F\n\x0c\x42udgetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe6\x01\n!com.google.ads.googleads.v1.enumsB\x11\x42udgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\021BudgetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/enums/budget_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"Z\n\x10\x42udgetStatusEnum\"F\n\x0c\x42udgetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe6\x01\n!com.google.ads.googleads.v4.enumsB\x11\x42udgetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BUDGETSTATUSENUM_BUDGETSTATUS = _descriptor.EnumDescriptor( name='BudgetStatus', - full_name='google.ads.googleads.v1.enums.BudgetStatusEnum.BudgetStatus', + full_name='google.ads.googleads.v4.enums.BudgetStatusEnum.BudgetStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _BUDGETSTATUSENUM = _descriptor.Descriptor( name='BudgetStatusEnum', - full_name='google.ads.googleads.v1.enums.BudgetStatusEnum', + full_name='google.ads.googleads.v4.enums.BudgetStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ BudgetStatusEnum = _reflection.GeneratedProtocolMessageType('BudgetStatusEnum', (_message.Message,), dict( DESCRIPTOR = _BUDGETSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.budget_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.budget_status_pb2' , __doc__ = """Message describing a Budget status """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BudgetStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BudgetStatusEnum) )) _sym_db.RegisterMessage(BudgetStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_draft_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/budget_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_draft_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/budget_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/budget_type_pb2.py b/google/ads/google_ads/v4/proto/enums/budget_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/budget_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/budget_type_pb2.py index b7ca7c7e0..d1fc18f6d 100644 --- a/google/ads/google_ads/v1/proto/enums/budget_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/budget_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/budget_type.proto +# source: google/ads/googleads_v4/proto/enums/budget_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/budget_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/budget_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\017BudgetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/enums/budget_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x0e\x42udgetTypeEnum\"a\n\nBudgetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08STANDARD\x10\x02\x12\x18\n\x14HOTEL_ADS_COMMISSION\x10\x03\x12\r\n\tFIXED_CPA\x10\x04\x42\xe4\x01\n!com.google.ads.googleads.v1.enumsB\x0f\x42udgetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\017BudgetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/budget_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x0e\x42udgetTypeEnum\"a\n\nBudgetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08STANDARD\x10\x02\x12\x18\n\x14HOTEL_ADS_COMMISSION\x10\x03\x12\r\n\tFIXED_CPA\x10\x04\x42\xe4\x01\n!com.google.ads.googleads.v4.enumsB\x0f\x42udgetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BUDGETTYPEENUM_BUDGETTYPE = _descriptor.EnumDescriptor( name='BudgetType', - full_name='google.ads.googleads.v1.enums.BudgetTypeEnum.BudgetType', + full_name='google.ads.googleads.v4.enums.BudgetTypeEnum.BudgetType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _BUDGETTYPEENUM = _descriptor.Descriptor( name='BudgetTypeEnum', - full_name='google.ads.googleads.v1.enums.BudgetTypeEnum', + full_name='google.ads.googleads.v4.enums.BudgetTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ BudgetTypeEnum = _reflection.GeneratedProtocolMessageType('BudgetTypeEnum', (_message.Message,), dict( DESCRIPTOR = _BUDGETTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.budget_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.budget_type_pb2' , __doc__ = """Describes Budget types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.BudgetTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.BudgetTypeEnum) )) _sym_db.RegisterMessage(BudgetTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/budget_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/budget_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/call_conversion_reporting_state_pb2.py b/google/ads/google_ads/v4/proto/enums/call_conversion_reporting_state_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/call_conversion_reporting_state_pb2.py rename to google/ads/google_ads/v4/proto/enums/call_conversion_reporting_state_pb2.py index e2a8a92b9..4b19e98c8 100644 --- a/google/ads/google_ads/v1/proto/enums/call_conversion_reporting_state_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/call_conversion_reporting_state_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/call_conversion_reporting_state.proto +# source: google/ads/googleads_v4/proto/enums/call_conversion_reporting_state.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/call_conversion_reporting_state.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/call_conversion_reporting_state.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB!CallConversionReportingStateProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/enums/call_conversion_reporting_state.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xcc\x01\n CallConversionReportingStateEnum\"\xa7\x01\n\x1c\x43\x61llConversionReportingState\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12,\n(USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION\x10\x03\x12-\n)USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION\x10\x04\x42\xf6\x01\n!com.google.ads.googleads.v1.enumsB!CallConversionReportingStateProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB!CallConversionReportingStateProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/enums/call_conversion_reporting_state.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xcc\x01\n CallConversionReportingStateEnum\"\xa7\x01\n\x1c\x43\x61llConversionReportingState\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12,\n(USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION\x10\x03\x12-\n)USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION\x10\x04\x42\xf6\x01\n!com.google.ads.googleads.v4.enumsB!CallConversionReportingStateProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CALLCONVERSIONREPORTINGSTATEENUM_CALLCONVERSIONREPORTINGSTATE = _descriptor.EnumDescriptor( name='CallConversionReportingState', - full_name='google.ads.googleads.v1.enums.CallConversionReportingStateEnum.CallConversionReportingState', + full_name='google.ads.googleads.v4.enums.CallConversionReportingStateEnum.CallConversionReportingState', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CALLCONVERSIONREPORTINGSTATEENUM = _descriptor.Descriptor( name='CallConversionReportingStateEnum', - full_name='google.ads.googleads.v1.enums.CallConversionReportingStateEnum', + full_name='google.ads.googleads.v4.enums.CallConversionReportingStateEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,12 +92,12 @@ CallConversionReportingStateEnum = _reflection.GeneratedProtocolMessageType('CallConversionReportingStateEnum', (_message.Message,), dict( DESCRIPTOR = _CALLCONVERSIONREPORTINGSTATEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.call_conversion_reporting_state_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.call_conversion_reporting_state_pb2' , __doc__ = """Container for enum describing possible data types for call conversion reporting state. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CallConversionReportingStateEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CallConversionReportingStateEnum) )) _sym_db.RegisterMessage(CallConversionReportingStateEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/call_conversion_reporting_state_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/call_conversion_reporting_state_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/call_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/call_placeholder_field_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/call_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/call_placeholder_field_pb2.py index 05c9774ee..ba61ee812 100644 --- a/google/ads/google_ads/v1/proto/enums/call_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/call_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/call_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/call_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/call_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/call_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031CallPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/enums/call_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xba\x01\n\x18\x43\x61llPlaceholderFieldEnum\"\x9d\x01\n\x14\x43\x61llPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cPHONE_NUMBER\x10\x02\x12\x10\n\x0c\x43OUNTRY_CODE\x10\x03\x12\x0b\n\x07TRACKED\x10\x04\x12\x16\n\x12\x43ONVERSION_TYPE_ID\x10\x05\x12\x1e\n\x1a\x43ONVERSION_REPORTING_STATE\x10\x06\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19\x43\x61llPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031CallPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/enums/call_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xba\x01\n\x18\x43\x61llPlaceholderFieldEnum\"\x9d\x01\n\x14\x43\x61llPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cPHONE_NUMBER\x10\x02\x12\x10\n\x0c\x43OUNTRY_CODE\x10\x03\x12\x0b\n\x07TRACKED\x10\x04\x12\x16\n\x12\x43ONVERSION_TYPE_ID\x10\x05\x12\x1e\n\x1a\x43ONVERSION_REPORTING_STATE\x10\x06\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19\x43\x61llPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='CallPlaceholderField', - full_name='google.ads.googleads.v1.enums.CallPlaceholderFieldEnum.CallPlaceholderField', + full_name='google.ads.googleads.v4.enums.CallPlaceholderFieldEnum.CallPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _CALLPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='CallPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.CallPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.CallPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ CallPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CallPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _CALLPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.call_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.call_placeholder_field_pb2' , __doc__ = """Values for Call placeholder fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CallPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CallPlaceholderFieldEnum) )) _sym_db.RegisterMessage(CallPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/call_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/call_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/callout_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/callout_placeholder_field_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/callout_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/callout_placeholder_field_pb2.py index ba866c545..227634926 100644 --- a/google/ads/google_ads/v1/proto/enums/callout_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/callout_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/callout_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/callout_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/callout_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/callout_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034CalloutPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/callout_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"h\n\x1b\x43\x61lloutPlaceholderFieldEnum\"I\n\x17\x43\x61lloutPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x43\x41LLOUT_TEXT\x10\x02\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1c\x43\x61lloutPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034CalloutPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/callout_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"h\n\x1b\x43\x61lloutPlaceholderFieldEnum\"I\n\x17\x43\x61lloutPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x43\x41LLOUT_TEXT\x10\x02\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1c\x43\x61lloutPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='CalloutPlaceholderField', - full_name='google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField', + full_name='google.ads.googleads.v4.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _CALLOUTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='CalloutPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.CalloutPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ CalloutPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CalloutPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _CALLOUTPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.callout_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.callout_placeholder_field_pb2' , __doc__ = """Values for Callout placeholder fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CalloutPlaceholderFieldEnum) )) _sym_db.RegisterMessage(CalloutPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_serving_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/callout_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_serving_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/callout_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_criterion_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_criterion_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/campaign_criterion_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_criterion_status_pb2.py index 075438e35..a9c9b5a13 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_criterion_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_criterion_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_criterion_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_criterion_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_criterion_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_criterion_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034CampaignCriterionStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/campaign_criterion_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"|\n\x1b\x43\x61mpaignCriterionStatusEnum\"]\n\x17\x43\x61mpaignCriterionStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1c\x43\x61mpaignCriterionStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034CampaignCriterionStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/campaign_criterion_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"|\n\x1b\x43\x61mpaignCriterionStatusEnum\"]\n\x17\x43\x61mpaignCriterionStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1c\x43\x61mpaignCriterionStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS = _descriptor.EnumDescriptor( name='CampaignCriterionStatus', - full_name='google.ads.googleads.v1.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus', + full_name='google.ads.googleads.v4.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CAMPAIGNCRITERIONSTATUSENUM = _descriptor.Descriptor( name='CampaignCriterionStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignCriterionStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignCriterionStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ CampaignCriterionStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNCRITERIONSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_criterion_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_criterion_status_pb2' , __doc__ = """Message describing CampaignCriterion statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignCriterionStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignCriterionStatusEnum) )) _sym_db.RegisterMessage(CampaignCriterionStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_shared_set_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_criterion_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_shared_set_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_criterion_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_draft_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_draft_status_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/campaign_draft_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_draft_status_pb2.py index cc4e1738a..b92d82fa8 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_draft_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_draft_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_draft_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_draft_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_draft_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_draft_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\030CampaignDraftStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/enums/campaign_draft_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x17\x43\x61mpaignDraftStatusEnum\"\x7f\n\x13\x43\x61mpaignDraftStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PROPOSED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\r\n\tPROMOTING\x10\x05\x12\x0c\n\x08PROMOTED\x10\x04\x12\x12\n\x0ePROMOTE_FAILED\x10\x06\x42\xed\x01\n!com.google.ads.googleads.v1.enumsB\x18\x43\x61mpaignDraftStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\030CampaignDraftStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/enums/campaign_draft_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x17\x43\x61mpaignDraftStatusEnum\"\x7f\n\x13\x43\x61mpaignDraftStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PROPOSED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x12\r\n\tPROMOTING\x10\x05\x12\x0c\n\x08PROMOTED\x10\x04\x12\x12\n\x0ePROMOTE_FAILED\x10\x06\x42\xed\x01\n!com.google.ads.googleads.v4.enumsB\x18\x43\x61mpaignDraftStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNDRAFTSTATUSENUM_CAMPAIGNDRAFTSTATUS = _descriptor.EnumDescriptor( name='CampaignDraftStatus', - full_name='google.ads.googleads.v1.enums.CampaignDraftStatusEnum.CampaignDraftStatus', + full_name='google.ads.googleads.v4.enums.CampaignDraftStatusEnum.CampaignDraftStatus', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _CAMPAIGNDRAFTSTATUSENUM = _descriptor.Descriptor( name='CampaignDraftStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignDraftStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignDraftStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ CampaignDraftStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNDRAFTSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_draft_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_draft_status_pb2' , __doc__ = """Container for enum describing possible statuses of a campaign draft. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignDraftStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignDraftStatusEnum) )) _sym_db.RegisterMessage(CampaignDraftStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/campaign_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_draft_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/campaign_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_draft_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_status_pb2.py similarity index 79% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_status_pb2.py index 02df9e843..2503ae613 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_experiment_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_experiment_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_experiment_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_experiment_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_experiment_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_experiment_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035CampaignExperimentStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/campaign_experiment_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xf6\x01\n\x1c\x43\x61mpaignExperimentStatusEnum\"\xd5\x01\n\x18\x43\x61mpaignExperimentStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINITIALIZING\x10\x02\x12\x19\n\x15INITIALIZATION_FAILED\x10\x08\x12\x0b\n\x07\x45NABLED\x10\x03\x12\r\n\tGRADUATED\x10\x04\x12\x0b\n\x07REMOVED\x10\x05\x12\r\n\tPROMOTING\x10\x06\x12\x14\n\x10PROMOTION_FAILED\x10\t\x12\x0c\n\x08PROMOTED\x10\x07\x12\x12\n\x0e\x45NDED_MANUALLY\x10\nB\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x43\x61mpaignExperimentStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035CampaignExperimentStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/campaign_experiment_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xf6\x01\n\x1c\x43\x61mpaignExperimentStatusEnum\"\xd5\x01\n\x18\x43\x61mpaignExperimentStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINITIALIZING\x10\x02\x12\x19\n\x15INITIALIZATION_FAILED\x10\x08\x12\x0b\n\x07\x45NABLED\x10\x03\x12\r\n\tGRADUATED\x10\x04\x12\x0b\n\x07REMOVED\x10\x05\x12\r\n\tPROMOTING\x10\x06\x12\x14\n\x10PROMOTION_FAILED\x10\t\x12\x0c\n\x08PROMOTED\x10\x07\x12\x12\n\x0e\x45NDED_MANUALLY\x10\nB\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x43\x61mpaignExperimentStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS = _descriptor.EnumDescriptor( name='CampaignExperimentStatus', - full_name='google.ads.googleads.v1.enums.CampaignExperimentStatusEnum.CampaignExperimentStatus', + full_name='google.ads.googleads.v4.enums.CampaignExperimentStatusEnum.CampaignExperimentStatus', filename=None, file=DESCRIPTOR, values=[ @@ -88,7 +88,7 @@ _CAMPAIGNEXPERIMENTSTATUSENUM = _descriptor.Descriptor( name='CampaignExperimentStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignExperimentStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignExperimentStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -116,12 +116,12 @@ CampaignExperimentStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENTSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_experiment_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_experiment_status_pb2' , __doc__ = """Container for enum describing possible statuses of a campaign experiment. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignExperimentStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignExperimentStatusEnum) )) _sym_db.RegisterMessage(CampaignExperimentStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/change_status_operation_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/change_status_operation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_traffic_split_type_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_traffic_split_type_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_traffic_split_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_traffic_split_type_pb2.py index 75687840c..900c0d3c5 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_experiment_traffic_split_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_experiment_traffic_split_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_experiment_traffic_split_type.proto +# source: google/ads/googleads_v4/proto/enums/campaign_experiment_traffic_split_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_experiment_traffic_split_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_experiment_traffic_split_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nPgoogle/ads/googleads_v1/proto/enums/campaign_experiment_traffic_split_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8a\x01\n&CampaignExperimentTrafficSplitTypeEnum\"`\n\"CampaignExperimentTrafficSplitType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cRANDOM_QUERY\x10\x02\x12\n\n\x06\x43OOKIE\x10\x03\x42\xfc\x01\n!com.google.ads.googleads.v1.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nPgoogle/ads/googleads_v4/proto/enums/campaign_experiment_traffic_split_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8a\x01\n&CampaignExperimentTrafficSplitTypeEnum\"`\n\"CampaignExperimentTrafficSplitType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cRANDOM_QUERY\x10\x02\x12\n\n\x06\x43OOKIE\x10\x03\x42\xfc\x01\n!com.google.ads.googleads.v4.enumsB\'CampaignExperimentTrafficSplitTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE = _descriptor.EnumDescriptor( name='CampaignExperimentTrafficSplitType', - full_name='google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum.CampaignExperimentTrafficSplitType', + full_name='google.ads.googleads.v4.enums.CampaignExperimentTrafficSplitTypeEnum.CampaignExperimentTrafficSplitType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM = _descriptor.Descriptor( name='CampaignExperimentTrafficSplitTypeEnum', - full_name='google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum', + full_name='google.ads.googleads.v4.enums.CampaignExperimentTrafficSplitTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ CampaignExperimentTrafficSplitTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTrafficSplitTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_experiment_traffic_split_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_experiment_traffic_split_type_pb2' , __doc__ = """Container for enum describing campaign experiment traffic split type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignExperimentTrafficSplitTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignExperimentTrafficSplitTypeEnum) )) _sym_db.RegisterMessage(CampaignExperimentTrafficSplitTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/change_status_resource_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/change_status_resource_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_traffic_split_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_experiment_type_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_type_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/campaign_experiment_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_type_pb2.py index 31ebe1422..e438908a3 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_experiment_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_experiment_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_experiment_type.proto +# source: google/ads/googleads_v4/proto/enums/campaign_experiment_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_experiment_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_experiment_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033CampaignExperimentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/campaign_experiment_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"y\n\x1a\x43\x61mpaignExperimentTypeEnum\"[\n\x16\x43\x61mpaignExperimentType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04\x42\x41SE\x10\x02\x12\t\n\x05\x44RAFT\x10\x03\x12\x0e\n\nEXPERIMENT\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1b\x43\x61mpaignExperimentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033CampaignExperimentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/campaign_experiment_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"y\n\x1a\x43\x61mpaignExperimentTypeEnum\"[\n\x16\x43\x61mpaignExperimentType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04\x42\x41SE\x10\x02\x12\t\n\x05\x44RAFT\x10\x03\x12\x0e\n\nEXPERIMENT\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1b\x43\x61mpaignExperimentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE = _descriptor.EnumDescriptor( name='CampaignExperimentType', - full_name='google.ads.googleads.v1.enums.CampaignExperimentTypeEnum.CampaignExperimentType', + full_name='google.ads.googleads.v4.enums.CampaignExperimentTypeEnum.CampaignExperimentType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CAMPAIGNEXPERIMENTTYPEENUM = _descriptor.Descriptor( name='CampaignExperimentTypeEnum', - full_name='google.ads.googleads.v1.enums.CampaignExperimentTypeEnum', + full_name='google.ads.googleads.v4.enums.CampaignExperimentTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ CampaignExperimentTypeEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_experiment_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_experiment_type_pb2' , __doc__ = """Container for enum describing campaign experiment type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignExperimentTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignExperimentTypeEnum) )) _sym_db.RegisterMessage(CampaignExperimentTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/click_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_experiment_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/click_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_experiment_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_serving_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_serving_status_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/campaign_serving_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_serving_status_pb2.py index e4ce8ffb6..b48adcb6d 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_serving_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_serving_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_serving_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_serving_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_serving_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_serving_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032CampaignServingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/campaign_serving_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x01\n\x19\x43\x61mpaignServingStatusEnum\"s\n\x15\x43\x61mpaignServingStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07SERVING\x10\x02\x12\x08\n\x04NONE\x10\x03\x12\t\n\x05\x45NDED\x10\x04\x12\x0b\n\x07PENDING\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1a\x43\x61mpaignServingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032CampaignServingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/campaign_serving_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x01\n\x19\x43\x61mpaignServingStatusEnum\"s\n\x15\x43\x61mpaignServingStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07SERVING\x10\x02\x12\x08\n\x04NONE\x10\x03\x12\t\n\x05\x45NDED\x10\x04\x12\x0b\n\x07PENDING\x10\x05\x12\r\n\tSUSPENDED\x10\x06\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1a\x43\x61mpaignServingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS = _descriptor.EnumDescriptor( name='CampaignServingStatus', - full_name='google.ads.googleads.v1.enums.CampaignServingStatusEnum.CampaignServingStatus', + full_name='google.ads.googleads.v4.enums.CampaignServingStatusEnum.CampaignServingStatus', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _CAMPAIGNSERVINGSTATUSENUM = _descriptor.Descriptor( name='CampaignServingStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignServingStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignServingStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ CampaignServingStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignServingStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNSERVINGSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_serving_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_serving_status_pb2' , __doc__ = """Message describing Campaign serving statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignServingStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignServingStatusEnum) )) _sym_db.RegisterMessage(CampaignServingStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/content_label_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_serving_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/content_label_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_serving_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_shared_set_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_shared_set_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/campaign_shared_set_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_shared_set_status_pb2.py index 3bf85f110..bd5cfba40 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_shared_set_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_shared_set_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_shared_set_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_shared_set_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_shared_set_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_shared_set_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034CampaignSharedSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/campaign_shared_set_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"p\n\x1b\x43\x61mpaignSharedSetStatusEnum\"Q\n\x17\x43\x61mpaignSharedSetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1c\x43\x61mpaignSharedSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034CampaignSharedSetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/campaign_shared_set_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"p\n\x1b\x43\x61mpaignSharedSetStatusEnum\"Q\n\x17\x43\x61mpaignSharedSetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1c\x43\x61mpaignSharedSetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS = _descriptor.EnumDescriptor( name='CampaignSharedSetStatus', - full_name='google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus', + full_name='google.ads.googleads.v4.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _CAMPAIGNSHAREDSETSTATUSENUM = _descriptor.Descriptor( name='CampaignSharedSetStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignSharedSetStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ CampaignSharedSetStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNSHAREDSETSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_shared_set_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_shared_set_status_pb2' , __doc__ = """Container for enum describing types of campaign shared set statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignSharedSetStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignSharedSetStatusEnum) )) _sym_db.RegisterMessage(CampaignSharedSetStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/conversion_action_category_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_shared_set_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/conversion_action_category_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_shared_set_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/campaign_status_pb2.py b/google/ads/google_ads/v4/proto/enums/campaign_status_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/campaign_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/campaign_status_pb2.py index fe975406d..fc81e842f 100644 --- a/google/ads/google_ads/v1/proto/enums/campaign_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/campaign_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/campaign_status.proto +# source: google/ads/googleads_v4/proto/enums/campaign_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/campaign_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/campaign_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\023CampaignStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/enums/campaign_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x12\x43\x61mpaignStatusEnum\"T\n\x0e\x43\x61mpaignStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xe8\x01\n!com.google.ads.googleads.v1.enumsB\x13\x43\x61mpaignStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\023CampaignStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/enums/campaign_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x12\x43\x61mpaignStatusEnum\"T\n\x0e\x43\x61mpaignStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xe8\x01\n!com.google.ads.googleads.v4.enumsB\x13\x43\x61mpaignStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS = _descriptor.EnumDescriptor( name='CampaignStatus', - full_name='google.ads.googleads.v1.enums.CampaignStatusEnum.CampaignStatus', + full_name='google.ads.googleads.v4.enums.CampaignStatusEnum.CampaignStatus', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CAMPAIGNSTATUSENUM = _descriptor.Descriptor( name='CampaignStatusEnum', - full_name='google.ads.googleads.v1.enums.CampaignStatusEnum', + full_name='google.ads.googleads.v4.enums.CampaignStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ CampaignStatusEnum = _reflection.GeneratedProtocolMessageType('CampaignStatusEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.campaign_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.campaign_status_pb2' , __doc__ = """Container for enum describing possible statuses of a campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CampaignStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CampaignStatusEnum) )) _sym_db.RegisterMessage(CampaignStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/conversion_action_counting_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/campaign_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/conversion_action_counting_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/campaign_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/change_status_operation_pb2.py b/google/ads/google_ads/v4/proto/enums/change_status_operation_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/change_status_operation_pb2.py rename to google/ads/google_ads/v4/proto/enums/change_status_operation_pb2.py index ea7a85d80..ace7d2494 100644 --- a/google/ads/google_ads/v1/proto/enums/change_status_operation_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/change_status_operation_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/change_status_operation.proto +# source: google/ads/googleads_v4/proto/enums/change_status_operation.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/change_status_operation.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/change_status_operation.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032ChangeStatusOperationProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/change_status_operation.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x19\x43hangeStatusOperationEnum\"Z\n\x15\x43hangeStatusOperation\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x02\x12\x0b\n\x07\x43HANGED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1a\x43hangeStatusOperationProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032ChangeStatusOperationProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/change_status_operation.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x19\x43hangeStatusOperationEnum\"Z\n\x15\x43hangeStatusOperation\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x41\x44\x44\x45\x44\x10\x02\x12\x0b\n\x07\x43HANGED\x10\x03\x12\x0b\n\x07REMOVED\x10\x04\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1a\x43hangeStatusOperationProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION = _descriptor.EnumDescriptor( name='ChangeStatusOperation', - full_name='google.ads.googleads.v1.enums.ChangeStatusOperationEnum.ChangeStatusOperation', + full_name='google.ads.googleads.v4.enums.ChangeStatusOperationEnum.ChangeStatusOperation', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CHANGESTATUSOPERATIONENUM = _descriptor.Descriptor( name='ChangeStatusOperationEnum', - full_name='google.ads.googleads.v1.enums.ChangeStatusOperationEnum', + full_name='google.ads.googleads.v4.enums.ChangeStatusOperationEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ ChangeStatusOperationEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusOperationEnum', (_message.Message,), dict( DESCRIPTOR = _CHANGESTATUSOPERATIONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.change_status_operation_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.change_status_operation_pb2' , __doc__ = """Container for enum describing operations for the ChangeStatus resource. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ChangeStatusOperationEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ChangeStatusOperationEnum) )) _sym_db.RegisterMessage(ChangeStatusOperationEnum) diff --git a/google/ads/google_ads/v1/proto/enums/conversion_action_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/change_status_operation_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/conversion_action_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/change_status_operation_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/change_status_resource_type_pb2.py b/google/ads/google_ads/v4/proto/enums/change_status_resource_type_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/enums/change_status_resource_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/change_status_resource_type_pb2.py index 816086929..f71817047 100644 --- a/google/ads/google_ads/v1/proto/enums/change_status_resource_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/change_status_resource_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/change_status_resource_type.proto +# source: google/ads/googleads_v4/proto/enums/change_status_resource_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/change_status_resource_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/change_status_resource_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035ChangeStatusResourceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/change_status_resource_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x02\n\x1c\x43hangeStatusResourceTypeEnum\"\xef\x01\n\x18\x43hangeStatusResourceType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\x0f\n\x0b\x41\x44_GROUP_AD\x10\x04\x12\x16\n\x12\x41\x44_GROUP_CRITERION\x10\x05\x12\x0c\n\x08\x43\x41MPAIGN\x10\x06\x12\x16\n\x12\x43\x41MPAIGN_CRITERION\x10\x07\x12\x08\n\x04\x46\x45\x45\x44\x10\t\x12\r\n\tFEED_ITEM\x10\n\x12\x11\n\rAD_GROUP_FEED\x10\x0b\x12\x11\n\rCAMPAIGN_FEED\x10\x0c\x12\x19\n\x15\x41\x44_GROUP_BID_MODIFIER\x10\rB\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x43hangeStatusResourceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035ChangeStatusResourceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/change_status_resource_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x02\n\x1c\x43hangeStatusResourceTypeEnum\"\xef\x01\n\x18\x43hangeStatusResourceType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\x0f\n\x0b\x41\x44_GROUP_AD\x10\x04\x12\x16\n\x12\x41\x44_GROUP_CRITERION\x10\x05\x12\x0c\n\x08\x43\x41MPAIGN\x10\x06\x12\x16\n\x12\x43\x41MPAIGN_CRITERION\x10\x07\x12\x08\n\x04\x46\x45\x45\x44\x10\t\x12\r\n\tFEED_ITEM\x10\n\x12\x11\n\rAD_GROUP_FEED\x10\x0b\x12\x11\n\rCAMPAIGN_FEED\x10\x0c\x12\x19\n\x15\x41\x44_GROUP_BID_MODIFIER\x10\rB\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x43hangeStatusResourceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE = _descriptor.EnumDescriptor( name='ChangeStatusResourceType', - full_name='google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType', + full_name='google.ads.googleads.v4.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceType', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _CHANGESTATUSRESOURCETYPEENUM = _descriptor.Descriptor( name='ChangeStatusResourceTypeEnum', - full_name='google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum', + full_name='google.ads.googleads.v4.enums.ChangeStatusResourceTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,12 +120,12 @@ ChangeStatusResourceTypeEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusResourceTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CHANGESTATUSRESOURCETYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.change_status_resource_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.change_status_resource_type_pb2' , __doc__ = """Container for enum describing supported resource types for the ChangeStatus resource. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ChangeStatusResourceTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ChangeStatusResourceTypeEnum) )) _sym_db.RegisterMessage(ChangeStatusResourceTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/conversion_action_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/change_status_resource_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/conversion_action_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/change_status_resource_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/click_type_pb2.py b/google/ads/google_ads/v4/proto/enums/click_type_pb2.py similarity index 92% rename from google/ads/google_ads/v1/proto/enums/click_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/click_type_pb2.py index dde198b98..d54586c3e 100644 --- a/google/ads/google_ads/v1/proto/enums/click_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/click_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/click_type.proto +# source: google/ads/googleads_v4/proto/enums/click_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/click_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/click_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\016ClickTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n4google/ads/googleads_v1/proto/enums/click_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xa6\x0c\n\rClickTypeEnum\"\x94\x0c\n\tClickType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x41PP_DEEPLINK\x10\x02\x12\x0f\n\x0b\x42READCRUMBS\x10\x03\x12\x12\n\x0e\x42ROADBAND_PLAN\x10\x04\x12\x11\n\rCALL_TRACKING\x10\x05\x12\t\n\x05\x43\x41LLS\x10\x06\x12\x1a\n\x16\x43LICK_ON_ENGAGEMENT_AD\x10\x07\x12\x12\n\x0eGET_DIRECTIONS\x10\x08\x12\x16\n\x12LOCATION_EXPANSION\x10\t\x12\x18\n\x14LOCATION_FORMAT_CALL\x10\n\x12\x1e\n\x1aLOCATION_FORMAT_DIRECTIONS\x10\x0b\x12\x19\n\x15LOCATION_FORMAT_IMAGE\x10\x0c\x12 \n\x1cLOCATION_FORMAT_LANDING_PAGE\x10\r\x12\x17\n\x13LOCATION_FORMAT_MAP\x10\x0e\x12\x1e\n\x1aLOCATION_FORMAT_STORE_INFO\x10\x0f\x12\x18\n\x14LOCATION_FORMAT_TEXT\x10\x10\x12\x18\n\x14MOBILE_CALL_TRACKING\x10\x11\x12\x10\n\x0cOFFER_PRINTS\x10\x12\x12\t\n\x05OTHER\x10\x13\x12\x1c\n\x18PRODUCT_EXTENSION_CLICKS\x10\x14\x12\x1d\n\x19PRODUCT_LISTING_AD_CLICKS\x10\x15\x12\r\n\tSITELINKS\x10\x16\x12\x11\n\rSTORE_LOCATOR\x10\x17\x12\x0e\n\nURL_CLICKS\x10\x19\x12\x1a\n\x16VIDEO_APP_STORE_CLICKS\x10\x1a\x12\x1f\n\x1bVIDEO_CALL_TO_ACTION_CLICKS\x10\x1b\x12%\n!VIDEO_CARD_ACTION_HEADLINE_CLICKS\x10\x1c\x12\x18\n\x14VIDEO_END_CAP_CLICKS\x10\x1d\x12\x18\n\x14VIDEO_WEBSITE_CLICKS\x10\x1e\x12\x14\n\x10VISUAL_SITELINKS\x10\x1f\x12\x11\n\rWIRELESS_PLAN\x10 \x12\x1c\n\x18PRODUCT_LISTING_AD_LOCAL\x10!\x12)\n%PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL\x10\"\x12*\n&PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE\x10#\x12\x1e\n\x1aPRODUCT_LISTING_ADS_COUPON\x10$\x12#\n\x1fPRODUCT_LISTING_AD_TRANSACTABLE\x10%\x12\x1b\n\x17PRODUCT_AD_APP_DEEPLINK\x10&\x12\x1d\n\x19SHOWCASE_AD_CATEGORY_LINK\x10\'\x12%\n!SHOWCASE_AD_LOCAL_STOREFRONT_LINK\x10(\x12#\n\x1fSHOWCASE_AD_ONLINE_PRODUCT_LINK\x10*\x12\"\n\x1eSHOWCASE_AD_LOCAL_PRODUCT_LINK\x10+\x12\x17\n\x13PROMOTION_EXTENSION\x10,\x12!\n\x1dSWIPEABLE_GALLERY_AD_HEADLINE\x10-\x12\x1f\n\x1bSWIPEABLE_GALLERY_AD_SWIPES\x10.\x12!\n\x1dSWIPEABLE_GALLERY_AD_SEE_MORE\x10/\x12%\n!SWIPEABLE_GALLERY_AD_SITELINK_ONE\x10\x30\x12%\n!SWIPEABLE_GALLERY_AD_SITELINK_TWO\x10\x31\x12\'\n#SWIPEABLE_GALLERY_AD_SITELINK_THREE\x10\x32\x12&\n\"SWIPEABLE_GALLERY_AD_SITELINK_FOUR\x10\x33\x12&\n\"SWIPEABLE_GALLERY_AD_SITELINK_FIVE\x10\x34\x12\x0f\n\x0bHOTEL_PRICE\x10\x35\x12\x13\n\x0fPRICE_EXTENSION\x10\x36\x12\'\n#HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION\x10\x37\x12\x1f\n\x1bSHOPPING_COMPARISON_LISTING\x10\x38\x42\xe3\x01\n!com.google.ads.googleads.v1.enumsB\x0e\x43lickTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\016ClickTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n4google/ads/googleads_v4/proto/enums/click_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xa6\x0c\n\rClickTypeEnum\"\x94\x0c\n\tClickType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x41PP_DEEPLINK\x10\x02\x12\x0f\n\x0b\x42READCRUMBS\x10\x03\x12\x12\n\x0e\x42ROADBAND_PLAN\x10\x04\x12\x11\n\rCALL_TRACKING\x10\x05\x12\t\n\x05\x43\x41LLS\x10\x06\x12\x1a\n\x16\x43LICK_ON_ENGAGEMENT_AD\x10\x07\x12\x12\n\x0eGET_DIRECTIONS\x10\x08\x12\x16\n\x12LOCATION_EXPANSION\x10\t\x12\x18\n\x14LOCATION_FORMAT_CALL\x10\n\x12\x1e\n\x1aLOCATION_FORMAT_DIRECTIONS\x10\x0b\x12\x19\n\x15LOCATION_FORMAT_IMAGE\x10\x0c\x12 \n\x1cLOCATION_FORMAT_LANDING_PAGE\x10\r\x12\x17\n\x13LOCATION_FORMAT_MAP\x10\x0e\x12\x1e\n\x1aLOCATION_FORMAT_STORE_INFO\x10\x0f\x12\x18\n\x14LOCATION_FORMAT_TEXT\x10\x10\x12\x18\n\x14MOBILE_CALL_TRACKING\x10\x11\x12\x10\n\x0cOFFER_PRINTS\x10\x12\x12\t\n\x05OTHER\x10\x13\x12\x1c\n\x18PRODUCT_EXTENSION_CLICKS\x10\x14\x12\x1d\n\x19PRODUCT_LISTING_AD_CLICKS\x10\x15\x12\r\n\tSITELINKS\x10\x16\x12\x11\n\rSTORE_LOCATOR\x10\x17\x12\x0e\n\nURL_CLICKS\x10\x19\x12\x1a\n\x16VIDEO_APP_STORE_CLICKS\x10\x1a\x12\x1f\n\x1bVIDEO_CALL_TO_ACTION_CLICKS\x10\x1b\x12%\n!VIDEO_CARD_ACTION_HEADLINE_CLICKS\x10\x1c\x12\x18\n\x14VIDEO_END_CAP_CLICKS\x10\x1d\x12\x18\n\x14VIDEO_WEBSITE_CLICKS\x10\x1e\x12\x14\n\x10VISUAL_SITELINKS\x10\x1f\x12\x11\n\rWIRELESS_PLAN\x10 \x12\x1c\n\x18PRODUCT_LISTING_AD_LOCAL\x10!\x12)\n%PRODUCT_LISTING_AD_MULTICHANNEL_LOCAL\x10\"\x12*\n&PRODUCT_LISTING_AD_MULTICHANNEL_ONLINE\x10#\x12\x1e\n\x1aPRODUCT_LISTING_ADS_COUPON\x10$\x12#\n\x1fPRODUCT_LISTING_AD_TRANSACTABLE\x10%\x12\x1b\n\x17PRODUCT_AD_APP_DEEPLINK\x10&\x12\x1d\n\x19SHOWCASE_AD_CATEGORY_LINK\x10\'\x12%\n!SHOWCASE_AD_LOCAL_STOREFRONT_LINK\x10(\x12#\n\x1fSHOWCASE_AD_ONLINE_PRODUCT_LINK\x10*\x12\"\n\x1eSHOWCASE_AD_LOCAL_PRODUCT_LINK\x10+\x12\x17\n\x13PROMOTION_EXTENSION\x10,\x12!\n\x1dSWIPEABLE_GALLERY_AD_HEADLINE\x10-\x12\x1f\n\x1bSWIPEABLE_GALLERY_AD_SWIPES\x10.\x12!\n\x1dSWIPEABLE_GALLERY_AD_SEE_MORE\x10/\x12%\n!SWIPEABLE_GALLERY_AD_SITELINK_ONE\x10\x30\x12%\n!SWIPEABLE_GALLERY_AD_SITELINK_TWO\x10\x31\x12\'\n#SWIPEABLE_GALLERY_AD_SITELINK_THREE\x10\x32\x12&\n\"SWIPEABLE_GALLERY_AD_SITELINK_FOUR\x10\x33\x12&\n\"SWIPEABLE_GALLERY_AD_SITELINK_FIVE\x10\x34\x12\x0f\n\x0bHOTEL_PRICE\x10\x35\x12\x13\n\x0fPRICE_EXTENSION\x10\x36\x12\'\n#HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION\x10\x37\x12\x1f\n\x1bSHOPPING_COMPARISON_LISTING\x10\x38\x42\xe3\x01\n!com.google.ads.googleads.v4.enumsB\x0e\x43lickTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CLICKTYPEENUM_CLICKTYPE = _descriptor.EnumDescriptor( name='ClickType', - full_name='google.ads.googleads.v1.enums.ClickTypeEnum.ClickType', + full_name='google.ads.googleads.v4.enums.ClickTypeEnum.ClickType', filename=None, file=DESCRIPTOR, values=[ @@ -264,7 +264,7 @@ _CLICKTYPEENUM = _descriptor.Descriptor( name='ClickTypeEnum', - full_name='google.ads.googleads.v1.enums.ClickTypeEnum', + full_name='google.ads.googleads.v4.enums.ClickTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -292,11 +292,11 @@ ClickTypeEnum = _reflection.GeneratedProtocolMessageType('ClickTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CLICKTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.click_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.click_type_pb2' , __doc__ = """Container for enumeration of Google Ads click types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ClickTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ClickTypeEnum) )) _sym_db.RegisterMessage(ClickTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/conversion_adjustment_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/click_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/conversion_adjustment_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/click_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/content_label_type_pb2.py b/google/ads/google_ads/v4/proto/enums/content_label_type_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/enums/content_label_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/content_label_type_pb2.py index 229a559e0..fad40dbc4 100644 --- a/google/ads/google_ads/v1/proto/enums/content_label_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/content_label_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/content_label_type.proto +# source: google/ads/googleads_v4/proto/enums/content_label_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/content_label_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/content_label_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025ContentLabelTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/custom_interest_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"t\n\x16\x43ustomInterestTypeEnum\"Z\n\x12\x43ustomInterestType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x43USTOM_AFFINITY\x10\x02\x12\x11\n\rCUSTOM_INTENT\x10\x03\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17\x43ustomInterestTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027CustomInterestTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/custom_interest_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"t\n\x16\x43ustomInterestTypeEnum\"Z\n\x12\x43ustomInterestType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x43USTOM_AFFINITY\x10\x02\x12\x11\n\rCUSTOM_INTENT\x10\x03\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17\x43ustomInterestTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE = _descriptor.EnumDescriptor( name='CustomInterestType', - full_name='google.ads.googleads.v1.enums.CustomInterestTypeEnum.CustomInterestType', + full_name='google.ads.googleads.v4.enums.CustomInterestTypeEnum.CustomInterestType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _CUSTOMINTERESTTYPEENUM = _descriptor.Descriptor( name='CustomInterestTypeEnum', - full_name='google.ads.googleads.v1.enums.CustomInterestTypeEnum', + full_name='google.ads.googleads.v4.enums.CustomInterestTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ CustomInterestTypeEnum = _reflection.GeneratedProtocolMessageType('CustomInterestTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTERESTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.custom_interest_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.custom_interest_type_pb2' , __doc__ = """The types of custom interest. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CustomInterestTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CustomInterestTypeEnum) )) _sym_db.RegisterMessage(CustomInterestTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/device_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/custom_interest_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/device_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/custom_interest_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/custom_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/custom_placeholder_field_pb2.py similarity index 85% rename from google/ads/google_ads/v1/proto/enums/custom_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/custom_placeholder_field_pb2.py index 47591b4da..b976a2044 100644 --- a/google/ads/google_ads/v1/proto/enums/custom_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/custom_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/custom_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/custom_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/custom_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/custom_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033CustomPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/custom_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xbe\x03\n\x1a\x43ustomPlaceholderFieldEnum\"\x9f\x03\n\x16\x43ustomPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x06\n\x02ID\x10\x02\x12\x07\n\x03ID2\x10\x03\x12\x0e\n\nITEM_TITLE\x10\x04\x12\x11\n\rITEM_SUBTITLE\x10\x05\x12\x14\n\x10ITEM_DESCRIPTION\x10\x06\x12\x10\n\x0cITEM_ADDRESS\x10\x07\x12\t\n\x05PRICE\x10\x08\x12\x13\n\x0f\x46ORMATTED_PRICE\x10\t\x12\x0e\n\nSALE_PRICE\x10\n\x12\x18\n\x14\x46ORMATTED_SALE_PRICE\x10\x0b\x12\r\n\tIMAGE_URL\x10\x0c\x12\x11\n\rITEM_CATEGORY\x10\r\x12\x0e\n\nFINAL_URLS\x10\x0e\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0f\x12\x10\n\x0cTRACKING_URL\x10\x10\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\x11\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x12\x12\x0f\n\x0bSIMILAR_IDS\x10\x13\x12\x10\n\x0cIOS_APP_LINK\x10\x14\x12\x14\n\x10IOS_APP_STORE_ID\x10\x15\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1b\x43ustomPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033CustomPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/custom_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xbe\x03\n\x1a\x43ustomPlaceholderFieldEnum\"\x9f\x03\n\x16\x43ustomPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x06\n\x02ID\x10\x02\x12\x07\n\x03ID2\x10\x03\x12\x0e\n\nITEM_TITLE\x10\x04\x12\x11\n\rITEM_SUBTITLE\x10\x05\x12\x14\n\x10ITEM_DESCRIPTION\x10\x06\x12\x10\n\x0cITEM_ADDRESS\x10\x07\x12\t\n\x05PRICE\x10\x08\x12\x13\n\x0f\x46ORMATTED_PRICE\x10\t\x12\x0e\n\nSALE_PRICE\x10\n\x12\x18\n\x14\x46ORMATTED_SALE_PRICE\x10\x0b\x12\r\n\tIMAGE_URL\x10\x0c\x12\x11\n\rITEM_CATEGORY\x10\r\x12\x0e\n\nFINAL_URLS\x10\x0e\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0f\x12\x10\n\x0cTRACKING_URL\x10\x10\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\x11\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x12\x12\x0f\n\x0bSIMILAR_IDS\x10\x13\x12\x10\n\x0cIOS_APP_LINK\x10\x14\x12\x14\n\x10IOS_APP_STORE_ID\x10\x15\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1b\x43ustomPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='CustomPlaceholderField', - full_name='google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField', + full_name='google.ads.googleads.v4.enums.CustomPlaceholderFieldEnum.CustomPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -132,7 +132,7 @@ _CUSTOMPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='CustomPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.CustomPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -160,13 +160,13 @@ CustomPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('CustomPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.custom_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.custom_placeholder_field_pb2' , __doc__ = """Values for Custom placeholder fields. For more information about dynamic remarketing feeds, see https://support.google.com/google-ads/answer/6053288. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CustomPlaceholderFieldEnum) )) _sym_db.RegisterMessage(CustomPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/display_ad_format_setting_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/custom_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/display_ad_format_setting_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/custom_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/customer_match_upload_key_type_pb2.py b/google/ads/google_ads/v4/proto/enums/customer_match_upload_key_type_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/customer_match_upload_key_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/customer_match_upload_key_type_pb2.py index da09114fa..9aa868895 100644 --- a/google/ads/google_ads/v1/proto/enums/customer_match_upload_key_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/customer_match_upload_key_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/customer_match_upload_key_type.proto +# source: google/ads/googleads_v4/proto/enums/customer_match_upload_key_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/customer_match_upload_key_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/customer_match_upload_key_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\037CustomerMatchUploadKeyTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/customer_match_upload_key_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x95\x01\n\x1e\x43ustomerMatchUploadKeyTypeEnum\"s\n\x1a\x43ustomerMatchUploadKeyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x43ONTACT_INFO\x10\x02\x12\n\n\x06\x43RM_ID\x10\x03\x12\x19\n\x15MOBILE_ADVERTISING_ID\x10\x04\x42\xf4\x01\n!com.google.ads.googleads.v1.enumsB\x1f\x43ustomerMatchUploadKeyTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\037CustomerMatchUploadKeyTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/customer_match_upload_key_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x95\x01\n\x1e\x43ustomerMatchUploadKeyTypeEnum\"s\n\x1a\x43ustomerMatchUploadKeyType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x43ONTACT_INFO\x10\x02\x12\n\n\x06\x43RM_ID\x10\x03\x12\x19\n\x15MOBILE_ADVERTISING_ID\x10\x04\x42\xf4\x01\n!com.google.ads.googleads.v4.enumsB\x1f\x43ustomerMatchUploadKeyTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERMATCHUPLOADKEYTYPEENUM_CUSTOMERMATCHUPLOADKEYTYPE = _descriptor.EnumDescriptor( name='CustomerMatchUploadKeyType', - full_name='google.ads.googleads.v1.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType', + full_name='google.ads.googleads.v4.enums.CustomerMatchUploadKeyTypeEnum.CustomerMatchUploadKeyType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _CUSTOMERMATCHUPLOADKEYTYPEENUM = _descriptor.Descriptor( name='CustomerMatchUploadKeyTypeEnum', - full_name='google.ads.googleads.v1.enums.CustomerMatchUploadKeyTypeEnum', + full_name='google.ads.googleads.v4.enums.CustomerMatchUploadKeyTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ CustomerMatchUploadKeyTypeEnum = _reflection.GeneratedProtocolMessageType('CustomerMatchUploadKeyTypeEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERMATCHUPLOADKEYTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.customer_match_upload_key_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.customer_match_upload_key_type_pb2' , __doc__ = """Indicates what type of data are the user list's members matched from. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CustomerMatchUploadKeyTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CustomerMatchUploadKeyTypeEnum) )) _sym_db.RegisterMessage(CustomerMatchUploadKeyTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/display_upload_product_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/customer_match_upload_key_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/display_upload_product_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/customer_match_upload_key_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py b/google/ads/google_ads/v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py rename to google/ads/google_ads/v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py index 67f3f9b44..07453fa68 100644 --- a/google/ads/google_ads/v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto +# source: google/ads/googleads_v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n`google/ads/googleads_v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xd1\x02\n4CustomerPayPerConversionEligibilityFailureReasonEnum\"\x98\x02\n0CustomerPayPerConversionEligibilityFailureReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16NOT_ENOUGH_CONVERSIONS\x10\x02\x12\x1b\n\x17\x43ONVERSION_LAG_TOO_HIGH\x10\x03\x12#\n\x1fHAS_CAMPAIGN_WITH_SHARED_BUDGET\x10\x04\x12 \n\x1cHAS_UPLOAD_CLICKS_CONVERSION\x10\x05\x12 \n\x1c\x41VERAGE_DAILY_SPEND_TOO_HIGH\x10\x06\x12\x19\n\x15\x41NALYSIS_NOT_COMPLETE\x10\x07\x12\t\n\x05OTHER\x10\x08\x42\x8a\x02\n!com.google.ads.googleads.v1.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n`google/ads/googleads_v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xd1\x02\n4CustomerPayPerConversionEligibilityFailureReasonEnum\"\x98\x02\n0CustomerPayPerConversionEligibilityFailureReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16NOT_ENOUGH_CONVERSIONS\x10\x02\x12\x1b\n\x17\x43ONVERSION_LAG_TOO_HIGH\x10\x03\x12#\n\x1fHAS_CAMPAIGN_WITH_SHARED_BUDGET\x10\x04\x12 \n\x1cHAS_UPLOAD_CLICKS_CONVERSION\x10\x05\x12 \n\x1c\x41VERAGE_DAILY_SPEND_TOO_HIGH\x10\x06\x12\x19\n\x15\x41NALYSIS_NOT_COMPLETE\x10\x07\x12\t\n\x05OTHER\x10\x08\x42\x8a\x02\n!com.google.ads.googleads.v4.enumsB5CustomerPayPerConversionEligibilityFailureReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON = _descriptor.EnumDescriptor( name='CustomerPayPerConversionEligibilityFailureReason', - full_name='google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason', + full_name='google.ads.googleads.v4.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM = _descriptor.Descriptor( name='CustomerPayPerConversionEligibilityFailureReasonEnum', - full_name='google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum', + full_name='google.ads.googleads.v4.enums.CustomerPayPerConversionEligibilityFailureReasonEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,12 +108,12 @@ CustomerPayPerConversionEligibilityFailureReasonEnum = _reflection.GeneratedProtocolMessageType('CustomerPayPerConversionEligibilityFailureReasonEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.customer_pay_per_conversion_eligibility_failure_reason_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.customer_pay_per_conversion_eligibility_failure_reason_pb2' , __doc__ = """Container for enum describing reasons why a customer is not eligible to use PaymentMode.CONVERSIONS. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.CustomerPayPerConversionEligibilityFailureReasonEnum) )) _sym_db.RegisterMessage(CustomerPayPerConversionEligibilityFailureReasonEnum) diff --git a/google/ads/google_ads/v1/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/data_driven_model_status_pb2.py b/google/ads/google_ads/v4/proto/enums/data_driven_model_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/data_driven_model_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/data_driven_model_status_pb2.py index 33c35a72c..2b4dbea93 100644 --- a/google/ads/google_ads/v1/proto/enums/data_driven_model_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/data_driven_model_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/data_driven_model_status.proto +# source: google/ads/googleads_v4/proto/enums/data_driven_model_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/data_driven_model_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/data_driven_model_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032DataDrivenModelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/data_driven_model_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8e\x01\n\x19\x44\x61taDrivenModelStatusEnum\"q\n\x15\x44\x61taDrivenModelStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\t\n\x05STALE\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\x12\x13\n\x0fNEVER_GENERATED\x10\x05\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1a\x44\x61taDrivenModelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032DataDrivenModelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/data_driven_model_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8e\x01\n\x19\x44\x61taDrivenModelStatusEnum\"q\n\x15\x44\x61taDrivenModelStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\t\n\x05STALE\x10\x03\x12\x0b\n\x07\x45XPIRED\x10\x04\x12\x13\n\x0fNEVER_GENERATED\x10\x05\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1a\x44\x61taDrivenModelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS = _descriptor.EnumDescriptor( name='DataDrivenModelStatus', - full_name='google.ads.googleads.v1.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus', + full_name='google.ads.googleads.v4.enums.DataDrivenModelStatusEnum.DataDrivenModelStatus', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _DATADRIVENMODELSTATUSENUM = _descriptor.Descriptor( name='DataDrivenModelStatusEnum', - full_name='google.ads.googleads.v1.enums.DataDrivenModelStatusEnum', + full_name='google.ads.googleads.v4.enums.DataDrivenModelStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ DataDrivenModelStatusEnum = _reflection.GeneratedProtocolMessageType('DataDrivenModelStatusEnum', (_message.Message,), dict( DESCRIPTOR = _DATADRIVENMODELSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.data_driven_model_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.data_driven_model_status_pb2' , __doc__ = """Container for enum indicating data driven model status. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DataDrivenModelStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DataDrivenModelStatusEnum) )) _sym_db.RegisterMessage(DataDrivenModelStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/education_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/data_driven_model_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/education_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/data_driven_model_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/day_of_week_pb2.py b/google/ads/google_ads/v4/proto/enums/day_of_week_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/day_of_week_pb2.py rename to google/ads/google_ads/v4/proto/enums/day_of_week_pb2.py index ad55de3c1..e8bd67c23 100644 --- a/google/ads/google_ads/v1/proto/enums/day_of_week_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/day_of_week_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/day_of_week.proto +# source: google/ads/googleads_v4/proto/enums/day_of_week.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/day_of_week.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/day_of_week.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\016DayOfWeekProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/enums/day_of_week.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x97\x01\n\rDayOfWeekEnum\"\x85\x01\n\tDayOfWeek\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MONDAY\x10\x02\x12\x0b\n\x07TUESDAY\x10\x03\x12\r\n\tWEDNESDAY\x10\x04\x12\x0c\n\x08THURSDAY\x10\x05\x12\n\n\x06\x46RIDAY\x10\x06\x12\x0c\n\x08SATURDAY\x10\x07\x12\n\n\x06SUNDAY\x10\x08\x42\xe3\x01\n!com.google.ads.googleads.v1.enumsB\x0e\x44\x61yOfWeekProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\016DayOfWeekProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/day_of_week.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x97\x01\n\rDayOfWeekEnum\"\x85\x01\n\tDayOfWeek\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MONDAY\x10\x02\x12\x0b\n\x07TUESDAY\x10\x03\x12\r\n\tWEDNESDAY\x10\x04\x12\x0c\n\x08THURSDAY\x10\x05\x12\n\n\x06\x46RIDAY\x10\x06\x12\x0c\n\x08SATURDAY\x10\x07\x12\n\n\x06SUNDAY\x10\x08\x42\xe3\x01\n!com.google.ads.googleads.v4.enumsB\x0e\x44\x61yOfWeekProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DAYOFWEEKENUM_DAYOFWEEK = _descriptor.EnumDescriptor( name='DayOfWeek', - full_name='google.ads.googleads.v1.enums.DayOfWeekEnum.DayOfWeek', + full_name='google.ads.googleads.v4.enums.DayOfWeekEnum.DayOfWeek', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _DAYOFWEEKENUM = _descriptor.Descriptor( name='DayOfWeekEnum', - full_name='google.ads.googleads.v1.enums.DayOfWeekEnum', + full_name='google.ads.googleads.v4.enums.DayOfWeekEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,11 +108,11 @@ DayOfWeekEnum = _reflection.GeneratedProtocolMessageType('DayOfWeekEnum', (_message.Message,), dict( DESCRIPTOR = _DAYOFWEEKENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.day_of_week_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.day_of_week_pb2' , __doc__ = """Container for enumeration of days of the week, e.g., "Monday". """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DayOfWeekEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DayOfWeekEnum) )) _sym_db.RegisterMessage(DayOfWeekEnum) diff --git a/google/ads/google_ads/v1/proto/enums/extension_setting_device_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/day_of_week_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/extension_setting_device_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/day_of_week_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/device_pb2.py b/google/ads/google_ads/v4/proto/enums/device_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/device_pb2.py rename to google/ads/google_ads/v4/proto/enums/device_pb2.py index 0aacb9100..5ee2d5127 100644 --- a/google/ads/google_ads/v1/proto/enums/device_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/device_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/device.proto +# source: google/ads/googleads_v4/proto/enums/device.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/device.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/device.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\013DeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n0google/ads/googleads_v1/proto/enums/device.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"v\n\nDeviceEnum\"h\n\x06\x44\x65vice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x12\n\n\x06TABLET\x10\x03\x12\x0b\n\x07\x44\x45SKTOP\x10\x04\x12\x10\n\x0c\x43ONNECTED_TV\x10\x06\x12\t\n\x05OTHER\x10\x05\x42\xe0\x01\n!com.google.ads.googleads.v1.enumsB\x0b\x44\x65viceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\013DeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n0google/ads/googleads_v4/proto/enums/device.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"v\n\nDeviceEnum\"h\n\x06\x44\x65vice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x12\n\n\x06TABLET\x10\x03\x12\x0b\n\x07\x44\x45SKTOP\x10\x04\x12\x10\n\x0c\x43ONNECTED_TV\x10\x06\x12\t\n\x05OTHER\x10\x05\x42\xe0\x01\n!com.google.ads.googleads.v4.enumsB\x0b\x44\x65viceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DEVICEENUM_DEVICE = _descriptor.EnumDescriptor( name='Device', - full_name='google.ads.googleads.v1.enums.DeviceEnum.Device', + full_name='google.ads.googleads.v4.enums.DeviceEnum.Device', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _DEVICEENUM = _descriptor.Descriptor( name='DeviceEnum', - full_name='google.ads.googleads.v1.enums.DeviceEnum', + full_name='google.ads.googleads.v4.enums.DeviceEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ DeviceEnum = _reflection.GeneratedProtocolMessageType('DeviceEnum', (_message.Message,), dict( DESCRIPTOR = _DEVICEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.device_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.device_pb2' , __doc__ = """Container for enumeration of Google Ads devices available for targeting. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DeviceEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DeviceEnum) )) _sym_db.RegisterMessage(DeviceEnum) diff --git a/google/ads/google_ads/v1/proto/enums/extension_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/device_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/extension_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/device_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/display_ad_format_setting_pb2.py b/google/ads/google_ads/v4/proto/enums/display_ad_format_setting_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/display_ad_format_setting_pb2.py rename to google/ads/google_ads/v4/proto/enums/display_ad_format_setting_pb2.py index b240236ff..3e076738c 100644 --- a/google/ads/google_ads/v1/proto/enums/display_ad_format_setting_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/display_ad_format_setting_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/display_ad_format_setting.proto +# source: google/ads/googleads_v4/proto/enums/display_ad_format_setting.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/display_ad_format_setting.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/display_ad_format_setting.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033DisplayAdFormatSettingProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/display_ad_format_setting.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1a\x44isplayAdFormatSettingEnum\"c\n\x16\x44isplayAdFormatSetting\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x41LL_FORMATS\x10\x02\x12\x0e\n\nNON_NATIVE\x10\x03\x12\n\n\x06NATIVE\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1b\x44isplayAdFormatSettingProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033DisplayAdFormatSettingProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/display_ad_format_setting.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1a\x44isplayAdFormatSettingEnum\"c\n\x16\x44isplayAdFormatSetting\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x41LL_FORMATS\x10\x02\x12\x0e\n\nNON_NATIVE\x10\x03\x12\n\n\x06NATIVE\x10\x04\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1b\x44isplayAdFormatSettingProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DISPLAYADFORMATSETTINGENUM_DISPLAYADFORMATSETTING = _descriptor.EnumDescriptor( name='DisplayAdFormatSetting', - full_name='google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting', + full_name='google.ads.googleads.v4.enums.DisplayAdFormatSettingEnum.DisplayAdFormatSetting', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _DISPLAYADFORMATSETTINGENUM = _descriptor.Descriptor( name='DisplayAdFormatSettingEnum', - full_name='google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum', + full_name='google.ads.googleads.v4.enums.DisplayAdFormatSettingEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ DisplayAdFormatSettingEnum = _reflection.GeneratedProtocolMessageType('DisplayAdFormatSettingEnum', (_message.Message,), dict( DESCRIPTOR = _DISPLAYADFORMATSETTINGENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.display_ad_format_setting_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.display_ad_format_setting_pb2' , __doc__ = """Container for display ad format settings. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DisplayAdFormatSettingEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DisplayAdFormatSettingEnum) )) _sym_db.RegisterMessage(DisplayAdFormatSettingEnum) diff --git a/google/ads/google_ads/v1/proto/enums/external_conversion_source_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/display_ad_format_setting_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/external_conversion_source_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/display_ad_format_setting_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/display_upload_product_type_pb2.py b/google/ads/google_ads/v4/proto/enums/display_upload_product_type_pb2.py similarity index 82% rename from google/ads/google_ads/v1/proto/enums/display_upload_product_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/display_upload_product_type_pb2.py index ba73bb05b..188f57946 100644 --- a/google/ads/google_ads/v1/proto/enums/display_upload_product_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/display_upload_product_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/display_upload_product_type.proto +# source: google/ads/googleads_v4/proto/enums/display_upload_product_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/display_upload_product_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/display_upload_product_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035DisplayUploadProductTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/display_upload_product_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xfc\x02\n\x1c\x44isplayUploadProductTypeEnum\"\xdb\x02\n\x18\x44isplayUploadProductType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fHTML5_UPLOAD_AD\x10\x02\x12\x1e\n\x1a\x44YNAMIC_HTML5_EDUCATION_AD\x10\x03\x12\x1b\n\x17\x44YNAMIC_HTML5_FLIGHT_AD\x10\x04\x12!\n\x1d\x44YNAMIC_HTML5_HOTEL_RENTAL_AD\x10\x05\x12\x18\n\x14\x44YNAMIC_HTML5_JOB_AD\x10\x06\x12\x1a\n\x16\x44YNAMIC_HTML5_LOCAL_AD\x10\x07\x12 \n\x1c\x44YNAMIC_HTML5_REAL_ESTATE_AD\x10\x08\x12\x1b\n\x17\x44YNAMIC_HTML5_CUSTOM_AD\x10\t\x12\x1b\n\x17\x44YNAMIC_HTML5_TRAVEL_AD\x10\n\x12\x1a\n\x16\x44YNAMIC_HTML5_HOTEL_AD\x10\x0b\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x44isplayUploadProductTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035DisplayUploadProductTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/display_upload_product_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xfc\x02\n\x1c\x44isplayUploadProductTypeEnum\"\xdb\x02\n\x18\x44isplayUploadProductType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fHTML5_UPLOAD_AD\x10\x02\x12\x1e\n\x1a\x44YNAMIC_HTML5_EDUCATION_AD\x10\x03\x12\x1b\n\x17\x44YNAMIC_HTML5_FLIGHT_AD\x10\x04\x12!\n\x1d\x44YNAMIC_HTML5_HOTEL_RENTAL_AD\x10\x05\x12\x18\n\x14\x44YNAMIC_HTML5_JOB_AD\x10\x06\x12\x1a\n\x16\x44YNAMIC_HTML5_LOCAL_AD\x10\x07\x12 \n\x1c\x44YNAMIC_HTML5_REAL_ESTATE_AD\x10\x08\x12\x1b\n\x17\x44YNAMIC_HTML5_CUSTOM_AD\x10\t\x12\x1b\n\x17\x44YNAMIC_HTML5_TRAVEL_AD\x10\n\x12\x1a\n\x16\x44YNAMIC_HTML5_HOTEL_AD\x10\x0b\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x44isplayUploadProductTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DISPLAYUPLOADPRODUCTTYPEENUM_DISPLAYUPLOADPRODUCTTYPE = _descriptor.EnumDescriptor( name='DisplayUploadProductType', - full_name='google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType', + full_name='google.ads.googleads.v4.enums.DisplayUploadProductTypeEnum.DisplayUploadProductType', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _DISPLAYUPLOADPRODUCTTYPEENUM = _descriptor.Descriptor( name='DisplayUploadProductTypeEnum', - full_name='google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum', + full_name='google.ads.googleads.v4.enums.DisplayUploadProductTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,7 +120,7 @@ DisplayUploadProductTypeEnum = _reflection.GeneratedProtocolMessageType('DisplayUploadProductTypeEnum', (_message.Message,), dict( DESCRIPTOR = _DISPLAYUPLOADPRODUCTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.display_upload_product_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.display_upload_product_type_pb2' , __doc__ = """Container for display upload product types. Product types that have the word "DYNAMIC" in them must be associated with a campaign that has a @@ -129,7 +129,7 @@ dynamic remarketing. Other product types are regarded as "static" and do not have this requirement. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DisplayUploadProductTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DisplayUploadProductTypeEnum) )) _sym_db.RegisterMessage(DisplayUploadProductTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_attribute_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/display_upload_product_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_attribute_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/display_upload_product_type_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/distance_bucket_pb2.py b/google/ads/google_ads/v4/proto/enums/distance_bucket_pb2.py new file mode 100644 index 000000000..30c39e045 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/distance_bucket_pb2.py @@ -0,0 +1,202 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/distance_bucket.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/distance_bucket.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\023DistanceBucketProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/enums/distance_bucket.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xad\x04\n\x12\x44istanceBucketEnum\"\x96\x04\n\x0e\x44istanceBucket\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bWITHIN_700M\x10\x02\x12\x0e\n\nWITHIN_1KM\x10\x03\x12\x0e\n\nWITHIN_5KM\x10\x04\x12\x0f\n\x0bWITHIN_10KM\x10\x05\x12\x0f\n\x0bWITHIN_15KM\x10\x06\x12\x0f\n\x0bWITHIN_20KM\x10\x07\x12\x0f\n\x0bWITHIN_25KM\x10\x08\x12\x0f\n\x0bWITHIN_30KM\x10\t\x12\x0f\n\x0bWITHIN_35KM\x10\n\x12\x0f\n\x0bWITHIN_40KM\x10\x0b\x12\x0f\n\x0bWITHIN_45KM\x10\x0c\x12\x0f\n\x0bWITHIN_50KM\x10\r\x12\x0f\n\x0bWITHIN_55KM\x10\x0e\x12\x0f\n\x0bWITHIN_60KM\x10\x0f\x12\x0f\n\x0bWITHIN_65KM\x10\x10\x12\x0f\n\x0b\x42\x45YOND_65KM\x10\x11\x12\x13\n\x0fWITHIN_0_7MILES\x10\x12\x12\x10\n\x0cWITHIN_1MILE\x10\x13\x12\x11\n\rWITHIN_5MILES\x10\x14\x12\x12\n\x0eWITHIN_10MILES\x10\x15\x12\x12\n\x0eWITHIN_15MILES\x10\x16\x12\x12\n\x0eWITHIN_20MILES\x10\x17\x12\x12\n\x0eWITHIN_25MILES\x10\x18\x12\x12\n\x0eWITHIN_30MILES\x10\x19\x12\x12\n\x0eWITHIN_35MILES\x10\x1a\x12\x12\n\x0eWITHIN_40MILES\x10\x1b\x12\x12\n\x0e\x42\x45YOND_40MILES\x10\x1c\x42\xe8\x01\n!com.google.ads.googleads.v4.enumsB\x13\x44istanceBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_DISTANCEBUCKETENUM_DISTANCEBUCKET = _descriptor.EnumDescriptor( + name='DistanceBucket', + full_name='google.ads.googleads.v4.enums.DistanceBucketEnum.DistanceBucket', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_700M', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_1KM', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_5KM', index=4, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_10KM', index=5, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_15KM', index=6, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_20KM', index=7, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_25KM', index=8, number=8, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_30KM', index=9, number=9, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_35KM', index=10, number=10, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_40KM', index=11, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_45KM', index=12, number=12, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_50KM', index=13, number=13, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_55KM', index=14, number=14, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_60KM', index=15, number=15, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_65KM', index=16, number=16, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='BEYOND_65KM', index=17, number=17, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_0_7MILES', index=18, number=18, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_1MILE', index=19, number=19, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_5MILES', index=20, number=20, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_10MILES', index=21, number=21, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_15MILES', index=22, number=22, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_20MILES', index=23, number=23, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_25MILES', index=24, number=24, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_30MILES', index=25, number=25, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_35MILES', index=26, number=26, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='WITHIN_40MILES', index=27, number=27, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='BEYOND_40MILES', index=28, number=28, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=146, + serialized_end=680, +) +_sym_db.RegisterEnumDescriptor(_DISTANCEBUCKETENUM_DISTANCEBUCKET) + + +_DISTANCEBUCKETENUM = _descriptor.Descriptor( + name='DistanceBucketEnum', + full_name='google.ads.googleads.v4.enums.DistanceBucketEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _DISTANCEBUCKETENUM_DISTANCEBUCKET, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=123, + serialized_end=680, +) + +_DISTANCEBUCKETENUM_DISTANCEBUCKET.containing_type = _DISTANCEBUCKETENUM +DESCRIPTOR.message_types_by_name['DistanceBucketEnum'] = _DISTANCEBUCKETENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DistanceBucketEnum = _reflection.GeneratedProtocolMessageType('DistanceBucketEnum', (_message.Message,), dict( + DESCRIPTOR = _DISTANCEBUCKETENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.distance_bucket_pb2' + , + __doc__ = """Container for distance buckets of a user’s distance from an advertiser’s + location extension. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DistanceBucketEnum) + )) +_sym_db.RegisterMessage(DistanceBucketEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_quality_approval_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/distance_bucket_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_quality_approval_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/distance_bucket_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/dsa_page_feed_criterion_field_pb2.py b/google/ads/google_ads/v4/proto/enums/dsa_page_feed_criterion_field_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/dsa_page_feed_criterion_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/dsa_page_feed_criterion_field_pb2.py index edcc222ea..e0f79a228 100644 --- a/google/ads/google_ads/v1/proto/enums/dsa_page_feed_criterion_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/dsa_page_feed_criterion_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/dsa_page_feed_criterion_field.proto +# source: google/ads/googleads_v4/proto/enums/dsa_page_feed_criterion_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/dsa_page_feed_criterion_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/dsa_page_feed_criterion_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\036DsaPageFeedCriterionFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/enums/dsa_page_feed_criterion_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x1d\x44saPageFeedCriterionFieldEnum\"R\n\x19\x44saPageFeedCriterionField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PAGE_URL\x10\x02\x12\t\n\x05LABEL\x10\x03\x42\xf3\x01\n!com.google.ads.googleads.v1.enumsB\x1e\x44saPageFeedCriterionFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\036DsaPageFeedCriterionFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/enums/dsa_page_feed_criterion_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x1d\x44saPageFeedCriterionFieldEnum\"R\n\x19\x44saPageFeedCriterionField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PAGE_URL\x10\x02\x12\t\n\x05LABEL\x10\x03\x42\xf3\x01\n!com.google.ads.googleads.v4.enumsB\x1e\x44saPageFeedCriterionFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD = _descriptor.EnumDescriptor( name='DsaPageFeedCriterionField', - full_name='google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField', + full_name='google.ads.googleads.v4.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionField', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _DSAPAGEFEEDCRITERIONFIELDENUM = _descriptor.Descriptor( name='DsaPageFeedCriterionFieldEnum', - full_name='google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum', + full_name='google.ads.googleads.v4.enums.DsaPageFeedCriterionFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ DsaPageFeedCriterionFieldEnum = _reflection.GeneratedProtocolMessageType('DsaPageFeedCriterionFieldEnum', (_message.Message,), dict( DESCRIPTOR = _DSAPAGEFEEDCRITERIONFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.dsa_page_feed_criterion_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.dsa_page_feed_criterion_field_pb2' , __doc__ = """Values for Dynamic Search Ad Page Feed criterion fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.DsaPageFeedCriterionFieldEnum) )) _sym_db.RegisterMessage(DsaPageFeedCriterionFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/dsa_page_feed_criterion_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/education_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/education_placeholder_field_pb2.py similarity index 84% rename from google/ads/google_ads/v1/proto/enums/education_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/education_placeholder_field_pb2.py index a108bca2f..dc893a322 100644 --- a/google/ads/google_ads/v1/proto/enums/education_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/education_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/education_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/education_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/education_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/education_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\036EducationPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/education_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xbf\x03\n\x1d\x45\x64ucationPlaceholderFieldEnum\"\x9d\x03\n\x19\x45\x64ucationPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nPROGRAM_ID\x10\x02\x12\x0f\n\x0bLOCATION_ID\x10\x03\x12\x10\n\x0cPROGRAM_NAME\x10\x04\x12\x11\n\rAREA_OF_STUDY\x10\x05\x12\x17\n\x13PROGRAM_DESCRIPTION\x10\x06\x12\x0f\n\x0bSCHOOL_NAME\x10\x07\x12\x0b\n\x07\x41\x44\x44RESS\x10\x08\x12\x17\n\x13THUMBNAIL_IMAGE_URL\x10\t\x12#\n\x1f\x41LTERNATIVE_THUMBNAIL_IMAGE_URL\x10\n\x12\x0e\n\nFINAL_URLS\x10\x0b\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0c\x12\x10\n\x0cTRACKING_URL\x10\r\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\x0e\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x0f\x12\x17\n\x13SIMILAR_PROGRAM_IDS\x10\x10\x12\x10\n\x0cIOS_APP_LINK\x10\x11\x12\x14\n\x10IOS_APP_STORE_ID\x10\x12\x42\xf3\x01\n!com.google.ads.googleads.v1.enumsB\x1e\x45\x64ucationPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\036EducationPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/education_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xbf\x03\n\x1d\x45\x64ucationPlaceholderFieldEnum\"\x9d\x03\n\x19\x45\x64ucationPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nPROGRAM_ID\x10\x02\x12\x0f\n\x0bLOCATION_ID\x10\x03\x12\x10\n\x0cPROGRAM_NAME\x10\x04\x12\x11\n\rAREA_OF_STUDY\x10\x05\x12\x17\n\x13PROGRAM_DESCRIPTION\x10\x06\x12\x0f\n\x0bSCHOOL_NAME\x10\x07\x12\x0b\n\x07\x41\x44\x44RESS\x10\x08\x12\x17\n\x13THUMBNAIL_IMAGE_URL\x10\t\x12#\n\x1f\x41LTERNATIVE_THUMBNAIL_IMAGE_URL\x10\n\x12\x0e\n\nFINAL_URLS\x10\x0b\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0c\x12\x10\n\x0cTRACKING_URL\x10\r\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\x0e\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x0f\x12\x17\n\x13SIMILAR_PROGRAM_IDS\x10\x10\x12\x10\n\x0cIOS_APP_LINK\x10\x11\x12\x14\n\x10IOS_APP_STORE_ID\x10\x12\x42\xf3\x01\n!com.google.ads.googleads.v4.enumsB\x1e\x45\x64ucationPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='EducationPlaceholderField', - full_name='google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField', + full_name='google.ads.googleads.v4.enums.EducationPlaceholderFieldEnum.EducationPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -120,7 +120,7 @@ _EDUCATIONPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='EducationPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.EducationPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -148,13 +148,13 @@ EducationPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('EducationPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _EDUCATIONPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.education_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.education_placeholder_field_pb2' , __doc__ = """Values for Education placeholder fields. For more information about dynamic remarketing feeds, see https://support.google.com/google-ads/answer/6053288. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.EducationPlaceholderFieldEnum) )) _sym_db.RegisterMessage(EducationPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/education_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/education_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/extension_setting_device_pb2.py b/google/ads/google_ads/v4/proto/enums/extension_setting_device_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/extension_setting_device_pb2.py rename to google/ads/google_ads/v4/proto/enums/extension_setting_device_pb2.py index 84ec2fd56..3c17adfdb 100644 --- a/google/ads/google_ads/v1/proto/enums/extension_setting_device_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/extension_setting_device_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/extension_setting_device.proto +# source: google/ads/googleads_v4/proto/enums/extension_setting_device.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/extension_setting_device.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/extension_setting_device.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033ExtensionSettingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/extension_setting_device.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"m\n\x1a\x45xtensionSettingDeviceEnum\"O\n\x16\x45xtensionSettingDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x12\x0b\n\x07\x44\x45SKTOP\x10\x03\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1b\x45xtensionSettingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033ExtensionSettingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/extension_setting_device.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"m\n\x1a\x45xtensionSettingDeviceEnum\"O\n\x16\x45xtensionSettingDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x12\x0b\n\x07\x44\x45SKTOP\x10\x03\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1b\x45xtensionSettingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE = _descriptor.EnumDescriptor( name='ExtensionSettingDevice', - full_name='google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice', + full_name='google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _EXTENSIONSETTINGDEVICEENUM = _descriptor.Descriptor( name='ExtensionSettingDeviceEnum', - full_name='google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum', + full_name='google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ExtensionSettingDeviceEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingDeviceEnum', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONSETTINGDEVICEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.extension_setting_device_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.extension_setting_device_pb2' , __doc__ = """Container for enum describing extension setting device types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ExtensionSettingDeviceEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum) )) _sym_db.RegisterMessage(ExtensionSettingDeviceEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_target_device_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/extension_setting_device_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_target_device_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/extension_setting_device_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/extension_type_pb2.py b/google/ads/google_ads/v4/proto/enums/extension_type_pb2.py similarity index 68% rename from google/ads/google_ads/v1/proto/enums/extension_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/extension_type_pb2.py index c94b0badd..cc8be99df 100644 --- a/google/ads/google_ads/v1/proto/enums/extension_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/extension_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/extension_type.proto +# source: google/ads/googleads_v4/proto/enums/extension_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/extension_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/extension_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\022ExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/enums/extension_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xec\x01\n\x11\x45xtensionTypeEnum\"\xd6\x01\n\rExtensionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04NONE\x10\x02\x12\x07\n\x03\x41PP\x10\x03\x12\x08\n\x04\x43\x41LL\x10\x04\x12\x0b\n\x07\x43\x41LLOUT\x10\x05\x12\x0b\n\x07MESSAGE\x10\x06\x12\t\n\x05PRICE\x10\x07\x12\r\n\tPROMOTION\x10\x08\x12\n\n\x06REVIEW\x10\t\x12\x0c\n\x08SITELINK\x10\n\x12\x16\n\x12STRUCTURED_SNIPPET\x10\x0b\x12\x0c\n\x08LOCATION\x10\x0c\x12\x16\n\x12\x41\x46\x46ILIATE_LOCATION\x10\rB\xe7\x01\n!com.google.ads.googleads.v1.enumsB\x12\x45xtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\022ExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/enums/extension_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xf3\x01\n\x11\x45xtensionTypeEnum\"\xdd\x01\n\rExtensionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04NONE\x10\x02\x12\x07\n\x03\x41PP\x10\x03\x12\x08\n\x04\x43\x41LL\x10\x04\x12\x0b\n\x07\x43\x41LLOUT\x10\x05\x12\x0b\n\x07MESSAGE\x10\x06\x12\t\n\x05PRICE\x10\x07\x12\r\n\tPROMOTION\x10\x08\x12\x0c\n\x08SITELINK\x10\n\x12\x16\n\x12STRUCTURED_SNIPPET\x10\x0b\x12\x0c\n\x08LOCATION\x10\x0c\x12\x16\n\x12\x41\x46\x46ILIATE_LOCATION\x10\r\x12\x11\n\rHOTEL_CALLOUT\x10\x0f\x42\xe7\x01\n!com.google.ads.googleads.v4.enumsB\x12\x45xtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EXTENSIONTYPEENUM_EXTENSIONTYPE = _descriptor.EnumDescriptor( name='ExtensionType', - full_name='google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType', + full_name='google.ads.googleads.v4.enums.ExtensionTypeEnum.ExtensionType', filename=None, file=DESCRIPTOR, values=[ @@ -70,37 +70,37 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='REVIEW', index=9, number=9, + name='SITELINK', index=9, number=10, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='SITELINK', index=10, number=10, + name='STRUCTURED_SNIPPET', index=10, number=11, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='STRUCTURED_SNIPPET', index=11, number=11, + name='LOCATION', index=11, number=12, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='LOCATION', index=12, number=12, + name='AFFILIATE_LOCATION', index=12, number=13, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AFFILIATE_LOCATION', index=13, number=13, + name='HOTEL_CALLOUT', index=13, number=15, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=144, - serialized_end=358, + serialized_end=365, ) _sym_db.RegisterEnumDescriptor(_EXTENSIONTYPEENUM_EXTENSIONTYPE) _EXTENSIONTYPEENUM = _descriptor.Descriptor( name='ExtensionTypeEnum', - full_name='google.ads.googleads.v1.enums.ExtensionTypeEnum', + full_name='google.ads.googleads.v4.enums.ExtensionTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -119,7 +119,7 @@ oneofs=[ ], serialized_start=122, - serialized_end=358, + serialized_end=365, ) _EXTENSIONTYPEENUM_EXTENSIONTYPE.containing_type = _EXTENSIONTYPEENUM @@ -128,12 +128,12 @@ ExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('ExtensionTypeEnum', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.extension_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.extension_type_pb2' , __doc__ = """Container for enum describing possible data types for an extension in an extension setting. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ExtensionTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ExtensionTypeEnum) )) _sym_db.RegisterMessage(ExtensionTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_target_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/extension_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_target_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/extension_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/external_conversion_source_pb2.py b/google/ads/google_ads/v4/proto/enums/external_conversion_source_pb2.py similarity index 79% rename from google/ads/google_ads/v1/proto/enums/external_conversion_source_pb2.py rename to google/ads/google_ads/v4/proto/enums/external_conversion_source_pb2.py index 8a6670701..896b47cfc 100644 --- a/google/ads/google_ads/v1/proto/enums/external_conversion_source_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/external_conversion_source_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/external_conversion_source.proto +# source: google/ads/googleads_v4/proto/enums/external_conversion_source.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/external_conversion_source.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/external_conversion_source.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035ExternalConversionSourceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/external_conversion_source.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x80\x04\n\x1c\x45xternalConversionSourceEnum\"\xdf\x03\n\x18\x45xternalConversionSource\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07WEBPAGE\x10\x02\x12\r\n\tANALYTICS\x10\x03\x12\n\n\x06UPLOAD\x10\x04\x12\x13\n\x0f\x41\x44_CALL_METRICS\x10\x05\x12\x18\n\x14WEBSITE_CALL_METRICS\x10\x06\x12\x10\n\x0cSTORE_VISITS\x10\x07\x12\x12\n\x0e\x41NDROID_IN_APP\x10\x08\x12\x0e\n\nIOS_IN_APP\x10\t\x12\x12\n\x0eIOS_FIRST_OPEN\x10\n\x12\x13\n\x0f\x41PP_UNSPECIFIED\x10\x0b\x12\x16\n\x12\x41NDROID_FIRST_OPEN\x10\x0c\x12\x10\n\x0cUPLOAD_CALLS\x10\r\x12\x0c\n\x08\x46IREBASE\x10\x0e\x12\x11\n\rCLICK_TO_CALL\x10\x0f\x12\x0e\n\nSALESFORCE\x10\x10\x12\x13\n\x0fSTORE_SALES_CRM\x10\x11\x12\x1f\n\x1bSTORE_SALES_PAYMENT_NETWORK\x10\x12\x12\x0f\n\x0bGOOGLE_PLAY\x10\x13\x12\x1d\n\x19THIRD_PARTY_APP_ANALYTICS\x10\x14\x12\x16\n\x12GOOGLE_ATTRIBUTION\x10\x15\x12\x16\n\x12STORE_SALES_DIRECT\x10\x16\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x45xternalConversionSourceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035ExternalConversionSourceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/external_conversion_source.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x98\x04\n\x1c\x45xternalConversionSourceEnum\"\xf7\x03\n\x18\x45xternalConversionSource\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07WEBPAGE\x10\x02\x12\r\n\tANALYTICS\x10\x03\x12\n\n\x06UPLOAD\x10\x04\x12\x13\n\x0f\x41\x44_CALL_METRICS\x10\x05\x12\x18\n\x14WEBSITE_CALL_METRICS\x10\x06\x12\x10\n\x0cSTORE_VISITS\x10\x07\x12\x12\n\x0e\x41NDROID_IN_APP\x10\x08\x12\x0e\n\nIOS_IN_APP\x10\t\x12\x12\n\x0eIOS_FIRST_OPEN\x10\n\x12\x13\n\x0f\x41PP_UNSPECIFIED\x10\x0b\x12\x16\n\x12\x41NDROID_FIRST_OPEN\x10\x0c\x12\x10\n\x0cUPLOAD_CALLS\x10\r\x12\x0c\n\x08\x46IREBASE\x10\x0e\x12\x11\n\rCLICK_TO_CALL\x10\x0f\x12\x0e\n\nSALESFORCE\x10\x10\x12\x13\n\x0fSTORE_SALES_CRM\x10\x11\x12\x1f\n\x1bSTORE_SALES_PAYMENT_NETWORK\x10\x12\x12\x0f\n\x0bGOOGLE_PLAY\x10\x13\x12\x1d\n\x19THIRD_PARTY_APP_ANALYTICS\x10\x14\x12\x16\n\x12GOOGLE_ATTRIBUTION\x10\x15\x12\x1d\n\x19STORE_SALES_DIRECT_UPLOAD\x10\x17\x12\x0f\n\x0bSTORE_SALES\x10\x18\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x45xternalConversionSourceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE = _descriptor.EnumDescriptor( name='ExternalConversionSource', - full_name='google.ads.googleads.v1.enums.ExternalConversionSourceEnum.ExternalConversionSource', + full_name='google.ads.googleads.v4.enums.ExternalConversionSourceEnum.ExternalConversionSource', filename=None, file=DESCRIPTOR, values=[ @@ -122,21 +122,25 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='STORE_SALES_DIRECT', index=22, number=22, + name='STORE_SALES_DIRECT_UPLOAD', index=22, number=23, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='STORE_SALES', index=23, number=24, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=167, - serialized_end=646, + serialized_end=670, ) _sym_db.RegisterEnumDescriptor(_EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE) _EXTERNALCONVERSIONSOURCEENUM = _descriptor.Descriptor( name='ExternalConversionSourceEnum', - full_name='google.ads.googleads.v1.enums.ExternalConversionSourceEnum', + full_name='google.ads.googleads.v4.enums.ExternalConversionSourceEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -155,7 +159,7 @@ oneofs=[ ], serialized_start=134, - serialized_end=646, + serialized_end=670, ) _EXTERNALCONVERSIONSOURCEENUM_EXTERNALCONVERSIONSOURCE.containing_type = _EXTERNALCONVERSIONSOURCEENUM @@ -164,12 +168,12 @@ ExternalConversionSourceEnum = _reflection.GeneratedProtocolMessageType('ExternalConversionSourceEnum', (_message.Message,), dict( DESCRIPTOR = _EXTERNALCONVERSIONSOURCEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.external_conversion_source_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.external_conversion_source_pb2' , __doc__ = """Container for enum describing the external conversion source that is associated with a ConversionAction. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ExternalConversionSourceEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ExternalConversionSourceEnum) )) _sym_db.RegisterMessage(ExternalConversionSourceEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_validation_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/external_conversion_source_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_item_validation_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/external_conversion_source_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_attribute_type_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_attribute_type_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/enums/feed_attribute_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_attribute_type_pb2.py index 4f0367859..4ff0c2e0c 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_attribute_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_attribute_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_attribute_type.proto +# source: google/ads/googleads_v4/proto/enums/feed_attribute_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_attribute_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_attribute_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\026FeedAttributeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/enums/feed_attribute_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x84\x02\n\x15\x46\x65\x65\x64\x41ttributeTypeEnum\"\xea\x01\n\x11\x46\x65\x65\x64\x41ttributeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\n\n\x06STRING\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x07\n\x03URL\x10\x06\x12\r\n\tDATE_TIME\x10\x07\x12\x0e\n\nINT64_LIST\x10\x08\x12\x0f\n\x0b\x44OUBLE_LIST\x10\t\x12\x0f\n\x0bSTRING_LIST\x10\n\x12\x10\n\x0c\x42OOLEAN_LIST\x10\x0b\x12\x0c\n\x08URL_LIST\x10\x0c\x12\x12\n\x0e\x44\x41TE_TIME_LIST\x10\r\x12\t\n\x05PRICE\x10\x0e\x42\xeb\x01\n!com.google.ads.googleads.v1.enumsB\x16\x46\x65\x65\x64\x41ttributeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026FeedAttributeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/feed_attribute_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x84\x02\n\x15\x46\x65\x65\x64\x41ttributeTypeEnum\"\xea\x01\n\x11\x46\x65\x65\x64\x41ttributeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05INT64\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\n\n\x06STRING\x10\x04\x12\x0b\n\x07\x42OOLEAN\x10\x05\x12\x07\n\x03URL\x10\x06\x12\r\n\tDATE_TIME\x10\x07\x12\x0e\n\nINT64_LIST\x10\x08\x12\x0f\n\x0b\x44OUBLE_LIST\x10\t\x12\x0f\n\x0bSTRING_LIST\x10\n\x12\x10\n\x0c\x42OOLEAN_LIST\x10\x0b\x12\x0c\n\x08URL_LIST\x10\x0c\x12\x12\n\x0e\x44\x41TE_TIME_LIST\x10\r\x12\t\n\x05PRICE\x10\x0e\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16\x46\x65\x65\x64\x41ttributeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE = _descriptor.EnumDescriptor( name='FeedAttributeType', - full_name='google.ads.googleads.v1.enums.FeedAttributeTypeEnum.FeedAttributeType', + full_name='google.ads.googleads.v4.enums.FeedAttributeTypeEnum.FeedAttributeType', filename=None, file=DESCRIPTOR, values=[ @@ -104,7 +104,7 @@ _FEEDATTRIBUTETYPEENUM = _descriptor.Descriptor( name='FeedAttributeTypeEnum', - full_name='google.ads.googleads.v1.enums.FeedAttributeTypeEnum', + full_name='google.ads.googleads.v4.enums.FeedAttributeTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -132,11 +132,11 @@ FeedAttributeTypeEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeTypeEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDATTRIBUTETYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_attribute_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_attribute_type_pb2' , __doc__ = """Container for enum describing possible data types for a feed attribute. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedAttributeTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedAttributeTypeEnum) )) _sym_db.RegisterMessage(FeedAttributeTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_link_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_attribute_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_link_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_attribute_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_quality_approval_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_quality_approval_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/feed_item_quality_approval_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_quality_approval_status_pb2.py index 06a3453d7..9c5acc392 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_quality_approval_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_quality_approval_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_quality_approval_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_quality_approval_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_quality_approval_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_quality_approval_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\"FeedItemQualityApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/enums/feed_item_quality_approval_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n!FeedItemQualityApprovalStatusEnum\"\\\n\x1d\x46\x65\x65\x64ItemQualityApprovalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0f\n\x0b\x44ISAPPROVED\x10\x03\x42\xf7\x01\n!com.google.ads.googleads.v1.enumsB\"FeedItemQualityApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\"FeedItemQualityApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/enums/feed_item_quality_approval_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n!FeedItemQualityApprovalStatusEnum\"\\\n\x1d\x46\x65\x65\x64ItemQualityApprovalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x41PPROVED\x10\x02\x12\x0f\n\x0b\x44ISAPPROVED\x10\x03\x42\xf7\x01\n!com.google.ads.googleads.v4.enumsB\"FeedItemQualityApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS = _descriptor.EnumDescriptor( name='FeedItemQualityApprovalStatus', - full_name='google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus', + full_name='google.ads.googleads.v4.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDITEMQUALITYAPPROVALSTATUSENUM = _descriptor.Descriptor( name='FeedItemQualityApprovalStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedItemQualityApprovalStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ FeedItemQualityApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityApprovalStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMQUALITYAPPROVALSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_quality_approval_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_quality_approval_status_pb2' , __doc__ = """Container for enum describing possible quality evaluation approval statuses of a feed item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemQualityApprovalStatusEnum) )) _sym_db.RegisterMessage(FeedItemQualityApprovalStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_mapping_criterion_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_quality_approval_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_mapping_criterion_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_quality_approval_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_quality_disapproval_reason_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_quality_disapproval_reason_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/enums/feed_item_quality_disapproval_reason_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_quality_disapproval_reason_pb2.py index 5b63d41ba..0baf8014e 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_quality_disapproval_reason_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_quality_disapproval_reason_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_quality_disapproval_reason.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_quality_disapproval_reason.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_quality_disapproval_reason.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_quality_disapproval_reason.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB%FeedItemQualityDisapprovalReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nNgoogle/ads/googleads_v1/proto/enums/feed_item_quality_disapproval_reason.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xe0\x06\n$FeedItemQualityDisapprovalReasonEnum\"\xb7\x06\n FeedItemQualityDisapprovalReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\"\n\x1ePRICE_TABLE_REPETITIVE_HEADERS\x10\x02\x12&\n\"PRICE_TABLE_REPETITIVE_DESCRIPTION\x10\x03\x12!\n\x1dPRICE_TABLE_INCONSISTENT_ROWS\x10\x04\x12*\n&PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS\x10\x05\x12\x1e\n\x1aPRICE_UNSUPPORTED_LANGUAGE\x10\x06\x12.\n*PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH\x10\x07\x12/\n+PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT\x10\x08\x12,\n(PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT\x10\t\x12\x34\n0PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT\x10\n\x12\x31\n-PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE\x10\x0b\x12\x1e\n\x1aPRICE_TABLE_ROW_UNRATEABLE\x10\x0c\x12!\n\x1dPRICE_TABLE_ROW_PRICE_INVALID\x10\r\x12\x1f\n\x1bPRICE_TABLE_ROW_URL_INVALID\x10\x0e\x12)\n%PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE\x10\x0f\x12.\n*STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED\x10\x10\x12\'\n#STRUCTURED_SNIPPETS_REPEATED_VALUES\x10\x11\x12,\n(STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES\x10\x12\x12,\n(STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT\x10\x13\x42\xfa\x01\n!com.google.ads.googleads.v1.enumsB%FeedItemQualityDisapprovalReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB%FeedItemQualityDisapprovalReasonProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nNgoogle/ads/googleads_v4/proto/enums/feed_item_quality_disapproval_reason.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xe0\x06\n$FeedItemQualityDisapprovalReasonEnum\"\xb7\x06\n FeedItemQualityDisapprovalReason\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\"\n\x1ePRICE_TABLE_REPETITIVE_HEADERS\x10\x02\x12&\n\"PRICE_TABLE_REPETITIVE_DESCRIPTION\x10\x03\x12!\n\x1dPRICE_TABLE_INCONSISTENT_ROWS\x10\x04\x12*\n&PRICE_DESCRIPTION_HAS_PRICE_QUALIFIERS\x10\x05\x12\x1e\n\x1aPRICE_UNSUPPORTED_LANGUAGE\x10\x06\x12.\n*PRICE_TABLE_ROW_HEADER_TABLE_TYPE_MISMATCH\x10\x07\x12/\n+PRICE_TABLE_ROW_HEADER_HAS_PROMOTIONAL_TEXT\x10\x08\x12,\n(PRICE_TABLE_ROW_DESCRIPTION_NOT_RELEVANT\x10\t\x12\x34\n0PRICE_TABLE_ROW_DESCRIPTION_HAS_PROMOTIONAL_TEXT\x10\n\x12\x31\n-PRICE_TABLE_ROW_HEADER_DESCRIPTION_REPETITIVE\x10\x0b\x12\x1e\n\x1aPRICE_TABLE_ROW_UNRATEABLE\x10\x0c\x12!\n\x1dPRICE_TABLE_ROW_PRICE_INVALID\x10\r\x12\x1f\n\x1bPRICE_TABLE_ROW_URL_INVALID\x10\x0e\x12)\n%PRICE_HEADER_OR_DESCRIPTION_HAS_PRICE\x10\x0f\x12.\n*STRUCTURED_SNIPPETS_HEADER_POLICY_VIOLATED\x10\x10\x12\'\n#STRUCTURED_SNIPPETS_REPEATED_VALUES\x10\x11\x12,\n(STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES\x10\x12\x12,\n(STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT\x10\x13\x42\xfa\x01\n!com.google.ads.googleads.v4.enumsB%FeedItemQualityDisapprovalReasonProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON = _descriptor.EnumDescriptor( name='FeedItemQualityDisapprovalReason', - full_name='google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason', + full_name='google.ads.googleads.v4.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason', filename=None, file=DESCRIPTOR, values=[ @@ -124,7 +124,7 @@ _FEEDITEMQUALITYDISAPPROVALREASONENUM = _descriptor.Descriptor( name='FeedItemQualityDisapprovalReasonEnum', - full_name='google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum', + full_name='google.ads.googleads.v4.enums.FeedItemQualityDisapprovalReasonEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -152,12 +152,12 @@ FeedItemQualityDisapprovalReasonEnum = _reflection.GeneratedProtocolMessageType('FeedItemQualityDisapprovalReasonEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMQUALITYDISAPPROVALREASONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_quality_disapproval_reason_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_quality_disapproval_reason_pb2' , __doc__ = """Container for enum describing possible quality evaluation disapproval reasons of a feed item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemQualityDisapprovalReasonEnum) )) _sym_db.RegisterMessage(FeedItemQualityDisapprovalReasonEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_mapping_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_mapping_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_quality_disapproval_reason_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_status_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/feed_item_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_status_pb2.py index 6466c6dfa..297475cbe 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\023FeedItemStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/enums/feed_item_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"^\n\x12\x46\x65\x65\x64ItemStatusEnum\"H\n\x0e\x46\x65\x65\x64ItemStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v1.enumsB\x13\x46\x65\x65\x64ItemStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\023FeedItemStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/enums/feed_item_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"^\n\x12\x46\x65\x65\x64ItemStatusEnum\"H\n\x0e\x46\x65\x65\x64ItemStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v4.enumsB\x13\x46\x65\x65\x64ItemStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMSTATUSENUM_FEEDITEMSTATUS = _descriptor.EnumDescriptor( name='FeedItemStatus', - full_name='google.ads.googleads.v1.enums.FeedItemStatusEnum.FeedItemStatus', + full_name='google.ads.googleads.v4.enums.FeedItemStatusEnum.FeedItemStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDITEMSTATUSENUM = _descriptor.Descriptor( name='FeedItemStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedItemStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedItemStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FeedItemStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_status_pb2' , __doc__ = """Container for enum describing possible statuses of a feed item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemStatusEnum) )) _sym_db.RegisterMessage(FeedItemStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_origin_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_origin_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_target_device_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_device_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/feed_item_target_device_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_target_device_pb2.py index 956a01d5a..613f8a0bb 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_target_device_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_target_device_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_target_device.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_target_device.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_target_device.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_target_device.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031FeedItemTargetDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/feed_item_target_device.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\\\n\x18\x46\x65\x65\x64ItemTargetDeviceEnum\"@\n\x14\x46\x65\x65\x64ItemTargetDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19\x46\x65\x65\x64ItemTargetDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031FeedItemTargetDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/feed_item_target_device.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\\\n\x18\x46\x65\x65\x64ItemTargetDeviceEnum\"@\n\x14\x46\x65\x65\x64ItemTargetDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06MOBILE\x10\x02\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19\x46\x65\x65\x64ItemTargetDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE = _descriptor.EnumDescriptor( name='FeedItemTargetDevice', - full_name='google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice', + full_name='google.ads.googleads.v4.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _FEEDITEMTARGETDEVICEENUM = _descriptor.Descriptor( name='FeedItemTargetDeviceEnum', - full_name='google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum', + full_name='google.ads.googleads.v4.enums.FeedItemTargetDeviceEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,12 +84,12 @@ FeedItemTargetDeviceEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetDeviceEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMTARGETDEVICEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_target_device_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_target_device_pb2' , __doc__ = """Container for enum describing possible data types for a feed item target device. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemTargetDeviceEnum) )) _sym_db.RegisterMessage(FeedItemTargetDeviceEnum) diff --git a/google/ads/google_ads/v1/proto/enums/feed_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_device_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/feed_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_target_device_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2.py new file mode 100644 index 000000000..9443400d1 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/feed_item_target_status.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/feed_item_target_status.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031FeedItemTargetStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/feed_item_target_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x18\x46\x65\x65\x64ItemTargetStatusEnum\"N\n\x14\x46\x65\x65\x64ItemTargetStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19\x46\x65\x65\x64ItemTargetStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS = _descriptor.EnumDescriptor( + name='FeedItemTargetStatus', + full_name='google.ads.googleads.v4.enums.FeedItemTargetStatusEnum.FeedItemTargetStatus', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ENABLED', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REMOVED', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=158, + serialized_end=236, +) +_sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS) + + +_FEEDITEMTARGETSTATUSENUM = _descriptor.Descriptor( + name='FeedItemTargetStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedItemTargetStatusEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=130, + serialized_end=236, +) + +_FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS.containing_type = _FEEDITEMTARGETSTATUSENUM +DESCRIPTOR.message_types_by_name['FeedItemTargetStatusEnum'] = _FEEDITEMTARGETSTATUSENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemTargetStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetStatusEnum', (_message.Message,), dict( + DESCRIPTOR = _FEEDITEMTARGETSTATUSENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_target_status_pb2' + , + __doc__ = """Container for enum describing possible statuses of a feed item target. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemTargetStatusEnum) + )) +_sym_db.RegisterMessage(FeedItemTargetStatusEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/flight_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/flight_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_target_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_target_type_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_type_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/feed_item_target_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_target_type_pb2.py index 91449f57e..06f6b2edf 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_target_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_target_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_target_type.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_target_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_target_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_target_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\027FeedItemTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/enums/feed_item_target_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x16\x46\x65\x65\x64ItemTargetTypeEnum\"]\n\x12\x46\x65\x65\x64ItemTargetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x43\x41MPAIGN\x10\x02\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\r\n\tCRITERION\x10\x04\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17\x46\x65\x65\x64ItemTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027FeedItemTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/enums/feed_item_target_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x16\x46\x65\x65\x64ItemTargetTypeEnum\"]\n\x12\x46\x65\x65\x64ItemTargetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x43\x41MPAIGN\x10\x02\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\r\n\tCRITERION\x10\x04\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17\x46\x65\x65\x64ItemTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE = _descriptor.EnumDescriptor( name='FeedItemTargetType', - full_name='google.ads.googleads.v1.enums.FeedItemTargetTypeEnum.FeedItemTargetType', + full_name='google.ads.googleads.v4.enums.FeedItemTargetTypeEnum.FeedItemTargetType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _FEEDITEMTARGETTYPEENUM = _descriptor.Descriptor( name='FeedItemTargetTypeEnum', - full_name='google.ads.googleads.v1.enums.FeedItemTargetTypeEnum', + full_name='google.ads.googleads.v4.enums.FeedItemTargetTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ FeedItemTargetTypeEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetTypeEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMTARGETTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_target_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_target_type_pb2' , __doc__ = """Container for enum describing possible types of a feed item target. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemTargetTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemTargetTypeEnum) )) _sym_db.RegisterMessage(FeedItemTargetTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_event_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_target_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_event_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_target_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_item_validation_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_item_validation_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/feed_item_validation_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_item_validation_status_pb2.py index 0e1210118..5851661ea 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_item_validation_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_item_validation_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_item_validation_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_item_validation_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_item_validation_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_item_validation_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035FeedItemValidationStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/feed_item_validation_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"}\n\x1c\x46\x65\x65\x64ItemValidationStatusEnum\"]\n\x18\x46\x65\x65\x64ItemValidationStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07INVALID\x10\x03\x12\t\n\x05VALID\x10\x04\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x46\x65\x65\x64ItemValidationStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035FeedItemValidationStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/feed_item_validation_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"}\n\x1c\x46\x65\x65\x64ItemValidationStatusEnum\"]\n\x18\x46\x65\x65\x64ItemValidationStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0b\n\x07INVALID\x10\x03\x12\t\n\x05VALID\x10\x04\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x46\x65\x65\x64ItemValidationStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS = _descriptor.EnumDescriptor( name='FeedItemValidationStatus', - full_name='google.ads.googleads.v1.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus', + full_name='google.ads.googleads.v4.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _FEEDITEMVALIDATIONSTATUSENUM = _descriptor.Descriptor( name='FeedItemValidationStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedItemValidationStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedItemValidationStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,12 +92,12 @@ FeedItemValidationStatusEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMVALIDATIONSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_item_validation_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_item_validation_status_pb2' , __doc__ = """Container for enum describing possible validation statuses of a feed item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedItemValidationStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedItemValidationStatusEnum) )) _sym_db.RegisterMessage(FeedItemValidationStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_level_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_item_validation_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_level_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_item_validation_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_link_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_link_status_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/feed_link_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_link_status_pb2.py index 1ac650c13..e404ab5d3 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_link_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_link_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_link_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_link_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_link_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_link_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\023FeedLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/enums/feed_link_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"^\n\x12\x46\x65\x65\x64LinkStatusEnum\"H\n\x0e\x46\x65\x65\x64LinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v1.enumsB\x13\x46\x65\x65\x64LinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\023FeedLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/enums/feed_link_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"^\n\x12\x46\x65\x65\x64LinkStatusEnum\"H\n\x0e\x46\x65\x65\x64LinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v4.enumsB\x13\x46\x65\x65\x64LinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDLINKSTATUSENUM_FEEDLINKSTATUS = _descriptor.EnumDescriptor( name='FeedLinkStatus', - full_name='google.ads.googleads.v1.enums.FeedLinkStatusEnum.FeedLinkStatus', + full_name='google.ads.googleads.v4.enums.FeedLinkStatusEnum.FeedLinkStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDLINKSTATUSENUM = _descriptor.Descriptor( name='FeedLinkStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedLinkStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedLinkStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FeedLinkStatusEnum = _reflection.GeneratedProtocolMessageType('FeedLinkStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDLINKSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_link_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_link_status_pb2' , __doc__ = """Container for an enum describing possible statuses of a feed link. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedLinkStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedLinkStatusEnum) )) _sym_db.RegisterMessage(FeedLinkStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_time_unit_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_link_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_time_unit_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_link_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_mapping_criterion_type_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_mapping_criterion_type_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/feed_mapping_criterion_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_mapping_criterion_type_pb2.py index a30f3394a..c1a1f3231 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_mapping_criterion_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_mapping_criterion_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_mapping_criterion_type.proto +# source: google/ads/googleads_v4/proto/enums/feed_mapping_criterion_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_mapping_criterion_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_mapping_criterion_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035FeedMappingCriterionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/feed_mapping_criterion_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8d\x01\n\x1c\x46\x65\x65\x64MappingCriterionTypeEnum\"m\n\x18\x46\x65\x65\x64MappingCriterionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cLOCATION_EXTENSION_TARGETING\x10\x04\x12\x11\n\rDSA_PAGE_FEED\x10\x03\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1d\x46\x65\x65\x64MappingCriterionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035FeedMappingCriterionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/feed_mapping_criterion_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8d\x01\n\x1c\x46\x65\x65\x64MappingCriterionTypeEnum\"m\n\x18\x46\x65\x65\x64MappingCriterionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cLOCATION_EXTENSION_TARGETING\x10\x04\x12\x11\n\rDSA_PAGE_FEED\x10\x03\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1d\x46\x65\x65\x64MappingCriterionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE = _descriptor.EnumDescriptor( name='FeedMappingCriterionType', - full_name='google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType', + full_name='google.ads.googleads.v4.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDMAPPINGCRITERIONTYPEENUM = _descriptor.Descriptor( name='FeedMappingCriterionTypeEnum', - full_name='google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum', + full_name='google.ads.googleads.v4.enums.FeedMappingCriterionTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ FeedMappingCriterionTypeEnum = _reflection.GeneratedProtocolMessageType('FeedMappingCriterionTypeEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDMAPPINGCRITERIONTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_mapping_criterion_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_mapping_criterion_type_pb2' , __doc__ = """Container for enum describing possible criterion types for a feed mapping. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedMappingCriterionTypeEnum) )) _sym_db.RegisterMessage(FeedMappingCriterionTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/gender_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_mapping_criterion_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/gender_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_mapping_criterion_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_mapping_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_mapping_status_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/feed_mapping_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_mapping_status_pb2.py index 336c73a47..782d2d706 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_mapping_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_mapping_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_mapping_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_mapping_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_mapping_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_mapping_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\026FeedMappingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/enums/feed_mapping_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x15\x46\x65\x65\x64MappingStatusEnum\"K\n\x11\x46\x65\x65\x64MappingStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xeb\x01\n!com.google.ads.googleads.v1.enumsB\x16\x46\x65\x65\x64MappingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026FeedMappingStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/feed_mapping_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x15\x46\x65\x65\x64MappingStatusEnum\"K\n\x11\x46\x65\x65\x64MappingStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16\x46\x65\x65\x64MappingStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS = _descriptor.EnumDescriptor( name='FeedMappingStatus', - full_name='google.ads.googleads.v1.enums.FeedMappingStatusEnum.FeedMappingStatus', + full_name='google.ads.googleads.v4.enums.FeedMappingStatusEnum.FeedMappingStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDMAPPINGSTATUSENUM = _descriptor.Descriptor( name='FeedMappingStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedMappingStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedMappingStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FeedMappingStatusEnum = _reflection.GeneratedProtocolMessageType('FeedMappingStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDMAPPINGSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_mapping_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_mapping_status_pb2' , __doc__ = """Container for enum describing possible statuses of a feed mapping. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedMappingStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedMappingStatusEnum) )) _sym_db.RegisterMessage(FeedMappingStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/geo_target_constant_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_mapping_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/geo_target_constant_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_mapping_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_origin_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_origin_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/feed_origin_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_origin_pb2.py index 8d2571b62..65cf5079d 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_origin_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_origin_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_origin.proto +# source: google/ads/googleads_v4/proto/enums/feed_origin.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_origin.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_origin.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\017FeedOriginProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/enums/feed_origin.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"R\n\x0e\x46\x65\x65\x64OriginEnum\"@\n\nFeedOrigin\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04USER\x10\x02\x12\n\n\x06GOOGLE\x10\x03\x42\xe4\x01\n!com.google.ads.googleads.v1.enumsB\x0f\x46\x65\x65\x64OriginProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\017FeedOriginProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/feed_origin.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"R\n\x0e\x46\x65\x65\x64OriginEnum\"@\n\nFeedOrigin\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04USER\x10\x02\x12\n\n\x06GOOGLE\x10\x03\x42\xe4\x01\n!com.google.ads.googleads.v4.enumsB\x0f\x46\x65\x65\x64OriginProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDORIGINENUM_FEEDORIGIN = _descriptor.EnumDescriptor( name='FeedOrigin', - full_name='google.ads.googleads.v1.enums.FeedOriginEnum.FeedOrigin', + full_name='google.ads.googleads.v4.enums.FeedOriginEnum.FeedOrigin', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDORIGINENUM = _descriptor.Descriptor( name='FeedOriginEnum', - full_name='google.ads.googleads.v1.enums.FeedOriginEnum', + full_name='google.ads.googleads.v4.enums.FeedOriginEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FeedOriginEnum = _reflection.GeneratedProtocolMessageType('FeedOriginEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDORIGINENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_origin_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_origin_pb2' , __doc__ = """Container for enum describing possible values for a feed origin. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedOriginEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedOriginEnum) )) _sym_db.RegisterMessage(FeedOriginEnum) diff --git a/google/ads/google_ads/v1/proto/enums/geo_targeting_restriction_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_origin_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/geo_targeting_restriction_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_origin_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/feed_status_pb2.py b/google/ads/google_ads/v4/proto/enums/feed_status_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/enums/feed_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/feed_status_pb2.py index 39e90c299..e9d9e4d6c 100644 --- a/google/ads/google_ads/v1/proto/enums/feed_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/feed_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/feed_status.proto +# source: google/ads/googleads_v4/proto/enums/feed_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/feed_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/feed_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\017FeedStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/enums/feed_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"V\n\x0e\x46\x65\x65\x64StatusEnum\"D\n\nFeedStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe4\x01\n!com.google.ads.googleads.v1.enumsB\x0f\x46\x65\x65\x64StatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\017FeedStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/feed_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"V\n\x0e\x46\x65\x65\x64StatusEnum\"D\n\nFeedStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe4\x01\n!com.google.ads.googleads.v4.enumsB\x0f\x46\x65\x65\x64StatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDSTATUSENUM_FEEDSTATUS = _descriptor.EnumDescriptor( name='FeedStatus', - full_name='google.ads.googleads.v1.enums.FeedStatusEnum.FeedStatus', + full_name='google.ads.googleads.v4.enums.FeedStatusEnum.FeedStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FEEDSTATUSENUM = _descriptor.Descriptor( name='FeedStatusEnum', - full_name='google.ads.googleads.v1.enums.FeedStatusEnum', + full_name='google.ads.googleads.v4.enums.FeedStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FeedStatusEnum = _reflection.GeneratedProtocolMessageType('FeedStatusEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.feed_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.feed_status_pb2' , __doc__ = """Container for enum describing possible statuses of a feed. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FeedStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FeedStatusEnum) )) _sym_db.RegisterMessage(FeedStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/geo_targeting_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/feed_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/geo_targeting_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/feed_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/flight_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/flight_placeholder_field_pb2.py similarity index 84% rename from google/ads/google_ads/v1/proto/enums/flight_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/flight_placeholder_field_pb2.py index 105cbda09..2c219f26b 100644 --- a/google/ads/google_ads/v1/proto/enums/flight_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/flight_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/flight_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/flight_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/flight_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/flight_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034FlightsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/flight_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xb2\x03\n\x1a\x46lightPlaceholderFieldEnum\"\x93\x03\n\x16\x46lightPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44\x45STINATION_ID\x10\x02\x12\r\n\tORIGIN_ID\x10\x03\x12\x16\n\x12\x46LIGHT_DESCRIPTION\x10\x04\x12\x0f\n\x0bORIGIN_NAME\x10\x05\x12\x14\n\x10\x44\x45STINATION_NAME\x10\x06\x12\x10\n\x0c\x46LIGHT_PRICE\x10\x07\x12\x13\n\x0f\x46ORMATTED_PRICE\x10\x08\x12\x15\n\x11\x46LIGHT_SALE_PRICE\x10\t\x12\x18\n\x14\x46ORMATTED_SALE_PRICE\x10\n\x12\r\n\tIMAGE_URL\x10\x0b\x12\x0e\n\nFINAL_URLS\x10\x0c\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\r\x12\x10\n\x0cTRACKING_URL\x10\x0e\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x0f\x12\x1b\n\x17SIMILAR_DESTINATION_IDS\x10\x10\x12\x10\n\x0cIOS_APP_LINK\x10\x11\x12\x14\n\x10IOS_APP_STORE_ID\x10\x12\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1c\x46lightsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034FlightsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/flight_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xb2\x03\n\x1a\x46lightPlaceholderFieldEnum\"\x93\x03\n\x16\x46lightPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44\x45STINATION_ID\x10\x02\x12\r\n\tORIGIN_ID\x10\x03\x12\x16\n\x12\x46LIGHT_DESCRIPTION\x10\x04\x12\x0f\n\x0bORIGIN_NAME\x10\x05\x12\x14\n\x10\x44\x45STINATION_NAME\x10\x06\x12\x10\n\x0c\x46LIGHT_PRICE\x10\x07\x12\x13\n\x0f\x46ORMATTED_PRICE\x10\x08\x12\x15\n\x11\x46LIGHT_SALE_PRICE\x10\t\x12\x18\n\x14\x46ORMATTED_SALE_PRICE\x10\n\x12\r\n\tIMAGE_URL\x10\x0b\x12\x0e\n\nFINAL_URLS\x10\x0c\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\r\x12\x10\n\x0cTRACKING_URL\x10\x0e\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x0f\x12\x1b\n\x17SIMILAR_DESTINATION_IDS\x10\x10\x12\x10\n\x0cIOS_APP_LINK\x10\x11\x12\x14\n\x10IOS_APP_STORE_ID\x10\x12\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1c\x46lightsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='FlightPlaceholderField', - full_name='google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField', + full_name='google.ads.googleads.v4.enums.FlightPlaceholderFieldEnum.FlightPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -120,7 +120,7 @@ _FLIGHTPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='FlightPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.FlightPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -148,13 +148,13 @@ FlightPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('FlightPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _FLIGHTPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.flight_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.flight_placeholder_field_pb2' , __doc__ = """Values for Flight placeholder fields. For more information about dynamic remarketing feeds, see https://support.google.com/google-ads/answer/6053288. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FlightPlaceholderFieldEnum) )) _sym_db.RegisterMessage(FlightPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/google_ads_field_category_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/flight_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/google_ads_field_category_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/flight_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_event_type_pb2.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_event_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_event_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_event_type_pb2.py index 6a8c9073e..9b056ac00 100644 --- a/google/ads/google_ads/v1/proto/enums/frequency_cap_event_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/frequency_cap_event_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/frequency_cap_event_type.proto +# source: google/ads/googleads_v4/proto/enums/frequency_cap_event_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/frequency_cap_event_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/frequency_cap_event_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032FrequencyCapEventTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/frequency_cap_event_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"r\n\x19\x46requencyCapEventTypeEnum\"U\n\x15\x46requencyCapEventType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nIMPRESSION\x10\x02\x12\x0e\n\nVIDEO_VIEW\x10\x03\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1a\x46requencyCapEventTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032FrequencyCapEventTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/frequency_cap_event_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"r\n\x19\x46requencyCapEventTypeEnum\"U\n\x15\x46requencyCapEventType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nIMPRESSION\x10\x02\x12\x0e\n\nVIDEO_VIEW\x10\x03\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1a\x46requencyCapEventTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FREQUENCYCAPEVENTTYPEENUM_FREQUENCYCAPEVENTTYPE = _descriptor.EnumDescriptor( name='FrequencyCapEventType', - full_name='google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType', + full_name='google.ads.googleads.v4.enums.FrequencyCapEventTypeEnum.FrequencyCapEventType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _FREQUENCYCAPEVENTTYPEENUM = _descriptor.Descriptor( name='FrequencyCapEventTypeEnum', - full_name='google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum', + full_name='google.ads.googleads.v4.enums.FrequencyCapEventTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ FrequencyCapEventTypeEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapEventTypeEnum', (_message.Message,), dict( DESCRIPTOR = _FREQUENCYCAPEVENTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.frequency_cap_event_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.frequency_cap_event_type_pb2' , __doc__ = """Container for enum describing the type of event that the cap applies to. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FrequencyCapEventTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FrequencyCapEventTypeEnum) )) _sym_db.RegisterMessage(FrequencyCapEventTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/google_ads_field_data_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_event_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/google_ads_field_data_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_event_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_level_pb2.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_level_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_level_pb2.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_level_pb2.py index 771bbb8aa..b23ebba97 100644 --- a/google/ads/google_ads/v1/proto/enums/frequency_cap_level_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/frequency_cap_level_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/frequency_cap_level.proto +# source: google/ads/googleads_v4/proto/enums/frequency_cap_level.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/frequency_cap_level.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/frequency_cap_level.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\026FrequencyCapLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/enums/frequency_cap_level.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x15\x46requencyCapLevelEnum\"^\n\x11\x46requencyCapLevel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x41\x44_GROUP_AD\x10\x02\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\x0c\n\x08\x43\x41MPAIGN\x10\x04\x42\xeb\x01\n!com.google.ads.googleads.v1.enumsB\x16\x46requencyCapLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026FrequencyCapLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/frequency_cap_level.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"w\n\x15\x46requencyCapLevelEnum\"^\n\x11\x46requencyCapLevel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x41\x44_GROUP_AD\x10\x02\x12\x0c\n\x08\x41\x44_GROUP\x10\x03\x12\x0c\n\x08\x43\x41MPAIGN\x10\x04\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16\x46requencyCapLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FREQUENCYCAPLEVELENUM_FREQUENCYCAPLEVEL = _descriptor.EnumDescriptor( name='FrequencyCapLevel', - full_name='google.ads.googleads.v1.enums.FrequencyCapLevelEnum.FrequencyCapLevel', + full_name='google.ads.googleads.v4.enums.FrequencyCapLevelEnum.FrequencyCapLevel', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _FREQUENCYCAPLEVELENUM = _descriptor.Descriptor( name='FrequencyCapLevelEnum', - full_name='google.ads.googleads.v1.enums.FrequencyCapLevelEnum', + full_name='google.ads.googleads.v4.enums.FrequencyCapLevelEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,12 +92,12 @@ FrequencyCapLevelEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapLevelEnum', (_message.Message,), dict( DESCRIPTOR = _FREQUENCYCAPLEVELENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.frequency_cap_level_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.frequency_cap_level_pb2' , __doc__ = """Container for enum describing the level on which the cap is to be applied. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FrequencyCapLevelEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FrequencyCapLevelEnum) )) _sym_db.RegisterMessage(FrequencyCapLevelEnum) diff --git a/google/ads/google_ads/v1/proto/enums/hotel_date_selection_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_level_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/hotel_date_selection_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_level_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/frequency_cap_time_unit_pb2.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_time_unit_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/frequency_cap_time_unit_pb2.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_time_unit_pb2.py index e3842f42b..7e507af0c 100644 --- a/google/ads/google_ads/v1/proto/enums/frequency_cap_time_unit_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/frequency_cap_time_unit_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/frequency_cap_time_unit.proto +# source: google/ads/googleads_v4/proto/enums/frequency_cap_time_unit.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/frequency_cap_time_unit.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/frequency_cap_time_unit.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031FrequencyCapTimeUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/frequency_cap_time_unit.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"n\n\x18\x46requencyCapTimeUnitEnum\"R\n\x14\x46requencyCapTimeUnit\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03\x44\x41Y\x10\x02\x12\x08\n\x04WEEK\x10\x03\x12\t\n\x05MONTH\x10\x04\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19\x46requencyCapTimeUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031FrequencyCapTimeUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/frequency_cap_time_unit.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"n\n\x18\x46requencyCapTimeUnitEnum\"R\n\x14\x46requencyCapTimeUnit\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03\x44\x41Y\x10\x02\x12\x08\n\x04WEEK\x10\x03\x12\t\n\x05MONTH\x10\x04\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19\x46requencyCapTimeUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT = _descriptor.EnumDescriptor( name='FrequencyCapTimeUnit', - full_name='google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit', + full_name='google.ads.googleads.v4.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnit', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _FREQUENCYCAPTIMEUNITENUM = _descriptor.Descriptor( name='FrequencyCapTimeUnitEnum', - full_name='google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum', + full_name='google.ads.googleads.v4.enums.FrequencyCapTimeUnitEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ FrequencyCapTimeUnitEnum = _reflection.GeneratedProtocolMessageType('FrequencyCapTimeUnitEnum', (_message.Message,), dict( DESCRIPTOR = _FREQUENCYCAPTIMEUNITENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.frequency_cap_time_unit_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.frequency_cap_time_unit_pb2' , __doc__ = """Container for enum describing the unit of time the cap is defined at. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.FrequencyCapTimeUnitEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.FrequencyCapTimeUnitEnum) )) _sym_db.RegisterMessage(FrequencyCapTimeUnitEnum) diff --git a/google/ads/google_ads/v1/proto/enums/hotel_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/frequency_cap_time_unit_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/hotel_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/frequency_cap_time_unit_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/gender_type_pb2.py b/google/ads/google_ads/v4/proto/enums/gender_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/gender_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/gender_type_pb2.py index 0297fd844..706690817 100644 --- a/google/ads/google_ads/v1/proto/enums/gender_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/gender_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/gender_type.proto +# source: google/ads/googleads_v4/proto/enums/gender_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/gender_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/gender_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\017GenderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/enums/gender_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x0eGenderTypeEnum\"R\n\nGenderType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04MALE\x10\n\x12\n\n\x06\x46\x45MALE\x10\x0b\x12\x10\n\x0cUNDETERMINED\x10\x14\x42\xe4\x01\n!com.google.ads.googleads.v1.enumsB\x0fGenderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\017GenderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/enums/gender_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"d\n\x0eGenderTypeEnum\"R\n\nGenderType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04MALE\x10\n\x12\n\n\x06\x46\x45MALE\x10\x0b\x12\x10\n\x0cUNDETERMINED\x10\x14\x42\xe4\x01\n!com.google.ads.googleads.v4.enumsB\x0fGenderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _GENDERTYPEENUM_GENDERTYPE = _descriptor.EnumDescriptor( name='GenderType', - full_name='google.ads.googleads.v1.enums.GenderTypeEnum.GenderType', + full_name='google.ads.googleads.v4.enums.GenderTypeEnum.GenderType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _GENDERTYPEENUM = _descriptor.Descriptor( name='GenderTypeEnum', - full_name='google.ads.googleads.v1.enums.GenderTypeEnum', + full_name='google.ads.googleads.v4.enums.GenderTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ GenderTypeEnum = _reflection.GeneratedProtocolMessageType('GenderTypeEnum', (_message.Message,), dict( DESCRIPTOR = _GENDERTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.gender_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.gender_type_pb2' , __doc__ = """Container for enum describing the type of demographic genders. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.GenderTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.GenderTypeEnum) )) _sym_db.RegisterMessage(GenderTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/hotel_rate_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/gender_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/hotel_rate_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/gender_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/geo_target_constant_status_pb2.py b/google/ads/google_ads/v4/proto/enums/geo_target_constant_status_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/geo_target_constant_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/geo_target_constant_status_pb2.py index 212c9a9d4..cc84eef26 100644 --- a/google/ads/google_ads/v1/proto/enums/geo_target_constant_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/geo_target_constant_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/geo_target_constant_status.proto +# source: google/ads/googleads_v4/proto/enums/geo_target_constant_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/geo_target_constant_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/geo_target_constant_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034GeoTargetConstantStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/geo_target_constant_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"x\n\x1bGeoTargetConstantStatusEnum\"Y\n\x17GeoTargetConstantStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x13\n\x0fREMOVAL_PLANNED\x10\x03\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1cGeoTargetConstantStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034GeoTargetConstantStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/geo_target_constant_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"x\n\x1bGeoTargetConstantStatusEnum\"Y\n\x17GeoTargetConstantStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x13\n\x0fREMOVAL_PLANNED\x10\x03\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1cGeoTargetConstantStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS = _descriptor.EnumDescriptor( name='GeoTargetConstantStatus', - full_name='google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus', + full_name='google.ads.googleads.v4.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _GEOTARGETCONSTANTSTATUSENUM = _descriptor.Descriptor( name='GeoTargetConstantStatusEnum', - full_name='google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum', + full_name='google.ads.googleads.v4.enums.GeoTargetConstantStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ GeoTargetConstantStatusEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantStatusEnum', (_message.Message,), dict( DESCRIPTOR = _GEOTARGETCONSTANTSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.geo_target_constant_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.geo_target_constant_status_pb2' , __doc__ = """Container for describing the status of a geo target constant. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.GeoTargetConstantStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.GeoTargetConstantStatusEnum) )) _sym_db.RegisterMessage(GeoTargetConstantStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/income_range_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/geo_target_constant_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/income_range_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/geo_target_constant_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/geo_targeting_restriction_pb2.py b/google/ads/google_ads/v4/proto/enums/geo_targeting_restriction_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/geo_targeting_restriction_pb2.py rename to google/ads/google_ads/v4/proto/enums/geo_targeting_restriction_pb2.py index b13d8da90..1c63df0d3 100644 --- a/google/ads/google_ads/v1/proto/enums/geo_targeting_restriction_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/geo_targeting_restriction_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/geo_targeting_restriction.proto +# source: google/ads/googleads_v4/proto/enums/geo_targeting_restriction.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/geo_targeting_restriction.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/geo_targeting_restriction.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034GeoTargetingRestrictionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/geo_targeting_restriction.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"p\n\x1bGeoTargetingRestrictionEnum\"Q\n\x17GeoTargetingRestriction\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14LOCATION_OF_PRESENCE\x10\x02\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1cGeoTargetingRestrictionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034GeoTargetingRestrictionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/geo_targeting_restriction.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"p\n\x1bGeoTargetingRestrictionEnum\"Q\n\x17GeoTargetingRestriction\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14LOCATION_OF_PRESENCE\x10\x02\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1cGeoTargetingRestrictionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION = _descriptor.EnumDescriptor( name='GeoTargetingRestriction', - full_name='google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction', + full_name='google.ads.googleads.v4.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _GEOTARGETINGRESTRICTIONENUM = _descriptor.Descriptor( name='GeoTargetingRestrictionEnum', - full_name='google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum', + full_name='google.ads.googleads.v4.enums.GeoTargetingRestrictionEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ GeoTargetingRestrictionEnum = _reflection.GeneratedProtocolMessageType('GeoTargetingRestrictionEnum', (_message.Message,), dict( DESCRIPTOR = _GEOTARGETINGRESTRICTIONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.geo_targeting_restriction_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.geo_targeting_restriction_pb2' , __doc__ = """Message describing feed item geo targeting restriction. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.GeoTargetingRestrictionEnum) )) _sym_db.RegisterMessage(GeoTargetingRestrictionEnum) diff --git a/google/ads/google_ads/v1/proto/enums/interaction_event_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/geo_targeting_restriction_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/interaction_event_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/geo_targeting_restriction_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/geo_targeting_type_pb2.py b/google/ads/google_ads/v4/proto/enums/geo_targeting_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/geo_targeting_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/geo_targeting_type_pb2.py index 7f6d5fa90..034ff26fd 100644 --- a/google/ads/google_ads/v1/proto/enums/geo_targeting_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/geo_targeting_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/geo_targeting_type.proto +# source: google/ads/googleads_v4/proto/enums/geo_targeting_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/geo_targeting_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/geo_targeting_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025GeoTargetingTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nB\xe9\x01\n!com.google.ads.googleads.v1.enumsB\x14InteractionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\024InteractionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/enums/interaction_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"R\n\x13InteractionTypeEnum\";\n\x0fInteractionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x05\x43\x41LLS\x10\xc0>B\xe9\x01\n!com.google.ads.googleads.v4.enumsB\x14InteractionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _INTERACTIONTYPEENUM_INTERACTIONTYPE = _descriptor.EnumDescriptor( name='InteractionType', - full_name='google.ads.googleads.v1.enums.InteractionTypeEnum.InteractionType', + full_name='google.ads.googleads.v4.enums.InteractionTypeEnum.InteractionType', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _INTERACTIONTYPEENUM = _descriptor.Descriptor( name='InteractionTypeEnum', - full_name='google.ads.googleads.v1.enums.InteractionTypeEnum', + full_name='google.ads.googleads.v4.enums.InteractionTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ InteractionTypeEnum = _reflection.GeneratedProtocolMessageType('InteractionTypeEnum', (_message.Message,), dict( DESCRIPTOR = _INTERACTIONTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.interaction_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.interaction_type_pb2' , __doc__ = """Container for enum describing possible interaction types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.InteractionTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.InteractionTypeEnum) )) _sym_db.RegisterMessage(InteractionTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/listing_group_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/interaction_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/listing_group_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/interaction_type_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/invoice_type_pb2.py b/google/ads/google_ads/v4/proto/enums/invoice_type_pb2.py new file mode 100644 index 000000000..fadf588a5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/invoice_type_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/invoice_type.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/invoice_type.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\020InvoiceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/enums/invoice_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\\\n\x0fInvoiceTypeEnum\"I\n\x0bInvoiceType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x43REDIT_MEMO\x10\x02\x12\x0b\n\x07INVOICE\x10\x03\x42\xe5\x01\n!com.google.ads.googleads.v4.enumsB\x10InvoiceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INVOICETYPEENUM_INVOICETYPE = _descriptor.EnumDescriptor( + name='InvoiceType', + full_name='google.ads.googleads.v4.enums.InvoiceTypeEnum.InvoiceType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CREDIT_MEMO', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVOICE', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=138, + serialized_end=211, +) +_sym_db.RegisterEnumDescriptor(_INVOICETYPEENUM_INVOICETYPE) + + +_INVOICETYPEENUM = _descriptor.Descriptor( + name='InvoiceTypeEnum', + full_name='google.ads.googleads.v4.enums.InvoiceTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _INVOICETYPEENUM_INVOICETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=119, + serialized_end=211, +) + +_INVOICETYPEENUM_INVOICETYPE.containing_type = _INVOICETYPEENUM +DESCRIPTOR.message_types_by_name['InvoiceTypeEnum'] = _INVOICETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +InvoiceTypeEnum = _reflection.GeneratedProtocolMessageType('InvoiceTypeEnum', (_message.Message,), dict( + DESCRIPTOR = _INVOICETYPEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.invoice_type_pb2' + , + __doc__ = """Container for enum describing the type of invoices. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.InvoiceTypeEnum) + )) +_sym_db.RegisterMessage(InvoiceTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/local_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/invoice_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/local_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/invoice_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/job_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/job_placeholder_field_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/enums/job_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/job_placeholder_field_pb2.py index 56ae8b233..3ca8844f7 100644 --- a/google/ads/google_ads/v1/proto/enums/job_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/job_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/job_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/job_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/job_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/job_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031JobsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/enums/job_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xf1\x02\n\x17JobPlaceholderFieldEnum\"\xd5\x02\n\x13JobPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06JOB_ID\x10\x02\x12\x0f\n\x0bLOCATION_ID\x10\x03\x12\t\n\x05TITLE\x10\x04\x12\x0c\n\x08SUBTITLE\x10\x05\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x06\x12\r\n\tIMAGE_URL\x10\x07\x12\x0c\n\x08\x43\x41TEGORY\x10\x08\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\t\x12\x0b\n\x07\x41\x44\x44RESS\x10\n\x12\n\n\x06SALARY\x10\x0b\x12\x0e\n\nFINAL_URLS\x10\x0c\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0e\x12\x10\n\x0cTRACKING_URL\x10\x0f\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x10\x12\x13\n\x0fSIMILAR_JOB_IDS\x10\x11\x12\x10\n\x0cIOS_APP_LINK\x10\x12\x12\x14\n\x10IOS_APP_STORE_ID\x10\x13\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19JobsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031JobsPlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/enums/job_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xf1\x02\n\x17JobPlaceholderFieldEnum\"\xd5\x02\n\x13JobPlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06JOB_ID\x10\x02\x12\x0f\n\x0bLOCATION_ID\x10\x03\x12\t\n\x05TITLE\x10\x04\x12\x0c\n\x08SUBTITLE\x10\x05\x12\x0f\n\x0b\x44\x45SCRIPTION\x10\x06\x12\r\n\tIMAGE_URL\x10\x07\x12\x0c\n\x08\x43\x41TEGORY\x10\x08\x12\x17\n\x13\x43ONTEXTUAL_KEYWORDS\x10\t\x12\x0b\n\x07\x41\x44\x44RESS\x10\n\x12\n\n\x06SALARY\x10\x0b\x12\x0e\n\nFINAL_URLS\x10\x0c\x12\x15\n\x11\x46INAL_MOBILE_URLS\x10\x0e\x12\x10\n\x0cTRACKING_URL\x10\x0f\x12\x14\n\x10\x41NDROID_APP_LINK\x10\x10\x12\x13\n\x0fSIMILAR_JOB_IDS\x10\x11\x12\x10\n\x0cIOS_APP_LINK\x10\x12\x12\x14\n\x10IOS_APP_STORE_ID\x10\x13\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19JobsPlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='JobPlaceholderField', - full_name='google.ads.googleads.v1.enums.JobPlaceholderFieldEnum.JobPlaceholderField', + full_name='google.ads.googleads.v4.enums.JobPlaceholderFieldEnum.JobPlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -120,7 +120,7 @@ _JOBPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='JobPlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.JobPlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.JobPlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -148,13 +148,13 @@ JobPlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('JobPlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _JOBPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.job_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.job_placeholder_field_pb2' , __doc__ = """Values for Job placeholder fields. For more information about dynamic remarketing feeds, see https://support.google.com/google-ads/answer/6053288. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.JobPlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.JobPlaceholderFieldEnum) )) _sym_db.RegisterMessage(JobPlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/job_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/location_extension_targeting_criterion_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/job_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/keyword_match_type_pb2.py b/google/ads/google_ads/v4/proto/enums/keyword_match_type_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/keyword_match_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/keyword_match_type_pb2.py index c31bacfce..2d6e64607 100644 --- a/google/ads/google_ads/v1/proto/enums/keyword_match_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/keyword_match_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/keyword_match_type.proto +# source: google/ads/googleads_v4/proto/enums/keyword_match_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/keyword_match_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/keyword_match_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025KeywordMatchTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/keyword_plan_network.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16KeywordPlanNetworkEnum\"e\n\x12KeywordPlanNetwork\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rGOOGLE_SEARCH\x10\x02\x12\x1e\n\x1aGOOGLE_SEARCH_AND_PARTNERS\x10\x03\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17KeywordPlanNetworkProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027KeywordPlanNetworkProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/keyword_plan_network.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16KeywordPlanNetworkEnum\"e\n\x12KeywordPlanNetwork\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rGOOGLE_SEARCH\x10\x02\x12\x1e\n\x1aGOOGLE_SEARCH_AND_PARTNERS\x10\x03\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17KeywordPlanNetworkProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK = _descriptor.EnumDescriptor( name='KeywordPlanNetwork', - full_name='google.ads.googleads.v1.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork', + full_name='google.ads.googleads.v4.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _KEYWORDPLANNETWORKENUM = _descriptor.Descriptor( name='KeywordPlanNetworkEnum', - full_name='google.ads.googleads.v1.enums.KeywordPlanNetworkEnum', + full_name='google.ads.googleads.v4.enums.KeywordPlanNetworkEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ KeywordPlanNetworkEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanNetworkEnum', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANNETWORKENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.keyword_plan_network_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.keyword_plan_network_pb2' , __doc__ = """Container for enumeration of keyword plan forecastable network types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.KeywordPlanNetworkEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.KeywordPlanNetworkEnum) )) _sym_db.RegisterMessage(KeywordPlanNetworkEnum) diff --git a/google/ads/google_ads/v1/proto/enums/matching_function_context_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/keyword_plan_network_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/matching_function_context_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/keyword_plan_network_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/label_status_pb2.py b/google/ads/google_ads/v4/proto/enums/label_status_pb2.py similarity index 71% rename from google/ads/google_ads/v1/proto/enums/label_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/label_status_pb2.py index dd43e3b8a..87e1e9711 100644 --- a/google/ads/google_ads/v1/proto/enums/label_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/label_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/label_status.proto +# source: google/ads/googleads_v4/proto/enums/label_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/label_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/label_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\020LabelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/enums/label_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"X\n\x0fLabelStatusEnum\"E\n\x0bLabelStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe5\x01\n!com.google.ads.googleads.v1.enumsB\x10LabelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\020LabelStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/enums/label_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"X\n\x0fLabelStatusEnum\"E\n\x0bLabelStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07REMOVED\x10\x03\x42\xe5\x01\n!com.google.ads.googleads.v4.enumsB\x10LabelStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _LABELSTATUSENUM_LABELSTATUS = _descriptor.EnumDescriptor( name='LabelStatus', - full_name='google.ads.googleads.v1.enums.LabelStatusEnum.LabelStatus', + full_name='google.ads.googleads.v4.enums.LabelStatusEnum.LabelStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _LABELSTATUSENUM = _descriptor.Descriptor( name='LabelStatusEnum', - full_name='google.ads.googleads.v1.enums.LabelStatusEnum', + full_name='google.ads.googleads.v4.enums.LabelStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ LabelStatusEnum = _reflection.GeneratedProtocolMessageType('LabelStatusEnum', (_message.Message,), dict( DESCRIPTOR = _LABELSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.label_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.label_status_pb2' , __doc__ = """Container for enum describing possible status of a label. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.LabelStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.LabelStatusEnum) )) _sym_db.RegisterMessage(LabelStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/matching_function_operator_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/label_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/matching_function_operator_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/label_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/legacy_app_install_ad_app_store_pb2.py b/google/ads/google_ads/v4/proto/enums/legacy_app_install_ad_app_store_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/enums/legacy_app_install_ad_app_store_pb2.py rename to google/ads/google_ads/v4/proto/enums/legacy_app_install_ad_app_store_pb2.py index f04fe180f..857131e07 100644 --- a/google/ads/google_ads/v1/proto/enums/legacy_app_install_ad_app_store_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/legacy_app_install_ad_app_store_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/legacy_app_install_ad_app_store.proto +# source: google/ads/googleads_v4/proto/enums/legacy_app_install_ad_app_store.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/legacy_app_install_ad_app_store.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/legacy_app_install_ad_app_store.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\037LegacyAppInstallAdAppStoreProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/enums/legacy_app_install_ad_app_store.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xc1\x01\n\x1eLegacyAppInstallAdAppStoreEnum\"\x9e\x01\n\x1aLegacyAppInstallAdAppStore\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x41PPLE_APP_STORE\x10\x02\x12\x0f\n\x0bGOOGLE_PLAY\x10\x03\x12\x11\n\rWINDOWS_STORE\x10\x04\x12\x17\n\x13WINDOWS_PHONE_STORE\x10\x05\x12\x10\n\x0c\x43N_APP_STORE\x10\x06\x42\xf4\x01\n!com.google.ads.googleads.v1.enumsB\x1fLegacyAppInstallAdAppStoreProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\037LegacyAppInstallAdAppStoreProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/enums/legacy_app_install_ad_app_store.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xc1\x01\n\x1eLegacyAppInstallAdAppStoreEnum\"\x9e\x01\n\x1aLegacyAppInstallAdAppStore\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x41PPLE_APP_STORE\x10\x02\x12\x0f\n\x0bGOOGLE_PLAY\x10\x03\x12\x11\n\rWINDOWS_STORE\x10\x04\x12\x17\n\x13WINDOWS_PHONE_STORE\x10\x05\x12\x10\n\x0c\x43N_APP_STORE\x10\x06\x42\xf4\x01\n!com.google.ads.googleads.v4.enumsB\x1fLegacyAppInstallAdAppStoreProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _LEGACYAPPINSTALLADAPPSTOREENUM_LEGACYAPPINSTALLADAPPSTORE = _descriptor.EnumDescriptor( name='LegacyAppInstallAdAppStore', - full_name='google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore', + full_name='google.ads.googleads.v4.enums.LegacyAppInstallAdAppStoreEnum.LegacyAppInstallAdAppStore', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _LEGACYAPPINSTALLADAPPSTOREENUM = _descriptor.Descriptor( name='LegacyAppInstallAdAppStoreEnum', - full_name='google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum', + full_name='google.ads.googleads.v4.enums.LegacyAppInstallAdAppStoreEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ LegacyAppInstallAdAppStoreEnum = _reflection.GeneratedProtocolMessageType('LegacyAppInstallAdAppStoreEnum', (_message.Message,), dict( DESCRIPTOR = _LEGACYAPPINSTALLADAPPSTOREENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.legacy_app_install_ad_app_store_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.legacy_app_install_ad_app_store_pb2' , __doc__ = """Container for enum describing app store type in a legacy app install ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.LegacyAppInstallAdAppStoreEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.LegacyAppInstallAdAppStoreEnum) )) _sym_db.RegisterMessage(LegacyAppInstallAdAppStoreEnum) diff --git a/google/ads/google_ads/v1/proto/enums/media_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/media_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/legacy_app_install_ad_app_store_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/linked_account_type_pb2.py b/google/ads/google_ads/v4/proto/enums/linked_account_type_pb2.py new file mode 100644 index 000000000..5e2bc7618 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/linked_account_type_pb2.py @@ -0,0 +1,97 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/linked_account_type.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/linked_account_type.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026LinkedAccountTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/linked_account_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"i\n\x15LinkedAccountTypeEnum\"P\n\x11LinkedAccountType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19THIRD_PARTY_APP_ANALYTICS\x10\x02\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16LinkedAccountTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE = _descriptor.EnumDescriptor( + name='LinkedAccountType', + full_name='google.ads.googleads.v4.enums.LinkedAccountTypeEnum.LinkedAccountType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='THIRD_PARTY_APP_ANALYTICS', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=151, + serialized_end=231, +) +_sym_db.RegisterEnumDescriptor(_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE) + + +_LINKEDACCOUNTTYPEENUM = _descriptor.Descriptor( + name='LinkedAccountTypeEnum', + full_name='google.ads.googleads.v4.enums.LinkedAccountTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=126, + serialized_end=231, +) + +_LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE.containing_type = _LINKEDACCOUNTTYPEENUM +DESCRIPTOR.message_types_by_name['LinkedAccountTypeEnum'] = _LINKEDACCOUNTTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LinkedAccountTypeEnum = _reflection.GeneratedProtocolMessageType('LinkedAccountTypeEnum', (_message.Message,), dict( + DESCRIPTOR = _LINKEDACCOUNTTYPEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.linked_account_type_pb2' + , + __doc__ = """Container for enum describing different types of Linked accounts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.LinkedAccountTypeEnum) + )) +_sym_db.RegisterMessage(LinkedAccountTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/merchant_center_link_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/linked_account_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/merchant_center_link_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/linked_account_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/listing_group_type_pb2.py b/google/ads/google_ads/v4/proto/enums/listing_group_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/listing_group_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/listing_group_type_pb2.py index c97c73630..91254edce 100644 --- a/google/ads/google_ads/v1/proto/enums/listing_group_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/listing_group_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/listing_group_type.proto +# source: google/ads/googleads_v4/proto/enums/listing_group_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/listing_group_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/listing_group_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025ListingGroupTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v4/proto/enums/location_source_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x16LocationSourceTypeEnum\"Y\n\x12LocationSourceType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12GOOGLE_MY_BUSINESS\x10\x02\x12\r\n\tAFFILIATE\x10\x03\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17LocationSourceTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE = _descriptor.EnumDescriptor( + name='LocationSourceType', + full_name='google.ads.googleads.v4.enums.LocationSourceTypeEnum.LocationSourceType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GOOGLE_MY_BUSINESS', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AFFILIATE', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=242, +) +_sym_db.RegisterEnumDescriptor(_LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE) + + +_LOCATIONSOURCETYPEENUM = _descriptor.Descriptor( + name='LocationSourceTypeEnum', + full_name='google.ads.googleads.v4.enums.LocationSourceTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=127, + serialized_end=242, +) + +_LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE.containing_type = _LOCATIONSOURCETYPEENUM +DESCRIPTOR.message_types_by_name['LocationSourceTypeEnum'] = _LOCATIONSOURCETYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LocationSourceTypeEnum = _reflection.GeneratedProtocolMessageType('LocationSourceTypeEnum', (_message.Message,), dict( + DESCRIPTOR = _LOCATIONSOURCETYPEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.location_source_type_pb2' + , + __doc__ = """Used to distinguish the location source type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.LocationSourceTypeEnum) + )) +_sym_db.RegisterMessage(LocationSourceTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/mutate_job_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/location_source_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/mutate_job_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/location_source_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/manager_link_status_pb2.py b/google/ads/google_ads/v4/proto/enums/manager_link_status_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/manager_link_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/manager_link_status_pb2.py index 489d8db24..0d5a46aaf 100644 --- a/google/ads/google_ads/v1/proto/enums/manager_link_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/manager_link_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/manager_link_status.proto +# source: google/ads/googleads_v4/proto/enums/manager_link_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/manager_link_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/manager_link_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\026ManagerLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/enums/manager_link_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8c\x01\n\x15ManagerLinkStatusEnum\"s\n\x11ManagerLinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07REFUSED\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06\x42\xeb\x01\n!com.google.ads.googleads.v1.enumsB\x16ManagerLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026ManagerLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/enums/manager_link_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8c\x01\n\x15ManagerLinkStatusEnum\"s\n\x11ManagerLinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x12\x0b\n\x07PENDING\x10\x04\x12\x0b\n\x07REFUSED\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16ManagerLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS = _descriptor.EnumDescriptor( name='ManagerLinkStatus', - full_name='google.ads.googleads.v1.enums.ManagerLinkStatusEnum.ManagerLinkStatus', + full_name='google.ads.googleads.v4.enums.ManagerLinkStatusEnum.ManagerLinkStatus', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _MANAGERLINKSTATUSENUM = _descriptor.Descriptor( name='ManagerLinkStatusEnum', - full_name='google.ads.googleads.v1.enums.ManagerLinkStatusEnum', + full_name='google.ads.googleads.v4.enums.ManagerLinkStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,12 +100,12 @@ ManagerLinkStatusEnum = _reflection.GeneratedProtocolMessageType('ManagerLinkStatusEnum', (_message.Message,), dict( DESCRIPTOR = _MANAGERLINKSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.manager_link_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.manager_link_status_pb2' , __doc__ = """Container for enum describing possible status of a manager and client link. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ManagerLinkStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ManagerLinkStatusEnum) )) _sym_db.RegisterMessage(ManagerLinkStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/negative_geo_target_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/manager_link_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/negative_geo_target_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/manager_link_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/matching_function_context_type_pb2.py b/google/ads/google_ads/v4/proto/enums/matching_function_context_type_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/matching_function_context_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/matching_function_context_type_pb2.py index 5fcaff670..8fbc987ea 100644 --- a/google/ads/google_ads/v1/proto/enums/matching_function_context_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/matching_function_context_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/matching_function_context_type.proto +# source: google/ads/googleads_v4/proto/enums/matching_function_context_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/matching_function_context_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/matching_function_context_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB MatchingFunctionContextTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/matching_function_context_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1fMatchingFunctionContextTypeEnum\"^\n\x1bMatchingFunctionContextType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x46\x45\x45\x44_ITEM_ID\x10\x02\x12\x0f\n\x0b\x44\x45VICE_NAME\x10\x03\x42\xf5\x01\n!com.google.ads.googleads.v1.enumsB MatchingFunctionContextTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB MatchingFunctionContextTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/matching_function_context_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1fMatchingFunctionContextTypeEnum\"^\n\x1bMatchingFunctionContextType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x46\x45\x45\x44_ITEM_ID\x10\x02\x12\x0f\n\x0b\x44\x45VICE_NAME\x10\x03\x42\xf5\x01\n!com.google.ads.googleads.v4.enumsB MatchingFunctionContextTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MATCHINGFUNCTIONCONTEXTTYPEENUM_MATCHINGFUNCTIONCONTEXTTYPE = _descriptor.EnumDescriptor( name='MatchingFunctionContextType', - full_name='google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType', + full_name='google.ads.googleads.v4.enums.MatchingFunctionContextTypeEnum.MatchingFunctionContextType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _MATCHINGFUNCTIONCONTEXTTYPEENUM = _descriptor.Descriptor( name='MatchingFunctionContextTypeEnum', - full_name='google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum', + full_name='google.ads.googleads.v4.enums.MatchingFunctionContextTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ MatchingFunctionContextTypeEnum = _reflection.GeneratedProtocolMessageType('MatchingFunctionContextTypeEnum', (_message.Message,), dict( DESCRIPTOR = _MATCHINGFUNCTIONCONTEXTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.matching_function_context_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.matching_function_context_type_pb2' , __doc__ = """Container for context types for an operand in a matching function. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MatchingFunctionContextTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MatchingFunctionContextTypeEnum) )) _sym_db.RegisterMessage(MatchingFunctionContextTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/operating_system_version_operator_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/matching_function_context_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/operating_system_version_operator_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/matching_function_context_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/matching_function_operator_pb2.py b/google/ads/google_ads/v4/proto/enums/matching_function_operator_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/matching_function_operator_pb2.py rename to google/ads/google_ads/v4/proto/enums/matching_function_operator_pb2.py index 77a43f3fe..dd0c83706 100644 --- a/google/ads/google_ads/v1/proto/enums/matching_function_operator_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/matching_function_operator_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/matching_function_operator.proto +# source: google/ads/googleads_v4/proto/enums/matching_function_operator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/matching_function_operator.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/matching_function_operator.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035MatchingFunctionOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/matching_function_operator.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x95\x01\n\x1cMatchingFunctionOperatorEnum\"u\n\x18MatchingFunctionOperator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x06\n\x02IN\x10\x02\x12\x0c\n\x08IDENTITY\x10\x03\x12\n\n\x06\x45QUALS\x10\x04\x12\x07\n\x03\x41ND\x10\x05\x12\x10\n\x0c\x43ONTAINS_ANY\x10\x06\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1dMatchingFunctionOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035MatchingFunctionOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/matching_function_operator.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x95\x01\n\x1cMatchingFunctionOperatorEnum\"u\n\x18MatchingFunctionOperator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x06\n\x02IN\x10\x02\x12\x0c\n\x08IDENTITY\x10\x03\x12\n\n\x06\x45QUALS\x10\x04\x12\x07\n\x03\x41ND\x10\x05\x12\x10\n\x0c\x43ONTAINS_ANY\x10\x06\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1dMatchingFunctionOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MATCHINGFUNCTIONOPERATORENUM_MATCHINGFUNCTIONOPERATOR = _descriptor.EnumDescriptor( name='MatchingFunctionOperator', - full_name='google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator', + full_name='google.ads.googleads.v4.enums.MatchingFunctionOperatorEnum.MatchingFunctionOperator', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _MATCHINGFUNCTIONOPERATORENUM = _descriptor.Descriptor( name='MatchingFunctionOperatorEnum', - full_name='google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum', + full_name='google.ads.googleads.v4.enums.MatchingFunctionOperatorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ MatchingFunctionOperatorEnum = _reflection.GeneratedProtocolMessageType('MatchingFunctionOperatorEnum', (_message.Message,), dict( DESCRIPTOR = _MATCHINGFUNCTIONOPERATORENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.matching_function_operator_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.matching_function_operator_pb2' , __doc__ = """Container for enum describing matching function operator. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MatchingFunctionOperatorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MatchingFunctionOperatorEnum) )) _sym_db.RegisterMessage(MatchingFunctionOperatorEnum) diff --git a/google/ads/google_ads/v1/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/matching_function_operator_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/page_one_promoted_strategy_goal_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/matching_function_operator_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/media_type_pb2.py b/google/ads/google_ads/v4/proto/enums/media_type_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/media_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/media_type_pb2.py index 2d7840eff..4b5cf4629 100644 --- a/google/ads/google_ads/v1/proto/enums/media_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/media_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/media_type.proto +# source: google/ads/googleads_v4/proto/enums/media_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/media_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/media_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\016MediaTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n4google/ads/googleads_v1/proto/enums/media_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x8a\x01\n\rMediaTypeEnum\"y\n\tMediaType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\x08\n\x04ICON\x10\x03\x12\x10\n\x0cMEDIA_BUNDLE\x10\x04\x12\t\n\x05\x41UDIO\x10\x05\x12\t\n\x05VIDEO\x10\x06\x12\x11\n\rDYNAMIC_IMAGE\x10\x07\x42\xe3\x01\n!com.google.ads.googleads.v1.enumsB\x0eMediaTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\016MediaTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n4google/ads/googleads_v4/proto/enums/media_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8a\x01\n\rMediaTypeEnum\"y\n\tMediaType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05IMAGE\x10\x02\x12\x08\n\x04ICON\x10\x03\x12\x10\n\x0cMEDIA_BUNDLE\x10\x04\x12\t\n\x05\x41UDIO\x10\x05\x12\t\n\x05VIDEO\x10\x06\x12\x11\n\rDYNAMIC_IMAGE\x10\x07\x42\xe3\x01\n!com.google.ads.googleads.v4.enumsB\x0eMediaTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MEDIATYPEENUM_MEDIATYPE = _descriptor.EnumDescriptor( name='MediaType', - full_name='google.ads.googleads.v1.enums.MediaTypeEnum.MediaType', + full_name='google.ads.googleads.v4.enums.MediaTypeEnum.MediaType', filename=None, file=DESCRIPTOR, values=[ @@ -76,7 +76,7 @@ _MEDIATYPEENUM = _descriptor.Descriptor( name='MediaTypeEnum', - full_name='google.ads.googleads.v1.enums.MediaTypeEnum', + full_name='google.ads.googleads.v4.enums.MediaTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -104,11 +104,11 @@ MediaTypeEnum = _reflection.GeneratedProtocolMessageType('MediaTypeEnum', (_message.Message,), dict( DESCRIPTOR = _MEDIATYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.media_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.media_type_pb2' , __doc__ = """Container for enum describing the types of media. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MediaTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MediaTypeEnum) )) _sym_db.RegisterMessage(MediaTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/parental_status_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/media_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/parental_status_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/media_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/merchant_center_link_status_pb2.py b/google/ads/google_ads/v4/proto/enums/merchant_center_link_status_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/merchant_center_link_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/merchant_center_link_status_pb2.py index bdd5827f8..b81ed2c38 100644 --- a/google/ads/google_ads/v1/proto/enums/merchant_center_link_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/merchant_center_link_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/merchant_center_link_status.proto +# source: google/ads/googleads_v4/proto/enums/merchant_center_link_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/merchant_center_link_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/merchant_center_link_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\035MerchantCenterLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/merchant_center_link_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"r\n\x1cMerchantCenterLinkStatusEnum\"R\n\x18MerchantCenterLinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07PENDING\x10\x03\x42\xf2\x01\n!com.google.ads.googleads.v1.enumsB\x1dMerchantCenterLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\035MerchantCenterLinkStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/merchant_center_link_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"r\n\x1cMerchantCenterLinkStatusEnum\"R\n\x18MerchantCenterLinkStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0b\n\x07PENDING\x10\x03\x42\xf2\x01\n!com.google.ads.googleads.v4.enumsB\x1dMerchantCenterLinkStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS = _descriptor.EnumDescriptor( name='MerchantCenterLinkStatus', - full_name='google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus', + full_name='google.ads.googleads.v4.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _MERCHANTCENTERLINKSTATUSENUM = _descriptor.Descriptor( name='MerchantCenterLinkStatusEnum', - full_name='google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum', + full_name='google.ads.googleads.v4.enums.MerchantCenterLinkStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ MerchantCenterLinkStatusEnum = _reflection.GeneratedProtocolMessageType('MerchantCenterLinkStatusEnum', (_message.Message,), dict( DESCRIPTOR = _MERCHANTCENTERLINKSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.merchant_center_link_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.merchant_center_link_status_pb2' , __doc__ = """Container for enum describing possible statuses of a Google Merchant Center link. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MerchantCenterLinkStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MerchantCenterLinkStatusEnum) )) _sym_db.RegisterMessage(MerchantCenterLinkStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/payment_mode_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/merchant_center_link_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/payment_mode_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/merchant_center_link_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/message_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/message_placeholder_field_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/message_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/message_placeholder_field_pb2.py index 5ebfb462f..22b01796b 100644 --- a/google/ads/google_ads/v1/proto/enums/message_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/message_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/message_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/message_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/message_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/message_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034MessagePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/message_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xbc\x01\n\x1bMessagePlaceholderFieldEnum\"\x9c\x01\n\x17MessagePlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rBUSINESS_NAME\x10\x02\x12\x10\n\x0c\x43OUNTRY_CODE\x10\x03\x12\x10\n\x0cPHONE_NUMBER\x10\x04\x12\x1a\n\x16MESSAGE_EXTENSION_TEXT\x10\x05\x12\x10\n\x0cMESSAGE_TEXT\x10\x06\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1cMessagePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034MessagePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/message_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xbc\x01\n\x1bMessagePlaceholderFieldEnum\"\x9c\x01\n\x17MessagePlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rBUSINESS_NAME\x10\x02\x12\x10\n\x0c\x43OUNTRY_CODE\x10\x03\x12\x10\n\x0cPHONE_NUMBER\x10\x04\x12\x1a\n\x16MESSAGE_EXTENSION_TEXT\x10\x05\x12\x10\n\x0cMESSAGE_TEXT\x10\x06\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1cMessagePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='MessagePlaceholderField', - full_name='google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField', + full_name='google.ads.googleads.v4.enums.MessagePlaceholderFieldEnum.MessagePlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _MESSAGEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='MessagePlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.MessagePlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ MessagePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('MessagePlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _MESSAGEPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.message_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.message_placeholder_field_pb2' , __doc__ = """Values for Message placeholder fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MessagePlaceholderFieldEnum) )) _sym_db.RegisterMessage(MessagePlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/placeholder_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/message_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/placeholder_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/message_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/mime_type_pb2.py b/google/ads/google_ads/v4/proto/enums/mime_type_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/enums/mime_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/mime_type_pb2.py index 304b3de15..8dec0e202 100644 --- a/google/ads/google_ads/v1/proto/enums/mime_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/mime_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/mime_type.proto +# source: google/ads/googleads_v4/proto/enums/mime_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/mime_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/mime_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\rMimeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n3google/ads/googleads_v1/proto/enums/mime_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x0cMimeTypeEnum\"\xcb\x01\n\x08MimeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nIMAGE_JPEG\x10\x02\x12\r\n\tIMAGE_GIF\x10\x03\x12\r\n\tIMAGE_PNG\x10\x04\x12\t\n\x05\x46LASH\x10\x05\x12\r\n\tTEXT_HTML\x10\x06\x12\x07\n\x03PDF\x10\x07\x12\n\n\x06MSWORD\x10\x08\x12\x0b\n\x07MSEXCEL\x10\t\x12\x07\n\x03RTF\x10\n\x12\r\n\tAUDIO_WAV\x10\x0b\x12\r\n\tAUDIO_MP3\x10\x0c\x12\x10\n\x0cHTML5_AD_ZIP\x10\rB\xe2\x01\n!com.google.ads.googleads.v1.enumsB\rMimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\rMimeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/enums/mime_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x0cMimeTypeEnum\"\xcb\x01\n\x08MimeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nIMAGE_JPEG\x10\x02\x12\r\n\tIMAGE_GIF\x10\x03\x12\r\n\tIMAGE_PNG\x10\x04\x12\t\n\x05\x46LASH\x10\x05\x12\r\n\tTEXT_HTML\x10\x06\x12\x07\n\x03PDF\x10\x07\x12\n\n\x06MSWORD\x10\x08\x12\x0b\n\x07MSEXCEL\x10\t\x12\x07\n\x03RTF\x10\n\x12\r\n\tAUDIO_WAV\x10\x0b\x12\r\n\tAUDIO_MP3\x10\x0c\x12\x10\n\x0cHTML5_AD_ZIP\x10\rB\xe2\x01\n!com.google.ads.googleads.v4.enumsB\rMimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MIMETYPEENUM_MIMETYPE = _descriptor.EnumDescriptor( name='MimeType', - full_name='google.ads.googleads.v1.enums.MimeTypeEnum.MimeType', + full_name='google.ads.googleads.v4.enums.MimeTypeEnum.MimeType', filename=None, file=DESCRIPTOR, values=[ @@ -100,7 +100,7 @@ _MIMETYPEENUM = _descriptor.Descriptor( name='MimeTypeEnum', - full_name='google.ads.googleads.v1.enums.MimeTypeEnum', + full_name='google.ads.googleads.v4.enums.MimeTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -128,11 +128,11 @@ MimeTypeEnum = _reflection.GeneratedProtocolMessageType('MimeTypeEnum', (_message.Message,), dict( DESCRIPTOR = _MIMETYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.mime_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.mime_type_pb2' , __doc__ = """Container for enum describing the mime types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MimeTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MimeTypeEnum) )) _sym_db.RegisterMessage(MimeTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/placement_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/mime_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/placement_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/mime_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/minute_of_hour_pb2.py b/google/ads/google_ads/v4/proto/enums/minute_of_hour_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/minute_of_hour_pb2.py rename to google/ads/google_ads/v4/proto/enums/minute_of_hour_pb2.py index 642e94233..60260aece 100644 --- a/google/ads/google_ads/v1/proto/enums/minute_of_hour_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/minute_of_hour_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/minute_of_hour.proto +# source: google/ads/googleads_v4/proto/enums/minute_of_hour.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/minute_of_hour.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/minute_of_hour.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\021MinuteOfHourProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/enums/minute_of_hour.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x10MinuteOfHourEnum\"_\n\x0cMinuteOfHour\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04ZERO\x10\x02\x12\x0b\n\x07\x46IFTEEN\x10\x03\x12\n\n\x06THIRTY\x10\x04\x12\x0e\n\nFORTY_FIVE\x10\x05\x42\xe6\x01\n!com.google.ads.googleads.v1.enumsB\x11MinuteOfHourProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\021MinuteOfHourProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/enums/minute_of_hour.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"s\n\x10MinuteOfHourEnum\"_\n\x0cMinuteOfHour\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04ZERO\x10\x02\x12\x0b\n\x07\x46IFTEEN\x10\x03\x12\n\n\x06THIRTY\x10\x04\x12\x0e\n\nFORTY_FIVE\x10\x05\x42\xe6\x01\n!com.google.ads.googleads.v4.enumsB\x11MinuteOfHourProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MINUTEOFHOURENUM_MINUTEOFHOUR = _descriptor.EnumDescriptor( name='MinuteOfHour', - full_name='google.ads.googleads.v1.enums.MinuteOfHourEnum.MinuteOfHour', + full_name='google.ads.googleads.v4.enums.MinuteOfHourEnum.MinuteOfHour', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _MINUTEOFHOURENUM = _descriptor.Descriptor( name='MinuteOfHourEnum', - full_name='google.ads.googleads.v1.enums.MinuteOfHourEnum', + full_name='google.ads.googleads.v4.enums.MinuteOfHourEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ MinuteOfHourEnum = _reflection.GeneratedProtocolMessageType('MinuteOfHourEnum', (_message.Message,), dict( DESCRIPTOR = _MINUTEOFHOURENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.minute_of_hour_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.minute_of_hour_pb2' , __doc__ = """Container for enumeration of quarter-hours. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.MinuteOfHourEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MinuteOfHourEnum) )) _sym_db.RegisterMessage(MinuteOfHourEnum) diff --git a/google/ads/google_ads/v1/proto/enums/policy_approval_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/minute_of_hour_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/policy_approval_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/minute_of_hour_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2.py b/google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2.py new file mode 100644 index 000000000..f72130ecd --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/mobile_app_vendor.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/mobile_app_vendor.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\024MobileAppVendorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/enums/mobile_app_vendor.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"q\n\x13MobileAppVendorEnum\"Z\n\x0fMobileAppVendor\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0f\x41PPLE_APP_STORE\x10\x02\x12\x14\n\x10GOOGLE_APP_STORE\x10\x03\x42\xe9\x01\n!com.google.ads.googleads.v4.enumsB\x14MobileAppVendorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_MOBILEAPPVENDORENUM_MOBILEAPPVENDOR = _descriptor.EnumDescriptor( + name='MobileAppVendor', + full_name='google.ads.googleads.v4.enums.MobileAppVendorEnum.MobileAppVendor', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='APPLE_APP_STORE', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GOOGLE_APP_STORE', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=237, +) +_sym_db.RegisterEnumDescriptor(_MOBILEAPPVENDORENUM_MOBILEAPPVENDOR) + + +_MOBILEAPPVENDORENUM = _descriptor.Descriptor( + name='MobileAppVendorEnum', + full_name='google.ads.googleads.v4.enums.MobileAppVendorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _MOBILEAPPVENDORENUM_MOBILEAPPVENDOR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=237, +) + +_MOBILEAPPVENDORENUM_MOBILEAPPVENDOR.containing_type = _MOBILEAPPVENDORENUM +DESCRIPTOR.message_types_by_name['MobileAppVendorEnum'] = _MOBILEAPPVENDORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MobileAppVendorEnum = _reflection.GeneratedProtocolMessageType('MobileAppVendorEnum', (_message.Message,), dict( + DESCRIPTOR = _MOBILEAPPVENDORENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.mobile_app_vendor_pb2' + , + __doc__ = """Container for enum describing different types of mobile app vendors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.MobileAppVendorEnum) + )) +_sym_db.RegisterMessage(MobileAppVendorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/policy_review_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/policy_review_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/mobile_app_vendor_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/mobile_device_type_pb2.py b/google/ads/google_ads/v4/proto/enums/mobile_device_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/mobile_device_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/mobile_device_type_pb2.py index 8b1f75812..02b2207ee 100644 --- a/google/ads/google_ads/v1/proto/enums/mobile_device_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/mobile_device_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/mobile_device_type.proto +# source: google/ads/googleads_v4/proto/enums/mobile_device_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/mobile_device_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/mobile_device_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025MobileDeviceTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/parental_status_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16ParentalStatusTypeEnum\"e\n\x12ParentalStatusType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x06PARENT\x10\xac\x02\x12\x11\n\x0cNOT_A_PARENT\x10\xad\x02\x12\x11\n\x0cUNDETERMINED\x10\xae\x02\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17ParentalStatusTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027ParentalStatusTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/parental_status_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16ParentalStatusTypeEnum\"e\n\x12ParentalStatusType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x06PARENT\x10\xac\x02\x12\x11\n\x0cNOT_A_PARENT\x10\xad\x02\x12\x11\n\x0cUNDETERMINED\x10\xae\x02\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17ParentalStatusTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PARENTALSTATUSTYPEENUM_PARENTALSTATUSTYPE = _descriptor.EnumDescriptor( name='ParentalStatusType', - full_name='google.ads.googleads.v1.enums.ParentalStatusTypeEnum.ParentalStatusType', + full_name='google.ads.googleads.v4.enums.ParentalStatusTypeEnum.ParentalStatusType', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _PARENTALSTATUSTYPEENUM = _descriptor.Descriptor( name='ParentalStatusTypeEnum', - full_name='google.ads.googleads.v1.enums.ParentalStatusTypeEnum', + full_name='google.ads.googleads.v4.enums.ParentalStatusTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ ParentalStatusTypeEnum = _reflection.GeneratedProtocolMessageType('ParentalStatusTypeEnum', (_message.Message,), dict( DESCRIPTOR = _PARENTALSTATUSTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.parental_status_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.parental_status_type_pb2' , __doc__ = """Container for enum describing the type of demographic parental statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ParentalStatusTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ParentalStatusTypeEnum) )) _sym_db.RegisterMessage(ParentalStatusTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_bidding_category_level_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/parental_status_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_bidding_category_level_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/parental_status_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/payment_mode_pb2.py b/google/ads/google_ads/v4/proto/enums/payment_mode_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/enums/payment_mode_pb2.py rename to google/ads/google_ads/v4/proto/enums/payment_mode_pb2.py index 0f0c638c8..fda55fa02 100644 --- a/google/ads/google_ads/v1/proto/enums/payment_mode_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/payment_mode_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/payment_mode.proto +# source: google/ads/googleads_v4/proto/enums/payment_mode.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/payment_mode.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/payment_mode.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\020PaymentModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/enums/payment_mode.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"q\n\x0fPaymentModeEnum\"^\n\x0bPaymentMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x43LICKS\x10\x04\x12\x14\n\x10\x43ONVERSION_VALUE\x10\x05\x12\x0f\n\x0b\x43ONVERSIONS\x10\x06\x42\xe5\x01\n!com.google.ads.googleads.v1.enumsB\x10PaymentModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\020PaymentModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/enums/payment_mode.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x0fPaymentModeEnum\"n\n\x0bPaymentMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x43LICKS\x10\x04\x12\x14\n\x10\x43ONVERSION_VALUE\x10\x05\x12\x0f\n\x0b\x43ONVERSIONS\x10\x06\x12\x0e\n\nGUEST_STAY\x10\x07\x42\xe5\x01\n!com.google.ads.googleads.v4.enumsB\x10PaymentModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PAYMENTMODEENUM_PAYMENTMODE = _descriptor.EnumDescriptor( name='PaymentMode', - full_name='google.ads.googleads.v1.enums.PaymentModeEnum.PaymentMode', + full_name='google.ads.googleads.v4.enums.PaymentModeEnum.PaymentMode', filename=None, file=DESCRIPTOR, values=[ @@ -53,18 +53,22 @@ name='CONVERSIONS', index=4, number=6, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='GUEST_STAY', index=5, number=7, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, - serialized_start=138, - serialized_end=232, + serialized_start=139, + serialized_end=249, ) _sym_db.RegisterEnumDescriptor(_PAYMENTMODEENUM_PAYMENTMODE) _PAYMENTMODEENUM = _descriptor.Descriptor( name='PaymentModeEnum', - full_name='google.ads.googleads.v1.enums.PaymentModeEnum', + full_name='google.ads.googleads.v4.enums.PaymentModeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -82,8 +86,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=119, - serialized_end=232, + serialized_start=120, + serialized_end=249, ) _PAYMENTMODEENUM_PAYMENTMODE.containing_type = _PAYMENTMODEENUM @@ -92,11 +96,11 @@ PaymentModeEnum = _reflection.GeneratedProtocolMessageType('PaymentModeEnum', (_message.Message,), dict( DESCRIPTOR = _PAYMENTMODEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.payment_mode_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.payment_mode_pb2' , __doc__ = """Container for enum describing possible payment modes. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PaymentModeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PaymentModeEnum) )) _sym_db.RegisterMessage(PaymentModeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/payment_mode_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/payment_mode_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/placeholder_type_pb2.py b/google/ads/google_ads/v4/proto/enums/placeholder_type_pb2.py similarity index 84% rename from google/ads/google_ads/v1/proto/enums/placeholder_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/placeholder_type_pb2.py index 87eb23e6b..6410df266 100644 --- a/google/ads/google_ads/v1/proto/enums/placeholder_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/placeholder_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/placeholder_type.proto +# source: google/ads/googleads_v4/proto/enums/placeholder_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/placeholder_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/placeholder_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\024PlaceholderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/enums/placeholder_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x03\n\x13PlaceholderTypeEnum\"\xf8\x02\n\x0fPlaceholderType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08SITELINK\x10\x02\x12\x08\n\x04\x43\x41LL\x10\x03\x12\x07\n\x03\x41PP\x10\x04\x12\x0c\n\x08LOCATION\x10\x05\x12\x16\n\x12\x41\x46\x46ILIATE_LOCATION\x10\x06\x12\x0b\n\x07\x43\x41LLOUT\x10\x07\x12\x16\n\x12STRUCTURED_SNIPPET\x10\x08\x12\x0b\n\x07MESSAGE\x10\t\x12\t\n\x05PRICE\x10\n\x12\r\n\tPROMOTION\x10\x0b\x12\x11\n\rAD_CUSTOMIZER\x10\x0c\x12\x15\n\x11\x44YNAMIC_EDUCATION\x10\r\x12\x12\n\x0e\x44YNAMIC_FLIGHT\x10\x0e\x12\x12\n\x0e\x44YNAMIC_CUSTOM\x10\x0f\x12\x11\n\rDYNAMIC_HOTEL\x10\x10\x12\x17\n\x13\x44YNAMIC_REAL_ESTATE\x10\x11\x12\x12\n\x0e\x44YNAMIC_TRAVEL\x10\x12\x12\x11\n\rDYNAMIC_LOCAL\x10\x13\x12\x0f\n\x0b\x44YNAMIC_JOB\x10\x14\x42\xe9\x01\n!com.google.ads.googleads.v1.enumsB\x14PlaceholderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\024PlaceholderTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/enums/placeholder_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x90\x03\n\x13PlaceholderTypeEnum\"\xf8\x02\n\x0fPlaceholderType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08SITELINK\x10\x02\x12\x08\n\x04\x43\x41LL\x10\x03\x12\x07\n\x03\x41PP\x10\x04\x12\x0c\n\x08LOCATION\x10\x05\x12\x16\n\x12\x41\x46\x46ILIATE_LOCATION\x10\x06\x12\x0b\n\x07\x43\x41LLOUT\x10\x07\x12\x16\n\x12STRUCTURED_SNIPPET\x10\x08\x12\x0b\n\x07MESSAGE\x10\t\x12\t\n\x05PRICE\x10\n\x12\r\n\tPROMOTION\x10\x0b\x12\x11\n\rAD_CUSTOMIZER\x10\x0c\x12\x15\n\x11\x44YNAMIC_EDUCATION\x10\r\x12\x12\n\x0e\x44YNAMIC_FLIGHT\x10\x0e\x12\x12\n\x0e\x44YNAMIC_CUSTOM\x10\x0f\x12\x11\n\rDYNAMIC_HOTEL\x10\x10\x12\x17\n\x13\x44YNAMIC_REAL_ESTATE\x10\x11\x12\x12\n\x0e\x44YNAMIC_TRAVEL\x10\x12\x12\x11\n\rDYNAMIC_LOCAL\x10\x13\x12\x0f\n\x0b\x44YNAMIC_JOB\x10\x14\x42\xe9\x01\n!com.google.ads.googleads.v4.enumsB\x14PlaceholderTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE = _descriptor.EnumDescriptor( name='PlaceholderType', - full_name='google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderType', + full_name='google.ads.googleads.v4.enums.PlaceholderTypeEnum.PlaceholderType', filename=None, file=DESCRIPTOR, values=[ @@ -128,7 +128,7 @@ _PLACEHOLDERTYPEENUM = _descriptor.Descriptor( name='PlaceholderTypeEnum', - full_name='google.ads.googleads.v1.enums.PlaceholderTypeEnum', + full_name='google.ads.googleads.v4.enums.PlaceholderTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -156,12 +156,12 @@ PlaceholderTypeEnum = _reflection.GeneratedProtocolMessageType('PlaceholderTypeEnum', (_message.Message,), dict( DESCRIPTOR = _PLACEHOLDERTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.placeholder_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.placeholder_type_pb2' , __doc__ = """Container for enum describing possible placeholder types for a feed mapping. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PlaceholderTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PlaceholderTypeEnum) )) _sym_db.RegisterMessage(PlaceholderTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_channel_exclusivity_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/placeholder_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_channel_exclusivity_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/placeholder_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/placement_type_pb2.py b/google/ads/google_ads/v4/proto/enums/placement_type_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/placement_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/placement_type_pb2.py index 05e74ffd4..ef14db887 100644 --- a/google/ads/google_ads/v1/proto/enums/placement_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/placement_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/placement_type.proto +# source: google/ads/googleads_v4/proto/enums/placement_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/placement_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/placement_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\022PlacementTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/enums/placement_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xa9\x01\n\x11PlacementTypeEnum\"\x93\x01\n\rPlacementType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07WEBSITE\x10\x02\x12\x17\n\x13MOBILE_APP_CATEGORY\x10\x03\x12\x16\n\x12MOBILE_APPLICATION\x10\x04\x12\x11\n\rYOUTUBE_VIDEO\x10\x05\x12\x13\n\x0fYOUTUBE_CHANNEL\x10\x06\x42\xe7\x01\n!com.google.ads.googleads.v1.enumsB\x12PlacementTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\022PlacementTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/enums/placement_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xa9\x01\n\x11PlacementTypeEnum\"\x93\x01\n\rPlacementType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07WEBSITE\x10\x02\x12\x17\n\x13MOBILE_APP_CATEGORY\x10\x03\x12\x16\n\x12MOBILE_APPLICATION\x10\x04\x12\x11\n\rYOUTUBE_VIDEO\x10\x05\x12\x13\n\x0fYOUTUBE_CHANNEL\x10\x06\x42\xe7\x01\n!com.google.ads.googleads.v4.enumsB\x12PlacementTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PLACEMENTTYPEENUM_PLACEMENTTYPE = _descriptor.EnumDescriptor( name='PlacementType', - full_name='google.ads.googleads.v1.enums.PlacementTypeEnum.PlacementType', + full_name='google.ads.googleads.v4.enums.PlacementTypeEnum.PlacementType', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _PLACEMENTTYPEENUM = _descriptor.Descriptor( name='PlacementTypeEnum', - full_name='google.ads.googleads.v1.enums.PlacementTypeEnum', + full_name='google.ads.googleads.v4.enums.PlacementTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ PlacementTypeEnum = _reflection.GeneratedProtocolMessageType('PlacementTypeEnum', (_message.Message,), dict( DESCRIPTOR = _PLACEMENTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.placement_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.placement_type_pb2' , __doc__ = """Container for enum describing possible placement types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PlacementTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PlacementTypeEnum) )) _sym_db.RegisterMessage(PlacementTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_channel_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/placement_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_channel_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/placement_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/policy_approval_status_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_approval_status_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/policy_approval_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/policy_approval_status_pb2.py index 0a49ac5f6..33bf9619b 100644 --- a/google/ads/google_ads/v1/proto/enums/policy_approval_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/policy_approval_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/policy_approval_status.proto +# source: google/ads/googleads_v4/proto/enums/policy_approval_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/policy_approval_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/policy_approval_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031PolicyApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/enums/policy_approval_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xa1\x01\n\x18PolicyApprovalStatusEnum\"\x84\x01\n\x14PolicyApprovalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x44ISAPPROVED\x10\x02\x12\x14\n\x10\x41PPROVED_LIMITED\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\x19\n\x15\x41REA_OF_INTEREST_ONLY\x10\x05\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19PolicyApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031PolicyApprovalStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/enums/policy_approval_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xa1\x01\n\x18PolicyApprovalStatusEnum\"\x84\x01\n\x14PolicyApprovalStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x44ISAPPROVED\x10\x02\x12\x14\n\x10\x41PPROVED_LIMITED\x10\x03\x12\x0c\n\x08\x41PPROVED\x10\x04\x12\x19\n\x15\x41REA_OF_INTEREST_ONLY\x10\x05\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19PolicyApprovalStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS = _descriptor.EnumDescriptor( name='PolicyApprovalStatus', - full_name='google.ads.googleads.v1.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus', + full_name='google.ads.googleads.v4.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _POLICYAPPROVALSTATUSENUM = _descriptor.Descriptor( name='PolicyApprovalStatusEnum', - full_name='google.ads.googleads.v1.enums.PolicyApprovalStatusEnum', + full_name='google.ads.googleads.v4.enums.PolicyApprovalStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ PolicyApprovalStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyApprovalStatusEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYAPPROVALSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.policy_approval_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.policy_approval_status_pb2' , __doc__ = """Container for enum describing possible policy approval statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PolicyApprovalStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyApprovalStatusEnum) )) _sym_db.RegisterMessage(PolicyApprovalStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_condition_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_approval_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_condition_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_approval_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/policy_review_status_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_review_status_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/enums/policy_review_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/policy_review_status_pb2.py index d3f5f1cf9..21d44bc10 100644 --- a/google/ads/google_ads/v1/proto/enums/policy_review_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/policy_review_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/policy_review_status.proto +# source: google/ads/googleads_v4/proto/enums/policy_review_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/policy_review_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/policy_review_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\027PolicyReviewStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/enums/policy_review_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x84\x01\n\x16PolicyReviewStatusEnum\"j\n\x12PolicyReviewStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12REVIEW_IN_PROGRESS\x10\x02\x12\x0c\n\x08REVIEWED\x10\x03\x12\x10\n\x0cUNDER_APPEAL\x10\x04\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17PolicyReviewStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027PolicyReviewStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/policy_review_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x9d\x01\n\x16PolicyReviewStatusEnum\"\x82\x01\n\x12PolicyReviewStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12REVIEW_IN_PROGRESS\x10\x02\x12\x0c\n\x08REVIEWED\x10\x03\x12\x10\n\x0cUNDER_APPEAL\x10\x04\x12\x16\n\x12\x45LIGIBLE_MAY_SERVE\x10\x05\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17PolicyReviewStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS = _descriptor.EnumDescriptor( name='PolicyReviewStatus', - full_name='google.ads.googleads.v1.enums.PolicyReviewStatusEnum.PolicyReviewStatus', + full_name='google.ads.googleads.v4.enums.PolicyReviewStatusEnum.PolicyReviewStatus', filename=None, file=DESCRIPTOR, values=[ @@ -53,18 +53,22 @@ name='UNDER_APPEAL', index=4, number=4, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='ELIGIBLE_MAY_SERVE', index=5, number=5, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, - serialized_start=154, - serialized_end=260, + serialized_start=155, + serialized_end=285, ) _sym_db.RegisterEnumDescriptor(_POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS) _POLICYREVIEWSTATUSENUM = _descriptor.Descriptor( name='PolicyReviewStatusEnum', - full_name='google.ads.googleads.v1.enums.PolicyReviewStatusEnum', + full_name='google.ads.googleads.v4.enums.PolicyReviewStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -83,7 +87,7 @@ oneofs=[ ], serialized_start=128, - serialized_end=260, + serialized_end=285, ) _POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS.containing_type = _POLICYREVIEWSTATUSENUM @@ -92,11 +96,11 @@ PolicyReviewStatusEnum = _reflection.GeneratedProtocolMessageType('PolicyReviewStatusEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYREVIEWSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.policy_review_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.policy_review_status_pb2' , __doc__ = """Container for enum describing possible policy review statuses. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PolicyReviewStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyReviewStatusEnum) )) _sym_db.RegisterMessage(PolicyReviewStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/product_type_level_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_review_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/product_type_level_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_review_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/policy_topic_entry_type_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_topic_entry_type_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/enums/policy_topic_entry_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_entry_type_pb2.py index 26d2e0545..dca4dd4a2 100644 --- a/google/ads/google_ads/v1/proto/enums/policy_topic_entry_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/policy_topic_entry_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/policy_topic_entry_type.proto +# source: google/ads/googleads_v4/proto/enums/policy_topic_entry_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/policy_topic_entry_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/policy_topic_entry_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031PolicyTopicEntryTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/policy_topic_entry_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xbd\x01\n\x18PolicyTopicEntryTypeEnum\"\xa0\x01\n\x14PolicyTopicEntryType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nPROHIBITED\x10\x02\x12\x0b\n\x07LIMITED\x10\x04\x12\x11\n\rFULLY_LIMITED\x10\x08\x12\x0f\n\x0b\x44\x45SCRIPTIVE\x10\x05\x12\x0e\n\nBROADENING\x10\x06\x12\x19\n\x15\x41REA_OF_INTEREST_ONLY\x10\x07\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19PolicyTopicEntryTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031PolicyTopicEntryTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/policy_topic_entry_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xbd\x01\n\x18PolicyTopicEntryTypeEnum\"\xa0\x01\n\x14PolicyTopicEntryType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nPROHIBITED\x10\x02\x12\x0b\n\x07LIMITED\x10\x04\x12\x11\n\rFULLY_LIMITED\x10\x08\x12\x0f\n\x0b\x44\x45SCRIPTIVE\x10\x05\x12\x0e\n\nBROADENING\x10\x06\x12\x19\n\x15\x41REA_OF_INTEREST_ONLY\x10\x07\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19PolicyTopicEntryTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYTOPICENTRYTYPEENUM_POLICYTOPICENTRYTYPE = _descriptor.EnumDescriptor( name='PolicyTopicEntryType', - full_name='google.ads.googleads.v1.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType', + full_name='google.ads.googleads.v4.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType', filename=None, file=DESCRIPTOR, values=[ @@ -76,7 +76,7 @@ _POLICYTOPICENTRYTYPEENUM = _descriptor.Descriptor( name='PolicyTopicEntryTypeEnum', - full_name='google.ads.googleads.v1.enums.PolicyTopicEntryTypeEnum', + full_name='google.ads.googleads.v4.enums.PolicyTopicEntryTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -104,11 +104,11 @@ PolicyTopicEntryTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEntryTypeEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYTOPICENTRYTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.policy_topic_entry_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.policy_topic_entry_type_pb2' , __doc__ = """Container for enum describing possible policy topic entry types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PolicyTopicEntryTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyTopicEntryTypeEnum) )) _sym_db.RegisterMessage(PolicyTopicEntryTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_topic_entry_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/promotion_extension_discount_modifier_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_entry_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py index 49ae5f873..200b1d474 100644 --- a/google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto +# source: google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n]google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xe4\x01\n1PolicyTopicEvidenceDestinationMismatchUrlTypeEnum\"\xae\x01\n-PolicyTopicEvidenceDestinationMismatchUrlType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x44ISPLAY_URL\x10\x02\x12\r\n\tFINAL_URL\x10\x03\x12\x14\n\x10\x46INAL_MOBILE_URL\x10\x04\x12\x10\n\x0cTRACKING_URL\x10\x05\x12\x17\n\x13MOBILE_TRACKING_URL\x10\x06\x42\x87\x02\n!com.google.ads.googleads.v1.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n]google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xe4\x01\n1PolicyTopicEvidenceDestinationMismatchUrlTypeEnum\"\xae\x01\n-PolicyTopicEvidenceDestinationMismatchUrlType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x44ISPLAY_URL\x10\x02\x12\r\n\tFINAL_URL\x10\x03\x12\x14\n\x10\x46INAL_MOBILE_URL\x10\x04\x12\x10\n\x0cTRACKING_URL\x10\x05\x12\x17\n\x13MOBILE_TRACKING_URL\x10\x06\x42\x87\x02\n!com.google.ads.googleads.v4.enumsB2PolicyTopicEvidenceDestinationMismatchUrlTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPE = _descriptor.EnumDescriptor( name='PolicyTopicEvidenceDestinationMismatchUrlType', - full_name='google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum.PolicyTopicEvidenceDestinationMismatchUrlType', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM = _descriptor.Descriptor( name='PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', - full_name='google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,12 +100,12 @@ PolicyTopicEvidenceDestinationMismatchUrlTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationMismatchUrlTypeEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYTOPICEVIDENCEDESTINATIONMISMATCHURLTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.policy_topic_evidence_destination_mismatch_url_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.policy_topic_evidence_destination_mismatch_url_type_pb2' , __doc__ = """Container for enum describing possible policy topic evidence destination mismatch url types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) )) _sym_db.RegisterMessage(PolicyTopicEvidenceDestinationMismatchUrlTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/promotion_extension_occasion_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/promotion_extension_occasion_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_mismatch_url_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py index 4ef58779e..935851eb3 100644 --- a/google/ads/google_ads/v1/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_not_working_device.proto +# source: google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_device.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_not_working_device.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_device.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n^google/ads/googleads_v1/proto/enums/policy_topic_evidence_destination_not_working_device.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n2PolicyTopicEvidenceDestinationNotWorkingDeviceEnum\"q\n.PolicyTopicEvidenceDestinationNotWorkingDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x44\x45SKTOP\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x42\x88\x02\n!com.google.ads.googleads.v1.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n^google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_device.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n2PolicyTopicEvidenceDestinationNotWorkingDeviceEnum\"q\n.PolicyTopicEvidenceDestinationNotWorkingDevice\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07\x44\x45SKTOP\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x42\x88\x02\n!com.google.ads.googleads.v4.enumsB3PolicyTopicEvidenceDestinationNotWorkingDeviceProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICE = _descriptor.EnumDescriptor( name='PolicyTopicEvidenceDestinationNotWorkingDevice', - full_name='google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum.PolicyTopicEvidenceDestinationNotWorkingDevice', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM = _descriptor.Descriptor( name='PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', - full_name='google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,12 +92,12 @@ PolicyTopicEvidenceDestinationNotWorkingDeviceEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationNotWorkingDeviceEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDEVICEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.policy_topic_evidence_destination_not_working_device_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.policy_topic_evidence_destination_not_working_device_pb2' , __doc__ = """Container for enum describing possible policy topic evidence destination not working devices. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) )) _sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDeviceEnum) diff --git a/google/ads/google_ads/v1/proto/enums/promotion_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/promotion_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_device_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py new file mode 100644 index 000000000..2f557da1a --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2.py @@ -0,0 +1,102 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nfgoogle/ads/googleads_v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xc7\x01\n8PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum\"\x8a\x01\n4PolicyTopicEvidenceDestinationNotWorkingDnsErrorType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12HOSTNAME_NOT_FOUND\x10\x02\x12\x1c\n\x18GOOGLE_CRAWLER_DNS_ISSUE\x10\x03\x42\x8e\x02\n!com.google.ads.googleads.v4.enumsB9PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE = _descriptor.EnumDescriptor( + name='PolicyTopicEvidenceDestinationNotWorkingDnsErrorType', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum.PolicyTopicEvidenceDestinationNotWorkingDnsErrorType', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='HOSTNAME_NOT_FOUND', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='GOOGLE_CRAWLER_DNS_ISSUE', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=229, + serialized_end=367, +) +_sym_db.RegisterEnumDescriptor(_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE) + + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM = _descriptor.Descriptor( + name='PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum', + full_name='google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=168, + serialized_end=367, +) + +_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM_POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPE.containing_type = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM +DESCRIPTOR.message_types_by_name['PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum'] = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum = _reflection.GeneratedProtocolMessageType('PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum', (_message.Message,), dict( + DESCRIPTOR = _POLICYTOPICEVIDENCEDESTINATIONNOTWORKINGDNSERRORTYPEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.policy_topic_evidence_destination_not_working_dns_error_type_pb2' + , + __doc__ = """Container for enum describing possible policy topic evidence destination + not working DNS error types. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) + )) +_sym_db.RegisterMessage(PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/proximity_radius_units_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/proximity_radius_units_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/policy_topic_evidence_destination_not_working_dns_error_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/positive_geo_target_type_pb2.py b/google/ads/google_ads/v4/proto/enums/positive_geo_target_type_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/enums/positive_geo_target_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/positive_geo_target_type_pb2.py index 621825f8c..238328546 100644 --- a/google/ads/google_ads/v1/proto/enums/positive_geo_target_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/positive_geo_target_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/positive_geo_target_type.proto +# source: google/ads/googleads_v4/proto/enums/positive_geo_target_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/positive_geo_target_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/positive_geo_target_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032PositiveGeoTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/enums/positive_geo_target_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x91\x01\n\x19PositiveGeoTargetTypeEnum\"t\n\x15PositiveGeoTargetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tDONT_CARE\x10\x02\x12\x14\n\x10\x41REA_OF_INTEREST\x10\x03\x12\x18\n\x14LOCATION_OF_PRESENCE\x10\x04\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1aPositiveGeoTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032PositiveGeoTargetTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/enums/positive_geo_target_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8f\x01\n\x19PositiveGeoTargetTypeEnum\"r\n\x15PositiveGeoTargetType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14PRESENCE_OR_INTEREST\x10\x05\x12\x13\n\x0fSEARCH_INTEREST\x10\x06\x12\x0c\n\x08PRESENCE\x10\x07\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1aPositiveGeoTargetTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE = _descriptor.EnumDescriptor( name='PositiveGeoTargetType', - full_name='google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType', + full_name='google.ads.googleads.v4.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType', filename=None, file=DESCRIPTOR, values=[ @@ -42,29 +42,29 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='DONT_CARE', index=2, number=2, + name='PRESENCE_OR_INTEREST', index=2, number=5, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AREA_OF_INTEREST', index=3, number=3, + name='SEARCH_INTEREST', index=3, number=6, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='LOCATION_OF_PRESENCE', index=4, number=4, + name='PRESENCE', index=4, number=7, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=161, - serialized_end=277, + serialized_end=275, ) _sym_db.RegisterEnumDescriptor(_POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE) _POSITIVEGEOTARGETTYPEENUM = _descriptor.Descriptor( name='PositiveGeoTargetTypeEnum', - full_name='google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum', + full_name='google.ads.googleads.v4.enums.PositiveGeoTargetTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -83,7 +83,7 @@ oneofs=[ ], serialized_start=132, - serialized_end=277, + serialized_end=275, ) _POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE.containing_type = _POSITIVEGEOTARGETTYPEENUM @@ -92,11 +92,11 @@ PositiveGeoTargetTypeEnum = _reflection.GeneratedProtocolMessageType('PositiveGeoTargetTypeEnum', (_message.Message,), dict( DESCRIPTOR = _POSITIVEGEOTARGETTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.positive_geo_target_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.positive_geo_target_type_pb2' , __doc__ = """Container for enum describing possible positive geo target types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PositiveGeoTargetTypeEnum) )) _sym_db.RegisterMessage(PositiveGeoTargetTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/quality_score_bucket_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/positive_geo_target_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/quality_score_bucket_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/positive_geo_target_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/preferred_content_type_pb2.py b/google/ads/google_ads/v4/proto/enums/preferred_content_type_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/preferred_content_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/preferred_content_type_pb2.py index df5c94bf7..30c8d77a5 100644 --- a/google/ads/google_ads/v1/proto/enums/preferred_content_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/preferred_content_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/preferred_content_type.proto +# source: google/ads/googleads_v4/proto/enums/preferred_content_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/preferred_content_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/preferred_content_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\031PreferredContentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/enums/preferred_content_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x18PreferredContentTypeEnum\"N\n\x14PreferredContentType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x13YOUTUBE_TOP_CONTENT\x10\x90\x03\x42\xee\x01\n!com.google.ads.googleads.v1.enumsB\x19PreferredContentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\031PreferredContentTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/enums/preferred_content_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"j\n\x18PreferredContentTypeEnum\"N\n\x14PreferredContentType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x13YOUTUBE_TOP_CONTENT\x10\x90\x03\x42\xee\x01\n!com.google.ads.googleads.v4.enumsB\x19PreferredContentTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PREFERREDCONTENTTYPEENUM_PREFERREDCONTENTTYPE = _descriptor.EnumDescriptor( name='PreferredContentType', - full_name='google.ads.googleads.v1.enums.PreferredContentTypeEnum.PreferredContentType', + full_name='google.ads.googleads.v4.enums.PreferredContentTypeEnum.PreferredContentType', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _PREFERREDCONTENTTYPEENUM = _descriptor.Descriptor( name='PreferredContentTypeEnum', - full_name='google.ads.googleads.v1.enums.PreferredContentTypeEnum', + full_name='google.ads.googleads.v4.enums.PreferredContentTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ PreferredContentTypeEnum = _reflection.GeneratedProtocolMessageType('PreferredContentTypeEnum', (_message.Message,), dict( DESCRIPTOR = _PREFERREDCONTENTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.preferred_content_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.preferred_content_type_pb2' , __doc__ = """Container for enumeration of preferred content criterion type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PreferredContentTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PreferredContentTypeEnum) )) _sym_db.RegisterMessage(PreferredContentTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/real_estate_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/preferred_content_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/real_estate_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/preferred_content_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/price_extension_price_qualifier_pb2.py b/google/ads/google_ads/v4/proto/enums/price_extension_price_qualifier_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/price_extension_price_qualifier_pb2.py rename to google/ads/google_ads/v4/proto/enums/price_extension_price_qualifier_pb2.py index d80075e28..25899c5ae 100644 --- a/google/ads/google_ads/v1/proto/enums/price_extension_price_qualifier_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/price_extension_price_qualifier_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/price_extension_price_qualifier.proto +# source: google/ads/googleads_v4/proto/enums/price_extension_price_qualifier.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/price_extension_price_qualifier.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/price_extension_price_qualifier.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB!PriceExtensionPriceQualifierProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/enums/price_extension_price_qualifier.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x82\x01\n PriceExtensionPriceQualifierEnum\"^\n\x1cPriceExtensionPriceQualifier\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04\x46ROM\x10\x02\x12\t\n\x05UP_TO\x10\x03\x12\x0b\n\x07\x41VERAGE\x10\x04\x42\xf6\x01\n!com.google.ads.googleads.v1.enumsB!PriceExtensionPriceQualifierProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB!PriceExtensionPriceQualifierProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/enums/price_extension_price_qualifier.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x82\x01\n PriceExtensionPriceQualifierEnum\"^\n\x1cPriceExtensionPriceQualifier\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04\x46ROM\x10\x02\x12\t\n\x05UP_TO\x10\x03\x12\x0b\n\x07\x41VERAGE\x10\x04\x42\xf6\x01\n!com.google.ads.googleads.v4.enumsB!PriceExtensionPriceQualifierProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRICEEXTENSIONPRICEQUALIFIERENUM_PRICEEXTENSIONPRICEQUALIFIER = _descriptor.EnumDescriptor( name='PriceExtensionPriceQualifier', - full_name='google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier', + full_name='google.ads.googleads.v4.enums.PriceExtensionPriceQualifierEnum.PriceExtensionPriceQualifier', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _PRICEEXTENSIONPRICEQUALIFIERENUM = _descriptor.Descriptor( name='PriceExtensionPriceQualifierEnum', - full_name='google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum', + full_name='google.ads.googleads.v4.enums.PriceExtensionPriceQualifierEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ PriceExtensionPriceQualifierEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceQualifierEnum', (_message.Message,), dict( DESCRIPTOR = _PRICEEXTENSIONPRICEQUALIFIERENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.price_extension_price_qualifier_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.price_extension_price_qualifier_pb2' , __doc__ = """Container for enum describing a price extension price qualifier. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PriceExtensionPriceQualifierEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PriceExtensionPriceQualifierEnum) )) _sym_db.RegisterMessage(PriceExtensionPriceQualifierEnum) diff --git a/google/ads/google_ads/v1/proto/enums/recommendation_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/price_extension_price_qualifier_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/recommendation_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/price_extension_price_qualifier_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/price_extension_price_unit_pb2.py b/google/ads/google_ads/v4/proto/enums/price_extension_price_unit_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/price_extension_price_unit_pb2.py rename to google/ads/google_ads/v4/proto/enums/price_extension_price_unit_pb2.py index 4eafa3f89..9f0f3f328 100644 --- a/google/ads/google_ads/v1/proto/enums/price_extension_price_unit_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/price_extension_price_unit_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/price_extension_price_unit.proto +# source: google/ads/googleads_v4/proto/enums/price_extension_price_unit.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/price_extension_price_unit.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/price_extension_price_unit.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\034PriceExtensionPriceUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/enums/price_extension_price_unit.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xac\x01\n\x1bPriceExtensionPriceUnitEnum\"\x8c\x01\n\x17PriceExtensionPriceUnit\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PER_HOUR\x10\x02\x12\x0b\n\x07PER_DAY\x10\x03\x12\x0c\n\x08PER_WEEK\x10\x04\x12\r\n\tPER_MONTH\x10\x05\x12\x0c\n\x08PER_YEAR\x10\x06\x12\r\n\tPER_NIGHT\x10\x07\x42\xf1\x01\n!com.google.ads.googleads.v1.enumsB\x1cPriceExtensionPriceUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\034PriceExtensionPriceUnitProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/enums/price_extension_price_unit.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xac\x01\n\x1bPriceExtensionPriceUnitEnum\"\x8c\x01\n\x17PriceExtensionPriceUnit\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08PER_HOUR\x10\x02\x12\x0b\n\x07PER_DAY\x10\x03\x12\x0c\n\x08PER_WEEK\x10\x04\x12\r\n\tPER_MONTH\x10\x05\x12\x0c\n\x08PER_YEAR\x10\x06\x12\r\n\tPER_NIGHT\x10\x07\x42\xf1\x01\n!com.google.ads.googleads.v4.enumsB\x1cPriceExtensionPriceUnitProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRICEEXTENSIONPRICEUNITENUM_PRICEEXTENSIONPRICEUNIT = _descriptor.EnumDescriptor( name='PriceExtensionPriceUnit', - full_name='google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit', + full_name='google.ads.googleads.v4.enums.PriceExtensionPriceUnitEnum.PriceExtensionPriceUnit', filename=None, file=DESCRIPTOR, values=[ @@ -76,7 +76,7 @@ _PRICEEXTENSIONPRICEUNITENUM = _descriptor.Descriptor( name='PriceExtensionPriceUnitEnum', - full_name='google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum', + full_name='google.ads.googleads.v4.enums.PriceExtensionPriceUnitEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -104,11 +104,11 @@ PriceExtensionPriceUnitEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionPriceUnitEnum', (_message.Message,), dict( DESCRIPTOR = _PRICEEXTENSIONPRICEUNITENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.price_extension_price_unit_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.price_extension_price_unit_pb2' , __doc__ = """Container for enum describing price extension price unit. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PriceExtensionPriceUnitEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PriceExtensionPriceUnitEnum) )) _sym_db.RegisterMessage(PriceExtensionPriceUnitEnum) diff --git a/google/ads/google_ads/v1/proto/enums/search_engine_results_page_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/price_extension_price_unit_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/search_engine_results_page_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/price_extension_price_unit_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/price_extension_type_pb2.py b/google/ads/google_ads/v4/proto/enums/price_extension_type_pb2.py similarity index 79% rename from google/ads/google_ads/v1/proto/enums/price_extension_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/price_extension_type_pb2.py index d68fc2e76..50c24a77f 100644 --- a/google/ads/google_ads/v1/proto/enums/price_extension_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/price_extension_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/price_extension_type.proto +# source: google/ads/googleads_v4/proto/enums/price_extension_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/price_extension_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/price_extension_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\027PriceExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/enums/price_extension_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xeb\x01\n\x16PriceExtensionTypeEnum\"\xd0\x01\n\x12PriceExtensionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x42RANDS\x10\x02\x12\n\n\x06\x45VENTS\x10\x03\x12\r\n\tLOCATIONS\x10\x04\x12\x11\n\rNEIGHBORHOODS\x10\x05\x12\x16\n\x12PRODUCT_CATEGORIES\x10\x06\x12\x11\n\rPRODUCT_TIERS\x10\x07\x12\x0c\n\x08SERVICES\x10\x08\x12\x16\n\x12SERVICE_CATEGORIES\x10\t\x12\x11\n\rSERVICE_TIERS\x10\nB\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17PriceExtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027PriceExtensionTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/price_extension_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xeb\x01\n\x16PriceExtensionTypeEnum\"\xd0\x01\n\x12PriceExtensionType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x42RANDS\x10\x02\x12\n\n\x06\x45VENTS\x10\x03\x12\r\n\tLOCATIONS\x10\x04\x12\x11\n\rNEIGHBORHOODS\x10\x05\x12\x16\n\x12PRODUCT_CATEGORIES\x10\x06\x12\x11\n\rPRODUCT_TIERS\x10\x07\x12\x0c\n\x08SERVICES\x10\x08\x12\x16\n\x12SERVICE_CATEGORIES\x10\t\x12\x11\n\rSERVICE_TIERS\x10\nB\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17PriceExtensionTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRICEEXTENSIONTYPEENUM_PRICEEXTENSIONTYPE = _descriptor.EnumDescriptor( name='PriceExtensionType', - full_name='google.ads.googleads.v1.enums.PriceExtensionTypeEnum.PriceExtensionType', + full_name='google.ads.googleads.v4.enums.PriceExtensionTypeEnum.PriceExtensionType', filename=None, file=DESCRIPTOR, values=[ @@ -88,7 +88,7 @@ _PRICEEXTENSIONTYPEENUM = _descriptor.Descriptor( name='PriceExtensionTypeEnum', - full_name='google.ads.googleads.v1.enums.PriceExtensionTypeEnum', + full_name='google.ads.googleads.v4.enums.PriceExtensionTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -116,11 +116,11 @@ PriceExtensionTypeEnum = _reflection.GeneratedProtocolMessageType('PriceExtensionTypeEnum', (_message.Message,), dict( DESCRIPTOR = _PRICEEXTENSIONTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.price_extension_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.price_extension_type_pb2' , __doc__ = """Container for enum describing types for a price extension. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PriceExtensionTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PriceExtensionTypeEnum) )) _sym_db.RegisterMessage(PriceExtensionTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/search_term_match_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/price_extension_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/search_term_match_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/price_extension_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/price_placeholder_field_pb2.py b/google/ads/google_ads/v4/proto/enums/price_placeholder_field_pb2.py similarity index 92% rename from google/ads/google_ads/v1/proto/enums/price_placeholder_field_pb2.py rename to google/ads/google_ads/v4/proto/enums/price_placeholder_field_pb2.py index c37480ec7..ce32169d7 100644 --- a/google/ads/google_ads/v1/proto/enums/price_placeholder_field_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/price_placeholder_field_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/price_placeholder_field.proto +# source: google/ads/googleads_v4/proto/enums/price_placeholder_field.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/price_placeholder_field.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/price_placeholder_field.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\032PricePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/enums/price_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xef\t\n\x19PricePlaceholderFieldEnum\"\xd1\t\n\x15PricePlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04TYPE\x10\x02\x12\x13\n\x0fPRICE_QUALIFIER\x10\x03\x12\x15\n\x11TRACKING_TEMPLATE\x10\x04\x12\x0c\n\x08LANGUAGE\x10\x05\x12\x14\n\x10\x46INAL_URL_SUFFIX\x10\x06\x12\x11\n\rITEM_1_HEADER\x10\x64\x12\x16\n\x12ITEM_1_DESCRIPTION\x10\x65\x12\x10\n\x0cITEM_1_PRICE\x10\x66\x12\x0f\n\x0bITEM_1_UNIT\x10g\x12\x15\n\x11ITEM_1_FINAL_URLS\x10h\x12\x1c\n\x18ITEM_1_FINAL_MOBILE_URLS\x10i\x12\x12\n\rITEM_2_HEADER\x10\xc8\x01\x12\x17\n\x12ITEM_2_DESCRIPTION\x10\xc9\x01\x12\x11\n\x0cITEM_2_PRICE\x10\xca\x01\x12\x10\n\x0bITEM_2_UNIT\x10\xcb\x01\x12\x16\n\x11ITEM_2_FINAL_URLS\x10\xcc\x01\x12\x1d\n\x18ITEM_2_FINAL_MOBILE_URLS\x10\xcd\x01\x12\x12\n\rITEM_3_HEADER\x10\xac\x02\x12\x17\n\x12ITEM_3_DESCRIPTION\x10\xad\x02\x12\x11\n\x0cITEM_3_PRICE\x10\xae\x02\x12\x10\n\x0bITEM_3_UNIT\x10\xaf\x02\x12\x16\n\x11ITEM_3_FINAL_URLS\x10\xb0\x02\x12\x1d\n\x18ITEM_3_FINAL_MOBILE_URLS\x10\xb1\x02\x12\x12\n\rITEM_4_HEADER\x10\x90\x03\x12\x17\n\x12ITEM_4_DESCRIPTION\x10\x91\x03\x12\x11\n\x0cITEM_4_PRICE\x10\x92\x03\x12\x10\n\x0bITEM_4_UNIT\x10\x93\x03\x12\x16\n\x11ITEM_4_FINAL_URLS\x10\x94\x03\x12\x1d\n\x18ITEM_4_FINAL_MOBILE_URLS\x10\x95\x03\x12\x12\n\rITEM_5_HEADER\x10\xf4\x03\x12\x17\n\x12ITEM_5_DESCRIPTION\x10\xf5\x03\x12\x11\n\x0cITEM_5_PRICE\x10\xf6\x03\x12\x10\n\x0bITEM_5_UNIT\x10\xf7\x03\x12\x16\n\x11ITEM_5_FINAL_URLS\x10\xf8\x03\x12\x1d\n\x18ITEM_5_FINAL_MOBILE_URLS\x10\xf9\x03\x12\x12\n\rITEM_6_HEADER\x10\xd8\x04\x12\x17\n\x12ITEM_6_DESCRIPTION\x10\xd9\x04\x12\x11\n\x0cITEM_6_PRICE\x10\xda\x04\x12\x10\n\x0bITEM_6_UNIT\x10\xdb\x04\x12\x16\n\x11ITEM_6_FINAL_URLS\x10\xdc\x04\x12\x1d\n\x18ITEM_6_FINAL_MOBILE_URLS\x10\xdd\x04\x12\x12\n\rITEM_7_HEADER\x10\xbc\x05\x12\x17\n\x12ITEM_7_DESCRIPTION\x10\xbd\x05\x12\x11\n\x0cITEM_7_PRICE\x10\xbe\x05\x12\x10\n\x0bITEM_7_UNIT\x10\xbf\x05\x12\x16\n\x11ITEM_7_FINAL_URLS\x10\xc0\x05\x12\x1d\n\x18ITEM_7_FINAL_MOBILE_URLS\x10\xc1\x05\x12\x12\n\rITEM_8_HEADER\x10\xa0\x06\x12\x17\n\x12ITEM_8_DESCRIPTION\x10\xa1\x06\x12\x11\n\x0cITEM_8_PRICE\x10\xa2\x06\x12\x10\n\x0bITEM_8_UNIT\x10\xa3\x06\x12\x16\n\x11ITEM_8_FINAL_URLS\x10\xa4\x06\x12\x1d\n\x18ITEM_8_FINAL_MOBILE_URLS\x10\xa5\x06\x42\xef\x01\n!com.google.ads.googleads.v1.enumsB\x1aPricePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\032PricePlaceholderFieldProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/enums/price_placeholder_field.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xef\t\n\x19PricePlaceholderFieldEnum\"\xd1\t\n\x15PricePlaceholderField\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04TYPE\x10\x02\x12\x13\n\x0fPRICE_QUALIFIER\x10\x03\x12\x15\n\x11TRACKING_TEMPLATE\x10\x04\x12\x0c\n\x08LANGUAGE\x10\x05\x12\x14\n\x10\x46INAL_URL_SUFFIX\x10\x06\x12\x11\n\rITEM_1_HEADER\x10\x64\x12\x16\n\x12ITEM_1_DESCRIPTION\x10\x65\x12\x10\n\x0cITEM_1_PRICE\x10\x66\x12\x0f\n\x0bITEM_1_UNIT\x10g\x12\x15\n\x11ITEM_1_FINAL_URLS\x10h\x12\x1c\n\x18ITEM_1_FINAL_MOBILE_URLS\x10i\x12\x12\n\rITEM_2_HEADER\x10\xc8\x01\x12\x17\n\x12ITEM_2_DESCRIPTION\x10\xc9\x01\x12\x11\n\x0cITEM_2_PRICE\x10\xca\x01\x12\x10\n\x0bITEM_2_UNIT\x10\xcb\x01\x12\x16\n\x11ITEM_2_FINAL_URLS\x10\xcc\x01\x12\x1d\n\x18ITEM_2_FINAL_MOBILE_URLS\x10\xcd\x01\x12\x12\n\rITEM_3_HEADER\x10\xac\x02\x12\x17\n\x12ITEM_3_DESCRIPTION\x10\xad\x02\x12\x11\n\x0cITEM_3_PRICE\x10\xae\x02\x12\x10\n\x0bITEM_3_UNIT\x10\xaf\x02\x12\x16\n\x11ITEM_3_FINAL_URLS\x10\xb0\x02\x12\x1d\n\x18ITEM_3_FINAL_MOBILE_URLS\x10\xb1\x02\x12\x12\n\rITEM_4_HEADER\x10\x90\x03\x12\x17\n\x12ITEM_4_DESCRIPTION\x10\x91\x03\x12\x11\n\x0cITEM_4_PRICE\x10\x92\x03\x12\x10\n\x0bITEM_4_UNIT\x10\x93\x03\x12\x16\n\x11ITEM_4_FINAL_URLS\x10\x94\x03\x12\x1d\n\x18ITEM_4_FINAL_MOBILE_URLS\x10\x95\x03\x12\x12\n\rITEM_5_HEADER\x10\xf4\x03\x12\x17\n\x12ITEM_5_DESCRIPTION\x10\xf5\x03\x12\x11\n\x0cITEM_5_PRICE\x10\xf6\x03\x12\x10\n\x0bITEM_5_UNIT\x10\xf7\x03\x12\x16\n\x11ITEM_5_FINAL_URLS\x10\xf8\x03\x12\x1d\n\x18ITEM_5_FINAL_MOBILE_URLS\x10\xf9\x03\x12\x12\n\rITEM_6_HEADER\x10\xd8\x04\x12\x17\n\x12ITEM_6_DESCRIPTION\x10\xd9\x04\x12\x11\n\x0cITEM_6_PRICE\x10\xda\x04\x12\x10\n\x0bITEM_6_UNIT\x10\xdb\x04\x12\x16\n\x11ITEM_6_FINAL_URLS\x10\xdc\x04\x12\x1d\n\x18ITEM_6_FINAL_MOBILE_URLS\x10\xdd\x04\x12\x12\n\rITEM_7_HEADER\x10\xbc\x05\x12\x17\n\x12ITEM_7_DESCRIPTION\x10\xbd\x05\x12\x11\n\x0cITEM_7_PRICE\x10\xbe\x05\x12\x10\n\x0bITEM_7_UNIT\x10\xbf\x05\x12\x16\n\x11ITEM_7_FINAL_URLS\x10\xc0\x05\x12\x1d\n\x18ITEM_7_FINAL_MOBILE_URLS\x10\xc1\x05\x12\x12\n\rITEM_8_HEADER\x10\xa0\x06\x12\x17\n\x12ITEM_8_DESCRIPTION\x10\xa1\x06\x12\x11\n\x0cITEM_8_PRICE\x10\xa2\x06\x12\x10\n\x0bITEM_8_UNIT\x10\xa3\x06\x12\x16\n\x11ITEM_8_FINAL_URLS\x10\xa4\x06\x12\x1d\n\x18ITEM_8_FINAL_MOBILE_URLS\x10\xa5\x06\x42\xef\x01\n!com.google.ads.googleads.v4.enumsB\x1aPricePlaceholderFieldProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD = _descriptor.EnumDescriptor( name='PricePlaceholderField', - full_name='google.ads.googleads.v1.enums.PricePlaceholderFieldEnum.PricePlaceholderField', + full_name='google.ads.googleads.v4.enums.PricePlaceholderFieldEnum.PricePlaceholderField', filename=None, file=DESCRIPTOR, values=[ @@ -264,7 +264,7 @@ _PRICEPLACEHOLDERFIELDENUM = _descriptor.Descriptor( name='PricePlaceholderFieldEnum', - full_name='google.ads.googleads.v1.enums.PricePlaceholderFieldEnum', + full_name='google.ads.googleads.v4.enums.PricePlaceholderFieldEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -292,11 +292,11 @@ PricePlaceholderFieldEnum = _reflection.GeneratedProtocolMessageType('PricePlaceholderFieldEnum', (_message.Message,), dict( DESCRIPTOR = _PRICEPLACEHOLDERFIELDENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.price_placeholder_field_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.price_placeholder_field_pb2' , __doc__ = """Values for Price placeholder fields. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.PricePlaceholderFieldEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.PricePlaceholderFieldEnum) )) _sym_db.RegisterMessage(PricePlaceholderFieldEnum) diff --git a/google/ads/google_ads/v1/proto/enums/search_term_targeting_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/price_placeholder_field_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/search_term_targeting_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/price_placeholder_field_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_bidding_category_level_pb2.py b/google/ads/google_ads/v4/proto/enums/product_bidding_category_level_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/enums/product_bidding_category_level_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_bidding_category_level_pb2.py index e27bdfa70..7cea1d3e3 100644 --- a/google/ads/google_ads/v1/proto/enums/product_bidding_category_level_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_bidding_category_level_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_bidding_category_level.proto +# source: google/ads/googleads_v4/proto/enums/product_bidding_category_level.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_bidding_category_level.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_bidding_category_level.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB ProductBiddingCategoryLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/product_bidding_category_level.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x1fProductBiddingCategoryLevelEnum\"w\n\x1bProductBiddingCategoryLevel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06LEVEL1\x10\x02\x12\n\n\x06LEVEL2\x10\x03\x12\n\n\x06LEVEL3\x10\x04\x12\n\n\x06LEVEL4\x10\x05\x12\n\n\x06LEVEL5\x10\x06\x42\xf5\x01\n!com.google.ads.googleads.v1.enumsB ProductBiddingCategoryLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB ProductBiddingCategoryLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/product_bidding_category_level.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x1fProductBiddingCategoryLevelEnum\"w\n\x1bProductBiddingCategoryLevel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06LEVEL1\x10\x02\x12\n\n\x06LEVEL2\x10\x03\x12\n\n\x06LEVEL3\x10\x04\x12\n\n\x06LEVEL4\x10\x05\x12\n\n\x06LEVEL5\x10\x06\x42\xf5\x01\n!com.google.ads.googleads.v4.enumsB ProductBiddingCategoryLevelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL = _descriptor.EnumDescriptor( name='ProductBiddingCategoryLevel', - full_name='google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel', + full_name='google.ads.googleads.v4.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevel', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _PRODUCTBIDDINGCATEGORYLEVELENUM = _descriptor.Descriptor( name='ProductBiddingCategoryLevelEnum', - full_name='google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum', + full_name='google.ads.googleads.v4.enums.ProductBiddingCategoryLevelEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ ProductBiddingCategoryLevelEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryLevelEnum', (_message.Message,), dict( DESCRIPTOR = _PRODUCTBIDDINGCATEGORYLEVELENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.product_bidding_category_level_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.product_bidding_category_level_pb2' , __doc__ = """Level of a product bidding category. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ProductBiddingCategoryLevelEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductBiddingCategoryLevelEnum) )) _sym_db.RegisterMessage(ProductBiddingCategoryLevelEnum) diff --git a/google/ads/google_ads/v1/proto/enums/served_asset_field_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_bidding_category_level_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/served_asset_field_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_bidding_category_level_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2.py b/google/ads/google_ads/v4/proto/enums/product_bidding_category_status_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_bidding_category_status_pb2.py index 27c6e59eb..8b9719434 100644 --- a/google/ads/google_ads/v1/proto/enums/product_bidding_category_status_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_bidding_category_status_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_bidding_category_status.proto +# source: google/ads/googleads_v4/proto/enums/product_bidding_category_status.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_bidding_category_status.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_bidding_category_status.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB!ProductBiddingCategoryStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/enums/product_bidding_category_status.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"z\n ProductBiddingCategoryStatusEnum\"V\n\x1cProductBiddingCategoryStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08OBSOLETE\x10\x03\x42\xf6\x01\n!com.google.ads.googleads.v1.enumsB!ProductBiddingCategoryStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB!ProductBiddingCategoryStatusProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/enums/product_bidding_category_status.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"z\n ProductBiddingCategoryStatusEnum\"V\n\x1cProductBiddingCategoryStatus\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08OBSOLETE\x10\x03\x42\xf6\x01\n!com.google.ads.googleads.v4.enumsB!ProductBiddingCategoryStatusProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS = _descriptor.EnumDescriptor( name='ProductBiddingCategoryStatus', - full_name='google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus', + full_name='google.ads.googleads.v4.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatus', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _PRODUCTBIDDINGCATEGORYSTATUSENUM = _descriptor.Descriptor( name='ProductBiddingCategoryStatusEnum', - full_name='google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum', + full_name='google.ads.googleads.v4.enums.ProductBiddingCategoryStatusEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ProductBiddingCategoryStatusEnum = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryStatusEnum', (_message.Message,), dict( DESCRIPTOR = _PRODUCTBIDDINGCATEGORYSTATUSENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.product_bidding_category_status_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.product_bidding_category_status_pb2' , __doc__ = """Status of the product bidding category. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ProductBiddingCategoryStatusEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductBiddingCategoryStatusEnum) )) _sym_db.RegisterMessage(ProductBiddingCategoryStatusEnum) diff --git a/google/ads/google_ads/v1/proto/enums/shared_set_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_bidding_category_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/shared_set_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_bidding_category_status_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_channel_exclusivity_pb2.py b/google/ads/google_ads/v4/proto/enums/product_channel_exclusivity_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/product_channel_exclusivity_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_channel_exclusivity_pb2.py index 39806942a..06e90b46d 100644 --- a/google/ads/google_ads/v1/proto/enums/product_channel_exclusivity_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_channel_exclusivity_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_channel_exclusivity.proto +# source: google/ads/googleads_v4/proto/enums/product_channel_exclusivity.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_channel_exclusivity.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_channel_exclusivity.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\036ProductChannelExclusivityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/enums/product_channel_exclusivity.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1dProductChannelExclusivityEnum\"`\n\x19ProductChannelExclusivity\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0eSINGLE_CHANNEL\x10\x02\x12\x11\n\rMULTI_CHANNEL\x10\x03\x42\xf3\x01\n!com.google.ads.googleads.v1.enumsB\x1eProductChannelExclusivityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\036ProductChannelExclusivityProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/enums/product_channel_exclusivity.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x81\x01\n\x1dProductChannelExclusivityEnum\"`\n\x19ProductChannelExclusivity\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0eSINGLE_CHANNEL\x10\x02\x12\x11\n\rMULTI_CHANNEL\x10\x03\x42\xf3\x01\n!com.google.ads.googleads.v4.enumsB\x1eProductChannelExclusivityProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRODUCTCHANNELEXCLUSIVITYENUM_PRODUCTCHANNELEXCLUSIVITY = _descriptor.EnumDescriptor( name='ProductChannelExclusivity', - full_name='google.ads.googleads.v1.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity', + full_name='google.ads.googleads.v4.enums.ProductChannelExclusivityEnum.ProductChannelExclusivity', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _PRODUCTCHANNELEXCLUSIVITYENUM = _descriptor.Descriptor( name='ProductChannelExclusivityEnum', - full_name='google.ads.googleads.v1.enums.ProductChannelExclusivityEnum', + full_name='google.ads.googleads.v4.enums.ProductChannelExclusivityEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ProductChannelExclusivityEnum = _reflection.GeneratedProtocolMessageType('ProductChannelExclusivityEnum', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCHANNELEXCLUSIVITYENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.product_channel_exclusivity_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.product_channel_exclusivity_pb2' , __doc__ = """Availability of a product offer. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ProductChannelExclusivityEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductChannelExclusivityEnum) )) _sym_db.RegisterMessage(ProductChannelExclusivityEnum) diff --git a/google/ads/google_ads/v1/proto/enums/shared_set_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_channel_exclusivity_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/shared_set_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_channel_exclusivity_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_channel_pb2.py b/google/ads/google_ads/v4/proto/enums/product_channel_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/product_channel_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_channel_pb2.py index 353c17019..eb5fcc20c 100644 --- a/google/ads/google_ads/v1/proto/enums/product_channel_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_channel_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_channel.proto +# source: google/ads/googleads_v4/proto/enums/product_channel.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_channel.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_channel.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\023ProductChannelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/enums/product_channel.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"[\n\x12ProductChannelEnum\"E\n\x0eProductChannel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06ONLINE\x10\x02\x12\t\n\x05LOCAL\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v1.enumsB\x13ProductChannelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\023ProductChannelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/enums/product_channel.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"[\n\x12ProductChannelEnum\"E\n\x0eProductChannel\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06ONLINE\x10\x02\x12\t\n\x05LOCAL\x10\x03\x42\xe8\x01\n!com.google.ads.googleads.v4.enumsB\x13ProductChannelProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRODUCTCHANNELENUM_PRODUCTCHANNEL = _descriptor.EnumDescriptor( name='ProductChannel', - full_name='google.ads.googleads.v1.enums.ProductChannelEnum.ProductChannel', + full_name='google.ads.googleads.v4.enums.ProductChannelEnum.ProductChannel', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _PRODUCTCHANNELENUM = _descriptor.Descriptor( name='ProductChannelEnum', - full_name='google.ads.googleads.v1.enums.ProductChannelEnum', + full_name='google.ads.googleads.v4.enums.ProductChannelEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ProductChannelEnum = _reflection.GeneratedProtocolMessageType('ProductChannelEnum', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCHANNELENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.product_channel_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.product_channel_pb2' , __doc__ = """Locality of a product offer. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ProductChannelEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductChannelEnum) )) _sym_db.RegisterMessage(ProductChannelEnum) diff --git a/google/ads/google_ads/v1/proto/enums/simulation_modification_method_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_channel_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/simulation_modification_method_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_channel_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_condition_pb2.py b/google/ads/google_ads/v4/proto/enums/product_condition_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/enums/product_condition_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_condition_pb2.py index 4a81bce9a..dadda5ae0 100644 --- a/google/ads/google_ads/v1/proto/enums/product_condition_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_condition_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_condition.proto +# source: google/ads/googleads_v4/proto/enums/product_condition.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_condition.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_condition.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025ProductConditionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/enums/product_condition.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"l\n\x14ProductConditionEnum\"T\n\x10ProductCondition\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03NEW\x10\x03\x12\x0f\n\x0bREFURBISHED\x10\x04\x12\x08\n\x04USED\x10\x05\x42\xea\x01\n!com.google.ads.googleads.v1.enumsB\x15ProductConditionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\025ProductConditionProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/enums/product_condition.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"l\n\x14ProductConditionEnum\"T\n\x10ProductCondition\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03NEW\x10\x03\x12\x0f\n\x0bREFURBISHED\x10\x04\x12\x08\n\x04USED\x10\x05\x42\xea\x01\n!com.google.ads.googleads.v4.enumsB\x15ProductConditionProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PRODUCTCONDITIONENUM_PRODUCTCONDITION = _descriptor.EnumDescriptor( name='ProductCondition', - full_name='google.ads.googleads.v1.enums.ProductConditionEnum.ProductCondition', + full_name='google.ads.googleads.v4.enums.ProductConditionEnum.ProductCondition', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _PRODUCTCONDITIONENUM = _descriptor.Descriptor( name='ProductConditionEnum', - full_name='google.ads.googleads.v1.enums.ProductConditionEnum', + full_name='google.ads.googleads.v4.enums.ProductConditionEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ ProductConditionEnum = _reflection.GeneratedProtocolMessageType('ProductConditionEnum', (_message.Message,), dict( DESCRIPTOR = _PRODUCTCONDITIONENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.product_condition_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.product_condition_pb2' , __doc__ = """Condition of a product offer. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ProductConditionEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductConditionEnum) )) _sym_db.RegisterMessage(ProductConditionEnum) diff --git a/google/ads/google_ads/v1/proto/enums/simulation_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_condition_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/simulation_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_condition_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/listing_custom_attribute_index_pb2.py b/google/ads/google_ads/v4/proto/enums/product_custom_attribute_index_pb2.py similarity index 53% rename from google/ads/google_ads/v1/proto/enums/listing_custom_attribute_index_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_custom_attribute_index_pb2.py index 7183ce362..4c82fce46 100644 --- a/google/ads/google_ads/v1/proto/enums/listing_custom_attribute_index_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_custom_attribute_index_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/listing_custom_attribute_index.proto +# source: google/ads/googleads_v4/proto/enums/product_custom_attribute_index.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,19 +17,19 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/listing_custom_attribute_index.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_custom_attribute_index.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB ListingCustomAttributeIndexProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/listing_custom_attribute_index.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x1fListingCustomAttributeIndexEnum\"w\n\x1bListingCustomAttributeIndex\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06INDEX0\x10\x07\x12\n\n\x06INDEX1\x10\x08\x12\n\n\x06INDEX2\x10\t\x12\n\n\x06INDEX3\x10\n\x12\n\n\x06INDEX4\x10\x0b\x42\xf5\x01\n!com.google.ads.googleads.v1.enumsB ListingCustomAttributeIndexProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB ProductCustomAttributeIndexProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/product_custom_attribute_index.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x9a\x01\n\x1fProductCustomAttributeIndexEnum\"w\n\x1bProductCustomAttributeIndex\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\n\n\x06INDEX0\x10\x07\x12\n\n\x06INDEX1\x10\x08\x12\n\n\x06INDEX2\x10\t\x12\n\n\x06INDEX3\x10\n\x12\n\n\x06INDEX4\x10\x0b\x42\xf5\x01\n!com.google.ads.googleads.v4.enumsB ProductCustomAttributeIndexProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) -_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX = _descriptor.EnumDescriptor( - name='ListingCustomAttributeIndex', - full_name='google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum.ListingCustomAttributeIndex', +_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX = _descriptor.EnumDescriptor( + name='ProductCustomAttributeIndex', + full_name='google.ads.googleads.v4.enums.ProductCustomAttributeIndexEnum.ProductCustomAttributeIndex', filename=None, file=DESCRIPTOR, values=[ @@ -67,12 +67,12 @@ serialized_start=173, serialized_end=292, ) -_sym_db.RegisterEnumDescriptor(_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX) +_sym_db.RegisterEnumDescriptor(_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX) -_LISTINGCUSTOMATTRIBUTEINDEXENUM = _descriptor.Descriptor( - name='ListingCustomAttributeIndexEnum', - full_name='google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum', +_PRODUCTCUSTOMATTRIBUTEINDEXENUM = _descriptor.Descriptor( + name='ProductCustomAttributeIndexEnum', + full_name='google.ads.googleads.v4.enums.ProductCustomAttributeIndexEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -82,7 +82,7 @@ ], nested_types=[], enum_types=[ - _LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX, + _PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX, ], serialized_options=None, is_extendable=False, @@ -94,19 +94,19 @@ serialized_end=292, ) -_LISTINGCUSTOMATTRIBUTEINDEXENUM_LISTINGCUSTOMATTRIBUTEINDEX.containing_type = _LISTINGCUSTOMATTRIBUTEINDEXENUM -DESCRIPTOR.message_types_by_name['ListingCustomAttributeIndexEnum'] = _LISTINGCUSTOMATTRIBUTEINDEXENUM +_PRODUCTCUSTOMATTRIBUTEINDEXENUM_PRODUCTCUSTOMATTRIBUTEINDEX.containing_type = _PRODUCTCUSTOMATTRIBUTEINDEXENUM +DESCRIPTOR.message_types_by_name['ProductCustomAttributeIndexEnum'] = _PRODUCTCUSTOMATTRIBUTEINDEXENUM _sym_db.RegisterFileDescriptor(DESCRIPTOR) -ListingCustomAttributeIndexEnum = _reflection.GeneratedProtocolMessageType('ListingCustomAttributeIndexEnum', (_message.Message,), dict( - DESCRIPTOR = _LISTINGCUSTOMATTRIBUTEINDEXENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.listing_custom_attribute_index_pb2' +ProductCustomAttributeIndexEnum = _reflection.GeneratedProtocolMessageType('ProductCustomAttributeIndexEnum', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTCUSTOMATTRIBUTEINDEXENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.product_custom_attribute_index_pb2' , - __doc__ = """Container for enum describing the index of the listing custom attribute. + __doc__ = """Container for enum describing the index of the product custom attribute. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.ListingCustomAttributeIndexEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ProductCustomAttributeIndexEnum) )) -_sym_db.RegisterMessage(ListingCustomAttributeIndexEnum) +_sym_db.RegisterMessage(ProductCustomAttributeIndexEnum) DESCRIPTOR._options = None diff --git a/google/ads/google_ads/v1/proto/enums/sitelink_placeholder_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/product_custom_attribute_index_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/sitelink_placeholder_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/product_custom_attribute_index_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/product_type_level_pb2.py b/google/ads/google_ads/v4/proto/enums/product_type_level_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/product_type_level_pb2.py rename to google/ads/google_ads/v4/proto/enums/product_type_level_pb2.py index 5520738ec..96a01d2d5 100644 --- a/google/ads/google_ads/v1/proto/enums/product_type_level_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/product_type_level_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/product_type_level.proto +# source: google/ads/googleads_v4/proto/enums/product_type_level.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/product_type_level.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/product_type_level.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025ProductTypeLevelProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/quality_score_bucket.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16QualityScoreBucketEnum\"e\n\x12QualityScoreBucket\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rBELOW_AVERAGE\x10\x02\x12\x0b\n\x07\x41VERAGE\x10\x03\x12\x11\n\rABOVE_AVERAGE\x10\x04\x42\xec\x01\n!com.google.ads.googleads.v1.enumsB\x17QualityScoreBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\027QualityScoreBucketProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/quality_score_bucket.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x7f\n\x16QualityScoreBucketEnum\"e\n\x12QualityScoreBucket\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rBELOW_AVERAGE\x10\x02\x12\x0b\n\x07\x41VERAGE\x10\x03\x12\x11\n\rABOVE_AVERAGE\x10\x04\x42\xec\x01\n!com.google.ads.googleads.v4.enumsB\x17QualityScoreBucketProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET = _descriptor.EnumDescriptor( name='QualityScoreBucket', - full_name='google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket', + full_name='google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucket', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _QUALITYSCOREBUCKETENUM = _descriptor.Descriptor( name='QualityScoreBucketEnum', - full_name='google.ads.googleads.v1.enums.QualityScoreBucketEnum', + full_name='google.ads.googleads.v4.enums.QualityScoreBucketEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ QualityScoreBucketEnum = _reflection.GeneratedProtocolMessageType('QualityScoreBucketEnum', (_message.Message,), dict( DESCRIPTOR = _QUALITYSCOREBUCKETENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.quality_score_bucket_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.quality_score_bucket_pb2' , __doc__ = """The relative performance compared to other advertisers. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.QualityScoreBucketEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.QualityScoreBucketEnum) )) _sym_db.RegisterMessage(QualityScoreBucketEnum) diff --git a/google/ads/google_ads/v1/proto/enums/target_impression_share_location_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/quality_score_bucket_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/target_impression_share_location_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/quality_score_bucket_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2.py b/google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2.py new file mode 100644 index 000000000..4a3e21bec --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/reach_plan_ad_length.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/reach_plan_ad_length.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026ReachPlanAdLengthProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/reach_plan_ad_length.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x96\x01\n\x15ReachPlanAdLengthEnum\"}\n\x11ReachPlanAdLength\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bSIX_SECONDS\x10\x02\x12\x1d\n\x19\x46IFTEEN_OR_TWENTY_SECONDS\x10\x03\x12\x1a\n\x16TWENTY_SECONDS_OR_MORE\x10\x04\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16ReachPlanAdLengthProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANADLENGTHENUM_REACHPLANADLENGTH = _descriptor.EnumDescriptor( + name='ReachPlanAdLength', + full_name='google.ads.googleads.v4.enums.ReachPlanAdLengthEnum.ReachPlanAdLength', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SIX_SECONDS', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FIFTEEN_OR_TWENTY_SECONDS', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TWENTY_SECONDS_OR_MORE', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=278, +) +_sym_db.RegisterEnumDescriptor(_REACHPLANADLENGTHENUM_REACHPLANADLENGTH) + + +_REACHPLANADLENGTHENUM = _descriptor.Descriptor( + name='ReachPlanAdLengthEnum', + full_name='google.ads.googleads.v4.enums.ReachPlanAdLengthEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _REACHPLANADLENGTHENUM_REACHPLANADLENGTH, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=278, +) + +_REACHPLANADLENGTHENUM_REACHPLANADLENGTH.containing_type = _REACHPLANADLENGTHENUM +DESCRIPTOR.message_types_by_name['ReachPlanAdLengthEnum'] = _REACHPLANADLENGTHENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ReachPlanAdLengthEnum = _reflection.GeneratedProtocolMessageType('ReachPlanAdLengthEnum', (_message.Message,), dict( + DESCRIPTOR = _REACHPLANADLENGTHENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.reach_plan_ad_length_pb2' + , + __doc__ = """Message describing length of a plannable video ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ReachPlanAdLengthEnum) + )) +_sym_db.RegisterMessage(ReachPlanAdLengthEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/targeting_dimension_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/targeting_dimension_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/reach_plan_ad_length_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2.py b/google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2.py new file mode 100644 index 000000000..232b04f1d --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2.py @@ -0,0 +1,197 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/reach_plan_age_range.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/reach_plan_age_range.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026ReachPlanAgeRangeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/reach_plan_age_range.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x8b\x05\n\x15ReachPlanAgeRangeEnum\"\xf1\x04\n\x11ReachPlanAgeRange\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x0f\x41GE_RANGE_18_24\x10\xd9\xd9\x1e\x12\x13\n\x0f\x41GE_RANGE_18_34\x10\x02\x12\x13\n\x0f\x41GE_RANGE_18_44\x10\x03\x12\x13\n\x0f\x41GE_RANGE_18_49\x10\x04\x12\x13\n\x0f\x41GE_RANGE_18_54\x10\x05\x12\x13\n\x0f\x41GE_RANGE_18_64\x10\x06\x12\x16\n\x12\x41GE_RANGE_18_65_UP\x10\x07\x12\x13\n\x0f\x41GE_RANGE_21_34\x10\x08\x12\x15\n\x0f\x41GE_RANGE_25_34\x10\xda\xd9\x1e\x12\x13\n\x0f\x41GE_RANGE_25_44\x10\t\x12\x13\n\x0f\x41GE_RANGE_25_49\x10\n\x12\x13\n\x0f\x41GE_RANGE_25_54\x10\x0b\x12\x13\n\x0f\x41GE_RANGE_25_64\x10\x0c\x12\x16\n\x12\x41GE_RANGE_25_65_UP\x10\r\x12\x15\n\x0f\x41GE_RANGE_35_44\x10\xdb\xd9\x1e\x12\x13\n\x0f\x41GE_RANGE_35_49\x10\x0e\x12\x13\n\x0f\x41GE_RANGE_35_54\x10\x0f\x12\x13\n\x0f\x41GE_RANGE_35_64\x10\x10\x12\x16\n\x12\x41GE_RANGE_35_65_UP\x10\x11\x12\x15\n\x0f\x41GE_RANGE_45_54\x10\xdc\xd9\x1e\x12\x13\n\x0f\x41GE_RANGE_45_64\x10\x12\x12\x16\n\x12\x41GE_RANGE_45_65_UP\x10\x13\x12\x16\n\x12\x41GE_RANGE_50_65_UP\x10\x14\x12\x15\n\x0f\x41GE_RANGE_55_64\x10\xdd\xd9\x1e\x12\x16\n\x12\x41GE_RANGE_55_65_UP\x10\x15\x12\x15\n\x0f\x41GE_RANGE_65_UP\x10\xde\xd9\x1e\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16ReachPlanAgeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANAGERANGEENUM_REACHPLANAGERANGE = _descriptor.EnumDescriptor( + name='ReachPlanAgeRange', + full_name='google.ads.googleads.v4.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_24', index=2, number=503001, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_34', index=3, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_44', index=4, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_49', index=5, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_54', index=6, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_64', index=7, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_18_65_UP', index=8, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_21_34', index=9, number=8, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_34', index=10, number=503002, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_44', index=11, number=9, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_49', index=12, number=10, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_54', index=13, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_64', index=14, number=12, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_25_65_UP', index=15, number=13, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_44', index=16, number=503003, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_49', index=17, number=14, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_54', index=18, number=15, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_64', index=19, number=16, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_35_65_UP', index=20, number=17, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_54', index=21, number=503004, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_64', index=22, number=18, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_45_65_UP', index=23, number=19, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_50_65_UP', index=24, number=20, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_55_64', index=25, number=503005, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_55_65_UP', index=26, number=21, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AGE_RANGE_65_UP', index=27, number=503006, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=154, + serialized_end=779, +) +_sym_db.RegisterEnumDescriptor(_REACHPLANAGERANGEENUM_REACHPLANAGERANGE) + + +_REACHPLANAGERANGEENUM = _descriptor.Descriptor( + name='ReachPlanAgeRangeEnum', + full_name='google.ads.googleads.v4.enums.ReachPlanAgeRangeEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _REACHPLANAGERANGEENUM_REACHPLANAGERANGE, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=779, +) + +_REACHPLANAGERANGEENUM_REACHPLANAGERANGE.containing_type = _REACHPLANAGERANGEENUM +DESCRIPTOR.message_types_by_name['ReachPlanAgeRangeEnum'] = _REACHPLANAGERANGEENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ReachPlanAgeRangeEnum = _reflection.GeneratedProtocolMessageType('ReachPlanAgeRangeEnum', (_message.Message,), dict( + DESCRIPTOR = _REACHPLANAGERANGEENUM, + __module__ = 'google.ads.googleads_v4.proto.enums.reach_plan_age_range_pb2' + , + __doc__ = """Message describing plannable age ranges. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.ReachPlanAgeRangeEnum) + )) +_sym_db.RegisterMessage(ReachPlanAgeRangeEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/enums/time_type_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/time_type_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/reach_plan_age_range_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/enums/reach_plan_network_pb2.py b/google/ads/google_ads/v4/proto/enums/reach_plan_network_pb2.py new file mode 100644 index 000000000..8a3e16b42 --- /dev/null +++ b/google/ads/google_ads/v4/proto/enums/reach_plan_network_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/enums/reach_plan_network.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/enums/reach_plan_network.proto', + package='google.ads.googleads.v4.enums', + syntax='proto3', + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\025ReachPlanNetworkProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n\n\x08TimeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03NOW\x10\x02\x12\x0b\n\x07\x46OREVER\x10\x03\x42\xe2\x01\n!com.google.ads.googleads.v1.enumsB\rTimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\rTimeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/enums/time_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"N\n\x0cTimeTypeEnum\">\n\x08TimeType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03NOW\x10\x02\x12\x0b\n\x07\x46OREVER\x10\x03\x42\xe2\x01\n!com.google.ads.googleads.v4.enumsB\rTimeTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _TIMETYPEENUM_TIMETYPE = _descriptor.EnumDescriptor( name='TimeType', - full_name='google.ads.googleads.v1.enums.TimeTypeEnum.TimeType', + full_name='google.ads.googleads.v4.enums.TimeTypeEnum.TimeType', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _TIMETYPEENUM = _descriptor.Descriptor( name='TimeTypeEnum', - full_name='google.ads.googleads.v1.enums.TimeTypeEnum', + full_name='google.ads.googleads.v4.enums.TimeTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ TimeTypeEnum = _reflection.GeneratedProtocolMessageType('TimeTypeEnum', (_message.Message,), dict( DESCRIPTOR = _TIMETYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.time_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.time_type_pb2' , __doc__ = """Message describing time types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.TimeTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.TimeTypeEnum) )) _sym_db.RegisterMessage(TimeTypeEnum) diff --git a/google/ads/google_ads/v1/proto/enums/webpage_condition_operator_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/time_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/enums/webpage_condition_operator_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/time_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/tracking_code_page_format_pb2.py b/google/ads/google_ads/v4/proto/enums/tracking_code_page_format_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/enums/tracking_code_page_format_pb2.py rename to google/ads/google_ads/v4/proto/enums/tracking_code_page_format_pb2.py index b3fd40af5..749c0ff63 100644 --- a/google/ads/google_ads/v1/proto/enums/tracking_code_page_format_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/tracking_code_page_format_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/tracking_code_page_format.proto +# source: google/ads/googleads_v4/proto/enums/tracking_code_page_format.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/tracking_code_page_format.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/tracking_code_page_format.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\033TrackingCodePageFormatProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/enums/tracking_code_page_format.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"g\n\x1aTrackingCodePageFormatEnum\"I\n\x16TrackingCodePageFormat\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04HTML\x10\x02\x12\x07\n\x03\x41MP\x10\x03\x42\xf0\x01\n!com.google.ads.googleads.v1.enumsB\x1bTrackingCodePageFormatProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\033TrackingCodePageFormatProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/enums/tracking_code_page_format.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"g\n\x1aTrackingCodePageFormatEnum\"I\n\x16TrackingCodePageFormat\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x08\n\x04HTML\x10\x02\x12\x07\n\x03\x41MP\x10\x03\x42\xf0\x01\n!com.google.ads.googleads.v4.enumsB\x1bTrackingCodePageFormatProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _TRACKINGCODEPAGEFORMATENUM_TRACKINGCODEPAGEFORMAT = _descriptor.EnumDescriptor( name='TrackingCodePageFormat', - full_name='google.ads.googleads.v1.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat', + full_name='google.ads.googleads.v4.enums.TrackingCodePageFormatEnum.TrackingCodePageFormat', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _TRACKINGCODEPAGEFORMATENUM = _descriptor.Descriptor( name='TrackingCodePageFormatEnum', - full_name='google.ads.googleads.v1.enums.TrackingCodePageFormatEnum', + full_name='google.ads.googleads.v4.enums.TrackingCodePageFormatEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ TrackingCodePageFormatEnum = _reflection.GeneratedProtocolMessageType('TrackingCodePageFormatEnum', (_message.Message,), dict( DESCRIPTOR = _TRACKINGCODEPAGEFORMATENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.tracking_code_page_format_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.tracking_code_page_format_pb2' , __doc__ = """Container for enum describing the format of the web page where the tracking tag and snippet will be installed. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.TrackingCodePageFormatEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.TrackingCodePageFormatEnum) )) _sym_db.RegisterMessage(TrackingCodePageFormatEnum) diff --git a/google/ads/google_ads/v1/proto/errors/account_budget_proposal_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/tracking_code_page_format_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/account_budget_proposal_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/tracking_code_page_format_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/tracking_code_type_pb2.py b/google/ads/google_ads/v4/proto/enums/tracking_code_type_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/enums/tracking_code_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/tracking_code_type_pb2.py index b4fab48cb..15df8ae5d 100644 --- a/google/ads/google_ads/v1/proto/enums/tracking_code_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/tracking_code_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/tracking_code_type.proto +# source: google/ads/googleads_v4/proto/enums/tracking_code_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/tracking_code_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/tracking_code_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025TrackingCodeTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/user_list_size_range.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x94\x05\n\x15UserListSizeRangeEnum\"\xfa\x04\n\x11UserListSizeRange\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16LESS_THAN_FIVE_HUNDRED\x10\x02\x12\x1a\n\x16LESS_THAN_ONE_THOUSAND\x10\x03\x12 \n\x1cONE_THOUSAND_TO_TEN_THOUSAND\x10\x04\x12\"\n\x1eTEN_THOUSAND_TO_FIFTY_THOUSAND\x10\x05\x12*\n&FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND\x10\x06\x12\x32\n.ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND\x10\x07\x12\x33\n/THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND\x10\x08\x12(\n$FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION\x10\t\x12\x1e\n\x1aONE_MILLION_TO_TWO_MILLION\x10\n\x12 \n\x1cTWO_MILLION_TO_THREE_MILLION\x10\x0b\x12!\n\x1dTHREE_MILLION_TO_FIVE_MILLION\x10\x0c\x12\x1f\n\x1b\x46IVE_MILLION_TO_TEN_MILLION\x10\r\x12!\n\x1dTEN_MILLION_TO_TWENTY_MILLION\x10\x0e\x12$\n TWENTY_MILLION_TO_THIRTY_MILLION\x10\x0f\x12#\n\x1fTHIRTY_MILLION_TO_FIFTY_MILLION\x10\x10\x12\x16\n\x12OVER_FIFTY_MILLION\x10\x11\x42\xeb\x01\n!com.google.ads.googleads.v1.enumsB\x16UserListSizeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\026UserListSizeRangeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/enums/user_list_size_range.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x94\x05\n\x15UserListSizeRangeEnum\"\xfa\x04\n\x11UserListSizeRange\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16LESS_THAN_FIVE_HUNDRED\x10\x02\x12\x1a\n\x16LESS_THAN_ONE_THOUSAND\x10\x03\x12 \n\x1cONE_THOUSAND_TO_TEN_THOUSAND\x10\x04\x12\"\n\x1eTEN_THOUSAND_TO_FIFTY_THOUSAND\x10\x05\x12*\n&FIFTY_THOUSAND_TO_ONE_HUNDRED_THOUSAND\x10\x06\x12\x32\n.ONE_HUNDRED_THOUSAND_TO_THREE_HUNDRED_THOUSAND\x10\x07\x12\x33\n/THREE_HUNDRED_THOUSAND_TO_FIVE_HUNDRED_THOUSAND\x10\x08\x12(\n$FIVE_HUNDRED_THOUSAND_TO_ONE_MILLION\x10\t\x12\x1e\n\x1aONE_MILLION_TO_TWO_MILLION\x10\n\x12 \n\x1cTWO_MILLION_TO_THREE_MILLION\x10\x0b\x12!\n\x1dTHREE_MILLION_TO_FIVE_MILLION\x10\x0c\x12\x1f\n\x1b\x46IVE_MILLION_TO_TEN_MILLION\x10\r\x12!\n\x1dTEN_MILLION_TO_TWENTY_MILLION\x10\x0e\x12$\n TWENTY_MILLION_TO_THIRTY_MILLION\x10\x0f\x12#\n\x1fTHIRTY_MILLION_TO_FIFTY_MILLION\x10\x10\x12\x16\n\x12OVER_FIFTY_MILLION\x10\x11\x42\xeb\x01\n!com.google.ads.googleads.v4.enumsB\x16UserListSizeRangeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _USERLISTSIZERANGEENUM_USERLISTSIZERANGE = _descriptor.EnumDescriptor( name='UserListSizeRange', - full_name='google.ads.googleads.v1.enums.UserListSizeRangeEnum.UserListSizeRange', + full_name='google.ads.googleads.v4.enums.UserListSizeRangeEnum.UserListSizeRange', filename=None, file=DESCRIPTOR, values=[ @@ -116,7 +116,7 @@ _USERLISTSIZERANGEENUM = _descriptor.Descriptor( name='UserListSizeRangeEnum', - full_name='google.ads.googleads.v1.enums.UserListSizeRangeEnum', + full_name='google.ads.googleads.v4.enums.UserListSizeRangeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -144,11 +144,11 @@ UserListSizeRangeEnum = _reflection.GeneratedProtocolMessageType('UserListSizeRangeEnum', (_message.Message,), dict( DESCRIPTOR = _USERLISTSIZERANGEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.user_list_size_range_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.user_list_size_range_pb2' , __doc__ = """Size range in terms of number of users of a UserList. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.UserListSizeRangeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.UserListSizeRangeEnum) )) _sym_db.RegisterMessage(UserListSizeRangeEnum) diff --git a/google/ads/google_ads/v1/proto/errors/bidding_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/user_list_size_range_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/bidding_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/user_list_size_range_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/user_list_string_rule_item_operator_pb2.py b/google/ads/google_ads/v4/proto/enums/user_list_string_rule_item_operator_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/enums/user_list_string_rule_item_operator_pb2.py rename to google/ads/google_ads/v4/proto/enums/user_list_string_rule_item_operator_pb2.py index 0d517b44d..e3df679f8 100644 --- a/google/ads/google_ads/v1/proto/enums/user_list_string_rule_item_operator_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/user_list_string_rule_item_operator_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/user_list_string_rule_item_operator.proto +# source: google/ads/googleads_v4/proto/enums/user_list_string_rule_item_operator.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/user_list_string_rule_item_operator.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/user_list_string_rule_item_operator.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB#UserListStringRuleItemOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nMgoogle/ads/googleads_v1/proto/enums/user_list_string_rule_item_operator.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xe9\x01\n\"UserListStringRuleItemOperatorEnum\"\xc2\x01\n\x1eUserListStringRuleItemOperator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x12\n\n\x06\x45QUALS\x10\x03\x12\x0f\n\x0bSTARTS_WITH\x10\x04\x12\r\n\tENDS_WITH\x10\x05\x12\x0e\n\nNOT_EQUALS\x10\x06\x12\x10\n\x0cNOT_CONTAINS\x10\x07\x12\x13\n\x0fNOT_STARTS_WITH\x10\x08\x12\x11\n\rNOT_ENDS_WITH\x10\tB\xf8\x01\n!com.google.ads.googleads.v1.enumsB#UserListStringRuleItemOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB#UserListStringRuleItemOperatorProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nMgoogle/ads/googleads_v4/proto/enums/user_list_string_rule_item_operator.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xe9\x01\n\"UserListStringRuleItemOperatorEnum\"\xc2\x01\n\x1eUserListStringRuleItemOperator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08\x43ONTAINS\x10\x02\x12\n\n\x06\x45QUALS\x10\x03\x12\x0f\n\x0bSTARTS_WITH\x10\x04\x12\r\n\tENDS_WITH\x10\x05\x12\x0e\n\nNOT_EQUALS\x10\x06\x12\x10\n\x0cNOT_CONTAINS\x10\x07\x12\x13\n\x0fNOT_STARTS_WITH\x10\x08\x12\x11\n\rNOT_ENDS_WITH\x10\tB\xf8\x01\n!com.google.ads.googleads.v4.enumsB#UserListStringRuleItemOperatorProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _USERLISTSTRINGRULEITEMOPERATORENUM_USERLISTSTRINGRULEITEMOPERATOR = _descriptor.EnumDescriptor( name='UserListStringRuleItemOperator', - full_name='google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator', + full_name='google.ads.googleads.v4.enums.UserListStringRuleItemOperatorEnum.UserListStringRuleItemOperator', filename=None, file=DESCRIPTOR, values=[ @@ -84,7 +84,7 @@ _USERLISTSTRINGRULEITEMOPERATORENUM = _descriptor.Descriptor( name='UserListStringRuleItemOperatorEnum', - full_name='google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum', + full_name='google.ads.googleads.v4.enums.UserListStringRuleItemOperatorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -112,11 +112,11 @@ UserListStringRuleItemOperatorEnum = _reflection.GeneratedProtocolMessageType('UserListStringRuleItemOperatorEnum', (_message.Message,), dict( DESCRIPTOR = _USERLISTSTRINGRULEITEMOPERATORENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.user_list_string_rule_item_operator_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.user_list_string_rule_item_operator_pb2' , __doc__ = """Supported rule operator for string type. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.UserListStringRuleItemOperatorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.UserListStringRuleItemOperatorEnum) )) _sym_db.RegisterMessage(UserListStringRuleItemOperatorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/bidding_strategy_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/bidding_strategy_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/user_list_string_rule_item_operator_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/user_list_type_pb2.py b/google/ads/google_ads/v4/proto/enums/user_list_type_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/enums/user_list_type_pb2.py rename to google/ads/google_ads/v4/proto/enums/user_list_type_pb2.py index 584fa41f6..c11b5a031 100644 --- a/google/ads/google_ads/v1/proto/enums/user_list_type_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/user_list_type_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/user_list_type.proto +# source: google/ads/googleads_v4/proto/enums/user_list_type.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/user_list_type.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/user_list_type.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\021UserListTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/enums/user_list_type.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\xa5\x01\n\x10UserListTypeEnum\"\x90\x01\n\x0cUserListType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bREMARKETING\x10\x02\x12\x0b\n\x07LOGICAL\x10\x03\x12\x18\n\x14\x45XTERNAL_REMARKETING\x10\x04\x12\x0e\n\nRULE_BASED\x10\x05\x12\x0b\n\x07SIMILAR\x10\x06\x12\r\n\tCRM_BASED\x10\x07\x42\xe6\x01\n!com.google.ads.googleads.v1.enumsB\x11UserListTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\021UserListTypeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/enums/user_list_type.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\xa5\x01\n\x10UserListTypeEnum\"\x90\x01\n\x0cUserListType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bREMARKETING\x10\x02\x12\x0b\n\x07LOGICAL\x10\x03\x12\x18\n\x14\x45XTERNAL_REMARKETING\x10\x04\x12\x0e\n\nRULE_BASED\x10\x05\x12\x0b\n\x07SIMILAR\x10\x06\x12\r\n\tCRM_BASED\x10\x07\x42\xe6\x01\n!com.google.ads.googleads.v4.enumsB\x11UserListTypeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _USERLISTTYPEENUM_USERLISTTYPE = _descriptor.EnumDescriptor( name='UserListType', - full_name='google.ads.googleads.v1.enums.UserListTypeEnum.UserListType', + full_name='google.ads.googleads.v4.enums.UserListTypeEnum.UserListType', filename=None, file=DESCRIPTOR, values=[ @@ -76,7 +76,7 @@ _USERLISTTYPEENUM = _descriptor.Descriptor( name='UserListTypeEnum', - full_name='google.ads.googleads.v1.enums.UserListTypeEnum', + full_name='google.ads.googleads.v4.enums.UserListTypeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -104,11 +104,11 @@ UserListTypeEnum = _reflection.GeneratedProtocolMessageType('UserListTypeEnum', (_message.Message,), dict( DESCRIPTOR = _USERLISTTYPEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.user_list_type_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.user_list_type_pb2' , __doc__ = """The user list types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.UserListTypeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.UserListTypeEnum) )) _sym_db.RegisterMessage(UserListTypeEnum) diff --git a/google/ads/google_ads/v1/proto/errors/billing_setup_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/user_list_type_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/billing_setup_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/user_list_type_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/vanity_pharma_display_url_mode_pb2.py b/google/ads/google_ads/v4/proto/enums/vanity_pharma_display_url_mode_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/enums/vanity_pharma_display_url_mode_pb2.py rename to google/ads/google_ads/v4/proto/enums/vanity_pharma_display_url_mode_pb2.py index 7c1f1a652..4c6819722 100644 --- a/google/ads/google_ads/v1/proto/enums/vanity_pharma_display_url_mode_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/vanity_pharma_display_url_mode_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/vanity_pharma_display_url_mode.proto +# source: google/ads/googleads_v4/proto/enums/vanity_pharma_display_url_mode.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/vanity_pharma_display_url_mode.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/vanity_pharma_display_url_mode.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\037VanityPharmaDisplayUrlModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/enums/vanity_pharma_display_url_mode.proto\x12\x1dgoogle.ads.googleads.v1.enums\x1a\x1cgoogle/api/annotations.proto\"\x93\x01\n\x1eVanityPharmaDisplayUrlModeEnum\"q\n\x1aVanityPharmaDisplayUrlMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18MANUFACTURER_WEBSITE_URL\x10\x02\x12\x17\n\x13WEBSITE_DESCRIPTION\x10\x03\x42\xf4\x01\n!com.google.ads.googleads.v1.enumsB\x1fVanityPharmaDisplayUrlModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V1.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V1\\Enums\xea\x02!Google::Ads::GoogleAds::V1::Enumsb\x06proto3') + serialized_options=_b('\n!com.google.ads.googleads.v4.enumsB\037VanityPharmaDisplayUrlModeProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V4.Enums\312\002\035Google\\Ads\\GoogleAds\\V4\\Enums\352\002!Google::Ads::GoogleAds::V4::Enums'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/enums/vanity_pharma_display_url_mode.proto\x12\x1dgoogle.ads.googleads.v4.enums\x1a\x1cgoogle/api/annotations.proto\"\x93\x01\n\x1eVanityPharmaDisplayUrlModeEnum\"q\n\x1aVanityPharmaDisplayUrlMode\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18MANUFACTURER_WEBSITE_URL\x10\x02\x12\x17\n\x13WEBSITE_DESCRIPTION\x10\x03\x42\xf4\x01\n!com.google.ads.googleads.v4.enumsB\x1fVanityPharmaDisplayUrlModeProtoP\x01ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v4/enums;enums\xa2\x02\x03GAA\xaa\x02\x1dGoogle.Ads.GoogleAds.V4.Enums\xca\x02\x1dGoogle\\Ads\\GoogleAds\\V4\\Enums\xea\x02!Google::Ads::GoogleAds::V4::Enumsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE = _descriptor.EnumDescriptor( name='VanityPharmaDisplayUrlMode', - full_name='google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode', + full_name='google.ads.googleads.v4.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _VANITYPHARMADISPLAYURLMODEENUM = _descriptor.Descriptor( name='VanityPharmaDisplayUrlModeEnum', - full_name='google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum', + full_name='google.ads.googleads.v4.enums.VanityPharmaDisplayUrlModeEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ VanityPharmaDisplayUrlModeEnum = _reflection.GeneratedProtocolMessageType('VanityPharmaDisplayUrlModeEnum', (_message.Message,), dict( DESCRIPTOR = _VANITYPHARMADISPLAYURLMODEENUM, - __module__ = 'google.ads.googleads_v1.proto.enums.vanity_pharma_display_url_mode_pb2' + __module__ = 'google.ads.googleads_v4.proto.enums.vanity_pharma_display_url_mode_pb2' , __doc__ = """The display mode for vanity pharma URLs. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.enums.VanityPharmaDisplayUrlModeEnum) )) _sym_db.RegisterMessage(VanityPharmaDisplayUrlModeEnum) diff --git a/google/ads/google_ads/v1/proto/errors/campaign_budget_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/campaign_budget_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/enums/vanity_pharma_display_url_mode_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/enums/vanity_pharma_text_pb2.py b/google/ads/google_ads/v4/proto/enums/vanity_pharma_text_pb2.py similarity index 82% rename from google/ads/google_ads/v1/proto/enums/vanity_pharma_text_pb2.py rename to google/ads/google_ads/v4/proto/enums/vanity_pharma_text_pb2.py index 8b13d8898..4a6a65b4a 100644 --- a/google/ads/google_ads/v1/proto/enums/vanity_pharma_text_pb2.py +++ b/google/ads/google_ads/v4/proto/enums/vanity_pharma_text_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/enums/vanity_pharma_text.proto +# source: google/ads/googleads_v4/proto/enums/vanity_pharma_text.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/enums/vanity_pharma_text.proto', - package='google.ads.googleads.v1.enums', + name='google/ads/googleads_v4/proto/enums/vanity_pharma_text.proto', + package='google.ads.googleads.v4.enums', syntax='proto3', - serialized_options=_b('\n!com.google.ads.googleads.v1.enumsB\025VanityPharmaTextProtoP\001ZBgoogle.golang.org/genproto/googleapis/ads/googleads/v1/enums;enums\242\002\003GAA\252\002\035Google.Ads.GoogleAds.V1.Enums\312\002\035Google\\Ads\\GoogleAds\\V1\\Enums\352\002!Google::Ads::GoogleAds::V1::Enums'), - serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/errors/ad_customizer_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xe8\x01\n\x15\x41\x64\x43ustomizerErrorEnum\"\xce\x01\n\x11\x41\x64\x43ustomizerError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43OUNTDOWN_INVALID_DATE_FORMAT\x10\x02\x12\x1a\n\x16\x43OUNTDOWN_DATE_IN_PAST\x10\x03\x12\x1c\n\x18\x43OUNTDOWN_INVALID_LOCALE\x10\x04\x12\'\n#COUNTDOWN_INVALID_START_DAYS_BEFORE\x10\x05\x12\x15\n\x11UNKNOWN_USER_LIST\x10\x06\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16\x41\x64\x43ustomizerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026AdCustomizerErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/ad_customizer_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xe8\x01\n\x15\x41\x64\x43ustomizerErrorEnum\"\xce\x01\n\x11\x41\x64\x43ustomizerError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43OUNTDOWN_INVALID_DATE_FORMAT\x10\x02\x12\x1a\n\x16\x43OUNTDOWN_DATE_IN_PAST\x10\x03\x12\x1c\n\x18\x43OUNTDOWN_INVALID_LOCALE\x10\x04\x12\'\n#COUNTDOWN_INVALID_START_DAYS_BEFORE\x10\x05\x12\x15\n\x11UNKNOWN_USER_LIST\x10\x06\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x41\x64\x43ustomizerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR = _descriptor.EnumDescriptor( name='AdCustomizerError', - full_name='google.ads.googleads.v1.errors.AdCustomizerErrorEnum.AdCustomizerError', + full_name='google.ads.googleads.v4.errors.AdCustomizerErrorEnum.AdCustomizerError', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _ADCUSTOMIZERERRORENUM = _descriptor.Descriptor( name='AdCustomizerErrorEnum', - full_name='google.ads.googleads.v1.errors.AdCustomizerErrorEnum', + full_name='google.ads.googleads.v4.errors.AdCustomizerErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ AdCustomizerErrorEnum = _reflection.GeneratedProtocolMessageType('AdCustomizerErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADCUSTOMIZERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_customizer_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_customizer_error_pb2' , __doc__ = """Container for enum describing possible ad customizer errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdCustomizerErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdCustomizerErrorEnum) )) _sym_db.RegisterMessage(AdCustomizerErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/change_status_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_customizer_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/change_status_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_customizer_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/ad_error_pb2.py b/google/ads/google_ads/v4/proto/errors/ad_error_pb2.py similarity index 85% rename from google/ads/google_ads/v1/proto/errors/ad_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/ad_error_pb2.py index 56751d676..881806b76 100644 --- a/google/ads/google_ads/v1/proto/errors/ad_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/ad_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/ad_error.proto +# source: google/ads/googleads_v4/proto/errors/ad_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/ad_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/ad_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\014AdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n3google/ads/googleads_v1/proto/errors/ad_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xf0 \n\x0b\x41\x64\x45rrorEnum\"\xe0 \n\x07\x41\x64\x45rror\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE\x10\x02\x12\x1a\n\x16\x41PPROXIMATELY_TOO_LONG\x10\x03\x12\x1b\n\x17\x41PPROXIMATELY_TOO_SHORT\x10\x04\x12\x0f\n\x0b\x42\x41\x44_SNIPPET\x10\x05\x12\x14\n\x10\x43\x41NNOT_MODIFY_AD\x10\x06\x12\'\n#CANNOT_SET_BUSINESS_NAME_IF_URL_SET\x10\x07\x12\x14\n\x10\x43\x41NNOT_SET_FIELD\x10\x08\x12*\n&CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET\x10\t\x12/\n+CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING\x10\n\x12)\n%CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE\x10\x0b\x12\x37\n3CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING\x10\x0c\x12\x12\n\x0e\x43\x41NNOT_SET_URL\x10\r\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10\x0e\x12\x1e\n\x1a\x43\x41NNOT_SET_WITH_FINAL_URLS\x10\x0f\x12\x1c\n\x18\x43\x41NNOT_SET_WITH_URL_DATA\x10\x11\x12\'\n#CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR\x10\x12\x12#\n\x1f\x43USTOMER_NOT_APPROVED_MOBILEADS\x10\x13\x12(\n$CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS\x10\x14\x12\x31\n-CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS\x10\x15\x12\x19\n\x15\x43USTOMER_NOT_ELIGIBLE\x10\x16\x12\x31\n-CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL\x10\x17\x12\x1e\n\x1a\x44IMENSION_ALREADY_IN_UNION\x10\x18\x12\x19\n\x15\x44IMENSION_MUST_BE_SET\x10\x19\x12\x1a\n\x16\x44IMENSION_NOT_IN_UNION\x10\x1a\x12#\n\x1f\x44ISPLAY_URL_CANNOT_BE_SPECIFIED\x10\x1b\x12 \n\x1c\x44OMESTIC_PHONE_NUMBER_FORMAT\x10\x1c\x12\x1a\n\x16\x45MERGENCY_PHONE_NUMBER\x10\x1d\x12\x0f\n\x0b\x45MPTY_FIELD\x10\x1e\x12\x30\n,FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID\x10\x1f\x12(\n$FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH\x10 \x12!\n\x1dILLEGAL_AD_CUSTOMIZER_TAG_USE\x10!\x12\x13\n\x0fILLEGAL_TAG_USE\x10\"\x12\x1b\n\x17INCONSISTENT_DIMENSIONS\x10#\x12)\n%INCONSISTENT_STATUS_IN_TEMPLATE_UNION\x10$\x12\x14\n\x10INCORRECT_LENGTH\x10%\x12\x1a\n\x16INELIGIBLE_FOR_UPGRADE\x10&\x12&\n\"INVALID_AD_ADDRESS_CAMPAIGN_TARGET\x10\'\x12\x13\n\x0fINVALID_AD_TYPE\x10(\x12\'\n#INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE\x10)\x12&\n\"INVALID_ATTRIBUTES_FOR_MOBILE_TEXT\x10*\x12\x1f\n\x1bINVALID_CALL_TO_ACTION_TEXT\x10+\x12\x1d\n\x19INVALID_CHARACTER_FOR_URL\x10,\x12\x18\n\x14INVALID_COUNTRY_CODE\x10-\x12*\n&INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG\x10/\x12\x11\n\rINVALID_INPUT\x10\x30\x12\x1b\n\x17INVALID_MARKUP_LANGUAGE\x10\x31\x12\x1a\n\x16INVALID_MOBILE_CARRIER\x10\x32\x12!\n\x1dINVALID_MOBILE_CARRIER_TARGET\x10\x33\x12\x1e\n\x1aINVALID_NUMBER_OF_ELEMENTS\x10\x34\x12\x1f\n\x1bINVALID_PHONE_NUMBER_FORMAT\x10\x35\x12\x31\n-INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID\x10\x36\x12\x19\n\x15INVALID_TEMPLATE_DATA\x10\x37\x12\'\n#INVALID_TEMPLATE_ELEMENT_FIELD_TYPE\x10\x38\x12\x17\n\x13INVALID_TEMPLATE_ID\x10\x39\x12\x11\n\rLINE_TOO_WIDE\x10:\x12!\n\x1dMISSING_AD_CUSTOMIZER_MAPPING\x10;\x12\x1d\n\x19MISSING_ADDRESS_COMPONENT\x10<\x12\x1e\n\x1aMISSING_ADVERTISEMENT_NAME\x10=\x12\x19\n\x15MISSING_BUSINESS_NAME\x10>\x12\x18\n\x14MISSING_DESCRIPTION1\x10?\x12\x18\n\x14MISSING_DESCRIPTION2\x10@\x12\x1f\n\x1bMISSING_DESTINATION_URL_TAG\x10\x41\x12 \n\x1cMISSING_LANDING_PAGE_URL_TAG\x10\x42\x12\x15\n\x11MISSING_DIMENSION\x10\x43\x12\x17\n\x13MISSING_DISPLAY_URL\x10\x44\x12\x14\n\x10MISSING_HEADLINE\x10\x45\x12\x12\n\x0eMISSING_HEIGHT\x10\x46\x12\x11\n\rMISSING_IMAGE\x10G\x12-\n)MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS\x10H\x12\x1c\n\x18MISSING_MARKUP_LANGUAGES\x10I\x12\x1a\n\x16MISSING_MOBILE_CARRIER\x10J\x12\x11\n\rMISSING_PHONE\x10K\x12$\n MISSING_REQUIRED_TEMPLATE_FIELDS\x10L\x12 \n\x1cMISSING_TEMPLATE_FIELD_VALUE\x10M\x12\x10\n\x0cMISSING_TEXT\x10N\x12\x17\n\x13MISSING_VISIBLE_URL\x10O\x12\x11\n\rMISSING_WIDTH\x10P\x12\'\n#MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED\x10Q\x12$\n MUST_USE_TEMP_AD_UNION_ID_ON_ADD\x10R\x12\x0c\n\x08TOO_LONG\x10S\x12\r\n\tTOO_SHORT\x10T\x12\"\n\x1eUNION_DIMENSIONS_CANNOT_CHANGE\x10U\x12\x1d\n\x19UNKNOWN_ADDRESS_COMPONENT\x10V\x12\x16\n\x12UNKNOWN_FIELD_NAME\x10W\x12\x17\n\x13UNKNOWN_UNIQUE_NAME\x10X\x12\x1a\n\x16UNSUPPORTED_DIMENSIONS\x10Y\x12\x16\n\x12URL_INVALID_SCHEME\x10Z\x12 \n\x1cURL_INVALID_TOP_LEVEL_DOMAIN\x10[\x12\x11\n\rURL_MALFORMED\x10\\\x12\x0f\n\x0bURL_NO_HOST\x10]\x12\x16\n\x12URL_NOT_EQUIVALENT\x10^\x12\x1a\n\x16URL_HOST_NAME_TOO_LONG\x10_\x12\x11\n\rURL_NO_SCHEME\x10`\x12\x1b\n\x17URL_NO_TOP_LEVEL_DOMAIN\x10\x61\x12\x18\n\x14URL_PATH_NOT_ALLOWED\x10\x62\x12\x18\n\x14URL_PORT_NOT_ALLOWED\x10\x63\x12\x19\n\x15URL_QUERY_NOT_ALLOWED\x10\x64\x12\x34\n0URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG\x10\x66\x12)\n%USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE\x10g\x12$\n INCONSISTENT_EXPANDABLE_SETTINGS\x10h\x12\x12\n\x0eINVALID_FORMAT\x10i\x12\x16\n\x12INVALID_FIELD_TEXT\x10j\x12\x17\n\x13\x45LEMENT_NOT_PRESENT\x10k\x12\x0f\n\x0bIMAGE_ERROR\x10l\x12\x16\n\x12VALUE_NOT_IN_RANGE\x10m\x12\x15\n\x11\x46IELD_NOT_PRESENT\x10n\x12\x18\n\x14\x41\x44\x44RESS_NOT_COMPLETE\x10o\x12\x13\n\x0f\x41\x44\x44RESS_INVALID\x10p\x12\x19\n\x15VIDEO_RETRIEVAL_ERROR\x10q\x12\x0f\n\x0b\x41UDIO_ERROR\x10r\x12\x1f\n\x1bINVALID_YOUTUBE_DISPLAY_URL\x10s\x12\x1b\n\x17TOO_MANY_PRODUCT_IMAGES\x10t\x12\x1b\n\x17TOO_MANY_PRODUCT_VIDEOS\x10u\x12.\n*INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE\x10v\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10w\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10x\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10y\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10z\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10{\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10|\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10}\x12#\n\x1fINVALID_CALL_CONVERSION_TYPE_ID\x10~\x12=\n9CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID\x10\x7f\x12#\n\x1e\x43\x41NNOT_SET_PATH2_WITHOUT_PATH1\x10\x80\x01\x12\x33\n.MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME\x10\x81\x01\x12\'\n\"INCOMPATIBLE_WITH_RESTRICTION_TYPE\x10\x82\x01\x12\x31\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x83\x01\x12\"\n\x1dMISSING_IMAGE_OR_MEDIA_BUNDLE\x10\x84\x01\x12\x30\n+PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN\x10\x85\x01\x42\xe7\x01\n\"com.google.ads.googleads.v1.errorsB\x0c\x41\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\014AdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/errors/ad_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xed%\n\x0b\x41\x64\x45rrorEnum\"\xdd%\n\x07\x41\x64\x45rror\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(AD_CUSTOMIZERS_NOT_SUPPORTED_FOR_AD_TYPE\x10\x02\x12\x1a\n\x16\x41PPROXIMATELY_TOO_LONG\x10\x03\x12\x1b\n\x17\x41PPROXIMATELY_TOO_SHORT\x10\x04\x12\x0f\n\x0b\x42\x41\x44_SNIPPET\x10\x05\x12\x14\n\x10\x43\x41NNOT_MODIFY_AD\x10\x06\x12\'\n#CANNOT_SET_BUSINESS_NAME_IF_URL_SET\x10\x07\x12\x14\n\x10\x43\x41NNOT_SET_FIELD\x10\x08\x12*\n&CANNOT_SET_FIELD_WITH_ORIGIN_AD_ID_SET\x10\t\x12/\n+CANNOT_SET_FIELD_WITH_AD_ID_SET_FOR_SHARING\x10\n\x12)\n%CANNOT_SET_ALLOW_FLEXIBLE_COLOR_FALSE\x10\x0b\x12\x37\n3CANNOT_SET_COLOR_CONTROL_WHEN_NATIVE_FORMAT_SETTING\x10\x0c\x12\x12\n\x0e\x43\x41NNOT_SET_URL\x10\r\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10\x0e\x12\x1e\n\x1a\x43\x41NNOT_SET_WITH_FINAL_URLS\x10\x0f\x12\x1c\n\x18\x43\x41NNOT_SET_WITH_URL_DATA\x10\x11\x12\'\n#CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR\x10\x12\x12#\n\x1f\x43USTOMER_NOT_APPROVED_MOBILEADS\x10\x13\x12(\n$CUSTOMER_NOT_APPROVED_THIRDPARTY_ADS\x10\x14\x12\x31\n-CUSTOMER_NOT_APPROVED_THIRDPARTY_REDIRECT_ADS\x10\x15\x12\x19\n\x15\x43USTOMER_NOT_ELIGIBLE\x10\x16\x12\x31\n-CUSTOMER_NOT_ELIGIBLE_FOR_UPDATING_BEACON_URL\x10\x17\x12\x1e\n\x1a\x44IMENSION_ALREADY_IN_UNION\x10\x18\x12\x19\n\x15\x44IMENSION_MUST_BE_SET\x10\x19\x12\x1a\n\x16\x44IMENSION_NOT_IN_UNION\x10\x1a\x12#\n\x1f\x44ISPLAY_URL_CANNOT_BE_SPECIFIED\x10\x1b\x12 \n\x1c\x44OMESTIC_PHONE_NUMBER_FORMAT\x10\x1c\x12\x1a\n\x16\x45MERGENCY_PHONE_NUMBER\x10\x1d\x12\x0f\n\x0b\x45MPTY_FIELD\x10\x1e\x12\x30\n,FEED_ATTRIBUTE_MUST_HAVE_MAPPING_FOR_TYPE_ID\x10\x1f\x12(\n$FEED_ATTRIBUTE_MAPPING_TYPE_MISMATCH\x10 \x12!\n\x1dILLEGAL_AD_CUSTOMIZER_TAG_USE\x10!\x12\x13\n\x0fILLEGAL_TAG_USE\x10\"\x12\x1b\n\x17INCONSISTENT_DIMENSIONS\x10#\x12)\n%INCONSISTENT_STATUS_IN_TEMPLATE_UNION\x10$\x12\x14\n\x10INCORRECT_LENGTH\x10%\x12\x1a\n\x16INELIGIBLE_FOR_UPGRADE\x10&\x12&\n\"INVALID_AD_ADDRESS_CAMPAIGN_TARGET\x10\'\x12\x13\n\x0fINVALID_AD_TYPE\x10(\x12\'\n#INVALID_ATTRIBUTES_FOR_MOBILE_IMAGE\x10)\x12&\n\"INVALID_ATTRIBUTES_FOR_MOBILE_TEXT\x10*\x12\x1f\n\x1bINVALID_CALL_TO_ACTION_TEXT\x10+\x12\x1d\n\x19INVALID_CHARACTER_FOR_URL\x10,\x12\x18\n\x14INVALID_COUNTRY_CODE\x10-\x12*\n&INVALID_EXPANDED_DYNAMIC_SEARCH_AD_TAG\x10/\x12\x11\n\rINVALID_INPUT\x10\x30\x12\x1b\n\x17INVALID_MARKUP_LANGUAGE\x10\x31\x12\x1a\n\x16INVALID_MOBILE_CARRIER\x10\x32\x12!\n\x1dINVALID_MOBILE_CARRIER_TARGET\x10\x33\x12\x1e\n\x1aINVALID_NUMBER_OF_ELEMENTS\x10\x34\x12\x1f\n\x1bINVALID_PHONE_NUMBER_FORMAT\x10\x35\x12\x31\n-INVALID_RICH_MEDIA_CERTIFIED_VENDOR_FORMAT_ID\x10\x36\x12\x19\n\x15INVALID_TEMPLATE_DATA\x10\x37\x12\'\n#INVALID_TEMPLATE_ELEMENT_FIELD_TYPE\x10\x38\x12\x17\n\x13INVALID_TEMPLATE_ID\x10\x39\x12\x11\n\rLINE_TOO_WIDE\x10:\x12!\n\x1dMISSING_AD_CUSTOMIZER_MAPPING\x10;\x12\x1d\n\x19MISSING_ADDRESS_COMPONENT\x10<\x12\x1e\n\x1aMISSING_ADVERTISEMENT_NAME\x10=\x12\x19\n\x15MISSING_BUSINESS_NAME\x10>\x12\x18\n\x14MISSING_DESCRIPTION1\x10?\x12\x18\n\x14MISSING_DESCRIPTION2\x10@\x12\x1f\n\x1bMISSING_DESTINATION_URL_TAG\x10\x41\x12 \n\x1cMISSING_LANDING_PAGE_URL_TAG\x10\x42\x12\x15\n\x11MISSING_DIMENSION\x10\x43\x12\x17\n\x13MISSING_DISPLAY_URL\x10\x44\x12\x14\n\x10MISSING_HEADLINE\x10\x45\x12\x12\n\x0eMISSING_HEIGHT\x10\x46\x12\x11\n\rMISSING_IMAGE\x10G\x12-\n)MISSING_MARKETING_IMAGE_OR_PRODUCT_VIDEOS\x10H\x12\x1c\n\x18MISSING_MARKUP_LANGUAGES\x10I\x12\x1a\n\x16MISSING_MOBILE_CARRIER\x10J\x12\x11\n\rMISSING_PHONE\x10K\x12$\n MISSING_REQUIRED_TEMPLATE_FIELDS\x10L\x12 \n\x1cMISSING_TEMPLATE_FIELD_VALUE\x10M\x12\x10\n\x0cMISSING_TEXT\x10N\x12\x17\n\x13MISSING_VISIBLE_URL\x10O\x12\x11\n\rMISSING_WIDTH\x10P\x12\'\n#MULTIPLE_DISTINCT_FEEDS_UNSUPPORTED\x10Q\x12$\n MUST_USE_TEMP_AD_UNION_ID_ON_ADD\x10R\x12\x0c\n\x08TOO_LONG\x10S\x12\r\n\tTOO_SHORT\x10T\x12\"\n\x1eUNION_DIMENSIONS_CANNOT_CHANGE\x10U\x12\x1d\n\x19UNKNOWN_ADDRESS_COMPONENT\x10V\x12\x16\n\x12UNKNOWN_FIELD_NAME\x10W\x12\x17\n\x13UNKNOWN_UNIQUE_NAME\x10X\x12\x1a\n\x16UNSUPPORTED_DIMENSIONS\x10Y\x12\x16\n\x12URL_INVALID_SCHEME\x10Z\x12 \n\x1cURL_INVALID_TOP_LEVEL_DOMAIN\x10[\x12\x11\n\rURL_MALFORMED\x10\\\x12\x0f\n\x0bURL_NO_HOST\x10]\x12\x16\n\x12URL_NOT_EQUIVALENT\x10^\x12\x1a\n\x16URL_HOST_NAME_TOO_LONG\x10_\x12\x11\n\rURL_NO_SCHEME\x10`\x12\x1b\n\x17URL_NO_TOP_LEVEL_DOMAIN\x10\x61\x12\x18\n\x14URL_PATH_NOT_ALLOWED\x10\x62\x12\x18\n\x14URL_PORT_NOT_ALLOWED\x10\x63\x12\x19\n\x15URL_QUERY_NOT_ALLOWED\x10\x64\x12\x34\n0URL_SCHEME_BEFORE_EXPANDED_DYNAMIC_SEARCH_AD_TAG\x10\x66\x12)\n%USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE\x10g\x12$\n INCONSISTENT_EXPANDABLE_SETTINGS\x10h\x12\x12\n\x0eINVALID_FORMAT\x10i\x12\x16\n\x12INVALID_FIELD_TEXT\x10j\x12\x17\n\x13\x45LEMENT_NOT_PRESENT\x10k\x12\x0f\n\x0bIMAGE_ERROR\x10l\x12\x16\n\x12VALUE_NOT_IN_RANGE\x10m\x12\x15\n\x11\x46IELD_NOT_PRESENT\x10n\x12\x18\n\x14\x41\x44\x44RESS_NOT_COMPLETE\x10o\x12\x13\n\x0f\x41\x44\x44RESS_INVALID\x10p\x12\x19\n\x15VIDEO_RETRIEVAL_ERROR\x10q\x12\x0f\n\x0b\x41UDIO_ERROR\x10r\x12\x1f\n\x1bINVALID_YOUTUBE_DISPLAY_URL\x10s\x12\x1b\n\x17TOO_MANY_PRODUCT_IMAGES\x10t\x12\x1b\n\x17TOO_MANY_PRODUCT_VIDEOS\x10u\x12.\n*INCOMPATIBLE_AD_TYPE_AND_DEVICE_PREFERENCE\x10v\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10w\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10x\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10y\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10z\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10{\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10|\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10}\x12#\n\x1fINVALID_CALL_CONVERSION_TYPE_ID\x10~\x12=\n9CANNOT_DISABLE_CALL_CONVERSION_AND_SET_CONVERSION_TYPE_ID\x10\x7f\x12#\n\x1e\x43\x41NNOT_SET_PATH2_WITHOUT_PATH1\x10\x80\x01\x12\x33\n.MISSING_DYNAMIC_SEARCH_ADS_SETTING_DOMAIN_NAME\x10\x81\x01\x12\'\n\"INCOMPATIBLE_WITH_RESTRICTION_TYPE\x10\x82\x01\x12\x31\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x83\x01\x12\"\n\x1dMISSING_IMAGE_OR_MEDIA_BUNDLE\x10\x84\x01\x12\x30\n+PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN\x10\x85\x01\x12\x30\n+PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE\x10\x86\x01\x12=\n8PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE\x10\x87\x01\x12&\n!PLACEHOLDER_DEFAULT_VALUE_MISSING\x10\x88\x01\x12)\n$UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE\x10\x89\x01\x12\'\n\"AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT\x10\x8a\x01\x12,\n\'UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION\x10\x8b\x01\x12\x1c\n\x17TOO_MANY_AD_CUSTOMIZERS\x10\x8d\x01\x12!\n\x1cINVALID_AD_CUSTOMIZER_FORMAT\x10\x8e\x01\x12 \n\x1bNESTED_AD_CUSTOMIZER_SYNTAX\x10\x8f\x01\x12%\n UNSUPPORTED_AD_CUSTOMIZER_SYNTAX\x10\x90\x01\x12(\n#UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG\x10\x91\x01\x12,\n\'MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS\x10\x92\x01\x12*\n%DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID\x10\x93\x01\x12\'\n\"DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST\x10\x94\x01\x12)\n$UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND\x10\x95\x01\x42\xe7\x01\n\"com.google.ads.googleads.v4.errorsB\x0c\x41\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADERRORENUM_ADERROR = _descriptor.EnumDescriptor( name='AdError', - full_name='google.ads.googleads.v1.errors.AdErrorEnum.AdError', + full_name='google.ads.googleads.v4.errors.AdErrorEnum.AdError', filename=None, file=DESCRIPTOR, values=[ @@ -557,18 +557,78 @@ name='PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN', index=130, number=133, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE', index=131, number=134, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE', index=132, number=135, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PLACEHOLDER_DEFAULT_VALUE_MISSING', index=133, number=136, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE', index=134, number=137, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT', index=135, number=138, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION', index=136, number=139, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_AD_CUSTOMIZERS', index=137, number=141, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_AD_CUSTOMIZER_FORMAT', index=138, number=142, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NESTED_AD_CUSTOMIZER_SYNTAX', index=139, number=143, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED_AD_CUSTOMIZER_SYNTAX', index=140, number=144, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG', index=141, number=145, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS', index=142, number=146, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID', index=143, number=147, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST', index=144, number=148, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND', index=145, number=149, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=134, - serialized_end=4326, + serialized_end=4963, ) _sym_db.RegisterEnumDescriptor(_ADERRORENUM_ADERROR) _ADERRORENUM = _descriptor.Descriptor( name='AdErrorEnum', - full_name='google.ads.googleads.v1.errors.AdErrorEnum', + full_name='google.ads.googleads.v4.errors.AdErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -587,7 +647,7 @@ oneofs=[ ], serialized_start=118, - serialized_end=4326, + serialized_end=4963, ) _ADERRORENUM_ADERROR.containing_type = _ADERRORENUM @@ -596,11 +656,11 @@ AdErrorEnum = _reflection.GeneratedProtocolMessageType('AdErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_error_pb2' , __doc__ = """Container for enum describing possible ad errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdErrorEnum) )) _sym_db.RegisterMessage(AdErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/collection_size_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/collection_size_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/ad_group_ad_error_pb2.py b/google/ads/google_ads/v4/proto/errors/ad_group_ad_error_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/errors/ad_group_ad_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/ad_group_ad_error_pb2.py index 514575cb8..df05625d3 100644 --- a/google/ads/google_ads/v1/proto/errors/ad_group_ad_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/ad_group_ad_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/ad_group_ad_error.proto +# source: google/ads/googleads_v4/proto/errors/ad_group_ad_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/ad_group_ad_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/ad_group_ad_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023AdGroupAdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nCANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING\x10\x0e\x42\xec\x01\n\"com.google.ads.googleads.v1.errorsB\x11\x41\x64GroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\021AdGroupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/ad_group_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd9\x04\n\x10\x41\x64GroupErrorEnum\"\xc4\x04\n\x0c\x41\x64GroupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16\x44UPLICATE_ADGROUP_NAME\x10\x02\x12\x18\n\x14INVALID_ADGROUP_NAME\x10\x03\x12%\n!ADVERTISER_NOT_ON_CONTENT_NETWORK\x10\x05\x12\x0f\n\x0b\x42ID_TOO_BIG\x10\x06\x12*\n&BID_TYPE_AND_BIDDING_STRATEGY_MISMATCH\x10\x07\x12\x18\n\x14MISSING_ADGROUP_NAME\x10\x08\x12 \n\x1c\x41\x44GROUP_LABEL_DOES_NOT_EXIST\x10\t\x12 \n\x1c\x41\x44GROUP_LABEL_ALREADY_EXISTS\x10\n\x12,\n(INVALID_CONTENT_BID_CRITERION_TYPE_GROUP\x10\x0b\x12\x38\n4AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE\x10\x0c\x12\x39\n5ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY\x10\r\x12\x42\n>CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING\x10\x0e\x12\x37\n3PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER\x10\x0f\x42\xec\x01\n\"com.google.ads.googleads.v4.errorsB\x11\x41\x64GroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADGROUPERRORENUM_ADGROUPERROR = _descriptor.EnumDescriptor( name='AdGroupError', - full_name='google.ads.googleads.v1.errors.AdGroupErrorEnum.AdGroupError', + full_name='google.ads.googleads.v4.errors.AdGroupErrorEnum.AdGroupError', filename=None, file=DESCRIPTOR, values=[ @@ -89,18 +89,22 @@ name='CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING', index=13, number=14, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER', index=14, number=15, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=145, - serialized_end=668, + serialized_end=725, ) _sym_db.RegisterEnumDescriptor(_ADGROUPERRORENUM_ADGROUPERROR) _ADGROUPERRORENUM = _descriptor.Descriptor( name='AdGroupErrorEnum', - full_name='google.ads.googleads.v1.errors.AdGroupErrorEnum', + full_name='google.ads.googleads.v4.errors.AdGroupErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -119,7 +123,7 @@ oneofs=[ ], serialized_start=124, - serialized_end=668, + serialized_end=725, ) _ADGROUPERRORENUM_ADGROUPERROR.containing_type = _ADGROUPERRORENUM @@ -128,11 +132,11 @@ AdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADGROUPERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_group_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_group_error_pb2' , __doc__ = """Container for enum describing possible ad group errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdGroupErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdGroupErrorEnum) )) _sym_db.RegisterMessage(AdGroupErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/conversion_upload_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_group_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/conversion_upload_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_group_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/ad_group_feed_error_pb2.py b/google/ads/google_ads/v4/proto/errors/ad_group_feed_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/ad_group_feed_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/ad_group_feed_error_pb2.py index 536bb5e83..49fe72ff7 100644 --- a/google/ads/google_ads/v1/proto/errors/ad_group_feed_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/ad_group_feed_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/ad_group_feed_error.proto +# source: google/ads/googleads_v4/proto/errors/ad_group_feed_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/ad_group_feed_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/ad_group_feed_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025AdGroupFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/ad_group_feed_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xdc\x02\n\x14\x41\x64GroupFeedErrorEnum\"\xc3\x02\n\x10\x41\x64GroupFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x03\x12\x1f\n\x1b\x41\x44GROUP_FEED_ALREADY_EXISTS\x10\x04\x12*\n&CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED\x10\x05\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x06\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x07\x12&\n\"NO_EXISTING_LOCATION_CUSTOMER_FEED\x10\x08\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15\x41\x64GroupFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025AdGroupFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/ad_group_feed_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xdc\x02\n\x14\x41\x64GroupFeedErrorEnum\"\xc3\x02\n\x10\x41\x64GroupFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x03\x12\x1f\n\x1b\x41\x44GROUP_FEED_ALREADY_EXISTS\x10\x04\x12*\n&CANNOT_OPERATE_ON_REMOVED_ADGROUP_FEED\x10\x05\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x06\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x07\x12&\n\"NO_EXISTING_LOCATION_CUSTOMER_FEED\x10\x08\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15\x41\x64GroupFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR = _descriptor.EnumDescriptor( name='AdGroupFeedError', - full_name='google.ads.googleads.v1.errors.AdGroupFeedErrorEnum.AdGroupFeedError', + full_name='google.ads.googleads.v4.errors.AdGroupFeedErrorEnum.AdGroupFeedError', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _ADGROUPFEEDERRORENUM = _descriptor.Descriptor( name='AdGroupFeedErrorEnum', - full_name='google.ads.googleads.v1.errors.AdGroupFeedErrorEnum', + full_name='google.ads.googleads.v4.errors.AdGroupFeedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,11 +108,11 @@ AdGroupFeedErrorEnum = _reflection.GeneratedProtocolMessageType('AdGroupFeedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADGROUPFEEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_group_feed_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_group_feed_error_pb2' , __doc__ = """Container for enum describing possible ad group feed errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdGroupFeedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdGroupFeedErrorEnum) )) _sym_db.RegisterMessage(AdGroupFeedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/country_code_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_group_feed_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/country_code_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_group_feed_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/ad_parameter_error_pb2.py b/google/ads/google_ads/v4/proto/errors/ad_parameter_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/ad_parameter_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/ad_parameter_error_pb2.py index 4bbef0d69..6b6894ac0 100644 --- a/google/ads/google_ads/v1/proto/errors/ad_parameter_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/ad_parameter_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/ad_parameter_error.proto +# source: google/ads/googleads_v4/proto/errors/ad_parameter_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/ad_parameter_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/ad_parameter_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025AdParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/ad_parameter_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x93\x01\n\x14\x41\x64ParameterErrorEnum\"{\n\x10\x41\x64ParameterError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12&\n\"AD_GROUP_CRITERION_MUST_BE_KEYWORD\x10\x02\x12!\n\x1dINVALID_INSERTION_TEXT_FORMAT\x10\x03\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15\x41\x64ParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025AdParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/ad_parameter_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x93\x01\n\x14\x41\x64ParameterErrorEnum\"{\n\x10\x41\x64ParameterError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12&\n\"AD_GROUP_CRITERION_MUST_BE_KEYWORD\x10\x02\x12!\n\x1dINVALID_INSERTION_TEXT_FORMAT\x10\x03\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15\x41\x64ParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADPARAMETERERRORENUM_ADPARAMETERERROR = _descriptor.EnumDescriptor( name='AdParameterError', - full_name='google.ads.googleads.v1.errors.AdParameterErrorEnum.AdParameterError', + full_name='google.ads.googleads.v4.errors.AdParameterErrorEnum.AdParameterError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _ADPARAMETERERRORENUM = _descriptor.Descriptor( name='AdParameterErrorEnum', - full_name='google.ads.googleads.v1.errors.AdParameterErrorEnum', + full_name='google.ads.googleads.v4.errors.AdParameterErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ AdParameterErrorEnum = _reflection.GeneratedProtocolMessageType('AdParameterErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADPARAMETERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_parameter_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_parameter_error_pb2' , __doc__ = """Container for enum describing possible ad parameter errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdParameterErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdParameterErrorEnum) )) _sym_db.RegisterMessage(AdParameterErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/criterion_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_parameter_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/criterion_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_parameter_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/ad_sharing_error_pb2.py b/google/ads/google_ads/v4/proto/errors/ad_sharing_error_pb2.py similarity index 74% rename from google/ads/google_ads/v1/proto/errors/ad_sharing_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/ad_sharing_error_pb2.py index 32c136440..8b5f9959d 100644 --- a/google/ads/google_ads/v1/proto/errors/ad_sharing_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/ad_sharing_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/ad_sharing_error.proto +# source: google/ads/googleads_v4/proto/errors/ad_sharing_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/ad_sharing_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/ad_sharing_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023AdSharingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/ad_sharing_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xa9\x01\n\x12\x41\x64SharingErrorEnum\"\x92\x01\n\x0e\x41\x64SharingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1c\x41\x44_GROUP_ALREADY_CONTAINS_AD\x10\x02\x12\"\n\x1eINCOMPATIBLE_AD_UNDER_AD_GROUP\x10\x03\x12\x1c\n\x18\x43\x41NNOT_SHARE_INACTIVE_AD\x10\x04\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13\x41\x64SharingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023AdSharingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/ad_sharing_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xa9\x01\n\x12\x41\x64SharingErrorEnum\"\x92\x01\n\x0e\x41\x64SharingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1c\x41\x44_GROUP_ALREADY_CONTAINS_AD\x10\x02\x12\"\n\x1eINCOMPATIBLE_AD_UNDER_AD_GROUP\x10\x03\x12\x1c\n\x18\x43\x41NNOT_SHARE_INACTIVE_AD\x10\x04\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13\x41\x64SharingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADSHARINGERRORENUM_ADSHARINGERROR = _descriptor.EnumDescriptor( name='AdSharingError', - full_name='google.ads.googleads.v1.errors.AdSharingErrorEnum.AdSharingError', + full_name='google.ads.googleads.v4.errors.AdSharingErrorEnum.AdSharingError', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _ADSHARINGERRORENUM = _descriptor.Descriptor( name='AdSharingErrorEnum', - full_name='google.ads.googleads.v1.errors.AdSharingErrorEnum', + full_name='google.ads.googleads.v4.errors.AdSharingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ AdSharingErrorEnum = _reflection.GeneratedProtocolMessageType('AdSharingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADSHARINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.ad_sharing_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.ad_sharing_error_pb2' , __doc__ = """Container for enum describing possible ad sharing errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdSharingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdSharingErrorEnum) )) _sym_db.RegisterMessage(AdSharingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/custom_interest_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/ad_sharing_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/custom_interest_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/ad_sharing_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/adx_error_pb2.py b/google/ads/google_ads/v4/proto/errors/adx_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/adx_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/adx_error_pb2.py index c40002ea7..fdc1bf194 100644 --- a/google/ads/google_ads/v1/proto/errors/adx_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/adx_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/adx_error.proto +# source: google/ads/googleads_v4/proto/errors/adx_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/adx_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/adx_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\rAdxErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n4google/ads/googleads_v1/proto/errors/adx_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"Q\n\x0c\x41\x64xErrorEnum\"A\n\x08\x41\x64xError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13UNSUPPORTED_FEATURE\x10\x02\x42\xe8\x01\n\"com.google.ads.googleads.v1.errorsB\rAdxErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\rAdxErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n4google/ads/googleads_v4/proto/errors/adx_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"Q\n\x0c\x41\x64xErrorEnum\"A\n\x08\x41\x64xError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13UNSUPPORTED_FEATURE\x10\x02\x42\xe8\x01\n\"com.google.ads.googleads.v4.errorsB\rAdxErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ADXERRORENUM_ADXERROR = _descriptor.EnumDescriptor( name='AdxError', - full_name='google.ads.googleads.v1.errors.AdxErrorEnum.AdxError', + full_name='google.ads.googleads.v4.errors.AdxErrorEnum.AdxError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _ADXERRORENUM = _descriptor.Descriptor( name='AdxErrorEnum', - full_name='google.ads.googleads.v1.errors.AdxErrorEnum', + full_name='google.ads.googleads.v4.errors.AdxErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ AdxErrorEnum = _reflection.GeneratedProtocolMessageType('AdxErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ADXERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.adx_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.adx_error_pb2' , __doc__ = """Container for enum describing possible adx errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AdxErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AdxErrorEnum) )) _sym_db.RegisterMessage(AdxErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/customer_client_link_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/adx_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/customer_client_link_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/adx_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/asset_error_pb2.py b/google/ads/google_ads/v4/proto/errors/asset_error_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/errors/asset_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/asset_error_pb2.py index 5a5b2ef11..30f278ab2 100644 --- a/google/ads/google_ads/v1/proto/errors/asset_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/asset_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/asset_error.proto +# source: google/ads/googleads_v4/proto/errors/asset_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/asset_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/asset_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017AssetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/asset_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xd2\x01\n\x0e\x41ssetErrorEnum\"\xbf\x01\n\nAssetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12+\n\'CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE\x10\x02\x12\x13\n\x0f\x44UPLICATE_ASSET\x10\x03\x12\x18\n\x14\x44UPLICATE_ASSET_NAME\x10\x04\x12\x19\n\x15\x41SSET_DATA_IS_MISSING\x10\x05\x12\x1c\n\x18\x43\x41NNOT_MODIFY_ASSET_NAME\x10\x06\x42\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0f\x41ssetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017AssetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/asset_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd2\x01\n\x0e\x41ssetErrorEnum\"\xbf\x01\n\nAssetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12+\n\'CUSTOMER_NOT_WHITELISTED_FOR_ASSET_TYPE\x10\x02\x12\x13\n\x0f\x44UPLICATE_ASSET\x10\x03\x12\x18\n\x14\x44UPLICATE_ASSET_NAME\x10\x04\x12\x19\n\x15\x41SSET_DATA_IS_MISSING\x10\x05\x12\x1c\n\x18\x43\x41NNOT_MODIFY_ASSET_NAME\x10\x06\x42\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0f\x41ssetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ASSETERRORENUM_ASSETERROR = _descriptor.EnumDescriptor( name='AssetError', - full_name='google.ads.googleads.v1.errors.AssetErrorEnum.AssetError', + full_name='google.ads.googleads.v4.errors.AssetErrorEnum.AssetError', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _ASSETERRORENUM = _descriptor.Descriptor( name='AssetErrorEnum', - full_name='google.ads.googleads.v1.errors.AssetErrorEnum', + full_name='google.ads.googleads.v4.errors.AssetErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ AssetErrorEnum = _reflection.GeneratedProtocolMessageType('AssetErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ASSETERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.asset_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.asset_error_pb2' , __doc__ = """Container for enum describing possible asset errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AssetErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AssetErrorEnum) )) _sym_db.RegisterMessage(AssetErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/customer_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/asset_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/customer_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/asset_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/asset_link_error_pb2.py b/google/ads/google_ads/v4/proto/errors/asset_link_error_pb2.py new file mode 100644 index 000000000..82f0d8bc8 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/asset_link_error_pb2.py @@ -0,0 +1,97 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/asset_link_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/asset_link_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023AssetLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/asset_link_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"]\n\x12\x41ssetLinkErrorEnum\"G\n\x0e\x41ssetLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13PINNING_UNSUPPORTED\x10\x02\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13\x41ssetLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_ASSETLINKERRORENUM_ASSETLINKERROR = _descriptor.EnumDescriptor( + name='AssetLinkError', + full_name='google.ads.googleads.v4.errors.AssetLinkErrorEnum.AssetLinkError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PINNING_UNSUPPORTED', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=218, +) +_sym_db.RegisterEnumDescriptor(_ASSETLINKERRORENUM_ASSETLINKERROR) + + +_ASSETLINKERRORENUM = _descriptor.Descriptor( + name='AssetLinkErrorEnum', + full_name='google.ads.googleads.v4.errors.AssetLinkErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _ASSETLINKERRORENUM_ASSETLINKERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=218, +) + +_ASSETLINKERRORENUM_ASSETLINKERROR.containing_type = _ASSETLINKERRORENUM +DESCRIPTOR.message_types_by_name['AssetLinkErrorEnum'] = _ASSETLINKERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AssetLinkErrorEnum = _reflection.GeneratedProtocolMessageType('AssetLinkErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _ASSETLINKERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.asset_link_error_pb2' + , + __doc__ = """Container for enum describing possible asset link errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AssetLinkErrorEnum) + )) +_sym_db.RegisterMessage(AssetLinkErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/customer_feed_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/asset_link_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/customer_feed_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/asset_link_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/authentication_error_pb2.py b/google/ads/google_ads/v4/proto/errors/authentication_error_pb2.py similarity index 85% rename from google/ads/google_ads/v1/proto/errors/authentication_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/authentication_error_pb2.py index f628ac4d9..94824a73e 100644 --- a/google/ads/google_ads/v1/proto/errors/authentication_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/authentication_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/authentication_error.proto +# source: google/ads/googleads_v4/proto/errors/authentication_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/authentication_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/authentication_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030AuthenticationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/errors/authentication_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xe8\x04\n\x17\x41uthenticationErrorEnum\"\xcc\x04\n\x13\x41uthenticationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x41UTHENTICATION_ERROR\x10\x02\x12\x1e\n\x1a\x43LIENT_CUSTOMER_ID_INVALID\x10\x05\x12\x16\n\x12\x43USTOMER_NOT_FOUND\x10\x08\x12\x1a\n\x16GOOGLE_ACCOUNT_DELETED\x10\t\x12!\n\x1dGOOGLE_ACCOUNT_COOKIE_INVALID\x10\n\x12(\n$GOOGLE_ACCOUNT_AUTHENTICATION_FAILED\x10\x19\x12-\n)GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH\x10\x0c\x12\x19\n\x15LOGIN_COOKIE_REQUIRED\x10\r\x12\x10\n\x0cNOT_ADS_USER\x10\x0e\x12\x17\n\x13OAUTH_TOKEN_INVALID\x10\x0f\x12\x17\n\x13OAUTH_TOKEN_EXPIRED\x10\x10\x12\x18\n\x14OAUTH_TOKEN_DISABLED\x10\x11\x12\x17\n\x13OAUTH_TOKEN_REVOKED\x10\x12\x12\x1e\n\x1aOAUTH_TOKEN_HEADER_INVALID\x10\x13\x12\x18\n\x14LOGIN_COOKIE_INVALID\x10\x14\x12\x13\n\x0fUSER_ID_INVALID\x10\x16\x12&\n\"TWO_STEP_VERIFICATION_NOT_ENROLLED\x10\x17\x12$\n ADVANCED_PROTECTION_NOT_ENROLLED\x10\x18\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18\x41uthenticationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030AuthenticationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/errors/authentication_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xe8\x04\n\x17\x41uthenticationErrorEnum\"\xcc\x04\n\x13\x41uthenticationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x41UTHENTICATION_ERROR\x10\x02\x12\x1e\n\x1a\x43LIENT_CUSTOMER_ID_INVALID\x10\x05\x12\x16\n\x12\x43USTOMER_NOT_FOUND\x10\x08\x12\x1a\n\x16GOOGLE_ACCOUNT_DELETED\x10\t\x12!\n\x1dGOOGLE_ACCOUNT_COOKIE_INVALID\x10\n\x12(\n$GOOGLE_ACCOUNT_AUTHENTICATION_FAILED\x10\x19\x12-\n)GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH\x10\x0c\x12\x19\n\x15LOGIN_COOKIE_REQUIRED\x10\r\x12\x10\n\x0cNOT_ADS_USER\x10\x0e\x12\x17\n\x13OAUTH_TOKEN_INVALID\x10\x0f\x12\x17\n\x13OAUTH_TOKEN_EXPIRED\x10\x10\x12\x18\n\x14OAUTH_TOKEN_DISABLED\x10\x11\x12\x17\n\x13OAUTH_TOKEN_REVOKED\x10\x12\x12\x1e\n\x1aOAUTH_TOKEN_HEADER_INVALID\x10\x13\x12\x18\n\x14LOGIN_COOKIE_INVALID\x10\x14\x12\x13\n\x0fUSER_ID_INVALID\x10\x16\x12&\n\"TWO_STEP_VERIFICATION_NOT_ENROLLED\x10\x17\x12$\n ADVANCED_PROTECTION_NOT_ENROLLED\x10\x18\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18\x41uthenticationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR = _descriptor.EnumDescriptor( name='AuthenticationError', - full_name='google.ads.googleads.v1.errors.AuthenticationErrorEnum.AuthenticationError', + full_name='google.ads.googleads.v4.errors.AuthenticationErrorEnum.AuthenticationError', filename=None, file=DESCRIPTOR, values=[ @@ -124,7 +124,7 @@ _AUTHENTICATIONERRORENUM = _descriptor.Descriptor( name='AuthenticationErrorEnum', - full_name='google.ads.googleads.v1.errors.AuthenticationErrorEnum', + full_name='google.ads.googleads.v4.errors.AuthenticationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -152,11 +152,11 @@ AuthenticationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthenticationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _AUTHENTICATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.authentication_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.authentication_error_pb2' , __doc__ = """Container for enum describing possible authentication errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AuthenticationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AuthenticationErrorEnum) )) _sym_db.RegisterMessage(AuthenticationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/customer_manager_link_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/authentication_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/customer_manager_link_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/authentication_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/authorization_error_pb2.py b/google/ads/google_ads/v4/proto/errors/authorization_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/authorization_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/authorization_error_pb2.py index 700f9535c..a1eba8aff 100644 --- a/google/ads/google_ads/v1/proto/errors/authorization_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/authorization_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/authorization_error.proto +# source: google/ads/googleads_v4/proto/errors/authorization_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/authorization_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/authorization_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\027AuthorizationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/authorization_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xdb\x02\n\x16\x41uthorizationErrorEnum\"\xc0\x02\n\x12\x41uthorizationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16USER_PERMISSION_DENIED\x10\x02\x12#\n\x1f\x44\x45VELOPER_TOKEN_NOT_WHITELISTED\x10\x03\x12\x1e\n\x1a\x44\x45VELOPER_TOKEN_PROHIBITED\x10\x04\x12\x14\n\x10PROJECT_DISABLED\x10\x05\x12\x17\n\x13\x41UTHORIZATION_ERROR\x10\x06\x12\x18\n\x14\x41\x43TION_NOT_PERMITTED\x10\x07\x12\x15\n\x11INCOMPLETE_SIGNUP\x10\x08\x12\x18\n\x14\x43USTOMER_NOT_ENABLED\x10\x18\x12\x0f\n\x0bMISSING_TOS\x10\t\x12 \n\x1c\x44\x45VELOPER_TOKEN_NOT_APPROVED\x10\nB\xf2\x01\n\"com.google.ads.googleads.v1.errorsB\x17\x41uthorizationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\027AuthorizationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/authorization_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb5\x03\n\x16\x41uthorizationErrorEnum\"\x9a\x03\n\x12\x41uthorizationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16USER_PERMISSION_DENIED\x10\x02\x12#\n\x1f\x44\x45VELOPER_TOKEN_NOT_WHITELISTED\x10\x03\x12\x1e\n\x1a\x44\x45VELOPER_TOKEN_PROHIBITED\x10\x04\x12\x14\n\x10PROJECT_DISABLED\x10\x05\x12\x17\n\x13\x41UTHORIZATION_ERROR\x10\x06\x12\x18\n\x14\x41\x43TION_NOT_PERMITTED\x10\x07\x12\x15\n\x11INCOMPLETE_SIGNUP\x10\x08\x12\x18\n\x14\x43USTOMER_NOT_ENABLED\x10\x18\x12\x0f\n\x0bMISSING_TOS\x10\t\x12 \n\x1c\x44\x45VELOPER_TOKEN_NOT_APPROVED\x10\n\x12=\n9INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION\x10\x0b\x12\x19\n\x15SERVICE_ACCESS_DENIED\x10\x0c\x42\xf2\x01\n\"com.google.ads.googleads.v4.errorsB\x17\x41uthorizationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR = _descriptor.EnumDescriptor( name='AuthorizationError', - full_name='google.ads.googleads.v1.errors.AuthorizationErrorEnum.AuthorizationError', + full_name='google.ads.googleads.v4.errors.AuthorizationErrorEnum.AuthorizationError', filename=None, file=DESCRIPTOR, values=[ @@ -81,18 +81,26 @@ name='DEVELOPER_TOKEN_NOT_APPROVED', index=11, number=10, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION', index=12, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SERVICE_ACCESS_DENIED', index=13, number=12, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=156, - serialized_end=476, + serialized_end=566, ) _sym_db.RegisterEnumDescriptor(_AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR) _AUTHORIZATIONERRORENUM = _descriptor.Descriptor( name='AuthorizationErrorEnum', - full_name='google.ads.googleads.v1.errors.AuthorizationErrorEnum', + full_name='google.ads.googleads.v4.errors.AuthorizationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -111,7 +119,7 @@ oneofs=[ ], serialized_start=129, - serialized_end=476, + serialized_end=566, ) _AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR.containing_type = _AUTHORIZATIONERRORENUM @@ -120,11 +128,11 @@ AuthorizationErrorEnum = _reflection.GeneratedProtocolMessageType('AuthorizationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _AUTHORIZATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.authorization_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.authorization_error_pb2' , __doc__ = """Container for enum describing possible authorization errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.AuthorizationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.AuthorizationErrorEnum) )) _sym_db.RegisterMessage(AuthorizationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/database_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/authorization_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/database_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/authorization_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/batch_job_error_pb2.py b/google/ads/google_ads/v4/proto/errors/batch_job_error_pb2.py new file mode 100644 index 000000000..29bcf97ce --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/batch_job_error_pb2.py @@ -0,0 +1,117 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/batch_job_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/batch_job_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022BatchJobErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/batch_job_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xf4\x01\n\x11\x42\x61tchJobErrorEnum\"\xde\x01\n\rBatchJobError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12.\n*CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING\x10\x02\x12\x14\n\x10\x45MPTY_OPERATIONS\x10\x03\x12\x1a\n\x16INVALID_SEQUENCE_TOKEN\x10\x04\x12\x15\n\x11RESULTS_NOT_READY\x10\x05\x12\x15\n\x11INVALID_PAGE_SIZE\x10\x06\x12\x1f\n\x1b\x43\x41N_ONLY_REMOVE_PENDING_JOB\x10\x07\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x42\x61tchJobErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_BATCHJOBERRORENUM_BATCHJOBERROR = _descriptor.EnumDescriptor( + name='BatchJobError', + full_name='google.ads.googleads.v4.errors.BatchJobErrorEnum.BatchJobError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='EMPTY_OPERATIONS', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_SEQUENCE_TOKEN', index=4, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='RESULTS_NOT_READY', index=5, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_PAGE_SIZE', index=6, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CAN_ONLY_REMOVE_PENDING_JOB', index=7, number=7, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=369, +) +_sym_db.RegisterEnumDescriptor(_BATCHJOBERRORENUM_BATCHJOBERROR) + + +_BATCHJOBERRORENUM = _descriptor.Descriptor( + name='BatchJobErrorEnum', + full_name='google.ads.googleads.v4.errors.BatchJobErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _BATCHJOBERRORENUM_BATCHJOBERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=369, +) + +_BATCHJOBERRORENUM_BATCHJOBERROR.containing_type = _BATCHJOBERRORENUM +DESCRIPTOR.message_types_by_name['BatchJobErrorEnum'] = _BATCHJOBERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +BatchJobErrorEnum = _reflection.GeneratedProtocolMessageType('BatchJobErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _BATCHJOBERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.batch_job_error_pb2' + , + __doc__ = """Container for enum describing possible batch job errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.BatchJobErrorEnum) + )) +_sym_db.RegisterMessage(BatchJobErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/date_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/batch_job_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/date_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/batch_job_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/bidding_error_pb2.py b/google/ads/google_ads/v4/proto/errors/bidding_error_pb2.py similarity index 82% rename from google/ads/google_ads/v1/proto/errors/bidding_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/bidding_error_pb2.py index 32acb25c8..a69bce2d9 100644 --- a/google/ads/google_ads/v1/proto/errors/bidding_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/bidding_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/bidding_error.proto +# source: google/ads/googleads_v4/proto/errors/bidding_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/bidding_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/bidding_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\021BiddingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/errors/bidding_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb3\x08\n\x10\x42iddingErrorEnum\"\x9e\x08\n\x0c\x42iddingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12+\n\'BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED\x10\x02\x12.\n*CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN\x10\x07\x12+\n\'INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE\x10\n\x12!\n\x1dINVALID_BIDDING_STRATEGY_TYPE\x10\x0e\x12\x0f\n\x0bINVALID_BID\x10\x11\x12\x33\n/BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE\x10\x12\x12#\n\x1f\x43ONVERSION_TRACKING_NOT_ENABLED\x10\x13\x12\x1a\n\x16NOT_ENOUGH_CONVERSIONS\x10\x14\x12\x30\n,CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY\x10\x15\x12O\nKCANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY\x10\x17\x12\x33\n/BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE\x10\x18\x12\x31\n-PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER\x10\x19\x12\x32\n.PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA\x10\x1a\x12:\n6BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS\x10\x1b\x12;\n7BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS\x10\x1c\x12I\nEBIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION\x10\x1d\x12\x11\n\rBID_TOO_SMALL\x10\x1e\x12\x0f\n\x0b\x42ID_TOO_BIG\x10\x1f\x12\"\n\x1e\x42ID_TOO_MANY_FRACTIONAL_DIGITS\x10 \x12\x17\n\x13INVALID_DOMAIN_NAME\x10!\x12$\n NOT_COMPATIBLE_WITH_PAYMENT_MODE\x10\"\x12#\n\x1fNOT_COMPATIBLE_WITH_BUDGET_TYPE\x10#\x12-\n)NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE\x10$B\xec\x01\n\"com.google.ads.googleads.v1.errorsB\x11\x42iddingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\021BiddingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/errors/bidding_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xee\x08\n\x10\x42iddingErrorEnum\"\xd9\x08\n\x0c\x42iddingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12+\n\'BIDDING_STRATEGY_TRANSITION_NOT_ALLOWED\x10\x02\x12.\n*CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN\x10\x07\x12+\n\'INVALID_ANONYMOUS_BIDDING_STRATEGY_TYPE\x10\n\x12!\n\x1dINVALID_BIDDING_STRATEGY_TYPE\x10\x0e\x12\x0f\n\x0bINVALID_BID\x10\x11\x12\x33\n/BIDDING_STRATEGY_NOT_AVAILABLE_FOR_ACCOUNT_TYPE\x10\x12\x12#\n\x1f\x43ONVERSION_TRACKING_NOT_ENABLED\x10\x13\x12\x1a\n\x16NOT_ENOUGH_CONVERSIONS\x10\x14\x12\x30\n,CANNOT_CREATE_CAMPAIGN_WITH_BIDDING_STRATEGY\x10\x15\x12O\nKCANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CAMPAIGN_LEVEL_POP_BIDDING_STRATEGY\x10\x17\x12\x33\n/BIDDING_STRATEGY_NOT_SUPPORTED_WITH_AD_SCHEDULE\x10\x18\x12\x31\n-PAY_PER_CONVERSION_NOT_AVAILABLE_FOR_CUSTOMER\x10\x19\x12\x32\n.PAY_PER_CONVERSION_NOT_ALLOWED_WITH_TARGET_CPA\x10\x1a\x12:\n6BIDDING_STRATEGY_NOT_ALLOWED_FOR_SEARCH_ONLY_CAMPAIGNS\x10\x1b\x12;\n7BIDDING_STRATEGY_NOT_SUPPORTED_IN_DRAFTS_OR_EXPERIMENTS\x10\x1c\x12I\nEBIDDING_STRATEGY_TYPE_DOES_NOT_SUPPORT_PRODUCT_TYPE_ADGROUP_CRITERION\x10\x1d\x12\x11\n\rBID_TOO_SMALL\x10\x1e\x12\x0f\n\x0b\x42ID_TOO_BIG\x10\x1f\x12\"\n\x1e\x42ID_TOO_MANY_FRACTIONAL_DIGITS\x10 \x12\x17\n\x13INVALID_DOMAIN_NAME\x10!\x12$\n NOT_COMPATIBLE_WITH_PAYMENT_MODE\x10\"\x12#\n\x1fNOT_COMPATIBLE_WITH_BUDGET_TYPE\x10#\x12-\n)NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE\x10$\x12\x39\n5BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET\x10%B\xec\x01\n\"com.google.ads.googleads.v4.errorsB\x11\x42iddingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BIDDINGERRORENUM_BIDDINGERROR = _descriptor.EnumDescriptor( name='BiddingError', - full_name='google.ads.googleads.v1.errors.BiddingErrorEnum.BiddingError', + full_name='google.ads.googleads.v4.errors.BiddingErrorEnum.BiddingError', filename=None, file=DESCRIPTOR, values=[ @@ -133,18 +133,22 @@ name='NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE', index=24, number=36, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET', index=25, number=37, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=144, - serialized_end=1198, + serialized_end=1257, ) _sym_db.RegisterEnumDescriptor(_BIDDINGERRORENUM_BIDDINGERROR) _BIDDINGERRORENUM = _descriptor.Descriptor( name='BiddingErrorEnum', - full_name='google.ads.googleads.v1.errors.BiddingErrorEnum', + full_name='google.ads.googleads.v4.errors.BiddingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -163,7 +167,7 @@ oneofs=[ ], serialized_start=123, - serialized_end=1198, + serialized_end=1257, ) _BIDDINGERRORENUM_BIDDINGERROR.containing_type = _BIDDINGERRORENUM @@ -172,11 +176,11 @@ BiddingErrorEnum = _reflection.GeneratedProtocolMessageType('BiddingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _BIDDINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.bidding_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.bidding_error_pb2' , __doc__ = """Container for enum describing possible bidding errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.BiddingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.BiddingErrorEnum) )) _sym_db.RegisterMessage(BiddingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/date_range_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/bidding_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/date_range_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/bidding_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/bidding_strategy_error_pb2.py b/google/ads/google_ads/v4/proto/errors/bidding_strategy_error_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/errors/bidding_strategy_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/bidding_strategy_error_pb2.py index 06a48cb15..fa5d587b0 100644 --- a/google/ads/google_ads/v1/proto/errors/bidding_strategy_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/bidding_strategy_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/bidding_strategy_error.proto +# source: google/ads/googleads_v4/proto/errors/bidding_strategy_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/bidding_strategy_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/bidding_strategy_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\031BiddingStrategyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/errors/bidding_strategy_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x9b\x02\n\x18\x42iddingStrategyErrorEnum\"\xfe\x01\n\x14\x42iddingStrategyError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12\'\n#CANNOT_CHANGE_BIDDING_STRATEGY_TYPE\x10\x03\x12%\n!CANNOT_REMOVE_ASSOCIATED_STRATEGY\x10\x04\x12\"\n\x1e\x42IDDING_STRATEGY_NOT_SUPPORTED\x10\x05\x12@\ngoogle/ads/googleads_v1/proto/errors/billing_setup_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xfb\x04\n\x15\x42illingSetupErrorEnum\"\xe1\x04\n\x11\x42illingSetupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#CANNOT_USE_EXISTING_AND_NEW_ACCOUNT\x10\x02\x12\'\n#CANNOT_REMOVE_STARTED_BILLING_SETUP\x10\x03\x12\x32\n.CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT\x10\x04\x12\x33\n/BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS\x10\x05\x12\x1c\n\x18INVALID_PAYMENTS_ACCOUNT\x10\x06\x12\x35\n1BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY\x10\x07\x12\x1b\n\x17INVALID_START_TIME_TYPE\x10\x08\x12#\n\x1fTHIRD_PARTY_ALREADY_HAS_BILLING\x10\t\x12\x1d\n\x19\x42ILLING_SETUP_IN_PROGRESS\x10\n\x12\x18\n\x14NO_SIGNUP_PERMISSION\x10\x0b\x12!\n\x1d\x43HANGE_OF_BILL_TO_IN_PROGRESS\x10\x0c\x12\x1e\n\x1aPAYMENTS_PROFILE_NOT_FOUND\x10\r\x12\x1e\n\x1aPAYMENTS_ACCOUNT_NOT_FOUND\x10\x0e\x12\x1f\n\x1bPAYMENTS_PROFILE_INELIGIBLE\x10\x0f\x12\x1f\n\x1bPAYMENTS_ACCOUNT_INELIGIBLE\x10\x10\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16\x42illingSetupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026BillingSetupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/billing_setup_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd9\x05\n\x15\x42illingSetupErrorEnum\"\xbf\x05\n\x11\x42illingSetupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#CANNOT_USE_EXISTING_AND_NEW_ACCOUNT\x10\x02\x12\'\n#CANNOT_REMOVE_STARTED_BILLING_SETUP\x10\x03\x12\x32\n.CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT\x10\x04\x12\x33\n/BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS\x10\x05\x12\x1c\n\x18INVALID_PAYMENTS_ACCOUNT\x10\x06\x12\x35\n1BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY\x10\x07\x12\x1b\n\x17INVALID_START_TIME_TYPE\x10\x08\x12#\n\x1fTHIRD_PARTY_ALREADY_HAS_BILLING\x10\t\x12\x1d\n\x19\x42ILLING_SETUP_IN_PROGRESS\x10\n\x12\x18\n\x14NO_SIGNUP_PERMISSION\x10\x0b\x12!\n\x1d\x43HANGE_OF_BILL_TO_IN_PROGRESS\x10\x0c\x12\x1e\n\x1aPAYMENTS_PROFILE_NOT_FOUND\x10\r\x12\x1e\n\x1aPAYMENTS_ACCOUNT_NOT_FOUND\x10\x0e\x12\x1f\n\x1bPAYMENTS_PROFILE_INELIGIBLE\x10\x0f\x12\x1f\n\x1bPAYMENTS_ACCOUNT_INELIGIBLE\x10\x10\x12$\n CUSTOMER_NEEDS_INTERNAL_APPROVAL\x10\x11\x12\x36\n2PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH\x10\x13\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x42illingSetupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _BILLINGSETUPERRORENUM_BILLINGSETUPERROR = _descriptor.EnumDescriptor( name='BillingSetupError', - full_name='google.ads.googleads.v1.errors.BillingSetupErrorEnum.BillingSetupError', + full_name='google.ads.googleads.v4.errors.BillingSetupErrorEnum.BillingSetupError', filename=None, file=DESCRIPTOR, values=[ @@ -101,18 +101,26 @@ name='PAYMENTS_ACCOUNT_INELIGIBLE', index=16, number=16, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NEEDS_INTERNAL_APPROVAL', index=17, number=17, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH', index=18, number=19, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=155, - serialized_end=764, + serialized_end=858, ) _sym_db.RegisterEnumDescriptor(_BILLINGSETUPERRORENUM_BILLINGSETUPERROR) _BILLINGSETUPERRORENUM = _descriptor.Descriptor( name='BillingSetupErrorEnum', - full_name='google.ads.googleads.v1.errors.BillingSetupErrorEnum', + full_name='google.ads.googleads.v4.errors.BillingSetupErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -131,7 +139,7 @@ oneofs=[ ], serialized_start=129, - serialized_end=764, + serialized_end=858, ) _BILLINGSETUPERRORENUM_BILLINGSETUPERROR.containing_type = _BILLINGSETUPERRORENUM @@ -140,11 +148,11 @@ BillingSetupErrorEnum = _reflection.GeneratedProtocolMessageType('BillingSetupErrorEnum', (_message.Message,), dict( DESCRIPTOR = _BILLINGSETUPERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.billing_setup_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.billing_setup_error_pb2' , __doc__ = """Container for enum describing possible billing setup errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.BillingSetupErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.BillingSetupErrorEnum) )) _sym_db.RegisterMessage(BillingSetupErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/enum_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/billing_setup_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/enum_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/billing_setup_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_budget_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_budget_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/campaign_budget_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_budget_error_pb2.py index b639917a7..30ca9d043 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_budget_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_budget_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_budget_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_budget_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_budget_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_budget_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030CampaignBudgetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/errors/campaign_budget_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xe0\x05\n\x17\x43\x61mpaignBudgetErrorEnum\"\xc4\x05\n\x13\x43\x61mpaignBudgetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12$\n CAMPAIGN_BUDGET_CANNOT_BE_SHARED\x10\x11\x12\x1b\n\x17\x43\x41MPAIGN_BUDGET_REMOVED\x10\x02\x12\x1a\n\x16\x43\x41MPAIGN_BUDGET_IN_USE\x10\x03\x12(\n$CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE\x10\x04\x12<\n8CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET\x10\x06\x12\x36\n2CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED\x10\x07\x12\x43\n?CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME\x10\x08\x12\x36\n2CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED\x10\t\x12H\nDCANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS\x10\n\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x0b\x12\"\n\x1eMONEY_AMOUNT_IN_WRONG_CURRENCY\x10\x0c\x12/\n+MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC\x10\r\x12\x1a\n\x16MONEY_AMOUNT_TOO_LARGE\x10\x0e\x12\x19\n\x15NEGATIVE_MONEY_AMOUNT\x10\x0f\x12)\n%NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT\x10\x10\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18\x43\x61mpaignBudgetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030CampaignBudgetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/errors/campaign_budget_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x9f\x06\n\x17\x43\x61mpaignBudgetErrorEnum\"\x83\x06\n\x13\x43\x61mpaignBudgetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12$\n CAMPAIGN_BUDGET_CANNOT_BE_SHARED\x10\x11\x12\x1b\n\x17\x43\x41MPAIGN_BUDGET_REMOVED\x10\x02\x12\x1a\n\x16\x43\x41MPAIGN_BUDGET_IN_USE\x10\x03\x12(\n$CAMPAIGN_BUDGET_PERIOD_NOT_AVAILABLE\x10\x04\x12<\n8CANNOT_MODIFY_FIELD_OF_IMPLICITLY_SHARED_CAMPAIGN_BUDGET\x10\x06\x12\x36\n2CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_IMPLICITLY_SHARED\x10\x07\x12\x43\n?CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED_WITHOUT_NAME\x10\x08\x12\x36\n2CANNOT_UPDATE_CAMPAIGN_BUDGET_TO_EXPLICITLY_SHARED\x10\t\x12H\nDCANNOT_USE_IMPLICITLY_SHARED_CAMPAIGN_BUDGET_WITH_MULTIPLE_CAMPAIGNS\x10\n\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x0b\x12\"\n\x1eMONEY_AMOUNT_IN_WRONG_CURRENCY\x10\x0c\x12/\n+MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPC\x10\r\x12\x1a\n\x16MONEY_AMOUNT_TOO_LARGE\x10\x0e\x12\x19\n\x15NEGATIVE_MONEY_AMOUNT\x10\x0f\x12)\n%NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT\x10\x10\x12=\n9TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY\x10\x12\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18\x43\x61mpaignBudgetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR = _descriptor.EnumDescriptor( name='CampaignBudgetError', - full_name='google.ads.googleads.v1.errors.CampaignBudgetErrorEnum.CampaignBudgetError', + full_name='google.ads.googleads.v4.errors.CampaignBudgetErrorEnum.CampaignBudgetError', filename=None, file=DESCRIPTOR, values=[ @@ -101,18 +101,22 @@ name='NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT', index=16, number=16, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY', index=17, number=18, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=159, - serialized_end=867, + serialized_end=930, ) _sym_db.RegisterEnumDescriptor(_CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR) _CAMPAIGNBUDGETERRORENUM = _descriptor.Descriptor( name='CampaignBudgetErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignBudgetErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignBudgetErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -131,7 +135,7 @@ oneofs=[ ], serialized_start=131, - serialized_end=867, + serialized_end=930, ) _CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR.containing_type = _CAMPAIGNBUDGETERRORENUM @@ -140,11 +144,11 @@ CampaignBudgetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignBudgetErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNBUDGETERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_budget_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_budget_error_pb2' , __doc__ = """Container for enum describing possible campaign budget errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignBudgetErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignBudgetErrorEnum) )) _sym_db.RegisterMessage(CampaignBudgetErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/errors_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_budget_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/errors_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_budget_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_criterion_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_criterion_error_pb2.py similarity index 82% rename from google/ads/google_ads/v1/proto/errors/campaign_criterion_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_criterion_error_pb2.py index ceac0878a..82605585d 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_criterion_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_criterion_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_criterion_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_criterion_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_criterion_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_criterion_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\033CampaignCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/errors/campaign_criterion_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xf5\x03\n\x1a\x43\x61mpaignCriterionErrorEnum\"\xd6\x03\n\x16\x43\x61mpaignCriterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x02\x12\x19\n\x15INVALID_PLACEMENT_URL\x10\x03\x12 \n\x1c\x43\x41NNOT_EXCLUDE_CRITERIA_TYPE\x10\x04\x12\'\n#CANNOT_SET_STATUS_FOR_CRITERIA_TYPE\x10\x05\x12+\n\'CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA\x10\x06\x12\x1d\n\x19\x43\x41NNOT_TARGET_AND_EXCLUDE\x10\x07\x12\x17\n\x13TOO_MANY_OPERATIONS\x10\x08\x12-\n)OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE\x10\t\x12\x43\n?SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL\x10\n\x12\x1d\n\x19\x43\x41NNOT_ADD_EXISTING_FIELD\x10\x0b\x12$\n CANNOT_UPDATE_NEGATIVE_CRITERION\x10\x0c\x42\xf6\x01\n\"com.google.ads.googleads.v1.errorsB\x1b\x43\x61mpaignCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\033CampaignCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/errors/campaign_criterion_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xf5\x03\n\x1a\x43\x61mpaignCriterionErrorEnum\"\xd6\x03\n\x16\x43\x61mpaignCriterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x02\x12\x19\n\x15INVALID_PLACEMENT_URL\x10\x03\x12 \n\x1c\x43\x41NNOT_EXCLUDE_CRITERIA_TYPE\x10\x04\x12\'\n#CANNOT_SET_STATUS_FOR_CRITERIA_TYPE\x10\x05\x12+\n\'CANNOT_SET_STATUS_FOR_EXCLUDED_CRITERIA\x10\x06\x12\x1d\n\x19\x43\x41NNOT_TARGET_AND_EXCLUDE\x10\x07\x12\x17\n\x13TOO_MANY_OPERATIONS\x10\x08\x12-\n)OPERATOR_NOT_SUPPORTED_FOR_CRITERION_TYPE\x10\t\x12\x43\n?SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL\x10\n\x12\x1d\n\x19\x43\x41NNOT_ADD_EXISTING_FIELD\x10\x0b\x12$\n CANNOT_UPDATE_NEGATIVE_CRITERION\x10\x0c\x42\xf6\x01\n\"com.google.ads.googleads.v4.errorsB\x1b\x43\x61mpaignCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR = _descriptor.EnumDescriptor( name='CampaignCriterionError', - full_name='google.ads.googleads.v1.errors.CampaignCriterionErrorEnum.CampaignCriterionError', + full_name='google.ads.googleads.v4.errors.CampaignCriterionErrorEnum.CampaignCriterionError', filename=None, file=DESCRIPTOR, values=[ @@ -96,7 +96,7 @@ _CAMPAIGNCRITERIONERRORENUM = _descriptor.Descriptor( name='CampaignCriterionErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignCriterionErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignCriterionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -124,11 +124,11 @@ CampaignCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignCriterionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNCRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_criterion_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_criterion_error_pb2' , __doc__ = """Container for enum describing possible campaign criterion errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignCriterionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignCriterionErrorEnum) )) _sym_db.RegisterMessage(CampaignCriterionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/extension_feed_item_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_criterion_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/extension_feed_item_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_criterion_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_draft_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_draft_error_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/errors/campaign_draft_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_draft_error_pb2.py index 48a2bd9ea..eb4f79ce6 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_draft_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_draft_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_draft_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_draft_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_draft_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_draft_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\027CampaignDraftErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/errors/campaign_draft_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xc8\x03\n\x16\x43\x61mpaignDraftErrorEnum\"\xad\x03\n\x12\x43\x61mpaignDraftError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x44UPLICATE_DRAFT_NAME\x10\x02\x12*\n&INVALID_STATUS_TRANSITION_FROM_REMOVED\x10\x03\x12+\n\'INVALID_STATUS_TRANSITION_FROM_PROMOTED\x10\x04\x12\x31\n-INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED\x10\x05\x12 \n\x1c\x43USTOMER_CANNOT_CREATE_DRAFT\x10\x06\x12 \n\x1c\x43\x41MPAIGN_CANNOT_CREATE_DRAFT\x10\x07\x12\x18\n\x14INVALID_DRAFT_CHANGE\x10\x08\x12\x1d\n\x19INVALID_STATUS_TRANSITION\x10\t\x12-\n)MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED\x10\n\x12\'\n#LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY\x10\x0b\x42\xf2\x01\n\"com.google.ads.googleads.v1.errorsB\x17\x43\x61mpaignDraftErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\027CampaignDraftErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/errors/campaign_draft_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xc8\x03\n\x16\x43\x61mpaignDraftErrorEnum\"\xad\x03\n\x12\x43\x61mpaignDraftError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x44UPLICATE_DRAFT_NAME\x10\x02\x12*\n&INVALID_STATUS_TRANSITION_FROM_REMOVED\x10\x03\x12+\n\'INVALID_STATUS_TRANSITION_FROM_PROMOTED\x10\x04\x12\x31\n-INVALID_STATUS_TRANSITION_FROM_PROMOTE_FAILED\x10\x05\x12 \n\x1c\x43USTOMER_CANNOT_CREATE_DRAFT\x10\x06\x12 \n\x1c\x43\x41MPAIGN_CANNOT_CREATE_DRAFT\x10\x07\x12\x18\n\x14INVALID_DRAFT_CHANGE\x10\x08\x12\x1d\n\x19INVALID_STATUS_TRANSITION\x10\t\x12-\n)MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED\x10\n\x12\'\n#LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY\x10\x0b\x42\xf2\x01\n\"com.google.ads.googleads.v4.errorsB\x17\x43\x61mpaignDraftErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR = _descriptor.EnumDescriptor( name='CampaignDraftError', - full_name='google.ads.googleads.v1.errors.CampaignDraftErrorEnum.CampaignDraftError', + full_name='google.ads.googleads.v4.errors.CampaignDraftErrorEnum.CampaignDraftError', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _CAMPAIGNDRAFTERRORENUM = _descriptor.Descriptor( name='CampaignDraftErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignDraftErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignDraftErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,11 +120,11 @@ CampaignDraftErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignDraftErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNDRAFTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_draft_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_draft_error_pb2' , __doc__ = """Container for enum describing possible campaign draft errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignDraftErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignDraftErrorEnum) )) _sym_db.RegisterMessage(CampaignDraftErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/extension_setting_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_draft_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/extension_setting_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_draft_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_error_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/errors/campaign_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_error_pb2.py index 0bd622ad8..4170ecc4f 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022CampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/campaign_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x99\r\n\x11\x43\x61mpaignErrorEnum\"\x83\r\n\rCampaignError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43\x41NNOT_TARGET_CONTENT_NETWORK\x10\x03\x12 \n\x1c\x43\x41NNOT_TARGET_SEARCH_NETWORK\x10\x04\x12\x36\n2CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH\x10\x05\x12\x30\n,CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN\x10\x06\x12-\n)CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK\x10\x07\x12(\n$CANNOT_TARGET_PARTNER_SEARCH_NETWORK\x10\x08\x12K\nGCANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY\x10\t\x12\x36\n2CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS\x10\n\x12$\n CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN\x10\x0b\x12\x1b\n\x17\x44UPLICATE_CAMPAIGN_NAME\x10\x0c\x12\x1f\n\x1bINCOMPATIBLE_CAMPAIGN_FIELD\x10\r\x12\x19\n\x15INVALID_CAMPAIGN_NAME\x10\x0e\x12*\n&INVALID_AD_SERVING_OPTIMIZATION_STATUS\x10\x0f\x12\x18\n\x14INVALID_TRACKING_URL\x10\x10\x12>\n:CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING\x10\x11\x12 \n\x1cMAX_IMPRESSIONS_NOT_IN_RANGE\x10\x12\x12\x1b\n\x17TIME_UNIT_NOT_SUPPORTED\x10\x13\x12\x31\n-INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED\x10\x14\x12\x1b\n\x17\x42UDGET_CANNOT_BE_SHARED\x10\x15\x12%\n!CAMPAIGN_CANNOT_USE_SHARED_BUDGET\x10\x16\x12\x30\n,CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS\x10\x17\x12!\n\x1d\x43\x41MPAIGN_LABEL_DOES_NOT_EXIST\x10\x18\x12!\n\x1d\x43\x41MPAIGN_LABEL_ALREADY_EXISTS\x10\x19\x12\x1c\n\x18MISSING_SHOPPING_SETTING\x10\x1a\x12\"\n\x1eINVALID_SHOPPING_SALES_COUNTRY\x10\x1b\x12*\n&MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING\x10\x1e\x12;\n7ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE\x10\x1f\x12(\n$INVALID_ADVERTISING_CHANNEL_SUB_TYPE\x10 \x12,\n(AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED\x10!\x12\x1f\n\x1b\x43\x41NNOT_SET_AD_ROTATION_MODE\x10\"\x12/\n+CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED\x10#\x12\x1b\n\x17\x43\x41NNOT_SET_DATE_TO_PAST\x10$\x12\x1f\n\x1bMISSING_HOTEL_CUSTOMER_LINK\x10%\x12\x1f\n\x1bINVALID_HOTEL_CUSTOMER_LINK\x10&\x12\x19\n\x15MISSING_HOTEL_SETTING\x10\'\x12\x42\n>CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP\x10(\x12\x11\n\rAPP_NOT_FOUND\x10)\x12\x39\n5SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE\x10*\x12\x33\n/MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS\x10+B\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x43\x61mpaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022CampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/campaign_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xae\r\n\x11\x43\x61mpaignErrorEnum\"\x98\r\n\rCampaignError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43\x41NNOT_TARGET_CONTENT_NETWORK\x10\x03\x12 \n\x1c\x43\x41NNOT_TARGET_SEARCH_NETWORK\x10\x04\x12\x36\n2CANNOT_TARGET_SEARCH_NETWORK_WITHOUT_GOOGLE_SEARCH\x10\x05\x12\x30\n,CANNOT_TARGET_GOOGLE_SEARCH_FOR_CPM_CAMPAIGN\x10\x06\x12-\n)CAMPAIGN_MUST_TARGET_AT_LEAST_ONE_NETWORK\x10\x07\x12(\n$CANNOT_TARGET_PARTNER_SEARCH_NETWORK\x10\x08\x12K\nGCANNOT_TARGET_CONTENT_NETWORK_ONLY_WITH_CRITERIA_LEVEL_BIDDING_STRATEGY\x10\t\x12\x36\n2CAMPAIGN_DURATION_MUST_CONTAIN_ALL_RUNNABLE_TRIALS\x10\n\x12$\n CANNOT_MODIFY_FOR_TRIAL_CAMPAIGN\x10\x0b\x12\x1b\n\x17\x44UPLICATE_CAMPAIGN_NAME\x10\x0c\x12\x1f\n\x1bINCOMPATIBLE_CAMPAIGN_FIELD\x10\r\x12\x19\n\x15INVALID_CAMPAIGN_NAME\x10\x0e\x12*\n&INVALID_AD_SERVING_OPTIMIZATION_STATUS\x10\x0f\x12\x18\n\x14INVALID_TRACKING_URL\x10\x10\x12>\n:CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING\x10\x11\x12 \n\x1cMAX_IMPRESSIONS_NOT_IN_RANGE\x10\x12\x12\x1b\n\x17TIME_UNIT_NOT_SUPPORTED\x10\x13\x12\x31\n-INVALID_OPERATION_IF_SERVING_STATUS_HAS_ENDED\x10\x14\x12\x1b\n\x17\x42UDGET_CANNOT_BE_SHARED\x10\x15\x12%\n!CAMPAIGN_CANNOT_USE_SHARED_BUDGET\x10\x16\x12\x30\n,CANNOT_CHANGE_BUDGET_ON_CAMPAIGN_WITH_TRIALS\x10\x17\x12!\n\x1d\x43\x41MPAIGN_LABEL_DOES_NOT_EXIST\x10\x18\x12!\n\x1d\x43\x41MPAIGN_LABEL_ALREADY_EXISTS\x10\x19\x12\x1c\n\x18MISSING_SHOPPING_SETTING\x10\x1a\x12\"\n\x1eINVALID_SHOPPING_SALES_COUNTRY\x10\x1b\x12;\n7ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE\x10\x1f\x12(\n$INVALID_ADVERTISING_CHANNEL_SUB_TYPE\x10 \x12,\n(AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED\x10!\x12\x1f\n\x1b\x43\x41NNOT_SET_AD_ROTATION_MODE\x10\"\x12/\n+CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED\x10#\x12\x1b\n\x17\x43\x41NNOT_SET_DATE_TO_PAST\x10$\x12\x1f\n\x1bMISSING_HOTEL_CUSTOMER_LINK\x10%\x12\x1f\n\x1bINVALID_HOTEL_CUSTOMER_LINK\x10&\x12\x19\n\x15MISSING_HOTEL_SETTING\x10\'\x12\x42\n>CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP\x10(\x12\x11\n\rAPP_NOT_FOUND\x10)\x12\x39\n5SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE\x10*\x12\x33\n/MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS\x10+\x12#\n\x1fINSUFFICIENT_APP_INSTALLS_COUNT\x10,\x12\x1a\n\x16SENSITIVE_CATEGORY_APP\x10-B\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x43\x61mpaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNERRORENUM_CAMPAIGNERROR = _descriptor.EnumDescriptor( name='CampaignError', - full_name='google.ads.googleads.v1.errors.CampaignErrorEnum.CampaignError', + full_name='google.ads.googleads.v4.errors.CampaignErrorEnum.CampaignError', filename=None, file=DESCRIPTOR, values=[ @@ -142,73 +142,77 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING', index=27, number=30, + name='ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=27, number=31, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE', index=28, number=31, + name='INVALID_ADVERTISING_CHANNEL_SUB_TYPE', index=28, number=32, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_ADVERTISING_CHANNEL_SUB_TYPE', index=29, number=32, + name='AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED', index=29, number=33, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED', index=30, number=33, + name='CANNOT_SET_AD_ROTATION_MODE', index=30, number=34, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_SET_AD_ROTATION_MODE', index=31, number=34, + name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=31, number=35, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED', index=32, number=35, + name='CANNOT_SET_DATE_TO_PAST', index=32, number=36, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_SET_DATE_TO_PAST', index=33, number=36, + name='MISSING_HOTEL_CUSTOMER_LINK', index=33, number=37, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='MISSING_HOTEL_CUSTOMER_LINK', index=34, number=37, + name='INVALID_HOTEL_CUSTOMER_LINK', index=34, number=38, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_HOTEL_CUSTOMER_LINK', index=35, number=38, + name='MISSING_HOTEL_SETTING', index=35, number=39, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='MISSING_HOTEL_SETTING', index=36, number=39, + name='CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP', index=36, number=40, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_USE_SHARED_CAMPAIGN_BUDGET_WHILE_PART_OF_CAMPAIGN_GROUP', index=37, number=40, + name='APP_NOT_FOUND', index=37, number=41, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='APP_NOT_FOUND', index=38, number=41, + name='SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', index=38, number=42, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE', index=39, number=42, + name='MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS', index=39, number=43, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS', index=40, number=43, + name='INSUFFICIENT_APP_INSTALLS_COUNT', index=40, number=44, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SENSITIVE_CATEGORY_APP', index=41, number=45, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=146, - serialized_end=1813, + serialized_end=1834, ) _sym_db.RegisterEnumDescriptor(_CAMPAIGNERRORENUM_CAMPAIGNERROR) _CAMPAIGNERRORENUM = _descriptor.Descriptor( name='CampaignErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -227,7 +231,7 @@ oneofs=[ ], serialized_start=124, - serialized_end=1813, + serialized_end=1834, ) _CAMPAIGNERRORENUM_CAMPAIGNERROR.containing_type = _CAMPAIGNERRORENUM @@ -236,11 +240,11 @@ CampaignErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_error_pb2' , __doc__ = """Container for enum describing possible campaign errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignErrorEnum) )) _sym_db.RegisterMessage(CampaignErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_attribute_reference_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_attribute_reference_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_experiment_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_experiment_error_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/errors/campaign_experiment_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_experiment_error_pb2.py index 89826718d..7bfa6e0b6 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_experiment_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_experiment_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_experiment_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_experiment_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_experiment_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_experiment_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\034CampaignExperimentErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/errors/campaign_experiment_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x80\x04\n\x1b\x43\x61mpaignExperimentErrorEnum\"\xe0\x03\n\x17\x43\x61mpaignExperimentError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12\x16\n\x12INVALID_TRANSITION\x10\x03\x12/\n+CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET\x10\x04\x12\x36\n2CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN\x10\x05\x12\x33\n/CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT\x10\x06\x12%\n!CUSTOMER_CANNOT_CREATE_EXPERIMENT\x10\x07\x12%\n!CAMPAIGN_CANNOT_CREATE_EXPERIMENT\x10\x08\x12)\n%EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP\x10\t\x12\x38\n4EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION\x10\n\x12*\n&CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS\x10\x0b\x42\xf7\x01\n\"com.google.ads.googleads.v1.errorsB\x1c\x43\x61mpaignExperimentErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\034CampaignExperimentErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/errors/campaign_experiment_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x80\x04\n\x1b\x43\x61mpaignExperimentErrorEnum\"\xe0\x03\n\x17\x43\x61mpaignExperimentError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12\x16\n\x12INVALID_TRANSITION\x10\x03\x12/\n+CANNOT_CREATE_EXPERIMENT_WITH_SHARED_BUDGET\x10\x04\x12\x36\n2CANNOT_CREATE_EXPERIMENT_FOR_REMOVED_BASE_CAMPAIGN\x10\x05\x12\x33\n/CANNOT_CREATE_EXPERIMENT_FOR_NON_PROPOSED_DRAFT\x10\x06\x12%\n!CUSTOMER_CANNOT_CREATE_EXPERIMENT\x10\x07\x12%\n!CAMPAIGN_CANNOT_CREATE_EXPERIMENT\x10\x08\x12)\n%EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP\x10\t\x12\x38\n4EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION\x10\n\x12*\n&CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS\x10\x0b\x42\xf7\x01\n\"com.google.ads.googleads.v4.errorsB\x1c\x43\x61mpaignExperimentErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR = _descriptor.EnumDescriptor( name='CampaignExperimentError', - full_name='google.ads.googleads.v1.errors.CampaignExperimentErrorEnum.CampaignExperimentError', + full_name='google.ads.googleads.v4.errors.CampaignExperimentErrorEnum.CampaignExperimentError', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _CAMPAIGNEXPERIMENTERRORENUM = _descriptor.Descriptor( name='CampaignExperimentErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignExperimentErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignExperimentErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,11 +120,11 @@ CampaignExperimentErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignExperimentErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_experiment_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_experiment_error_pb2' , __doc__ = """Container for enum describing possible campaign experiment errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignExperimentErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignExperimentErrorEnum) )) _sym_db.RegisterMessage(CampaignExperimentErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_experiment_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_experiment_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_feed_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_feed_error_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/errors/campaign_feed_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_feed_error_pb2.py index 04184c431..a2ec3f2a2 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_feed_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_feed_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_feed_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_feed_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_feed_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_feed_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026CampaignFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/campaign_feed_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xc4\x02\n\x15\x43\x61mpaignFeedErrorEnum\"\xaa\x02\n\x11\x43\x61mpaignFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x04\x12\x30\n,CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED\x10\x05\x12\'\n#CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED\x10\x06\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x07\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x08\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16\x43\x61mpaignFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026CampaignFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/campaign_feed_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xec\x02\n\x15\x43\x61mpaignFeedErrorEnum\"\xd2\x02\n\x11\x43\x61mpaignFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x04\x12\x30\n,CANNOT_CREATE_ALREADY_EXISTING_CAMPAIGN_FEED\x10\x05\x12\'\n#CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED\x10\x06\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x07\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x08\x12&\n\"NO_EXISTING_LOCATION_CUSTOMER_FEED\x10\tB\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x43\x61mpaignFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR = _descriptor.EnumDescriptor( name='CampaignFeedError', - full_name='google.ads.googleads.v1.errors.CampaignFeedErrorEnum.CampaignFeedError', + full_name='google.ads.googleads.v4.errors.CampaignFeedErrorEnum.CampaignFeedError', filename=None, file=DESCRIPTOR, values=[ @@ -65,18 +65,22 @@ name='MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE', index=7, number=8, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='NO_EXISTING_LOCATION_CUSTOMER_FEED', index=8, number=9, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=155, - serialized_end=453, + serialized_end=493, ) _sym_db.RegisterEnumDescriptor(_CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR) _CAMPAIGNFEEDERRORENUM = _descriptor.Descriptor( name='CampaignFeedErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignFeedErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignFeedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -95,7 +99,7 @@ oneofs=[ ], serialized_start=129, - serialized_end=453, + serialized_end=493, ) _CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR.containing_type = _CAMPAIGNFEEDERRORENUM @@ -104,11 +108,11 @@ CampaignFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignFeedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNFEEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_feed_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_feed_error_pb2' , __doc__ = """Container for enum describing possible campaign feed errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignFeedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignFeedErrorEnum) )) _sym_db.RegisterMessage(CampaignFeedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_feed_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_item_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_feed_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/campaign_shared_set_error_pb2.py b/google/ads/google_ads/v4/proto/errors/campaign_shared_set_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/campaign_shared_set_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/campaign_shared_set_error_pb2.py index 48c57a5db..aff5cf70f 100644 --- a/google/ads/google_ads/v1/proto/errors/campaign_shared_set_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/campaign_shared_set_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/campaign_shared_set_error.proto +# source: google/ads/googleads_v4/proto/errors/campaign_shared_set_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/campaign_shared_set_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/campaign_shared_set_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\033CampaignSharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/errors/campaign_shared_set_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"r\n\x1a\x43\x61mpaignSharedSetErrorEnum\"T\n\x16\x43\x61mpaignSharedSetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18SHARED_SET_ACCESS_DENIED\x10\x02\x42\xf6\x01\n\"com.google.ads.googleads.v1.errorsB\x1b\x43\x61mpaignSharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\033CampaignSharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/errors/campaign_shared_set_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"r\n\x1a\x43\x61mpaignSharedSetErrorEnum\"T\n\x16\x43\x61mpaignSharedSetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18SHARED_SET_ACCESS_DENIED\x10\x02\x42\xf6\x01\n\"com.google.ads.googleads.v4.errorsB\x1b\x43\x61mpaignSharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR = _descriptor.EnumDescriptor( name='CampaignSharedSetError', - full_name='google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError', + full_name='google.ads.googleads.v4.errors.CampaignSharedSetErrorEnum.CampaignSharedSetError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _CAMPAIGNSHAREDSETERRORENUM = _descriptor.Descriptor( name='CampaignSharedSetErrorEnum', - full_name='google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum', + full_name='google.ads.googleads.v4.errors.CampaignSharedSetErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ CampaignSharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('CampaignSharedSetErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNSHAREDSETERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.campaign_shared_set_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.campaign_shared_set_error_pb2' , __doc__ = """Container for enum describing possible campaign shared set errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CampaignSharedSetErrorEnum) )) _sym_db.RegisterMessage(CampaignSharedSetErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_target_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/campaign_shared_set_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_item_target_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/campaign_shared_set_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/change_status_error_pb2.py b/google/ads/google_ads/v4/proto/errors/change_status_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/change_status_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/change_status_error_pb2.py index b116ea9f8..d77a5191a 100644 --- a/google/ads/google_ads/v1/proto/errors/change_status_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/change_status_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/change_status_error.proto +# source: google/ads/googleads_v4/proto/errors/change_status_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/change_status_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/change_status_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026ChangeStatusErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/change_status_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x15\x43hangeStatusErrorEnum\"I\n\x11\x43hangeStatusError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12START_DATE_TOO_OLD\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16\x43hangeStatusErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026ChangeStatusErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/change_status_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x15\x43hangeStatusErrorEnum\"I\n\x11\x43hangeStatusError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12START_DATE_TOO_OLD\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x43hangeStatusErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CHANGESTATUSERRORENUM_CHANGESTATUSERROR = _descriptor.EnumDescriptor( name='ChangeStatusError', - full_name='google.ads.googleads.v1.errors.ChangeStatusErrorEnum.ChangeStatusError', + full_name='google.ads.googleads.v4.errors.ChangeStatusErrorEnum.ChangeStatusError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _CHANGESTATUSERRORENUM = _descriptor.Descriptor( name='ChangeStatusErrorEnum', - full_name='google.ads.googleads.v1.errors.ChangeStatusErrorEnum', + full_name='google.ads.googleads.v4.errors.ChangeStatusErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ ChangeStatusErrorEnum = _reflection.GeneratedProtocolMessageType('ChangeStatusErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CHANGESTATUSERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.change_status_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.change_status_error_pb2' , __doc__ = """Container for enum describing possible change status errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ChangeStatusErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ChangeStatusErrorEnum) )) _sym_db.RegisterMessage(ChangeStatusErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_validation_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/change_status_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_item_validation_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/change_status_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/collection_size_error_pb2.py b/google/ads/google_ads/v4/proto/errors/collection_size_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/collection_size_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/collection_size_error_pb2.py index 991d64bdc..e80d19701 100644 --- a/google/ads/google_ads/v1/proto/errors/collection_size_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/collection_size_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/collection_size_error.proto +# source: google/ads/googleads_v4/proto/errors/collection_size_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/collection_size_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/collection_size_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030CollectionSizeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/errors/collection_size_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"i\n\x17\x43ollectionSizeErrorEnum\"N\n\x13\x43ollectionSizeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07TOO_FEW\x10\x02\x12\x0c\n\x08TOO_MANY\x10\x03\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18\x43ollectionSizeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030CollectionSizeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/errors/collection_size_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"i\n\x17\x43ollectionSizeErrorEnum\"N\n\x13\x43ollectionSizeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07TOO_FEW\x10\x02\x12\x0c\n\x08TOO_MANY\x10\x03\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18\x43ollectionSizeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR = _descriptor.EnumDescriptor( name='CollectionSizeError', - full_name='google.ads.googleads.v1.errors.CollectionSizeErrorEnum.CollectionSizeError', + full_name='google.ads.googleads.v4.errors.CollectionSizeErrorEnum.CollectionSizeError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _COLLECTIONSIZEERRORENUM = _descriptor.Descriptor( name='CollectionSizeErrorEnum', - full_name='google.ads.googleads.v1.errors.CollectionSizeErrorEnum', + full_name='google.ads.googleads.v4.errors.CollectionSizeErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ CollectionSizeErrorEnum = _reflection.GeneratedProtocolMessageType('CollectionSizeErrorEnum', (_message.Message,), dict( DESCRIPTOR = _COLLECTIONSIZEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.collection_size_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.collection_size_error_pb2' , __doc__ = """Container for enum describing possible collection size errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CollectionSizeErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CollectionSizeErrorEnum) )) _sym_db.RegisterMessage(CollectionSizeErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/feed_mapping_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/collection_size_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/feed_mapping_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/collection_size_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/context_error_pb2.py b/google/ads/google_ads/v4/proto/errors/context_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/context_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/context_error_pb2.py index 1279b7c11..e65e456d9 100644 --- a/google/ads/google_ads/v1/proto/errors/context_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/context_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/context_error.proto +# source: google/ads/googleads_v4/proto/errors/context_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/context_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/context_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\021ContextErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/errors/context_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x9c\x01\n\x10\x43ontextErrorEnum\"\x87\x01\n\x0c\x43ontextError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#OPERATION_NOT_PERMITTED_FOR_CONTEXT\x10\x02\x12\x30\n,OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE\x10\x03\x42\xec\x01\n\"com.google.ads.googleads.v1.errorsB\x11\x43ontextErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\021ContextErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/errors/context_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x9c\x01\n\x10\x43ontextErrorEnum\"\x87\x01\n\x0c\x43ontextError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#OPERATION_NOT_PERMITTED_FOR_CONTEXT\x10\x02\x12\x30\n,OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE\x10\x03\x42\xec\x01\n\"com.google.ads.googleads.v4.errorsB\x11\x43ontextErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CONTEXTERRORENUM_CONTEXTERROR = _descriptor.EnumDescriptor( name='ContextError', - full_name='google.ads.googleads.v1.errors.ContextErrorEnum.ContextError', + full_name='google.ads.googleads.v4.errors.ContextErrorEnum.ContextError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _CONTEXTERRORENUM = _descriptor.Descriptor( name='ContextErrorEnum', - full_name='google.ads.googleads.v1.errors.ContextErrorEnum', + full_name='google.ads.googleads.v4.errors.ContextErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ContextErrorEnum = _reflection.GeneratedProtocolMessageType('ContextErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CONTEXTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.context_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.context_error_pb2' , __doc__ = """Container for enum describing possible context errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ContextErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ContextErrorEnum) )) _sym_db.RegisterMessage(ContextErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/field_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/context_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/field_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/context_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/conversion_action_error_pb2.py b/google/ads/google_ads/v4/proto/errors/conversion_action_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/conversion_action_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/conversion_action_error_pb2.py index bb710204a..cedca2364 100644 --- a/google/ads/google_ads/v1/proto/errors/conversion_action_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/conversion_action_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/conversion_action_error.proto +# source: google/ads/googleads_v4/proto/errors/conversion_action_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/conversion_action_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/conversion_action_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\032ConversionActionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/errors/conversion_action_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xef\x02\n\x19\x43onversionActionErrorEnum\"\xd1\x02\n\x15\x43onversionActionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12\x14\n\x10\x44UPLICATE_APP_ID\x10\x03\x12\x37\n3TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD\x10\x04\x12\x31\n-BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION\x10\x05\x12)\n%DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED\x10\x06\x12\x1d\n\x19\x44\x41TA_DRIVEN_MODEL_EXPIRED\x10\x07\x12\x1b\n\x17\x44\x41TA_DRIVEN_MODEL_STALE\x10\x08\x12\x1d\n\x19\x44\x41TA_DRIVEN_MODEL_UNKNOWN\x10\tB\xf5\x01\n\"com.google.ads.googleads.v1.errorsB\x1a\x43onversionActionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\032ConversionActionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/errors/conversion_action_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x8b\x03\n\x19\x43onversionActionErrorEnum\"\xed\x02\n\x15\x43onversionActionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x02\x12\x14\n\x10\x44UPLICATE_APP_ID\x10\x03\x12\x37\n3TWO_CONVERSION_ACTIONS_BIDDING_ON_SAME_APP_DOWNLOAD\x10\x04\x12\x31\n-BIDDING_ON_SAME_APP_DOWNLOAD_AS_GLOBAL_ACTION\x10\x05\x12)\n%DATA_DRIVEN_MODEL_WAS_NEVER_GENERATED\x10\x06\x12\x1d\n\x19\x44\x41TA_DRIVEN_MODEL_EXPIRED\x10\x07\x12\x1b\n\x17\x44\x41TA_DRIVEN_MODEL_STALE\x10\x08\x12\x1d\n\x19\x44\x41TA_DRIVEN_MODEL_UNKNOWN\x10\t\x12\x1a\n\x16\x43REATION_NOT_SUPPORTED\x10\nB\xf5\x01\n\"com.google.ads.googleads.v4.errorsB\x1a\x43onversionActionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR = _descriptor.EnumDescriptor( name='ConversionActionError', - full_name='google.ads.googleads.v1.errors.ConversionActionErrorEnum.ConversionActionError', + full_name='google.ads.googleads.v4.errors.ConversionActionErrorEnum.ConversionActionError', filename=None, file=DESCRIPTOR, values=[ @@ -73,18 +73,22 @@ name='DATA_DRIVEN_MODEL_UNKNOWN', index=9, number=9, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='CREATION_NOT_SUPPORTED', index=10, number=10, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=163, - serialized_end=500, + serialized_end=528, ) _sym_db.RegisterEnumDescriptor(_CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR) _CONVERSIONACTIONERRORENUM = _descriptor.Descriptor( name='ConversionActionErrorEnum', - full_name='google.ads.googleads.v1.errors.ConversionActionErrorEnum', + full_name='google.ads.googleads.v4.errors.ConversionActionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -103,7 +107,7 @@ oneofs=[ ], serialized_start=133, - serialized_end=500, + serialized_end=528, ) _CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR.containing_type = _CONVERSIONACTIONERRORENUM @@ -112,11 +116,11 @@ ConversionActionErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionActionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONACTIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.conversion_action_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.conversion_action_error_pb2' , __doc__ = """Container for enum describing possible conversion action errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ConversionActionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ConversionActionErrorEnum) )) _sym_db.RegisterMessage(ConversionActionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/field_mask_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/conversion_action_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/field_mask_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/conversion_action_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/conversion_adjustment_upload_error_pb2.py b/google/ads/google_ads/v4/proto/errors/conversion_adjustment_upload_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/conversion_adjustment_upload_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/conversion_adjustment_upload_error_pb2.py index bb5d2d589..df3a5fe8c 100644 --- a/google/ads/google_ads/v1/proto/errors/conversion_adjustment_upload_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/conversion_adjustment_upload_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/conversion_adjustment_upload_error.proto +# source: google/ads/googleads_v4/proto/errors/conversion_adjustment_upload_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/conversion_adjustment_upload_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/conversion_adjustment_upload_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB$ConversionAdjustmentUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nMgoogle/ads/googleads_v1/proto/errors/conversion_adjustment_upload_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xae\x03\n#ConversionAdjustmentUploadErrorEnum\"\x86\x03\n\x1f\x43onversionAdjustmentUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cTOO_RECENT_CONVERSION_ACTION\x10\x02\x12\x1d\n\x19INVALID_CONVERSION_ACTION\x10\x03\x12 \n\x1c\x43ONVERSION_ALREADY_RETRACTED\x10\x04\x12\x18\n\x14\x43ONVERSION_NOT_FOUND\x10\x05\x12\x16\n\x12\x43ONVERSION_EXPIRED\x10\x06\x12\"\n\x1e\x41\x44JUSTMENT_PRECEDES_CONVERSION\x10\x07\x12!\n\x1dMORE_RECENT_RESTATEMENT_FOUND\x10\x08\x12\x19\n\x15TOO_RECENT_CONVERSION\x10\t\x12N\nJCANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE\x10\nB\xff\x01\n\"com.google.ads.googleads.v1.errorsB$ConversionAdjustmentUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB$ConversionAdjustmentUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nMgoogle/ads/googleads_v4/proto/errors/conversion_adjustment_upload_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xed\x03\n#ConversionAdjustmentUploadErrorEnum\"\xc5\x03\n\x1f\x43onversionAdjustmentUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cTOO_RECENT_CONVERSION_ACTION\x10\x02\x12\x1d\n\x19INVALID_CONVERSION_ACTION\x10\x03\x12 \n\x1c\x43ONVERSION_ALREADY_RETRACTED\x10\x04\x12\x18\n\x14\x43ONVERSION_NOT_FOUND\x10\x05\x12\x16\n\x12\x43ONVERSION_EXPIRED\x10\x06\x12\"\n\x1e\x41\x44JUSTMENT_PRECEDES_CONVERSION\x10\x07\x12!\n\x1dMORE_RECENT_RESTATEMENT_FOUND\x10\x08\x12\x19\n\x15TOO_RECENT_CONVERSION\x10\t\x12N\nJCANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE\x10\n\x12#\n\x1fTOO_MANY_ADJUSTMENTS_IN_REQUEST\x10\x0b\x12\x18\n\x14TOO_MANY_ADJUSTMENTS\x10\x0c\x42\xff\x01\n\"com.google.ads.googleads.v4.errorsB$ConversionAdjustmentUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR = _descriptor.EnumDescriptor( name='ConversionAdjustmentUploadError', - full_name='google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError', + full_name='google.ads.googleads.v4.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadError', filename=None, file=DESCRIPTOR, values=[ @@ -77,18 +77,26 @@ name='CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE', index=10, number=10, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ADJUSTMENTS_IN_REQUEST', index=11, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_ADJUSTMENTS', index=12, number=12, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=184, - serialized_end=574, + serialized_end=637, ) _sym_db.RegisterEnumDescriptor(_CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR) _CONVERSIONADJUSTMENTUPLOADERRORENUM = _descriptor.Descriptor( name='ConversionAdjustmentUploadErrorEnum', - full_name='google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum', + full_name='google.ads.googleads.v4.errors.ConversionAdjustmentUploadErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -107,7 +115,7 @@ oneofs=[ ], serialized_start=144, - serialized_end=574, + serialized_end=637, ) _CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR.containing_type = _CONVERSIONADJUSTMENTUPLOADERRORENUM @@ -116,12 +124,12 @@ ConversionAdjustmentUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionAdjustmentUploadErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONADJUSTMENTUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.conversion_adjustment_upload_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.conversion_adjustment_upload_error_pb2' , __doc__ = """Container for enum describing possible conversion adjustment upload errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ConversionAdjustmentUploadErrorEnum) )) _sym_db.RegisterMessage(ConversionAdjustmentUploadErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/function_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/function_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/conversion_adjustment_upload_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/conversion_upload_error_pb2.py b/google/ads/google_ads/v4/proto/errors/conversion_upload_error_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/errors/conversion_upload_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/conversion_upload_error_pb2.py index b7ff82d32..372e797fe 100644 --- a/google/ads/google_ads/v1/proto/errors/conversion_upload_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/conversion_upload_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/conversion_upload_error.proto +# source: google/ads/googleads_v4/proto/errors/conversion_upload_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/conversion_upload_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/conversion_upload_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\032ConversionUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/errors/conversion_upload_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xd4\x06\n\x19\x43onversionUploadErrorEnum\"\xb6\x06\n\x15\x43onversionUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12#\n\x1fTOO_MANY_CONVERSIONS_IN_REQUEST\x10\x02\x12\x15\n\x11UNPARSEABLE_GCLID\x10\x03\x12\x1d\n\x19\x43ONVERSION_PRECEDES_GCLID\x10\x04\x12\x11\n\rEXPIRED_GCLID\x10\x05\x12\x14\n\x10TOO_RECENT_GCLID\x10\x06\x12\x13\n\x0fGCLID_NOT_FOUND\x10\x07\x12\x19\n\x15UNAUTHORIZED_CUSTOMER\x10\x08\x12\x1d\n\x19INVALID_CONVERSION_ACTION\x10\t\x12 \n\x1cTOO_RECENT_CONVERSION_ACTION\x10\n\x12\x36\n2CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME\x10\x0b\x12Q\nMEXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\x0c\x12Q\nMEXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\r\x12\x46\nBORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\x0e\x12\x1b\n\x17ORDER_ID_ALREADY_IN_USE\x10\x0f\x12\x16\n\x12\x44UPLICATE_ORDER_ID\x10\x10\x12\x13\n\x0fTOO_RECENT_CALL\x10\x11\x12\x10\n\x0c\x45XPIRED_CALL\x10\x12\x12\x12\n\x0e\x43\x41LL_NOT_FOUND\x10\x13\x12\x1c\n\x18\x43ONVERSION_PRECEDES_CALL\x10\x14\x12\x30\n,CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME\x10\x15\x12$\n UNPARSEABLE_CALLERS_PHONE_NUMBER\x10\x16\x42\xf5\x01\n\"com.google.ads.googleads.v1.errorsB\x1a\x43onversionUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\032ConversionUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/errors/conversion_upload_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd4\x06\n\x19\x43onversionUploadErrorEnum\"\xb6\x06\n\x15\x43onversionUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12#\n\x1fTOO_MANY_CONVERSIONS_IN_REQUEST\x10\x02\x12\x15\n\x11UNPARSEABLE_GCLID\x10\x03\x12\x1d\n\x19\x43ONVERSION_PRECEDES_GCLID\x10\x04\x12\x11\n\rEXPIRED_GCLID\x10\x05\x12\x14\n\x10TOO_RECENT_GCLID\x10\x06\x12\x13\n\x0fGCLID_NOT_FOUND\x10\x07\x12\x19\n\x15UNAUTHORIZED_CUSTOMER\x10\x08\x12\x1d\n\x19INVALID_CONVERSION_ACTION\x10\t\x12 \n\x1cTOO_RECENT_CONVERSION_ACTION\x10\n\x12\x36\n2CONVERSION_TRACKING_NOT_ENABLED_AT_IMPRESSION_TIME\x10\x0b\x12Q\nMEXTERNAL_ATTRIBUTION_DATA_SET_FOR_NON_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\x0c\x12Q\nMEXTERNAL_ATTRIBUTION_DATA_NOT_SET_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\r\x12\x46\nBORDER_ID_NOT_PERMITTED_FOR_EXTERNALLY_ATTRIBUTED_CONVERSION_ACTION\x10\x0e\x12\x1b\n\x17ORDER_ID_ALREADY_IN_USE\x10\x0f\x12\x16\n\x12\x44UPLICATE_ORDER_ID\x10\x10\x12\x13\n\x0fTOO_RECENT_CALL\x10\x11\x12\x10\n\x0c\x45XPIRED_CALL\x10\x12\x12\x12\n\x0e\x43\x41LL_NOT_FOUND\x10\x13\x12\x1c\n\x18\x43ONVERSION_PRECEDES_CALL\x10\x14\x12\x30\n,CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME\x10\x15\x12$\n UNPARSEABLE_CALLERS_PHONE_NUMBER\x10\x16\x42\xf5\x01\n\"com.google.ads.googleads.v4.errorsB\x1a\x43onversionUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR = _descriptor.EnumDescriptor( name='ConversionUploadError', - full_name='google.ads.googleads.v1.errors.ConversionUploadErrorEnum.ConversionUploadError', + full_name='google.ads.googleads.v4.errors.ConversionUploadErrorEnum.ConversionUploadError', filename=None, file=DESCRIPTOR, values=[ @@ -136,7 +136,7 @@ _CONVERSIONUPLOADERRORENUM = _descriptor.Descriptor( name='ConversionUploadErrorEnum', - full_name='google.ads.googleads.v1.errors.ConversionUploadErrorEnum', + full_name='google.ads.googleads.v4.errors.ConversionUploadErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -164,11 +164,11 @@ ConversionUploadErrorEnum = _reflection.GeneratedProtocolMessageType('ConversionUploadErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.conversion_upload_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.conversion_upload_error_pb2' , __doc__ = """Container for enum describing possible conversion upload errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ConversionUploadErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ConversionUploadErrorEnum) )) _sym_db.RegisterMessage(ConversionUploadErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/function_parsing_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/conversion_upload_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/function_parsing_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/conversion_upload_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/country_code_error_pb2.py b/google/ads/google_ads/v4/proto/errors/country_code_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/country_code_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/country_code_error_pb2.py index 14425c705..eeef070da 100644 --- a/google/ads/google_ads/v1/proto/errors/country_code_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/country_code_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/country_code_error.proto +# source: google/ads/googleads_v4/proto/errors/country_code_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/country_code_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/country_code_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025CountryCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/country_code_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x14\x43ountryCodeErrorEnum\"J\n\x10\x43ountryCodeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x02\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15\x43ountryCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025CountryCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/country_code_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x14\x43ountryCodeErrorEnum\"J\n\x10\x43ountryCodeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x02\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15\x43ountryCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _COUNTRYCODEERRORENUM_COUNTRYCODEERROR = _descriptor.EnumDescriptor( name='CountryCodeError', - full_name='google.ads.googleads.v1.errors.CountryCodeErrorEnum.CountryCodeError', + full_name='google.ads.googleads.v4.errors.CountryCodeErrorEnum.CountryCodeError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _COUNTRYCODEERRORENUM = _descriptor.Descriptor( name='CountryCodeErrorEnum', - full_name='google.ads.googleads.v1.errors.CountryCodeErrorEnum', + full_name='google.ads.googleads.v4.errors.CountryCodeErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ CountryCodeErrorEnum = _reflection.GeneratedProtocolMessageType('CountryCodeErrorEnum', (_message.Message,), dict( DESCRIPTOR = _COUNTRYCODEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.country_code_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.country_code_error_pb2' , __doc__ = """Container for enum describing country code errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CountryCodeErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CountryCodeErrorEnum) )) _sym_db.RegisterMessage(CountryCodeErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/country_code_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/country_code_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/criterion_error_pb2.py b/google/ads/google_ads/v4/proto/errors/criterion_error_pb2.py similarity index 50% rename from google/ads/google_ads/v1/proto/errors/criterion_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/criterion_error_pb2.py index 3ba7d5b2c..bb1217b0b 100644 --- a/google/ads/google_ads/v1/proto/errors/criterion_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/criterion_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/criterion_error.proto +# source: google/ads/googleads_v4/proto/errors/criterion_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/criterion_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/criterion_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023CriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/errors/criterion_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xa8\x1d\n\x12\x43riterionErrorEnum\"\x91\x1d\n\x0e\x43riterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x02\x12\x1d\n\x19INVALID_EXCLUDED_CATEGORY\x10\x03\x12\x18\n\x14INVALID_KEYWORD_TEXT\x10\x04\x12\x19\n\x15KEYWORD_TEXT_TOO_LONG\x10\x05\x12\x1e\n\x1aKEYWORD_HAS_TOO_MANY_WORDS\x10\x06\x12\x1d\n\x19KEYWORD_HAS_INVALID_CHARS\x10\x07\x12\x19\n\x15INVALID_PLACEMENT_URL\x10\x08\x12\x15\n\x11INVALID_USER_LIST\x10\t\x12\x19\n\x15INVALID_USER_INTEREST\x10\n\x12$\n INVALID_FORMAT_FOR_PLACEMENT_URL\x10\x0b\x12\x1d\n\x19PLACEMENT_URL_IS_TOO_LONG\x10\x0c\x12\"\n\x1ePLACEMENT_URL_HAS_ILLEGAL_CHAR\x10\r\x12,\n(PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE\x10\x0e\x12\x39\n5PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION\x10\x0f\x12\x16\n\x12INVALID_TOPIC_PATH\x10\x10\x12\x1e\n\x1aINVALID_YOUTUBE_CHANNEL_ID\x10\x11\x12\x1c\n\x18INVALID_YOUTUBE_VIDEO_ID\x10\x12\x12\'\n#YOUTUBE_VERTICAL_CHANNEL_DEPRECATED\x10\x13\x12*\n&YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED\x10\x14\x12\x1b\n\x17YOUTUBE_URL_UNSUPPORTED\x10\x15\x12 \n\x1c\x43\x41NNOT_EXCLUDE_CRITERIA_TYPE\x10\x16\x12\x1c\n\x18\x43\x41NNOT_ADD_CRITERIA_TYPE\x10\x17\x12\x1a\n\x16INVALID_PRODUCT_FILTER\x10\x18\x12\x1b\n\x17PRODUCT_FILTER_TOO_LONG\x10\x19\x12$\n CANNOT_EXCLUDE_SIMILAR_USER_LIST\x10\x1a\x12\x1f\n\x1b\x43\x41NNOT_ADD_CLOSED_USER_LIST\x10\x1b\x12:\n6CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS\x10\x1c\x12\x35\n1CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS\x10\x1d\x12\x37\n3CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS\x10\x1e\x12\x31\n-CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS\x10\x1f\x12\x39\n5CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS\x10 \x12\x37\n3CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE\x10!\x12\x1b\n\x17INVALID_CUSTOM_AFFINITY\x10`\x12\x19\n\x15INVALID_CUSTOM_INTENT\x10\x61\x12\x16\n\x12INVALID_IP_ADDRESS\x10\"\x12\x15\n\x11INVALID_IP_FORMAT\x10#\x12\x16\n\x12INVALID_MOBILE_APP\x10$\x12\x1f\n\x1bINVALID_MOBILE_APP_CATEGORY\x10%\x12\x18\n\x14INVALID_CRITERION_ID\x10&\x12\x1b\n\x17\x43\x41NNOT_TARGET_CRITERION\x10\'\x12$\n CANNOT_TARGET_OBSOLETE_CRITERION\x10(\x12\"\n\x1e\x43RITERION_ID_AND_TYPE_MISMATCH\x10)\x12\x1c\n\x18INVALID_PROXIMITY_RADIUS\x10*\x12\"\n\x1eINVALID_PROXIMITY_RADIUS_UNITS\x10+\x12 \n\x1cINVALID_STREETADDRESS_LENGTH\x10,\x12\x1b\n\x17INVALID_CITYNAME_LENGTH\x10-\x12\x1d\n\x19INVALID_REGIONCODE_LENGTH\x10.\x12\x1d\n\x19INVALID_REGIONNAME_LENGTH\x10/\x12\x1d\n\x19INVALID_POSTALCODE_LENGTH\x10\x30\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x31\x12\x14\n\x10INVALID_LATITUDE\x10\x32\x12\x15\n\x11INVALID_LONGITUDE\x10\x33\x12\x36\n2PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL\x10\x34\x12\x1d\n\x19INVALID_PROXIMITY_ADDRESS\x10\x35\x12\x1c\n\x18INVALID_USER_DOMAIN_NAME\x10\x36\x12 \n\x1c\x43RITERION_PARAMETER_TOO_LONG\x10\x37\x12&\n\"AD_SCHEDULE_TIME_INTERVALS_OVERLAP\x10\x38\x12\x32\n.AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS\x10\x39\x12%\n!AD_SCHEDULE_INVALID_TIME_INTERVAL\x10:\x12\x30\n,AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT\x10;\x12/\n+AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS\x10<\x12$\n CANNOT_BID_MODIFY_CRITERION_TYPE\x10=\x12\x32\n.CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT\x10>\x12(\n$CANNOT_BID_MODIFY_NEGATIVE_CRITERION\x10?\x12\x1f\n\x1b\x42ID_MODIFIER_ALREADY_EXISTS\x10@\x12\x17\n\x13\x46\x45\x45\x44_ID_NOT_ALLOWED\x10\x41\x12(\n$ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE\x10\x42\x12.\n*CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY\x10\x43\x12\x1c\n\x18\x43\x41NNOT_EXCLUDE_CRITERION\x10\x44\x12\x1b\n\x17\x43\x41NNOT_REMOVE_CRITERION\x10\x45\x12\x1a\n\x16PRODUCT_SCOPE_TOO_LONG\x10\x46\x12%\n!PRODUCT_SCOPE_TOO_MANY_DIMENSIONS\x10G\x12\x1e\n\x1aPRODUCT_PARTITION_TOO_LONG\x10H\x12)\n%PRODUCT_PARTITION_TOO_MANY_DIMENSIONS\x10I\x12\x1d\n\x19INVALID_PRODUCT_DIMENSION\x10J\x12\"\n\x1eINVALID_PRODUCT_DIMENSION_TYPE\x10K\x12$\n INVALID_PRODUCT_BIDDING_CATEGORY\x10L\x12\x1c\n\x18MISSING_SHOPPING_SETTING\x10M\x12\x1d\n\x19INVALID_MATCHING_FUNCTION\x10N\x12\x1f\n\x1bLOCATION_FILTER_NOT_ALLOWED\x10O\x12$\n INVALID_FEED_FOR_LOCATION_FILTER\x10\x62\x12\x1b\n\x17LOCATION_FILTER_INVALID\x10P\x12\x32\n.CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP\x10Q\x12\x39\n5HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION\x10R\x12\x41\n=HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION\x10S\x12.\n*FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING\x10T\x12\x1d\n\x19INVALID_WEBPAGE_CONDITION\x10U\x12!\n\x1dINVALID_WEBPAGE_CONDITION_URL\x10V\x12)\n%WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY\x10W\x12.\n*WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL\x10X\x12.\n*WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS\x10Y\x12\x45\nAWEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING\x10Z\x12\x31\n-WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX\x10[\x12/\n+WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX\x10\\\x12\x39\n5WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED\x10]\x12<\n8WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION\x10^\x12\x37\n3WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP\x10_B\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13\x43riterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023CriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/criterion_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x92\"\n\x12\x43riterionErrorEnum\"\xfb!\n\x0e\x43riterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x02\x12\x1d\n\x19INVALID_EXCLUDED_CATEGORY\x10\x03\x12\x18\n\x14INVALID_KEYWORD_TEXT\x10\x04\x12\x19\n\x15KEYWORD_TEXT_TOO_LONG\x10\x05\x12\x1e\n\x1aKEYWORD_HAS_TOO_MANY_WORDS\x10\x06\x12\x1d\n\x19KEYWORD_HAS_INVALID_CHARS\x10\x07\x12\x19\n\x15INVALID_PLACEMENT_URL\x10\x08\x12\x15\n\x11INVALID_USER_LIST\x10\t\x12\x19\n\x15INVALID_USER_INTEREST\x10\n\x12$\n INVALID_FORMAT_FOR_PLACEMENT_URL\x10\x0b\x12\x1d\n\x19PLACEMENT_URL_IS_TOO_LONG\x10\x0c\x12\"\n\x1ePLACEMENT_URL_HAS_ILLEGAL_CHAR\x10\r\x12,\n(PLACEMENT_URL_HAS_MULTIPLE_SITES_IN_LINE\x10\x0e\x12\x39\n5PLACEMENT_IS_NOT_AVAILABLE_FOR_TARGETING_OR_EXCLUSION\x10\x0f\x12\x16\n\x12INVALID_TOPIC_PATH\x10\x10\x12\x1e\n\x1aINVALID_YOUTUBE_CHANNEL_ID\x10\x11\x12\x1c\n\x18INVALID_YOUTUBE_VIDEO_ID\x10\x12\x12\'\n#YOUTUBE_VERTICAL_CHANNEL_DEPRECATED\x10\x13\x12*\n&YOUTUBE_DEMOGRAPHIC_CHANNEL_DEPRECATED\x10\x14\x12\x1b\n\x17YOUTUBE_URL_UNSUPPORTED\x10\x15\x12 \n\x1c\x43\x41NNOT_EXCLUDE_CRITERIA_TYPE\x10\x16\x12\x1c\n\x18\x43\x41NNOT_ADD_CRITERIA_TYPE\x10\x17\x12$\n CANNOT_EXCLUDE_SIMILAR_USER_LIST\x10\x1a\x12\x1f\n\x1b\x43\x41NNOT_ADD_CLOSED_USER_LIST\x10\x1b\x12:\n6CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS\x10\x1c\x12\x35\n1CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS\x10\x1d\x12\x37\n3CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS\x10\x1e\x12\x31\n-CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS\x10\x1f\x12\x39\n5CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS\x10 \x12\x37\n3CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE\x10!\x12\x1b\n\x17INVALID_CUSTOM_AFFINITY\x10`\x12\x19\n\x15INVALID_CUSTOM_INTENT\x10\x61\x12\x16\n\x12INVALID_IP_ADDRESS\x10\"\x12\x15\n\x11INVALID_IP_FORMAT\x10#\x12\x16\n\x12INVALID_MOBILE_APP\x10$\x12\x1f\n\x1bINVALID_MOBILE_APP_CATEGORY\x10%\x12\x18\n\x14INVALID_CRITERION_ID\x10&\x12\x1b\n\x17\x43\x41NNOT_TARGET_CRITERION\x10\'\x12$\n CANNOT_TARGET_OBSOLETE_CRITERION\x10(\x12\"\n\x1e\x43RITERION_ID_AND_TYPE_MISMATCH\x10)\x12\x1c\n\x18INVALID_PROXIMITY_RADIUS\x10*\x12\"\n\x1eINVALID_PROXIMITY_RADIUS_UNITS\x10+\x12 \n\x1cINVALID_STREETADDRESS_LENGTH\x10,\x12\x1b\n\x17INVALID_CITYNAME_LENGTH\x10-\x12\x1d\n\x19INVALID_REGIONCODE_LENGTH\x10.\x12\x1d\n\x19INVALID_REGIONNAME_LENGTH\x10/\x12\x1d\n\x19INVALID_POSTALCODE_LENGTH\x10\x30\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x31\x12\x14\n\x10INVALID_LATITUDE\x10\x32\x12\x15\n\x11INVALID_LONGITUDE\x10\x33\x12\x36\n2PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL\x10\x34\x12\x1d\n\x19INVALID_PROXIMITY_ADDRESS\x10\x35\x12\x1c\n\x18INVALID_USER_DOMAIN_NAME\x10\x36\x12 \n\x1c\x43RITERION_PARAMETER_TOO_LONG\x10\x37\x12&\n\"AD_SCHEDULE_TIME_INTERVALS_OVERLAP\x10\x38\x12\x32\n.AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS\x10\x39\x12%\n!AD_SCHEDULE_INVALID_TIME_INTERVAL\x10:\x12\x30\n,AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT\x10;\x12/\n+AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS\x10<\x12$\n CANNOT_BID_MODIFY_CRITERION_TYPE\x10=\x12\x32\n.CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT\x10>\x12(\n$CANNOT_BID_MODIFY_NEGATIVE_CRITERION\x10?\x12\x1f\n\x1b\x42ID_MODIFIER_ALREADY_EXISTS\x10@\x12\x17\n\x13\x46\x45\x45\x44_ID_NOT_ALLOWED\x10\x41\x12(\n$ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE\x10\x42\x12.\n*CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY\x10\x43\x12\x1c\n\x18\x43\x41NNOT_EXCLUDE_CRITERION\x10\x44\x12\x1b\n\x17\x43\x41NNOT_REMOVE_CRITERION\x10\x45\x12$\n INVALID_PRODUCT_BIDDING_CATEGORY\x10L\x12\x1c\n\x18MISSING_SHOPPING_SETTING\x10M\x12\x1d\n\x19INVALID_MATCHING_FUNCTION\x10N\x12\x1f\n\x1bLOCATION_FILTER_NOT_ALLOWED\x10O\x12$\n INVALID_FEED_FOR_LOCATION_FILTER\x10\x62\x12\x1b\n\x17LOCATION_FILTER_INVALID\x10P\x12\x32\n.CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP\x10Q\x12\x39\n5HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION\x10R\x12\x41\n=HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION\x10S\x12.\n*FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING\x10T\x12\x1d\n\x19INVALID_WEBPAGE_CONDITION\x10U\x12!\n\x1dINVALID_WEBPAGE_CONDITION_URL\x10V\x12)\n%WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY\x10W\x12.\n*WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL\x10X\x12.\n*WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS\x10Y\x12\x45\nAWEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING\x10Z\x12\x31\n-WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX\x10[\x12/\n+WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX\x10\\\x12\x39\n5WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED\x10]\x12<\n8WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION\x10^\x12\x37\n3WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP\x10_\x12\x37\n3CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS\x10\x63\x12*\n&LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES\x10\x64\x12\'\n#LISTING_SCOPE_TOO_MANY_IN_OPERATORS\x10\x65\x12+\n\'LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED\x10\x66\x12$\n DUPLICATE_LISTING_DIMENSION_TYPE\x10g\x12%\n!DUPLICATE_LISTING_DIMENSION_VALUE\x10h\x12\x30\n,CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION\x10i\x12#\n\x1fINVALID_LISTING_GROUP_HIERARCHY\x10j\x12+\n\'LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN\x10k\x12\x32\n.LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE\x10l\x12:\n6LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS\x10m\x12 \n\x1cLISTING_GROUP_ALREADY_EXISTS\x10n\x12 \n\x1cLISTING_GROUP_DOES_NOT_EXIST\x10o\x12#\n\x1fLISTING_GROUP_CANNOT_BE_REMOVED\x10p\x12\x1e\n\x1aINVALID_LISTING_GROUP_TYPE\x10q\x12*\n&LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID\x10r\x12\x1a\n\x16LISTING_SCOPE_TOO_LONG\x10s\x12%\n!LISTING_SCOPE_TOO_MANY_DIMENSIONS\x10t\x12\x1a\n\x16LISTING_GROUP_TOO_LONG\x10u\x12\x1f\n\x1bLISTING_GROUP_TREE_TOO_DEEP\x10v\x12\x1d\n\x19INVALID_LISTING_DIMENSION\x10w\x12\"\n\x1eINVALID_LISTING_DIMENSION_TYPE\x10xB\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13\x43riterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CRITERIONERRORENUM_CRITERIONERROR = _descriptor.EnumDescriptor( name='CriterionError', - full_name='google.ads.googleads.v1.errors.CriterionErrorEnum.CriterionError', + full_name='google.ads.googleads.v4.errors.CriterionErrorEnum.CriterionError', filename=None, file=DESCRIPTOR, values=[ @@ -130,317 +130,373 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_FILTER', index=24, number=24, + name='CANNOT_EXCLUDE_SIMILAR_USER_LIST', index=24, number=26, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PRODUCT_FILTER_TOO_LONG', index=25, number=25, + name='CANNOT_ADD_CLOSED_USER_LIST', index=25, number=27, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_SIMILAR_USER_LIST', index=26, number=26, + name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS', index=26, number=28, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_CLOSED_USER_LIST', index=27, number=27, + name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS', index=27, number=29, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS', index=28, number=28, + name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS', index=28, number=30, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_CAMPAIGNS', index=29, number=29, + name='CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS', index=29, number=31, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SHOPPING_CAMPAIGNS', index=30, number=30, + name='CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS', index=30, number=32, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_USER_INTERESTS_TO_SEARCH_CAMPAIGNS', index=31, number=31, + name='CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE', index=31, number=33, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_SET_BIDS_ON_CRITERION_TYPE_IN_SEARCH_CAMPAIGNS', index=32, number=32, + name='INVALID_CUSTOM_AFFINITY', index=32, number=96, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ADD_URLS_TO_CRITERION_TYPE_FOR_CAMPAIGN_TYPE', index=33, number=33, + name='INVALID_CUSTOM_INTENT', index=33, number=97, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_CUSTOM_AFFINITY', index=34, number=96, + name='INVALID_IP_ADDRESS', index=34, number=34, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_CUSTOM_INTENT', index=35, number=97, + name='INVALID_IP_FORMAT', index=35, number=35, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_IP_ADDRESS', index=36, number=34, + name='INVALID_MOBILE_APP', index=36, number=36, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_IP_FORMAT', index=37, number=35, + name='INVALID_MOBILE_APP_CATEGORY', index=37, number=37, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_APP', index=38, number=36, + name='INVALID_CRITERION_ID', index=38, number=38, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_MOBILE_APP_CATEGORY', index=39, number=37, + name='CANNOT_TARGET_CRITERION', index=39, number=39, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_CRITERION_ID', index=40, number=38, + name='CANNOT_TARGET_OBSOLETE_CRITERION', index=40, number=40, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_CRITERION', index=41, number=39, + name='CRITERION_ID_AND_TYPE_MISMATCH', index=41, number=41, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_TARGET_OBSOLETE_CRITERION', index=42, number=40, + name='INVALID_PROXIMITY_RADIUS', index=42, number=42, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CRITERION_ID_AND_TYPE_MISMATCH', index=43, number=41, + name='INVALID_PROXIMITY_RADIUS_UNITS', index=43, number=43, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_RADIUS', index=44, number=42, + name='INVALID_STREETADDRESS_LENGTH', index=44, number=44, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_RADIUS_UNITS', index=45, number=43, + name='INVALID_CITYNAME_LENGTH', index=45, number=45, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_STREETADDRESS_LENGTH', index=46, number=44, + name='INVALID_REGIONCODE_LENGTH', index=46, number=46, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_CITYNAME_LENGTH', index=47, number=45, + name='INVALID_REGIONNAME_LENGTH', index=47, number=47, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_REGIONCODE_LENGTH', index=48, number=46, + name='INVALID_POSTALCODE_LENGTH', index=48, number=48, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_REGIONNAME_LENGTH', index=49, number=47, + name='INVALID_COUNTRY_CODE', index=49, number=49, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_POSTALCODE_LENGTH', index=50, number=48, + name='INVALID_LATITUDE', index=50, number=50, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_COUNTRY_CODE', index=51, number=49, + name='INVALID_LONGITUDE', index=51, number=51, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_LATITUDE', index=52, number=50, + name='PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL', index=52, number=52, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_LONGITUDE', index=53, number=51, + name='INVALID_PROXIMITY_ADDRESS', index=53, number=53, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROXIMITY_GEOPOINT_AND_ADDRESS_BOTH_CANNOT_BE_NULL', index=54, number=52, + name='INVALID_USER_DOMAIN_NAME', index=54, number=54, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PROXIMITY_ADDRESS', index=55, number=53, + name='CRITERION_PARAMETER_TOO_LONG', index=55, number=55, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_USER_DOMAIN_NAME', index=56, number=54, + name='AD_SCHEDULE_TIME_INTERVALS_OVERLAP', index=56, number=56, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CRITERION_PARAMETER_TOO_LONG', index=57, number=55, + name='AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS', index=57, number=57, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_TIME_INTERVALS_OVERLAP', index=58, number=56, + name='AD_SCHEDULE_INVALID_TIME_INTERVAL', index=58, number=58, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_INTERVAL_CANNOT_SPAN_MULTIPLE_DAYS', index=59, number=57, + name='AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT', index=59, number=59, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_INVALID_TIME_INTERVAL', index=60, number=58, + name='AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS', index=60, number=60, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMIT', index=61, number=59, + name='CANNOT_BID_MODIFY_CRITERION_TYPE', index=61, number=61, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='AD_SCHEDULE_CRITERION_ID_MISMATCHING_FIELDS', index=62, number=60, + name='CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT', index=62, number=62, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_CRITERION_TYPE', index=63, number=61, + name='CANNOT_BID_MODIFY_NEGATIVE_CRITERION', index=63, number=63, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT', index=64, number=62, + name='BID_MODIFIER_ALREADY_EXISTS', index=64, number=64, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_BID_MODIFY_NEGATIVE_CRITERION', index=65, number=63, + name='FEED_ID_NOT_ALLOWED', index=65, number=65, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='BID_MODIFIER_ALREADY_EXISTS', index=66, number=64, + name='ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE', index=66, number=66, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='FEED_ID_NOT_ALLOWED', index=67, number=65, + name='CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY', index=67, number=67, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='ACCOUNT_INELIGIBLE_FOR_CRITERIA_TYPE', index=68, number=66, + name='CANNOT_EXCLUDE_CRITERION', index=68, number=68, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY', index=69, number=67, + name='CANNOT_REMOVE_CRITERION', index=69, number=69, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_EXCLUDE_CRITERION', index=70, number=68, + name='INVALID_PRODUCT_BIDDING_CATEGORY', index=70, number=76, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_REMOVE_CRITERION', index=71, number=69, + name='MISSING_SHOPPING_SETTING', index=71, number=77, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PRODUCT_SCOPE_TOO_LONG', index=72, number=70, + name='INVALID_MATCHING_FUNCTION', index=72, number=78, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PRODUCT_SCOPE_TOO_MANY_DIMENSIONS', index=73, number=71, + name='LOCATION_FILTER_NOT_ALLOWED', index=73, number=79, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PRODUCT_PARTITION_TOO_LONG', index=74, number=72, + name='INVALID_FEED_FOR_LOCATION_FILTER', index=74, number=98, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PRODUCT_PARTITION_TOO_MANY_DIMENSIONS', index=75, number=73, + name='LOCATION_FILTER_INVALID', index=75, number=80, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_DIMENSION', index=76, number=74, + name='CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP', index=76, number=81, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_DIMENSION_TYPE', index=77, number=75, + name='HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION', index=77, number=82, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_PRODUCT_BIDDING_CATEGORY', index=78, number=76, + name='HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION', index=78, number=83, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='MISSING_SHOPPING_SETTING', index=79, number=77, + name='FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING', index=79, number=84, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_MATCHING_FUNCTION', index=80, number=78, + name='INVALID_WEBPAGE_CONDITION', index=80, number=85, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='LOCATION_FILTER_NOT_ALLOWED', index=81, number=79, + name='INVALID_WEBPAGE_CONDITION_URL', index=81, number=86, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_FEED_FOR_LOCATION_FILTER', index=82, number=98, + name='WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY', index=82, number=87, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='LOCATION_FILTER_INVALID', index=83, number=80, + name='WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL', index=83, number=88, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='CANNOT_ATTACH_CRITERIA_AT_CAMPAIGN_AND_ADGROUP', index=84, number=81, + name='WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS', index=84, number=89, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='HOTEL_LENGTH_OF_STAY_OVERLAPS_WITH_EXISTING_CRITERION', index=85, number=82, + name='WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING', index=85, number=90, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='HOTEL_ADVANCE_BOOKING_WINDOW_OVERLAPS_WITH_EXISTING_CRITERION', index=86, number=83, + name='WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX', index=86, number=91, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING', index=87, number=84, + name='WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX', index=87, number=92, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_WEBPAGE_CONDITION', index=88, number=85, + name='WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED', index=88, number=93, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_WEBPAGE_CONDITION_URL', index=89, number=86, + name='WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION', index=89, number=94, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_EMPTY', index=90, number=87, + name='WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP', index=90, number=95, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_UNSUPPORTED_PROTOCOL', index=91, number=88, + name='CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS', index=91, number=99, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_IP_ADDRESS', index=92, number=89, + name='LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES', index=92, number=100, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_DOMAIN_NOT_CONSISTENT_WITH_CAMPAIGN_SETTING', index=93, number=90, + name='LISTING_SCOPE_TOO_MANY_IN_OPERATORS', index=93, number=101, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_CANNOT_BE_PUBLIC_SUFFIX', index=94, number=91, + name='LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED', index=94, number=102, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_INVALID_PUBLIC_SUFFIX', index=95, number=92, + name='DUPLICATE_LISTING_DIMENSION_TYPE', index=95, number=103, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED', index=96, number=93, + name='DUPLICATE_LISTING_DIMENSION_VALUE', index=96, number=104, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION', index=97, number=94, + name='CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION', index=97, number=105, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP', index=98, number=95, + name='INVALID_LISTING_GROUP_HIERARCHY', index=98, number=106, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN', index=99, number=107, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE', index=100, number=108, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS', index=101, number=109, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_ALREADY_EXISTS', index=102, number=110, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_DOES_NOT_EXIST', index=103, number=111, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_CANNOT_BE_REMOVED', index=104, number=112, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_LISTING_GROUP_TYPE', index=105, number=113, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID', index=106, number=114, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_SCOPE_TOO_LONG', index=107, number=115, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_SCOPE_TOO_MANY_DIMENSIONS', index=108, number=116, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_TOO_LONG', index=109, number=117, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='LISTING_GROUP_TREE_TOO_DEEP', index=110, number=118, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_LISTING_DIMENSION', index=111, number=119, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_LISTING_DIMENSION_TYPE', index=112, number=120, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=148, - serialized_end=3877, + serialized_end=4495, ) _sym_db.RegisterEnumDescriptor(_CRITERIONERRORENUM_CRITERIONERROR) _CRITERIONERRORENUM = _descriptor.Descriptor( name='CriterionErrorEnum', - full_name='google.ads.googleads.v1.errors.CriterionErrorEnum', + full_name='google.ads.googleads.v4.errors.CriterionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -459,7 +515,7 @@ oneofs=[ ], serialized_start=125, - serialized_end=3877, + serialized_end=4495, ) _CRITERIONERRORENUM_CRITERIONERROR.containing_type = _CRITERIONERRORENUM @@ -468,11 +524,11 @@ CriterionErrorEnum = _reflection.GeneratedProtocolMessageType('CriterionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.criterion_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.criterion_error_pb2' , __doc__ = """Container for enum describing possible criterion errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CriterionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CriterionErrorEnum) )) _sym_db.RegisterMessage(CriterionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/header_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/criterion_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/header_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/criterion_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/currency_code_error_pb2.py b/google/ads/google_ads/v4/proto/errors/currency_code_error_pb2.py new file mode 100644 index 000000000..e0644b3c5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/currency_code_error_pb2.py @@ -0,0 +1,97 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/currency_code_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/currency_code_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026CurrencyCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/currency_code_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"[\n\x15\x43urrencyCodeErrorEnum\"B\n\x11\x43urrencyCodeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bUNSUPPORTED\x10\x02\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x43urrencyCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_CURRENCYCODEERRORENUM_CURRENCYCODEERROR = _descriptor.EnumDescriptor( + name='CurrencyCodeError', + full_name='google.ads.googleads.v4.errors.CurrencyCodeErrorEnum.CurrencyCodeError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNSUPPORTED', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=153, + serialized_end=219, +) +_sym_db.RegisterEnumDescriptor(_CURRENCYCODEERRORENUM_CURRENCYCODEERROR) + + +_CURRENCYCODEERRORENUM = _descriptor.Descriptor( + name='CurrencyCodeErrorEnum', + full_name='google.ads.googleads.v4.errors.CurrencyCodeErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _CURRENCYCODEERRORENUM_CURRENCYCODEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=128, + serialized_end=219, +) + +_CURRENCYCODEERRORENUM_CURRENCYCODEERROR.containing_type = _CURRENCYCODEERRORENUM +DESCRIPTOR.message_types_by_name['CurrencyCodeErrorEnum'] = _CURRENCYCODEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CurrencyCodeErrorEnum = _reflection.GeneratedProtocolMessageType('CurrencyCodeErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _CURRENCYCODEERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.currency_code_error_pb2' + , + __doc__ = """Container for enum describing possible currency code errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CurrencyCodeErrorEnum) + )) +_sym_db.RegisterMessage(CurrencyCodeErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/id_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/currency_code_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/id_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/currency_code_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/custom_interest_error_pb2.py b/google/ads/google_ads/v4/proto/errors/custom_interest_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/custom_interest_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/custom_interest_error_pb2.py index 56a9d5164..4d182238b 100644 --- a/google/ads/google_ads/v1/proto/errors/custom_interest_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/custom_interest_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/custom_interest_error.proto +# source: google/ads/googleads_v4/proto/errors/custom_interest_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/custom_interest_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/custom_interest_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030CustomInterestErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/errors/custom_interest_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xd9\x02\n\x17\x43ustomInterestErrorEnum\"\xbd\x02\n\x13\x43ustomInterestError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NAME_ALREADY_USED\x10\x02\x12\x46\nBCUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE\x10\x03\x12 \n\x1cTYPE_AND_PARAMETER_NOT_FOUND\x10\x04\x12&\n\"TYPE_AND_PARAMETER_ALREADY_EXISTED\x10\x05\x12\'\n#INVALID_CUSTOM_INTEREST_MEMBER_TYPE\x10\x06\x12\x1e\n\x1a\x43\x41NNOT_REMOVE_WHILE_IN_USE\x10\x07\x12\x16\n\x12\x43\x41NNOT_CHANGE_TYPE\x10\x08\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18\x43ustomInterestErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030CustomInterestErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/errors/custom_interest_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd9\x02\n\x17\x43ustomInterestErrorEnum\"\xbd\x02\n\x13\x43ustomInterestError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NAME_ALREADY_USED\x10\x02\x12\x46\nBCUSTOM_INTEREST_MEMBER_ID_AND_TYPE_PARAMETER_NOT_PRESENT_IN_REMOVE\x10\x03\x12 \n\x1cTYPE_AND_PARAMETER_NOT_FOUND\x10\x04\x12&\n\"TYPE_AND_PARAMETER_ALREADY_EXISTED\x10\x05\x12\'\n#INVALID_CUSTOM_INTEREST_MEMBER_TYPE\x10\x06\x12\x1e\n\x1a\x43\x41NNOT_REMOVE_WHILE_IN_USE\x10\x07\x12\x16\n\x12\x43\x41NNOT_CHANGE_TYPE\x10\x08\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18\x43ustomInterestErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR = _descriptor.EnumDescriptor( name='CustomInterestError', - full_name='google.ads.googleads.v1.errors.CustomInterestErrorEnum.CustomInterestError', + full_name='google.ads.googleads.v4.errors.CustomInterestErrorEnum.CustomInterestError', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _CUSTOMINTERESTERRORENUM = _descriptor.Descriptor( name='CustomInterestErrorEnum', - full_name='google.ads.googleads.v1.errors.CustomInterestErrorEnum', + full_name='google.ads.googleads.v4.errors.CustomInterestErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,11 +108,11 @@ CustomInterestErrorEnum = _reflection.GeneratedProtocolMessageType('CustomInterestErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTERESTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.custom_interest_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.custom_interest_error_pb2' , __doc__ = """Container for enum describing possible custom interest errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CustomInterestErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CustomInterestErrorEnum) )) _sym_db.RegisterMessage(CustomInterestErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/image_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/custom_interest_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/image_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/custom_interest_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/customer_client_link_error_pb2.py b/google/ads/google_ads/v4/proto/errors/customer_client_link_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/customer_client_link_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/customer_client_link_error_pb2.py index 0c162e0ee..8b823a940 100644 --- a/google/ads/google_ads/v1/proto/errors/customer_client_link_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/customer_client_link_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/customer_client_link_error.proto +# source: google/ads/googleads_v4/proto/errors/customer_client_link_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/customer_client_link_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/customer_client_link_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\034CustomerClientLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/errors/customer_client_link_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xed\x02\n\x1b\x43ustomerClientLinkErrorEnum\"\xcd\x02\n\x17\x43ustomerClientLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12*\n&CLIENT_ALREADY_INVITED_BY_THIS_MANAGER\x10\x02\x12\'\n#CLIENT_ALREADY_MANAGED_IN_HIERARCHY\x10\x03\x12\x1b\n\x17\x43YCLIC_LINK_NOT_ALLOWED\x10\x04\x12\"\n\x1e\x43USTOMER_HAS_TOO_MANY_ACCOUNTS\x10\x05\x12#\n\x1f\x43LIENT_HAS_TOO_MANY_INVITATIONS\x10\x06\x12*\n&CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS\x10\x07\x12-\n)CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER\x10\x08\x42\xf7\x01\n\"com.google.ads.googleads.v1.errorsB\x1c\x43ustomerClientLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\034CustomerClientLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/errors/customer_client_link_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x8f\x03\n\x1b\x43ustomerClientLinkErrorEnum\"\xef\x02\n\x17\x43ustomerClientLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12*\n&CLIENT_ALREADY_INVITED_BY_THIS_MANAGER\x10\x02\x12\'\n#CLIENT_ALREADY_MANAGED_IN_HIERARCHY\x10\x03\x12\x1b\n\x17\x43YCLIC_LINK_NOT_ALLOWED\x10\x04\x12\"\n\x1e\x43USTOMER_HAS_TOO_MANY_ACCOUNTS\x10\x05\x12#\n\x1f\x43LIENT_HAS_TOO_MANY_INVITATIONS\x10\x06\x12*\n&CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS\x10\x07\x12-\n)CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER\x10\x08\x12 \n\x1c\x43LIENT_HAS_TOO_MANY_MANAGERS\x10\tB\xf7\x01\n\"com.google.ads.googleads.v4.errorsB\x1c\x43ustomerClientLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR = _descriptor.EnumDescriptor( name='CustomerClientLinkError', - full_name='google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError', + full_name='google.ads.googleads.v4.errors.CustomerClientLinkErrorEnum.CustomerClientLinkError', filename=None, file=DESCRIPTOR, values=[ @@ -69,18 +69,22 @@ name='CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER', index=8, number=8, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='CLIENT_HAS_TOO_MANY_MANAGERS', index=9, number=9, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=168, - serialized_end=501, + serialized_end=535, ) _sym_db.RegisterEnumDescriptor(_CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR) _CUSTOMERCLIENTLINKERRORENUM = _descriptor.Descriptor( name='CustomerClientLinkErrorEnum', - full_name='google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum', + full_name='google.ads.googleads.v4.errors.CustomerClientLinkErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -99,7 +103,7 @@ oneofs=[ ], serialized_start=136, - serialized_end=501, + serialized_end=535, ) _CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR.containing_type = _CUSTOMERCLIENTLINKERRORENUM @@ -108,11 +112,11 @@ CustomerClientLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerClientLinkErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERCLIENTLINKERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.customer_client_link_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.customer_client_link_error_pb2' , __doc__ = """Container for enum describing possible CustomeClientLink errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CustomerClientLinkErrorEnum) )) _sym_db.RegisterMessage(CustomerClientLinkErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/internal_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/customer_client_link_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/internal_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/customer_client_link_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/customer_error_pb2.py b/google/ads/google_ads/v4/proto/errors/customer_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/customer_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/customer_error_pb2.py index 71e3fa354..081d85ff3 100644 --- a/google/ads/google_ads/v1/proto/errors/customer_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/customer_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/customer_error.proto +# source: google/ads/googleads_v4/proto/errors/customer_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/customer_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/customer_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022CustomerErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/customer_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"x\n\x11\x43ustomerErrorEnum\"c\n\rCustomerError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18STATUS_CHANGE_DISALLOWED\x10\x02\x12\x16\n\x12\x41\x43\x43OUNT_NOT_SET_UP\x10\x03\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x43ustomerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022CustomerErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/customer_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"x\n\x11\x43ustomerErrorEnum\"c\n\rCustomerError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18STATUS_CHANGE_DISALLOWED\x10\x02\x12\x16\n\x12\x41\x43\x43OUNT_NOT_SET_UP\x10\x03\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x43ustomerErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERERRORENUM_CUSTOMERERROR = _descriptor.EnumDescriptor( name='CustomerError', - full_name='google.ads.googleads.v1.errors.CustomerErrorEnum.CustomerError', + full_name='google.ads.googleads.v4.errors.CustomerErrorEnum.CustomerError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _CUSTOMERERRORENUM = _descriptor.Descriptor( name='CustomerErrorEnum', - full_name='google.ads.googleads.v1.errors.CustomerErrorEnum', + full_name='google.ads.googleads.v4.errors.CustomerErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ CustomerErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.customer_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.customer_error_pb2' , __doc__ = """Container for enum describing possible customer errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CustomerErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CustomerErrorEnum) )) _sym_db.RegisterMessage(CustomerErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/customer_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/customer_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/customer_feed_error_pb2.py b/google/ads/google_ads/v4/proto/errors/customer_feed_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/customer_feed_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/customer_feed_error_pb2.py index 334188a13..1a0d4e352 100644 --- a/google/ads/google_ads/v1/proto/errors/customer_feed_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/customer_feed_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/customer_feed_error.proto +# source: google/ads/googleads_v4/proto/errors/customer_feed_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/customer_feed_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/customer_feed_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026CustomerFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/customer_feed_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xf7\x02\n\x15\x43ustomerFeedErrorEnum\"\xdd\x02\n\x11\x43ustomerFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x03\x12\x30\n,CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED\x10\x04\x12\'\n#CANNOT_MODIFY_REMOVED_CUSTOMER_FEED\x10\x05\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x06\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x07\x12\x31\n-PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED\x10\x08\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16\x43ustomerFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026CustomerFeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/customer_feed_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xf7\x02\n\x15\x43ustomerFeedErrorEnum\"\xdd\x02\n\x11\x43ustomerFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12,\n(FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x02\x12\"\n\x1e\x43\x41NNOT_CREATE_FOR_REMOVED_FEED\x10\x03\x12\x30\n,CANNOT_CREATE_ALREADY_EXISTING_CUSTOMER_FEED\x10\x04\x12\'\n#CANNOT_MODIFY_REMOVED_CUSTOMER_FEED\x10\x05\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x06\x12,\n(MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE\x10\x07\x12\x31\n-PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED\x10\x08\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16\x43ustomerFeedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR = _descriptor.EnumDescriptor( name='CustomerFeedError', - full_name='google.ads.googleads.v1.errors.CustomerFeedErrorEnum.CustomerFeedError', + full_name='google.ads.googleads.v4.errors.CustomerFeedErrorEnum.CustomerFeedError', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _CUSTOMERFEEDERRORENUM = _descriptor.Descriptor( name='CustomerFeedErrorEnum', - full_name='google.ads.googleads.v1.errors.CustomerFeedErrorEnum', + full_name='google.ads.googleads.v4.errors.CustomerFeedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,11 +108,11 @@ CustomerFeedErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerFeedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERFEEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.customer_feed_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.customer_feed_error_pb2' , __doc__ = """Container for enum describing possible customer feed errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CustomerFeedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CustomerFeedErrorEnum) )) _sym_db.RegisterMessage(CustomerFeedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_campaign_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/customer_feed_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_campaign_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/customer_feed_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/customer_manager_link_error_pb2.py b/google/ads/google_ads/v4/proto/errors/customer_manager_link_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/customer_manager_link_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/customer_manager_link_error_pb2.py index 15305e2fd..ffbbf525a 100644 --- a/google/ads/google_ads/v1/proto/errors/customer_manager_link_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/customer_manager_link_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/customer_manager_link_error.proto +# source: google/ads/googleads_v4/proto/errors/customer_manager_link_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/customer_manager_link_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/customer_manager_link_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\035CustomerManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/errors/customer_manager_link_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xa0\x03\n\x1c\x43ustomerManagerLinkErrorEnum\"\xff\x02\n\x18\x43ustomerManagerLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NO_PENDING_INVITE\x10\x02\x12\'\n#SAME_CLIENT_MORE_THAN_ONCE_PER_CALL\x10\x03\x12-\n)MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS\x10\x04\x12-\n)CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER\x10\x05\x12+\n\'CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER\x10\x06\x12+\n\'CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER\x10\x07\x12\x32\n.CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT\x10\x08\x12\x19\n\x15\x44UPLICATE_CHILD_FOUND\x10\tB\xf8\x01\n\"com.google.ads.googleads.v1.errorsB\x1d\x43ustomerManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\035CustomerManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/errors/customer_manager_link_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd0\x03\n\x1c\x43ustomerManagerLinkErrorEnum\"\xaf\x03\n\x18\x43ustomerManagerLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11NO_PENDING_INVITE\x10\x02\x12\'\n#SAME_CLIENT_MORE_THAN_ONCE_PER_CALL\x10\x03\x12-\n)MANAGER_HAS_MAX_NUMBER_OF_LINKED_ACCOUNTS\x10\x04\x12-\n)CANNOT_UNLINK_ACCOUNT_WITHOUT_ACTIVE_USER\x10\x05\x12+\n\'CANNOT_REMOVE_LAST_CLIENT_ACCOUNT_OWNER\x10\x06\x12+\n\'CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER\x10\x07\x12\x32\n.CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT\x10\x08\x12\x19\n\x15\x44UPLICATE_CHILD_FOUND\x10\t\x12.\n*TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS\x10\nB\xf8\x01\n\"com.google.ads.googleads.v4.errorsB\x1d\x43ustomerManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR = _descriptor.EnumDescriptor( name='CustomerManagerLinkError', - full_name='google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError', + full_name='google.ads.googleads.v4.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkError', filename=None, file=DESCRIPTOR, values=[ @@ -73,18 +73,22 @@ name='DUPLICATE_CHILD_FOUND', index=9, number=9, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS', index=10, number=10, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=170, - serialized_end=553, + serialized_end=601, ) _sym_db.RegisterEnumDescriptor(_CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR) _CUSTOMERMANAGERLINKERRORENUM = _descriptor.Descriptor( name='CustomerManagerLinkErrorEnum', - full_name='google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum', + full_name='google.ads.googleads.v4.errors.CustomerManagerLinkErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -103,7 +107,7 @@ oneofs=[ ], serialized_start=137, - serialized_end=553, + serialized_end=601, ) _CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR.containing_type = _CUSTOMERMANAGERLINKERRORENUM @@ -112,11 +116,11 @@ CustomerManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkErrorEnum', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERMANAGERLINKERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.customer_manager_link_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.customer_manager_link_error_pb2' , __doc__ = """Container for enum describing possible CustomerManagerLink errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.CustomerManagerLinkErrorEnum) )) _sym_db.RegisterMessage(CustomerManagerLinkErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/customer_manager_link_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/customer_manager_link_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/database_error_pb2.py b/google/ads/google_ads/v4/proto/errors/database_error_pb2.py similarity index 56% rename from google/ads/google_ads/v1/proto/errors/database_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/database_error_pb2.py index 9dc8e5180..1d3da5fd1 100644 --- a/google/ads/google_ads/v1/proto/errors/database_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/database_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/database_error.proto +# source: google/ads/googleads_v4/proto/errors/database_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/database_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/database_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022DatabaseErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/database_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"_\n\x11\x44\x61tabaseErrorEnum\"J\n\rDatabaseError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17\x43ONCURRENT_MODIFICATION\x10\x02\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x44\x61tabaseErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022DatabaseErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/database_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x96\x01\n\x11\x44\x61tabaseErrorEnum\"\x80\x01\n\rDatabaseError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17\x43ONCURRENT_MODIFICATION\x10\x02\x12\x1d\n\x19\x44\x41TA_CONSTRAINT_VIOLATION\x10\x03\x12\x15\n\x11REQUEST_TOO_LARGE\x10\x04\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x44\x61tabaseErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DATABASEERRORENUM_DATABASEERROR = _descriptor.EnumDescriptor( name='DatabaseError', - full_name='google.ads.googleads.v1.errors.DatabaseErrorEnum.DatabaseError', + full_name='google.ads.googleads.v4.errors.DatabaseErrorEnum.DatabaseError', filename=None, file=DESCRIPTOR, values=[ @@ -45,18 +45,26 @@ name='CONCURRENT_MODIFICATION', index=2, number=2, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='DATA_CONSTRAINT_VIOLATION', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REQUEST_TOO_LARGE', index=4, number=4, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, - serialized_start=144, - serialized_end=218, + serialized_start=146, + serialized_end=274, ) _sym_db.RegisterEnumDescriptor(_DATABASEERRORENUM_DATABASEERROR) _DATABASEERRORENUM = _descriptor.Descriptor( name='DatabaseErrorEnum', - full_name='google.ads.googleads.v1.errors.DatabaseErrorEnum', + full_name='google.ads.googleads.v4.errors.DatabaseErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -74,8 +82,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=123, - serialized_end=218, + serialized_start=124, + serialized_end=274, ) _DATABASEERRORENUM_DATABASEERROR.containing_type = _DATABASEERRORENUM @@ -84,11 +92,11 @@ DatabaseErrorEnum = _reflection.GeneratedProtocolMessageType('DatabaseErrorEnum', (_message.Message,), dict( DESCRIPTOR = _DATABASEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.database_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.database_error_pb2' , __doc__ = """Container for enum describing possible database errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.DatabaseErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.DatabaseErrorEnum) )) _sym_db.RegisterMessage(DatabaseErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_idea_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/database_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_idea_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/database_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/date_error_pb2.py b/google/ads/google_ads/v4/proto/errors/date_error_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/errors/date_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/date_error_pb2.py index 8dbe4b3da..742fd69f0 100644 --- a/google/ads/google_ads/v1/proto/errors/date_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/date_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/date_error.proto +# source: google/ads/googleads_v4/proto/errors/date_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/date_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/date_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\016DateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/errors/date_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xbf\x03\n\rDateErrorEnum\"\xad\x03\n\tDateError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cINVALID_FIELD_VALUES_IN_DATE\x10\x02\x12%\n!INVALID_FIELD_VALUES_IN_DATE_TIME\x10\x03\x12\x17\n\x13INVALID_STRING_DATE\x10\x04\x12#\n\x1fINVALID_STRING_DATE_TIME_MICROS\x10\x06\x12$\n INVALID_STRING_DATE_TIME_SECONDS\x10\x0b\x12\x30\n,INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET\x10\x0c\x12\x1d\n\x19\x45\x41RLIER_THAN_MINIMUM_DATE\x10\x07\x12\x1b\n\x17LATER_THAN_MAXIMUM_DATE\x10\x08\x12\x33\n/DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE\x10\t\x12\x32\n.DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL\x10\nB\xe9\x01\n\"com.google.ads.googleads.v1.errorsB\x0e\x44\x61teErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\016DateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/errors/date_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xbf\x03\n\rDateErrorEnum\"\xad\x03\n\tDateError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1cINVALID_FIELD_VALUES_IN_DATE\x10\x02\x12%\n!INVALID_FIELD_VALUES_IN_DATE_TIME\x10\x03\x12\x17\n\x13INVALID_STRING_DATE\x10\x04\x12#\n\x1fINVALID_STRING_DATE_TIME_MICROS\x10\x06\x12$\n INVALID_STRING_DATE_TIME_SECONDS\x10\x0b\x12\x30\n,INVALID_STRING_DATE_TIME_SECONDS_WITH_OFFSET\x10\x0c\x12\x1d\n\x19\x45\x41RLIER_THAN_MINIMUM_DATE\x10\x07\x12\x1b\n\x17LATER_THAN_MAXIMUM_DATE\x10\x08\x12\x33\n/DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE\x10\t\x12\x32\n.DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL\x10\nB\xe9\x01\n\"com.google.ads.googleads.v4.errorsB\x0e\x44\x61teErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DATEERRORENUM_DATEERROR = _descriptor.EnumDescriptor( name='DateError', - full_name='google.ads.googleads.v1.errors.DateErrorEnum.DateError', + full_name='google.ads.googleads.v4.errors.DateErrorEnum.DateError', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _DATEERRORENUM = _descriptor.Descriptor( name='DateErrorEnum', - full_name='google.ads.googleads.v1.errors.DateErrorEnum', + full_name='google.ads.googleads.v4.errors.DateErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,11 +120,11 @@ DateErrorEnum = _reflection.GeneratedProtocolMessageType('DateErrorEnum', (_message.Message,), dict( DESCRIPTOR = _DATEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.date_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.date_error_pb2' , __doc__ = """Container for enum describing possible date errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.DateErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.DateErrorEnum) )) _sym_db.RegisterMessage(DateErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_keyword_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/date_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_keyword_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/date_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/date_range_error_pb2.py b/google/ads/google_ads/v4/proto/errors/date_range_error_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/errors/date_range_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/date_range_error_pb2.py index 953b1d129..3077173fe 100644 --- a/google/ads/google_ads/v1/proto/errors/date_range_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/date_range_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/date_range_error.proto +# source: google/ads/googleads_v4/proto/errors/date_range_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/date_range_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/date_range_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023DateRangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/date_range_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xe6\x01\n\x12\x44\x61teRangeErrorEnum\"\xcf\x01\n\x0e\x44\x61teRangeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_DATE\x10\x02\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10\x03\x12\x1b\n\x17\x43\x41NNOT_SET_DATE_TO_PAST\x10\x04\x12 \n\x1c\x41\x46TER_MAXIMUM_ALLOWABLE_DATE\x10\x05\x12/\n+CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED\x10\x06\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13\x44\x61teRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023DateRangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/date_range_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xe6\x01\n\x12\x44\x61teRangeErrorEnum\"\xcf\x01\n\x0e\x44\x61teRangeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_DATE\x10\x02\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10\x03\x12\x1b\n\x17\x43\x41NNOT_SET_DATE_TO_PAST\x10\x04\x12 \n\x1c\x41\x46TER_MAXIMUM_ALLOWABLE_DATE\x10\x05\x12/\n+CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED\x10\x06\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13\x44\x61teRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DATERANGEERRORENUM_DATERANGEERROR = _descriptor.EnumDescriptor( name='DateRangeError', - full_name='google.ads.googleads.v1.errors.DateRangeErrorEnum.DateRangeError', + full_name='google.ads.googleads.v4.errors.DateRangeErrorEnum.DateRangeError', filename=None, file=DESCRIPTOR, values=[ @@ -72,7 +72,7 @@ _DATERANGEERRORENUM = _descriptor.Descriptor( name='DateRangeErrorEnum', - full_name='google.ads.googleads.v1.errors.DateRangeErrorEnum', + full_name='google.ads.googleads.v4.errors.DateRangeErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -100,11 +100,11 @@ DateRangeErrorEnum = _reflection.GeneratedProtocolMessageType('DateRangeErrorEnum', (_message.Message,), dict( DESCRIPTOR = _DATERANGEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.date_range_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.date_range_error_pb2' , __doc__ = """Container for enum describing possible date range errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.DateRangeErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.DateRangeErrorEnum) )) _sym_db.RegisterMessage(DateRangeErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/date_range_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_negative_keyword_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/date_range_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/distinct_error_pb2.py b/google/ads/google_ads/v4/proto/errors/distinct_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/distinct_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/distinct_error_pb2.py index 27c3434e1..8d444584e 100644 --- a/google/ads/google_ads/v1/proto/errors/distinct_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/distinct_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/distinct_error.proto +# source: google/ads/googleads_v4/proto/errors/distinct_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/distinct_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/distinct_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022DistinctErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/distinct_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"m\n\x11\x44istinctErrorEnum\"X\n\rDistinctError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11\x44UPLICATE_ELEMENT\x10\x02\x12\x12\n\x0e\x44UPLICATE_TYPE\x10\x03\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x44istinctErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022DistinctErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/distinct_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"m\n\x11\x44istinctErrorEnum\"X\n\rDistinctError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11\x44UPLICATE_ELEMENT\x10\x02\x12\x12\n\x0e\x44UPLICATE_TYPE\x10\x03\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x44istinctErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _DISTINCTERRORENUM_DISTINCTERROR = _descriptor.EnumDescriptor( name='DistinctError', - full_name='google.ads.googleads.v1.errors.DistinctErrorEnum.DistinctError', + full_name='google.ads.googleads.v4.errors.DistinctErrorEnum.DistinctError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _DISTINCTERRORENUM = _descriptor.Descriptor( name='DistinctErrorEnum', - full_name='google.ads.googleads.v1.errors.DistinctErrorEnum', + full_name='google.ads.googleads.v4.errors.DistinctErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ DistinctErrorEnum = _reflection.GeneratedProtocolMessageType('DistinctErrorEnum', (_message.Message,), dict( DESCRIPTOR = _DISTINCTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.distinct_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.distinct_error_pb2' , __doc__ = """Container for enum describing possible distinct errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.DistinctErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.DistinctErrorEnum) )) _sym_db.RegisterMessage(DistinctErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/label_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/distinct_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/label_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/distinct_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/enum_error_pb2.py b/google/ads/google_ads/v4/proto/errors/enum_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/enum_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/enum_error_pb2.py index f5e2e6564..443f7eef3 100644 --- a/google/ads/google_ads/v1/proto/errors/enum_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/enum_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/enum_error.proto +# source: google/ads/googleads_v4/proto/errors/enum_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/enum_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/enum_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\016EnumErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/errors/enum_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"X\n\rEnumErrorEnum\"G\n\tEnumError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18\x45NUM_VALUE_NOT_PERMITTED\x10\x03\x42\xe9\x01\n\"com.google.ads.googleads.v1.errorsB\x0e\x45numErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\016EnumErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/errors/enum_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"X\n\rEnumErrorEnum\"G\n\tEnumError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18\x45NUM_VALUE_NOT_PERMITTED\x10\x03\x42\xe9\x01\n\"com.google.ads.googleads.v4.errorsB\x0e\x45numErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _ENUMERRORENUM_ENUMERROR = _descriptor.EnumDescriptor( name='EnumError', - full_name='google.ads.googleads.v1.errors.EnumErrorEnum.EnumError', + full_name='google.ads.googleads.v4.errors.EnumErrorEnum.EnumError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _ENUMERRORENUM = _descriptor.Descriptor( name='EnumErrorEnum', - full_name='google.ads.googleads.v1.errors.EnumErrorEnum', + full_name='google.ads.googleads.v4.errors.EnumErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ EnumErrorEnum = _reflection.GeneratedProtocolMessageType('EnumErrorEnum', (_message.Message,), dict( DESCRIPTOR = _ENUMERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.enum_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.enum_error_pb2' , __doc__ = """Container for enum describing possible enum errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.EnumErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.EnumErrorEnum) )) _sym_db.RegisterMessage(EnumErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/language_code_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/enum_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/language_code_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/enum_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/errors_pb2.py b/google/ads/google_ads/v4/proto/errors/errors_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/errors/errors_pb2.py rename to google/ads/google_ads/v4/proto/errors/errors_pb2.py index 3bb5d6950..cec04c24f 100644 --- a/google/ads/google_ads/v1/proto/errors/errors_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/errors_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/errors.proto +# source: google/ads/googleads_v4/proto/errors/errors.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,135 +13,144 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v1.proto.common import value_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_value__pb2 -from google.ads.google_ads.v1.proto.errors import account_budget_proposal_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_customizer_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__customizer__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_group_ad_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__ad__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_group_bid_modifier_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_group_criterion_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_group_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_group_feed_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__feed__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_parameter_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__parameter__error__pb2 -from google.ads.google_ads.v1.proto.errors import ad_sharing_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__sharing__error__pb2 -from google.ads.google_ads.v1.proto.errors import adx_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_adx__error__pb2 -from google.ads.google_ads.v1.proto.errors import asset_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_asset__error__pb2 -from google.ads.google_ads.v1.proto.errors import authentication_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authentication__error__pb2 -from google.ads.google_ads.v1.proto.errors import authorization_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authorization__error__pb2 -from google.ads.google_ads.v1.proto.errors import bidding_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__error__pb2 -from google.ads.google_ads.v1.proto.errors import bidding_strategy_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__strategy__error__pb2 -from google.ads.google_ads.v1.proto.errors import billing_setup_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_billing__setup__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_budget_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__budget__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_criterion_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__criterion__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_draft_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__draft__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_experiment_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__experiment__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_feed_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__feed__error__pb2 -from google.ads.google_ads.v1.proto.errors import campaign_shared_set_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2 -from google.ads.google_ads.v1.proto.errors import change_status_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_change__status__error__pb2 -from google.ads.google_ads.v1.proto.errors import collection_size_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_collection__size__error__pb2 -from google.ads.google_ads.v1.proto.errors import context_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_context__error__pb2 -from google.ads.google_ads.v1.proto.errors import conversion_action_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__action__error__pb2 -from google.ads.google_ads.v1.proto.errors import conversion_adjustment_upload_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2 -from google.ads.google_ads.v1.proto.errors import conversion_upload_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__upload__error__pb2 -from google.ads.google_ads.v1.proto.errors import country_code_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_country__code__error__pb2 -from google.ads.google_ads.v1.proto.errors import criterion_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_criterion__error__pb2 -from google.ads.google_ads.v1.proto.errors import custom_interest_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_custom__interest__error__pb2 -from google.ads.google_ads.v1.proto.errors import customer_client_link_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__client__link__error__pb2 -from google.ads.google_ads.v1.proto.errors import customer_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__error__pb2 -from google.ads.google_ads.v1.proto.errors import customer_feed_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__feed__error__pb2 -from google.ads.google_ads.v1.proto.errors import customer_manager_link_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__manager__link__error__pb2 -from google.ads.google_ads.v1.proto.errors import database_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_database__error__pb2 -from google.ads.google_ads.v1.proto.errors import date_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__error__pb2 -from google.ads.google_ads.v1.proto.errors import date_range_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__range__error__pb2 -from google.ads.google_ads.v1.proto.errors import distinct_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_distinct__error__pb2 -from google.ads.google_ads.v1.proto.errors import enum_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_enum__error__pb2 -from google.ads.google_ads.v1.proto.errors import extension_feed_item_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__feed__item__error__pb2 -from google.ads.google_ads.v1.proto.errors import extension_setting_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__setting__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_attribute_reference_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_item_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_item_target_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__target__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 -from google.ads.google_ads.v1.proto.errors import feed_mapping_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__mapping__error__pb2 -from google.ads.google_ads.v1.proto.errors import field_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__error__pb2 -from google.ads.google_ads.v1.proto.errors import field_mask_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__mask__error__pb2 -from google.ads.google_ads.v1.proto.errors import function_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__error__pb2 -from google.ads.google_ads.v1.proto.errors import function_parsing_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__parsing__error__pb2 -from google.ads.google_ads.v1.proto.errors import geo_target_constant_suggestion_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2 -from google.ads.google_ads.v1.proto.errors import header_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_header__error__pb2 -from google.ads.google_ads.v1.proto.errors import id_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_id__error__pb2 -from google.ads.google_ads.v1.proto.errors import image_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_image__error__pb2 -from google.ads.google_ads.v1.proto.errors import internal_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_internal__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_ad_group_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_campaign_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_idea_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_keyword_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__keyword__error__pb2 -from google.ads.google_ads.v1.proto.errors import keyword_plan_negative_keyword_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__negative__keyword__error__pb2 -from google.ads.google_ads.v1.proto.errors import label_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_label__error__pb2 -from google.ads.google_ads.v1.proto.errors import language_code_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_language__code__error__pb2 -from google.ads.google_ads.v1.proto.errors import list_operation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_list__operation__error__pb2 -from google.ads.google_ads.v1.proto.errors import manager_link_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_manager__link__error__pb2 -from google.ads.google_ads.v1.proto.errors import media_bundle_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__bundle__error__pb2 -from google.ads.google_ads.v1.proto.errors import media_file_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__file__error__pb2 -from google.ads.google_ads.v1.proto.errors import media_upload_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__upload__error__pb2 -from google.ads.google_ads.v1.proto.errors import multiplier_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_multiplier__error__pb2 -from google.ads.google_ads.v1.proto.errors import mutate_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__error__pb2 -from google.ads.google_ads.v1.proto.errors import mutate_job_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__job__error__pb2 -from google.ads.google_ads.v1.proto.errors import new_resource_creation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_new__resource__creation__error__pb2 -from google.ads.google_ads.v1.proto.errors import not_empty_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__empty__error__pb2 -from google.ads.google_ads.v1.proto.errors import not_whitelisted_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__whitelisted__error__pb2 -from google.ads.google_ads.v1.proto.errors import null_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_null__error__pb2 -from google.ads.google_ads.v1.proto.errors import operation_access_denied_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operation__access__denied__error__pb2 -from google.ads.google_ads.v1.proto.errors import operator_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operator__error__pb2 -from google.ads.google_ads.v1.proto.errors import partial_failure_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_partial__failure__error__pb2 -from google.ads.google_ads.v1.proto.errors import policy_finding_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__finding__error__pb2 -from google.ads.google_ads.v1.proto.errors import policy_validation_parameter_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2 -from google.ads.google_ads.v1.proto.errors import policy_violation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__violation__error__pb2 -from google.ads.google_ads.v1.proto.errors import query_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_query__error__pb2 -from google.ads.google_ads.v1.proto.errors import quota_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_quota__error__pb2 -from google.ads.google_ads.v1.proto.errors import range_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_range__error__pb2 -from google.ads.google_ads.v1.proto.errors import recommendation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_recommendation__error__pb2 -from google.ads.google_ads.v1.proto.errors import region_code_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_region__code__error__pb2 -from google.ads.google_ads.v1.proto.errors import request_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_request__error__pb2 -from google.ads.google_ads.v1.proto.errors import resource_access_denied_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__access__denied__error__pb2 -from google.ads.google_ads.v1.proto.errors import resource_count_limit_exceeded_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2 -from google.ads.google_ads.v1.proto.errors import setting_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_setting__error__pb2 -from google.ads.google_ads.v1.proto.errors import shared_criterion_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__criterion__error__pb2 -from google.ads.google_ads.v1.proto.errors import shared_set_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__set__error__pb2 -from google.ads.google_ads.v1.proto.errors import size_limit_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_size__limit__error__pb2 -from google.ads.google_ads.v1.proto.errors import string_format_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__format__error__pb2 -from google.ads.google_ads.v1.proto.errors import string_length_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__length__error__pb2 -from google.ads.google_ads.v1.proto.errors import url_field_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_url__field__error__pb2 -from google.ads.google_ads.v1.proto.errors import user_list_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_user__list__error__pb2 -from google.ads.google_ads.v1.proto.errors import youtube_video_registration_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2 +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.common import value_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_value__pb2 +from google.ads.google_ads.v4.proto.errors import access_invitation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_access__invitation__error__pb2 +from google.ads.google_ads.v4.proto.errors import account_budget_proposal_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_customizer_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__customizer__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_group_ad_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__ad__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_group_bid_modifier_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_group_criterion_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_group_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_group_feed_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__feed__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_parameter_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__parameter__error__pb2 +from google.ads.google_ads.v4.proto.errors import ad_sharing_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__sharing__error__pb2 +from google.ads.google_ads.v4.proto.errors import adx_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_adx__error__pb2 +from google.ads.google_ads.v4.proto.errors import asset_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__error__pb2 +from google.ads.google_ads.v4.proto.errors import asset_link_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__link__error__pb2 +from google.ads.google_ads.v4.proto.errors import authentication_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authentication__error__pb2 +from google.ads.google_ads.v4.proto.errors import authorization_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authorization__error__pb2 +from google.ads.google_ads.v4.proto.errors import batch_job_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_batch__job__error__pb2 +from google.ads.google_ads.v4.proto.errors import bidding_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__error__pb2 +from google.ads.google_ads.v4.proto.errors import bidding_strategy_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__strategy__error__pb2 +from google.ads.google_ads.v4.proto.errors import billing_setup_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_billing__setup__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_budget_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__budget__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_criterion_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__criterion__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_draft_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__draft__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_experiment_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__experiment__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_feed_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__feed__error__pb2 +from google.ads.google_ads.v4.proto.errors import campaign_shared_set_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2 +from google.ads.google_ads.v4.proto.errors import change_status_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_change__status__error__pb2 +from google.ads.google_ads.v4.proto.errors import collection_size_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_collection__size__error__pb2 +from google.ads.google_ads.v4.proto.errors import context_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_context__error__pb2 +from google.ads.google_ads.v4.proto.errors import conversion_action_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__action__error__pb2 +from google.ads.google_ads.v4.proto.errors import conversion_adjustment_upload_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2 +from google.ads.google_ads.v4.proto.errors import conversion_upload_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__upload__error__pb2 +from google.ads.google_ads.v4.proto.errors import country_code_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_country__code__error__pb2 +from google.ads.google_ads.v4.proto.errors import criterion_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_criterion__error__pb2 +from google.ads.google_ads.v4.proto.errors import currency_code_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_currency__code__error__pb2 +from google.ads.google_ads.v4.proto.errors import custom_interest_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_custom__interest__error__pb2 +from google.ads.google_ads.v4.proto.errors import customer_client_link_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__client__link__error__pb2 +from google.ads.google_ads.v4.proto.errors import customer_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__error__pb2 +from google.ads.google_ads.v4.proto.errors import customer_feed_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__feed__error__pb2 +from google.ads.google_ads.v4.proto.errors import customer_manager_link_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__manager__link__error__pb2 +from google.ads.google_ads.v4.proto.errors import database_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_database__error__pb2 +from google.ads.google_ads.v4.proto.errors import date_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__error__pb2 +from google.ads.google_ads.v4.proto.errors import date_range_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__range__error__pb2 +from google.ads.google_ads.v4.proto.errors import distinct_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_distinct__error__pb2 +from google.ads.google_ads.v4.proto.errors import enum_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_enum__error__pb2 +from google.ads.google_ads.v4.proto.errors import extension_feed_item_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__feed__item__error__pb2 +from google.ads.google_ads.v4.proto.errors import extension_setting_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__setting__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_attribute_reference_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_item_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_item_target_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__target__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 +from google.ads.google_ads.v4.proto.errors import feed_mapping_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__mapping__error__pb2 +from google.ads.google_ads.v4.proto.errors import field_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__error__pb2 +from google.ads.google_ads.v4.proto.errors import field_mask_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__mask__error__pb2 +from google.ads.google_ads.v4.proto.errors import function_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__error__pb2 +from google.ads.google_ads.v4.proto.errors import function_parsing_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__parsing__error__pb2 +from google.ads.google_ads.v4.proto.errors import geo_target_constant_suggestion_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2 +from google.ads.google_ads.v4.proto.errors import header_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_header__error__pb2 +from google.ads.google_ads.v4.proto.errors import id_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_id__error__pb2 +from google.ads.google_ads.v4.proto.errors import image_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_image__error__pb2 +from google.ads.google_ads.v4.proto.errors import internal_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_internal__error__pb2 +from google.ads.google_ads.v4.proto.errors import invoice_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_invoice__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_ad_group_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_ad_group_keyword_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__keyword__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_campaign_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_campaign_keyword_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__keyword__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__error__pb2 +from google.ads.google_ads.v4.proto.errors import keyword_plan_idea_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2 +from google.ads.google_ads.v4.proto.errors import label_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_label__error__pb2 +from google.ads.google_ads.v4.proto.errors import language_code_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_language__code__error__pb2 +from google.ads.google_ads.v4.proto.errors import list_operation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_list__operation__error__pb2 +from google.ads.google_ads.v4.proto.errors import manager_link_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_manager__link__error__pb2 +from google.ads.google_ads.v4.proto.errors import media_bundle_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__bundle__error__pb2 +from google.ads.google_ads.v4.proto.errors import media_file_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__file__error__pb2 +from google.ads.google_ads.v4.proto.errors import media_upload_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__upload__error__pb2 +from google.ads.google_ads.v4.proto.errors import multiplier_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_multiplier__error__pb2 +from google.ads.google_ads.v4.proto.errors import mutate_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_mutate__error__pb2 +from google.ads.google_ads.v4.proto.errors import new_resource_creation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_new__resource__creation__error__pb2 +from google.ads.google_ads.v4.proto.errors import not_empty_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__empty__error__pb2 +from google.ads.google_ads.v4.proto.errors import not_whitelisted_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__whitelisted__error__pb2 +from google.ads.google_ads.v4.proto.errors import null_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_null__error__pb2 +from google.ads.google_ads.v4.proto.errors import offline_user_data_job_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2 +from google.ads.google_ads.v4.proto.errors import operation_access_denied_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operation__access__denied__error__pb2 +from google.ads.google_ads.v4.proto.errors import operator_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operator__error__pb2 +from google.ads.google_ads.v4.proto.errors import partial_failure_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_partial__failure__error__pb2 +from google.ads.google_ads.v4.proto.errors import payments_account_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_payments__account__error__pb2 +from google.ads.google_ads.v4.proto.errors import policy_finding_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__finding__error__pb2 +from google.ads.google_ads.v4.proto.errors import policy_validation_parameter_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2 +from google.ads.google_ads.v4.proto.errors import policy_violation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__violation__error__pb2 +from google.ads.google_ads.v4.proto.errors import query_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_query__error__pb2 +from google.ads.google_ads.v4.proto.errors import quota_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_quota__error__pb2 +from google.ads.google_ads.v4.proto.errors import range_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_range__error__pb2 +from google.ads.google_ads.v4.proto.errors import reach_plan_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_reach__plan__error__pb2 +from google.ads.google_ads.v4.proto.errors import recommendation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_recommendation__error__pb2 +from google.ads.google_ads.v4.proto.errors import region_code_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_region__code__error__pb2 +from google.ads.google_ads.v4.proto.errors import request_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_request__error__pb2 +from google.ads.google_ads.v4.proto.errors import resource_access_denied_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__access__denied__error__pb2 +from google.ads.google_ads.v4.proto.errors import resource_count_limit_exceeded_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2 +from google.ads.google_ads.v4.proto.errors import setting_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_setting__error__pb2 +from google.ads.google_ads.v4.proto.errors import shared_criterion_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__criterion__error__pb2 +from google.ads.google_ads.v4.proto.errors import shared_set_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__set__error__pb2 +from google.ads.google_ads.v4.proto.errors import size_limit_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_size__limit__error__pb2 +from google.ads.google_ads.v4.proto.errors import string_format_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__format__error__pb2 +from google.ads.google_ads.v4.proto.errors import string_length_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__length__error__pb2 +from google.ads.google_ads.v4.proto.errors import time_zone_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_time__zone__error__pb2 +from google.ads.google_ads.v4.proto.errors import url_field_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_url__field__error__pb2 +from google.ads.google_ads.v4.proto.errors import user_data_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__data__error__pb2 +from google.ads.google_ads.v4.proto.errors import user_list_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__list__error__pb2 +from google.ads.google_ads.v4.proto.errors import youtube_video_registration_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/errors.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/errors.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\013ErrorsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n1google/ads/googleads_v1/proto/errors/errors.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x31google/ads/googleads_v1/proto/common/policy.proto\x1a\x30google/ads/googleads_v1/proto/common/value.proto\x1aHgoogle/ads/googleads_v1/proto/errors/account_budget_proposal_error.proto\x1a>google/ads/googleads_v1/proto/errors/ad_customizer_error.proto\x1a\x33google/ads/googleads_v1/proto/errors/ad_error.proto\x1agoogle/ads/googleads_v1/proto/errors/ad_group_feed_error.proto\x1a=google/ads/googleads_v1/proto/errors/ad_parameter_error.proto\x1a;google/ads/googleads_v1/proto/errors/ad_sharing_error.proto\x1a\x34google/ads/googleads_v1/proto/errors/adx_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/asset_error.proto\x1a?google/ads/googleads_v1/proto/errors/authentication_error.proto\x1a>google/ads/googleads_v1/proto/errors/authorization_error.proto\x1a\x38google/ads/googleads_v1/proto/errors/bidding_error.proto\x1a\x41google/ads/googleads_v1/proto/errors/bidding_strategy_error.proto\x1a>google/ads/googleads_v1/proto/errors/billing_setup_error.proto\x1a@google/ads/googleads_v1/proto/errors/campaign_budget_error.proto\x1a\x43google/ads/googleads_v1/proto/errors/campaign_criterion_error.proto\x1a?google/ads/googleads_v1/proto/errors/campaign_draft_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/campaign_error.proto\x1a\x44google/ads/googleads_v1/proto/errors/campaign_experiment_error.proto\x1a>google/ads/googleads_v1/proto/errors/campaign_feed_error.proto\x1a\x44google/ads/googleads_v1/proto/errors/campaign_shared_set_error.proto\x1a>google/ads/googleads_v1/proto/errors/change_status_error.proto\x1a@google/ads/googleads_v1/proto/errors/collection_size_error.proto\x1a\x38google/ads/googleads_v1/proto/errors/context_error.proto\x1a\x42google/ads/googleads_v1/proto/errors/conversion_action_error.proto\x1aMgoogle/ads/googleads_v1/proto/errors/conversion_adjustment_upload_error.proto\x1a\x42google/ads/googleads_v1/proto/errors/conversion_upload_error.proto\x1a=google/ads/googleads_v1/proto/errors/country_code_error.proto\x1a:google/ads/googleads_v1/proto/errors/criterion_error.proto\x1a@google/ads/googleads_v1/proto/errors/custom_interest_error.proto\x1a\x45google/ads/googleads_v1/proto/errors/customer_client_link_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/customer_error.proto\x1a>google/ads/googleads_v1/proto/errors/customer_feed_error.proto\x1a\x46google/ads/googleads_v1/proto/errors/customer_manager_link_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/database_error.proto\x1a\x35google/ads/googleads_v1/proto/errors/date_error.proto\x1a;google/ads/googleads_v1/proto/errors/date_range_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/distinct_error.proto\x1a\x35google/ads/googleads_v1/proto/errors/enum_error.proto\x1a\x44google/ads/googleads_v1/proto/errors/extension_feed_item_error.proto\x1a\x42google/ads/googleads_v1/proto/errors/extension_setting_error.proto\x1aIgoogle/ads/googleads_v1/proto/errors/feed_attribute_reference_error.proto\x1a\x35google/ads/googleads_v1/proto/errors/feed_error.proto\x1a:google/ads/googleads_v1/proto/errors/feed_item_error.proto\x1a\x41google/ads/googleads_v1/proto/errors/feed_item_target_error.proto\x1a\x45google/ads/googleads_v1/proto/errors/feed_item_validation_error.proto\x1a=google/ads/googleads_v1/proto/errors/feed_mapping_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/field_error.proto\x1a;google/ads/googleads_v1/proto/errors/field_mask_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/function_error.proto\x1a\x41google/ads/googleads_v1/proto/errors/function_parsing_error.proto\x1aOgoogle/ads/googleads_v1/proto/errors/geo_target_constant_suggestion_error.proto\x1a\x37google/ads/googleads_v1/proto/errors/header_error.proto\x1a\x33google/ads/googleads_v1/proto/errors/id_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/image_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/internal_error.proto\x1a\x46google/ads/googleads_v1/proto/errors/keyword_plan_ad_group_error.proto\x1a\x46google/ads/googleads_v1/proto/errors/keyword_plan_campaign_error.proto\x1a=google/ads/googleads_v1/proto/errors/keyword_plan_error.proto\x1a\x42google/ads/googleads_v1/proto/errors/keyword_plan_idea_error.proto\x1a\x45google/ads/googleads_v1/proto/errors/keyword_plan_keyword_error.proto\x1aNgoogle/ads/googleads_v1/proto/errors/keyword_plan_negative_keyword_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/label_error.proto\x1a>google/ads/googleads_v1/proto/errors/language_code_error.proto\x1a?google/ads/googleads_v1/proto/errors/list_operation_error.proto\x1a=google/ads/googleads_v1/proto/errors/manager_link_error.proto\x1a=google/ads/googleads_v1/proto/errors/media_bundle_error.proto\x1a;google/ads/googleads_v1/proto/errors/media_file_error.proto\x1a=google/ads/googleads_v1/proto/errors/media_upload_error.proto\x1a;google/ads/googleads_v1/proto/errors/multiplier_error.proto\x1a\x37google/ads/googleads_v1/proto/errors/mutate_error.proto\x1a;google/ads/googleads_v1/proto/errors/mutate_job_error.proto\x1a\x46google/ads/googleads_v1/proto/errors/new_resource_creation_error.proto\x1a:google/ads/googleads_v1/proto/errors/not_empty_error.proto\x1a@google/ads/googleads_v1/proto/errors/not_whitelisted_error.proto\x1a\x35google/ads/googleads_v1/proto/errors/null_error.proto\x1aHgoogle/ads/googleads_v1/proto/errors/operation_access_denied_error.proto\x1a\x39google/ads/googleads_v1/proto/errors/operator_error.proto\x1a@google/ads/googleads_v1/proto/errors/partial_failure_error.proto\x1a?google/ads/googleads_v1/proto/errors/policy_finding_error.proto\x1aLgoogle/ads/googleads_v1/proto/errors/policy_validation_parameter_error.proto\x1a\x41google/ads/googleads_v1/proto/errors/policy_violation_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/query_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/quota_error.proto\x1a\x36google/ads/googleads_v1/proto/errors/range_error.proto\x1a?google/ads/googleads_v1/proto/errors/recommendation_error.proto\x1agoogle/ads/googleads_v1/proto/errors/string_format_error.proto\x1a>google/ads/googleads_v1/proto/errors/string_length_error.proto\x1a:google/ads/googleads_v1/proto/errors/url_field_error.proto\x1a:google/ads/googleads_v1/proto/errors/user_list_error.proto\x1aKgoogle/ads/googleads_v1/proto/errors/youtube_video_registration_error.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"R\n\x10GoogleAdsFailure\x12>\n\x06\x65rrors\x18\x01 \x03(\x0b\x32..google.ads.googleads.v1.errors.GoogleAdsError\"\x98\x02\n\x0eGoogleAdsError\x12=\n\nerror_code\x18\x01 \x01(\x0b\x32).google.ads.googleads.v1.errors.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x36\n\x07trigger\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v1.common.Value\x12?\n\x08location\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v1.errors.ErrorLocation\x12=\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32,.google.ads.googleads.v1.errors.ErrorDetails\"\xb1S\n\tErrorCode\x12V\n\rrequest_error\x18\x01 \x01(\x0e\x32=.google.ads.googleads.v1.errors.RequestErrorEnum.RequestErrorH\x00\x12o\n\x16\x62idding_strategy_error\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v1.errors.BiddingStrategyErrorEnum.BiddingStrategyErrorH\x00\x12Z\n\x0furl_field_error\x18\x03 \x01(\x0e\x32?.google.ads.googleads.v1.errors.UrlFieldErrorEnum.UrlFieldErrorH\x00\x12i\n\x14list_operation_error\x18\x04 \x01(\x0e\x32I.google.ads.googleads.v1.errors.ListOperationErrorEnum.ListOperationErrorH\x00\x12P\n\x0bquery_error\x18\x05 \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.QueryErrorEnum.QueryErrorH\x00\x12S\n\x0cmutate_error\x18\x07 \x01(\x0e\x32;.google.ads.googleads.v1.errors.MutateErrorEnum.MutateErrorH\x00\x12]\n\x10\x66ield_mask_error\x18\x08 \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.FieldMaskErrorEnum.FieldMaskErrorH\x00\x12h\n\x13\x61uthorization_error\x18\t \x01(\x0e\x32I.google.ads.googleads.v1.errors.AuthorizationErrorEnum.AuthorizationErrorH\x00\x12Y\n\x0einternal_error\x18\n \x01(\x0e\x32?.google.ads.googleads.v1.errors.InternalErrorEnum.InternalErrorH\x00\x12P\n\x0bquota_error\x18\x0b \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.QuotaErrorEnum.QuotaErrorH\x00\x12G\n\x08\x61\x64_error\x18\x0c \x01(\x0e\x32\x33.google.ads.googleads.v1.errors.AdErrorEnum.AdErrorH\x00\x12W\n\x0e\x61\x64_group_error\x18\r \x01(\x0e\x32=.google.ads.googleads.v1.errors.AdGroupErrorEnum.AdGroupErrorH\x00\x12l\n\x15\x63\x61mpaign_budget_error\x18\x0e \x01(\x0e\x32K.google.ads.googleads.v1.errors.CampaignBudgetErrorEnum.CampaignBudgetErrorH\x00\x12Y\n\x0e\x63\x61mpaign_error\x18\x0f \x01(\x0e\x32?.google.ads.googleads.v1.errors.CampaignErrorEnum.CampaignErrorH\x00\x12k\n\x14\x61uthentication_error\x18\x11 \x01(\x0e\x32K.google.ads.googleads.v1.errors.AuthenticationErrorEnum.AuthenticationErrorH\x00\x12s\n\x18\x61\x64_group_criterion_error\x18\x12 \x01(\x0e\x32O.google.ads.googleads.v1.errors.AdGroupCriterionErrorEnum.AdGroupCriterionErrorH\x00\x12\x66\n\x13\x61\x64_customizer_error\x18\x13 \x01(\x0e\x32G.google.ads.googleads.v1.errors.AdCustomizerErrorEnum.AdCustomizerErrorH\x00\x12^\n\x11\x61\x64_group_ad_error\x18\x15 \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.AdGroupAdErrorEnum.AdGroupAdErrorH\x00\x12]\n\x10\x61\x64_sharing_error\x18\x18 \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.AdSharingErrorEnum.AdSharingErrorH\x00\x12J\n\tadx_error\x18\x19 \x01(\x0e\x32\x35.google.ads.googleads.v1.errors.AdxErrorEnum.AdxErrorH\x00\x12P\n\x0b\x61sset_error\x18k \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.AssetErrorEnum.AssetErrorH\x00\x12V\n\rbidding_error\x18\x1a \x01(\x0e\x32=.google.ads.googleads.v1.errors.BiddingErrorEnum.BiddingErrorH\x00\x12u\n\x18\x63\x61mpaign_criterion_error\x18\x1d \x01(\x0e\x32Q.google.ads.googleads.v1.errors.CampaignCriterionErrorEnum.CampaignCriterionErrorH\x00\x12l\n\x15\x63ollection_size_error\x18\x1f \x01(\x0e\x32K.google.ads.googleads.v1.errors.CollectionSizeErrorEnum.CollectionSizeErrorH\x00\x12\x63\n\x12\x63ountry_code_error\x18m \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.CountryCodeErrorEnum.CountryCodeErrorH\x00\x12\\\n\x0f\x63riterion_error\x18 \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.CriterionErrorEnum.CriterionErrorH\x00\x12Y\n\x0e\x63ustomer_error\x18Z \x01(\x0e\x32?.google.ads.googleads.v1.errors.CustomerErrorEnum.CustomerErrorH\x00\x12M\n\ndate_error\x18! \x01(\x0e\x32\x37.google.ads.googleads.v1.errors.DateErrorEnum.DateErrorH\x00\x12]\n\x10\x64\x61te_range_error\x18\" \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.DateRangeErrorEnum.DateRangeErrorH\x00\x12Y\n\x0e\x64istinct_error\x18# \x01(\x0e\x32?.google.ads.googleads.v1.errors.DistinctErrorEnum.DistinctErrorH\x00\x12\x85\x01\n\x1e\x66\x65\x65\x64_attribute_reference_error\x18$ \x01(\x0e\x32[.google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceErrorH\x00\x12Y\n\x0e\x66unction_error\x18% \x01(\x0e\x32?.google.ads.googleads.v1.errors.FunctionErrorEnum.FunctionErrorH\x00\x12o\n\x16\x66unction_parsing_error\x18& \x01(\x0e\x32M.google.ads.googleads.v1.errors.FunctionParsingErrorEnum.FunctionParsingErrorH\x00\x12G\n\x08id_error\x18\' \x01(\x0e\x32\x33.google.ads.googleads.v1.errors.IdErrorEnum.IdErrorH\x00\x12P\n\x0bimage_error\x18( \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.ImageErrorEnum.ImageErrorH\x00\x12\x66\n\x13language_code_error\x18n \x01(\x0e\x32G.google.ads.googleads.v1.errors.LanguageCodeErrorEnum.LanguageCodeErrorH\x00\x12\x63\n\x12media_bundle_error\x18* \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.MediaBundleErrorEnum.MediaBundleErrorH\x00\x12\x63\n\x12media_upload_error\x18t \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.MediaUploadErrorEnum.MediaUploadErrorH\x00\x12]\n\x10media_file_error\x18V \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.MediaFileErrorEnum.MediaFileErrorH\x00\x12_\n\x10multiplier_error\x18, \x01(\x0e\x32\x43.google.ads.googleads.v1.errors.MultiplierErrorEnum.MultiplierErrorH\x00\x12|\n\x1bnew_resource_creation_error\x18- \x01(\x0e\x32U.google.ads.googleads.v1.errors.NewResourceCreationErrorEnum.NewResourceCreationErrorH\x00\x12Z\n\x0fnot_empty_error\x18. \x01(\x0e\x32?.google.ads.googleads.v1.errors.NotEmptyErrorEnum.NotEmptyErrorH\x00\x12M\n\nnull_error\x18/ \x01(\x0e\x32\x37.google.ads.googleads.v1.errors.NullErrorEnum.NullErrorH\x00\x12Y\n\x0eoperator_error\x18\x30 \x01(\x0e\x32?.google.ads.googleads.v1.errors.OperatorErrorEnum.OperatorErrorH\x00\x12P\n\x0brange_error\x18\x31 \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.RangeErrorEnum.RangeErrorH\x00\x12k\n\x14recommendation_error\x18: \x01(\x0e\x32K.google.ads.googleads.v1.errors.RecommendationErrorEnum.RecommendationErrorH\x00\x12`\n\x11region_code_error\x18\x33 \x01(\x0e\x32\x43.google.ads.googleads.v1.errors.RegionCodeErrorEnum.RegionCodeErrorH\x00\x12V\n\rsetting_error\x18\x34 \x01(\x0e\x32=.google.ads.googleads.v1.errors.SettingErrorEnum.SettingErrorH\x00\x12\x66\n\x13string_format_error\x18\x35 \x01(\x0e\x32G.google.ads.googleads.v1.errors.StringFormatErrorEnum.StringFormatErrorH\x00\x12\x66\n\x13string_length_error\x18\x36 \x01(\x0e\x32G.google.ads.googleads.v1.errors.StringLengthErrorEnum.StringLengthErrorH\x00\x12\x82\x01\n\x1doperation_access_denied_error\x18\x37 \x01(\x0e\x32Y.google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorH\x00\x12\x7f\n\x1cresource_access_denied_error\x18\x38 \x01(\x0e\x32W.google.ads.googleads.v1.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedErrorH\x00\x12\x92\x01\n#resource_count_limit_exceeded_error\x18\x39 \x01(\x0e\x32\x63.google.ads.googleads.v1.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorH\x00\x12\x8b\x01\n youtube_video_registration_error\x18u \x01(\x0e\x32_.google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationErrorH\x00\x12z\n\x1b\x61\x64_group_bid_modifier_error\x18; \x01(\x0e\x32S.google.ads.googleads.v1.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierErrorH\x00\x12V\n\rcontext_error\x18< \x01(\x0e\x32=.google.ads.googleads.v1.errors.ContextErrorEnum.ContextErrorH\x00\x12P\n\x0b\x66ield_error\x18= \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.FieldErrorEnum.FieldErrorH\x00\x12]\n\x10shared_set_error\x18> \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.SharedSetErrorEnum.SharedSetErrorH\x00\x12o\n\x16shared_criterion_error\x18? \x01(\x0e\x32M.google.ads.googleads.v1.errors.SharedCriterionErrorEnum.SharedCriterionErrorH\x00\x12v\n\x19\x63\x61mpaign_shared_set_error\x18@ \x01(\x0e\x32Q.google.ads.googleads.v1.errors.CampaignSharedSetErrorEnum.CampaignSharedSetErrorH\x00\x12r\n\x17\x63onversion_action_error\x18\x41 \x01(\x0e\x32O.google.ads.googleads.v1.errors.ConversionActionErrorEnum.ConversionActionErrorH\x00\x12\x91\x01\n\"conversion_adjustment_upload_error\x18s \x01(\x0e\x32\x63.google.ads.googleads.v1.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadErrorH\x00\x12r\n\x17\x63onversion_upload_error\x18o \x01(\x0e\x32O.google.ads.googleads.v1.errors.ConversionUploadErrorEnum.ConversionUploadErrorH\x00\x12S\n\x0cheader_error\x18\x42 \x01(\x0e\x32;.google.ads.googleads.v1.errors.HeaderErrorEnum.HeaderErrorH\x00\x12Y\n\x0e\x64\x61tabase_error\x18\x43 \x01(\x0e\x32?.google.ads.googleads.v1.errors.DatabaseErrorEnum.DatabaseErrorH\x00\x12i\n\x14policy_finding_error\x18\x44 \x01(\x0e\x32I.google.ads.googleads.v1.errors.PolicyFindingErrorEnum.PolicyFindingErrorH\x00\x12M\n\nenum_error\x18\x46 \x01(\x0e\x32\x37.google.ads.googleads.v1.errors.EnumErrorEnum.EnumErrorH\x00\x12\x63\n\x12keyword_plan_error\x18G \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.KeywordPlanErrorEnum.KeywordPlanErrorH\x00\x12|\n\x1bkeyword_plan_campaign_error\x18H \x01(\x0e\x32U.google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignErrorH\x00\x12\x92\x01\n#keyword_plan_negative_keyword_error\x18I \x01(\x0e\x32\x63.google.ads.googleads.v1.errors.KeywordPlanNegativeKeywordErrorEnum.KeywordPlanNegativeKeywordErrorH\x00\x12z\n\x1bkeyword_plan_ad_group_error\x18J \x01(\x0e\x32S.google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupErrorH\x00\x12y\n\x1akeyword_plan_keyword_error\x18K \x01(\x0e\x32S.google.ads.googleads.v1.errors.KeywordPlanKeywordErrorEnum.KeywordPlanKeywordErrorH\x00\x12p\n\x17keyword_plan_idea_error\x18L \x01(\x0e\x32M.google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaErrorH\x00\x12\x82\x01\n\x1d\x61\x63\x63ount_budget_proposal_error\x18M \x01(\x0e\x32Y.google.ads.googleads.v1.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorH\x00\x12Z\n\x0fuser_list_error\x18N \x01(\x0e\x32?.google.ads.googleads.v1.errors.UserListErrorEnum.UserListErrorH\x00\x12\x66\n\x13\x63hange_status_error\x18O \x01(\x0e\x32G.google.ads.googleads.v1.errors.ChangeStatusErrorEnum.ChangeStatusErrorH\x00\x12M\n\nfeed_error\x18P \x01(\x0e\x32\x37.google.ads.googleads.v1.errors.FeedErrorEnum.FeedErrorH\x00\x12\x95\x01\n$geo_target_constant_suggestion_error\x18Q \x01(\x0e\x32\x65.google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionErrorH\x00\x12i\n\x14\x63\x61mpaign_draft_error\x18R \x01(\x0e\x32I.google.ads.googleads.v1.errors.CampaignDraftErrorEnum.CampaignDraftErrorH\x00\x12Z\n\x0f\x66\x65\x65\x64_item_error\x18S \x01(\x0e\x32?.google.ads.googleads.v1.errors.FeedItemErrorEnum.FeedItemErrorH\x00\x12P\n\x0blabel_error\x18T \x01(\x0e\x32\x39.google.ads.googleads.v1.errors.LabelErrorEnum.LabelErrorH\x00\x12\x66\n\x13\x62illing_setup_error\x18W \x01(\x0e\x32G.google.ads.googleads.v1.errors.BillingSetupErrorEnum.BillingSetupErrorH\x00\x12y\n\x1a\x63ustomer_client_link_error\x18X \x01(\x0e\x32S.google.ads.googleads.v1.errors.CustomerClientLinkErrorEnum.CustomerClientLinkErrorH\x00\x12|\n\x1b\x63ustomer_manager_link_error\x18[ \x01(\x0e\x32U.google.ads.googleads.v1.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorH\x00\x12\x63\n\x12\x66\x65\x65\x64_mapping_error\x18\\ \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.FeedMappingErrorEnum.FeedMappingErrorH\x00\x12\x66\n\x13\x63ustomer_feed_error\x18] \x01(\x0e\x32G.google.ads.googleads.v1.errors.CustomerFeedErrorEnum.CustomerFeedErrorH\x00\x12\x64\n\x13\x61\x64_group_feed_error\x18^ \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.AdGroupFeedErrorEnum.AdGroupFeedErrorH\x00\x12\x66\n\x13\x63\x61mpaign_feed_error\x18` \x01(\x0e\x32G.google.ads.googleads.v1.errors.CampaignFeedErrorEnum.CampaignFeedErrorH\x00\x12l\n\x15\x63ustom_interest_error\x18\x61 \x01(\x0e\x32K.google.ads.googleads.v1.errors.CustomInterestErrorEnum.CustomInterestErrorH\x00\x12x\n\x19\x63\x61mpaign_experiment_error\x18\x62 \x01(\x0e\x32S.google.ads.googleads.v1.errors.CampaignExperimentErrorEnum.CampaignExperimentErrorH\x00\x12v\n\x19\x65xtension_feed_item_error\x18\x64 \x01(\x0e\x32Q.google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemErrorH\x00\x12\x63\n\x12\x61\x64_parameter_error\x18\x65 \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.AdParameterErrorEnum.AdParameterErrorH\x00\x12y\n\x1a\x66\x65\x65\x64_item_validation_error\x18\x66 \x01(\x0e\x32S.google.ads.googleads.v1.errors.FeedItemValidationErrorEnum.FeedItemValidationErrorH\x00\x12r\n\x17\x65xtension_setting_error\x18g \x01(\x0e\x32O.google.ads.googleads.v1.errors.ExtensionSettingErrorEnum.ExtensionSettingErrorH\x00\x12m\n\x16\x66\x65\x65\x64_item_target_error\x18h \x01(\x0e\x32K.google.ads.googleads.v1.errors.FeedItemTargetErrorEnum.FeedItemTargetErrorH\x00\x12o\n\x16policy_violation_error\x18i \x01(\x0e\x32M.google.ads.googleads.v1.errors.PolicyViolationErrorEnum.PolicyViolationErrorH\x00\x12]\n\x10mutate_job_error\x18l \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.MutateJobErrorEnum.MutateJobErrorH\x00\x12l\n\x15partial_failure_error\x18p \x01(\x0e\x32K.google.ads.googleads.v1.errors.PartialFailureErrorEnum.PartialFailureErrorH\x00\x12\x8e\x01\n!policy_validation_parameter_error\x18r \x01(\x0e\x32\x61.google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterErrorH\x00\x12]\n\x10size_limit_error\x18v \x01(\x0e\x32\x41.google.ads.googleads.v1.errors.SizeLimitErrorEnum.SizeLimitErrorH\x00\x12l\n\x15not_whitelisted_error\x18x \x01(\x0e\x32K.google.ads.googleads.v1.errors.NotWhitelistedErrorEnum.NotWhitelistedErrorH\x00\x12\x63\n\x12manager_link_error\x18y \x01(\x0e\x32\x45.google.ads.googleads.v1.errors.ManagerLinkErrorEnum.ManagerLinkErrorH\x00\x42\x0c\n\nerror_code\"\xc0\x01\n\rErrorLocation\x12[\n\x13\x66ield_path_elements\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement\x1aR\n\x10\x46ieldPathElement\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12*\n\x05index\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xde\x01\n\x0c\x45rrorDetails\x12\x1e\n\x16unpublished_error_code\x18\x01 \x01(\t\x12X\n\x18policy_violation_details\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v1.errors.PolicyViolationDetails\x12T\n\x16policy_finding_details\x18\x03 \x01(\x0b\x32\x34.google.ads.googleads.v1.errors.PolicyFindingDetails\"\xb3\x01\n\x16PolicyViolationDetails\x12#\n\x1b\x65xternal_policy_description\x18\x02 \x01(\t\x12?\n\x03key\x18\x04 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.PolicyViolationKey\x12\x1c\n\x14\x65xternal_policy_name\x18\x05 \x01(\t\x12\x15\n\ris_exemptible\x18\x06 \x01(\x08\"f\n\x14PolicyFindingDetails\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v1.common.PolicyTopicEntryB\xe6\x01\n\"com.google.ads.googleads.v1.errorsB\x0b\x45rrorsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\013ErrorsProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n1google/ads/googleads_v4/proto/errors/errors.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1a\x30google/ads/googleads_v4/proto/common/value.proto\x1a\x42google/ads/googleads_v4/proto/errors/access_invitation_error.proto\x1aHgoogle/ads/googleads_v4/proto/errors/account_budget_proposal_error.proto\x1a>google/ads/googleads_v4/proto/errors/ad_customizer_error.proto\x1a\x33google/ads/googleads_v4/proto/errors/ad_error.proto\x1agoogle/ads/googleads_v4/proto/errors/ad_group_feed_error.proto\x1a=google/ads/googleads_v4/proto/errors/ad_parameter_error.proto\x1a;google/ads/googleads_v4/proto/errors/ad_sharing_error.proto\x1a\x34google/ads/googleads_v4/proto/errors/adx_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/asset_error.proto\x1a;google/ads/googleads_v4/proto/errors/asset_link_error.proto\x1a?google/ads/googleads_v4/proto/errors/authentication_error.proto\x1a>google/ads/googleads_v4/proto/errors/authorization_error.proto\x1a:google/ads/googleads_v4/proto/errors/batch_job_error.proto\x1a\x38google/ads/googleads_v4/proto/errors/bidding_error.proto\x1a\x41google/ads/googleads_v4/proto/errors/bidding_strategy_error.proto\x1a>google/ads/googleads_v4/proto/errors/billing_setup_error.proto\x1a@google/ads/googleads_v4/proto/errors/campaign_budget_error.proto\x1a\x43google/ads/googleads_v4/proto/errors/campaign_criterion_error.proto\x1a?google/ads/googleads_v4/proto/errors/campaign_draft_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/campaign_error.proto\x1a\x44google/ads/googleads_v4/proto/errors/campaign_experiment_error.proto\x1a>google/ads/googleads_v4/proto/errors/campaign_feed_error.proto\x1a\x44google/ads/googleads_v4/proto/errors/campaign_shared_set_error.proto\x1a>google/ads/googleads_v4/proto/errors/change_status_error.proto\x1a@google/ads/googleads_v4/proto/errors/collection_size_error.proto\x1a\x38google/ads/googleads_v4/proto/errors/context_error.proto\x1a\x42google/ads/googleads_v4/proto/errors/conversion_action_error.proto\x1aMgoogle/ads/googleads_v4/proto/errors/conversion_adjustment_upload_error.proto\x1a\x42google/ads/googleads_v4/proto/errors/conversion_upload_error.proto\x1a=google/ads/googleads_v4/proto/errors/country_code_error.proto\x1a:google/ads/googleads_v4/proto/errors/criterion_error.proto\x1a>google/ads/googleads_v4/proto/errors/currency_code_error.proto\x1a@google/ads/googleads_v4/proto/errors/custom_interest_error.proto\x1a\x45google/ads/googleads_v4/proto/errors/customer_client_link_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/customer_error.proto\x1a>google/ads/googleads_v4/proto/errors/customer_feed_error.proto\x1a\x46google/ads/googleads_v4/proto/errors/customer_manager_link_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/database_error.proto\x1a\x35google/ads/googleads_v4/proto/errors/date_error.proto\x1a;google/ads/googleads_v4/proto/errors/date_range_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/distinct_error.proto\x1a\x35google/ads/googleads_v4/proto/errors/enum_error.proto\x1a\x44google/ads/googleads_v4/proto/errors/extension_feed_item_error.proto\x1a\x42google/ads/googleads_v4/proto/errors/extension_setting_error.proto\x1aIgoogle/ads/googleads_v4/proto/errors/feed_attribute_reference_error.proto\x1a\x35google/ads/googleads_v4/proto/errors/feed_error.proto\x1a:google/ads/googleads_v4/proto/errors/feed_item_error.proto\x1a\x41google/ads/googleads_v4/proto/errors/feed_item_target_error.proto\x1a\x45google/ads/googleads_v4/proto/errors/feed_item_validation_error.proto\x1a=google/ads/googleads_v4/proto/errors/feed_mapping_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/field_error.proto\x1a;google/ads/googleads_v4/proto/errors/field_mask_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/function_error.proto\x1a\x41google/ads/googleads_v4/proto/errors/function_parsing_error.proto\x1aOgoogle/ads/googleads_v4/proto/errors/geo_target_constant_suggestion_error.proto\x1a\x37google/ads/googleads_v4/proto/errors/header_error.proto\x1a\x33google/ads/googleads_v4/proto/errors/id_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/image_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/internal_error.proto\x1a\x38google/ads/googleads_v4/proto/errors/invoice_error.proto\x1a\x46google/ads/googleads_v4/proto/errors/keyword_plan_ad_group_error.proto\x1aNgoogle/ads/googleads_v4/proto/errors/keyword_plan_ad_group_keyword_error.proto\x1a\x46google/ads/googleads_v4/proto/errors/keyword_plan_campaign_error.proto\x1aNgoogle/ads/googleads_v4/proto/errors/keyword_plan_campaign_keyword_error.proto\x1a=google/ads/googleads_v4/proto/errors/keyword_plan_error.proto\x1a\x42google/ads/googleads_v4/proto/errors/keyword_plan_idea_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/label_error.proto\x1a>google/ads/googleads_v4/proto/errors/language_code_error.proto\x1a?google/ads/googleads_v4/proto/errors/list_operation_error.proto\x1a=google/ads/googleads_v4/proto/errors/manager_link_error.proto\x1a=google/ads/googleads_v4/proto/errors/media_bundle_error.proto\x1a;google/ads/googleads_v4/proto/errors/media_file_error.proto\x1a=google/ads/googleads_v4/proto/errors/media_upload_error.proto\x1a;google/ads/googleads_v4/proto/errors/multiplier_error.proto\x1a\x37google/ads/googleads_v4/proto/errors/mutate_error.proto\x1a\x46google/ads/googleads_v4/proto/errors/new_resource_creation_error.proto\x1a:google/ads/googleads_v4/proto/errors/not_empty_error.proto\x1a@google/ads/googleads_v4/proto/errors/not_whitelisted_error.proto\x1a\x35google/ads/googleads_v4/proto/errors/null_error.proto\x1a\x46google/ads/googleads_v4/proto/errors/offline_user_data_job_error.proto\x1aHgoogle/ads/googleads_v4/proto/errors/operation_access_denied_error.proto\x1a\x39google/ads/googleads_v4/proto/errors/operator_error.proto\x1a@google/ads/googleads_v4/proto/errors/partial_failure_error.proto\x1a\x41google/ads/googleads_v4/proto/errors/payments_account_error.proto\x1a?google/ads/googleads_v4/proto/errors/policy_finding_error.proto\x1aLgoogle/ads/googleads_v4/proto/errors/policy_validation_parameter_error.proto\x1a\x41google/ads/googleads_v4/proto/errors/policy_violation_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/query_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/quota_error.proto\x1a\x36google/ads/googleads_v4/proto/errors/range_error.proto\x1a;google/ads/googleads_v4/proto/errors/reach_plan_error.proto\x1a?google/ads/googleads_v4/proto/errors/recommendation_error.proto\x1agoogle/ads/googleads_v4/proto/errors/string_format_error.proto\x1a>google/ads/googleads_v4/proto/errors/string_length_error.proto\x1a:google/ads/googleads_v4/proto/errors/time_zone_error.proto\x1a:google/ads/googleads_v4/proto/errors/url_field_error.proto\x1a:google/ads/googleads_v4/proto/errors/user_data_error.proto\x1a:google/ads/googleads_v4/proto/errors/user_list_error.proto\x1aKgoogle/ads/googleads_v4/proto/errors/youtube_video_registration_error.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"R\n\x10GoogleAdsFailure\x12>\n\x06\x65rrors\x18\x01 \x03(\x0b\x32..google.ads.googleads.v4.errors.GoogleAdsError\"\x98\x02\n\x0eGoogleAdsError\x12=\n\nerror_code\x18\x01 \x01(\x0b\x32).google.ads.googleads.v4.errors.ErrorCode\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x36\n\x07trigger\x18\x03 \x01(\x0b\x32%.google.ads.googleads.v4.common.Value\x12?\n\x08location\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v4.errors.ErrorLocation\x12=\n\x07\x64\x65tails\x18\x05 \x01(\x0b\x32,.google.ads.googleads.v4.errors.ErrorDetails\"\xe3Z\n\tErrorCode\x12V\n\rrequest_error\x18\x01 \x01(\x0e\x32=.google.ads.googleads.v4.errors.RequestErrorEnum.RequestErrorH\x00\x12o\n\x16\x62idding_strategy_error\x18\x02 \x01(\x0e\x32M.google.ads.googleads.v4.errors.BiddingStrategyErrorEnum.BiddingStrategyErrorH\x00\x12Z\n\x0furl_field_error\x18\x03 \x01(\x0e\x32?.google.ads.googleads.v4.errors.UrlFieldErrorEnum.UrlFieldErrorH\x00\x12i\n\x14list_operation_error\x18\x04 \x01(\x0e\x32I.google.ads.googleads.v4.errors.ListOperationErrorEnum.ListOperationErrorH\x00\x12P\n\x0bquery_error\x18\x05 \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.QueryErrorEnum.QueryErrorH\x00\x12S\n\x0cmutate_error\x18\x07 \x01(\x0e\x32;.google.ads.googleads.v4.errors.MutateErrorEnum.MutateErrorH\x00\x12]\n\x10\x66ield_mask_error\x18\x08 \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.FieldMaskErrorEnum.FieldMaskErrorH\x00\x12h\n\x13\x61uthorization_error\x18\t \x01(\x0e\x32I.google.ads.googleads.v4.errors.AuthorizationErrorEnum.AuthorizationErrorH\x00\x12Y\n\x0einternal_error\x18\n \x01(\x0e\x32?.google.ads.googleads.v4.errors.InternalErrorEnum.InternalErrorH\x00\x12P\n\x0bquota_error\x18\x0b \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.QuotaErrorEnum.QuotaErrorH\x00\x12G\n\x08\x61\x64_error\x18\x0c \x01(\x0e\x32\x33.google.ads.googleads.v4.errors.AdErrorEnum.AdErrorH\x00\x12W\n\x0e\x61\x64_group_error\x18\r \x01(\x0e\x32=.google.ads.googleads.v4.errors.AdGroupErrorEnum.AdGroupErrorH\x00\x12l\n\x15\x63\x61mpaign_budget_error\x18\x0e \x01(\x0e\x32K.google.ads.googleads.v4.errors.CampaignBudgetErrorEnum.CampaignBudgetErrorH\x00\x12Y\n\x0e\x63\x61mpaign_error\x18\x0f \x01(\x0e\x32?.google.ads.googleads.v4.errors.CampaignErrorEnum.CampaignErrorH\x00\x12k\n\x14\x61uthentication_error\x18\x11 \x01(\x0e\x32K.google.ads.googleads.v4.errors.AuthenticationErrorEnum.AuthenticationErrorH\x00\x12s\n\x18\x61\x64_group_criterion_error\x18\x12 \x01(\x0e\x32O.google.ads.googleads.v4.errors.AdGroupCriterionErrorEnum.AdGroupCriterionErrorH\x00\x12\x66\n\x13\x61\x64_customizer_error\x18\x13 \x01(\x0e\x32G.google.ads.googleads.v4.errors.AdCustomizerErrorEnum.AdCustomizerErrorH\x00\x12^\n\x11\x61\x64_group_ad_error\x18\x15 \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.AdGroupAdErrorEnum.AdGroupAdErrorH\x00\x12]\n\x10\x61\x64_sharing_error\x18\x18 \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.AdSharingErrorEnum.AdSharingErrorH\x00\x12J\n\tadx_error\x18\x19 \x01(\x0e\x32\x35.google.ads.googleads.v4.errors.AdxErrorEnum.AdxErrorH\x00\x12P\n\x0b\x61sset_error\x18k \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.AssetErrorEnum.AssetErrorH\x00\x12V\n\rbidding_error\x18\x1a \x01(\x0e\x32=.google.ads.googleads.v4.errors.BiddingErrorEnum.BiddingErrorH\x00\x12u\n\x18\x63\x61mpaign_criterion_error\x18\x1d \x01(\x0e\x32Q.google.ads.googleads.v4.errors.CampaignCriterionErrorEnum.CampaignCriterionErrorH\x00\x12l\n\x15\x63ollection_size_error\x18\x1f \x01(\x0e\x32K.google.ads.googleads.v4.errors.CollectionSizeErrorEnum.CollectionSizeErrorH\x00\x12\x63\n\x12\x63ountry_code_error\x18m \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.CountryCodeErrorEnum.CountryCodeErrorH\x00\x12\\\n\x0f\x63riterion_error\x18 \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.CriterionErrorEnum.CriterionErrorH\x00\x12Y\n\x0e\x63ustomer_error\x18Z \x01(\x0e\x32?.google.ads.googleads.v4.errors.CustomerErrorEnum.CustomerErrorH\x00\x12M\n\ndate_error\x18! \x01(\x0e\x32\x37.google.ads.googleads.v4.errors.DateErrorEnum.DateErrorH\x00\x12]\n\x10\x64\x61te_range_error\x18\" \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.DateRangeErrorEnum.DateRangeErrorH\x00\x12Y\n\x0e\x64istinct_error\x18# \x01(\x0e\x32?.google.ads.googleads.v4.errors.DistinctErrorEnum.DistinctErrorH\x00\x12\x85\x01\n\x1e\x66\x65\x65\x64_attribute_reference_error\x18$ \x01(\x0e\x32[.google.ads.googleads.v4.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceErrorH\x00\x12Y\n\x0e\x66unction_error\x18% \x01(\x0e\x32?.google.ads.googleads.v4.errors.FunctionErrorEnum.FunctionErrorH\x00\x12o\n\x16\x66unction_parsing_error\x18& \x01(\x0e\x32M.google.ads.googleads.v4.errors.FunctionParsingErrorEnum.FunctionParsingErrorH\x00\x12G\n\x08id_error\x18\' \x01(\x0e\x32\x33.google.ads.googleads.v4.errors.IdErrorEnum.IdErrorH\x00\x12P\n\x0bimage_error\x18( \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.ImageErrorEnum.ImageErrorH\x00\x12\x66\n\x13language_code_error\x18n \x01(\x0e\x32G.google.ads.googleads.v4.errors.LanguageCodeErrorEnum.LanguageCodeErrorH\x00\x12\x63\n\x12media_bundle_error\x18* \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.MediaBundleErrorEnum.MediaBundleErrorH\x00\x12\x63\n\x12media_upload_error\x18t \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.MediaUploadErrorEnum.MediaUploadErrorH\x00\x12]\n\x10media_file_error\x18V \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.MediaFileErrorEnum.MediaFileErrorH\x00\x12_\n\x10multiplier_error\x18, \x01(\x0e\x32\x43.google.ads.googleads.v4.errors.MultiplierErrorEnum.MultiplierErrorH\x00\x12|\n\x1bnew_resource_creation_error\x18- \x01(\x0e\x32U.google.ads.googleads.v4.errors.NewResourceCreationErrorEnum.NewResourceCreationErrorH\x00\x12Z\n\x0fnot_empty_error\x18. \x01(\x0e\x32?.google.ads.googleads.v4.errors.NotEmptyErrorEnum.NotEmptyErrorH\x00\x12M\n\nnull_error\x18/ \x01(\x0e\x32\x37.google.ads.googleads.v4.errors.NullErrorEnum.NullErrorH\x00\x12Y\n\x0eoperator_error\x18\x30 \x01(\x0e\x32?.google.ads.googleads.v4.errors.OperatorErrorEnum.OperatorErrorH\x00\x12P\n\x0brange_error\x18\x31 \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.RangeErrorEnum.RangeErrorH\x00\x12k\n\x14recommendation_error\x18: \x01(\x0e\x32K.google.ads.googleads.v4.errors.RecommendationErrorEnum.RecommendationErrorH\x00\x12`\n\x11region_code_error\x18\x33 \x01(\x0e\x32\x43.google.ads.googleads.v4.errors.RegionCodeErrorEnum.RegionCodeErrorH\x00\x12V\n\rsetting_error\x18\x34 \x01(\x0e\x32=.google.ads.googleads.v4.errors.SettingErrorEnum.SettingErrorH\x00\x12\x66\n\x13string_format_error\x18\x35 \x01(\x0e\x32G.google.ads.googleads.v4.errors.StringFormatErrorEnum.StringFormatErrorH\x00\x12\x66\n\x13string_length_error\x18\x36 \x01(\x0e\x32G.google.ads.googleads.v4.errors.StringLengthErrorEnum.StringLengthErrorH\x00\x12\x82\x01\n\x1doperation_access_denied_error\x18\x37 \x01(\x0e\x32Y.google.ads.googleads.v4.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedErrorH\x00\x12\x7f\n\x1cresource_access_denied_error\x18\x38 \x01(\x0e\x32W.google.ads.googleads.v4.errors.ResourceAccessDeniedErrorEnum.ResourceAccessDeniedErrorH\x00\x12\x92\x01\n#resource_count_limit_exceeded_error\x18\x39 \x01(\x0e\x32\x63.google.ads.googleads.v4.errors.ResourceCountLimitExceededErrorEnum.ResourceCountLimitExceededErrorH\x00\x12\x8b\x01\n youtube_video_registration_error\x18u \x01(\x0e\x32_.google.ads.googleads.v4.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationErrorH\x00\x12z\n\x1b\x61\x64_group_bid_modifier_error\x18; \x01(\x0e\x32S.google.ads.googleads.v4.errors.AdGroupBidModifierErrorEnum.AdGroupBidModifierErrorH\x00\x12V\n\rcontext_error\x18< \x01(\x0e\x32=.google.ads.googleads.v4.errors.ContextErrorEnum.ContextErrorH\x00\x12P\n\x0b\x66ield_error\x18= \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.FieldErrorEnum.FieldErrorH\x00\x12]\n\x10shared_set_error\x18> \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.SharedSetErrorEnum.SharedSetErrorH\x00\x12o\n\x16shared_criterion_error\x18? \x01(\x0e\x32M.google.ads.googleads.v4.errors.SharedCriterionErrorEnum.SharedCriterionErrorH\x00\x12v\n\x19\x63\x61mpaign_shared_set_error\x18@ \x01(\x0e\x32Q.google.ads.googleads.v4.errors.CampaignSharedSetErrorEnum.CampaignSharedSetErrorH\x00\x12r\n\x17\x63onversion_action_error\x18\x41 \x01(\x0e\x32O.google.ads.googleads.v4.errors.ConversionActionErrorEnum.ConversionActionErrorH\x00\x12\x91\x01\n\"conversion_adjustment_upload_error\x18s \x01(\x0e\x32\x63.google.ads.googleads.v4.errors.ConversionAdjustmentUploadErrorEnum.ConversionAdjustmentUploadErrorH\x00\x12r\n\x17\x63onversion_upload_error\x18o \x01(\x0e\x32O.google.ads.googleads.v4.errors.ConversionUploadErrorEnum.ConversionUploadErrorH\x00\x12S\n\x0cheader_error\x18\x42 \x01(\x0e\x32;.google.ads.googleads.v4.errors.HeaderErrorEnum.HeaderErrorH\x00\x12Y\n\x0e\x64\x61tabase_error\x18\x43 \x01(\x0e\x32?.google.ads.googleads.v4.errors.DatabaseErrorEnum.DatabaseErrorH\x00\x12i\n\x14policy_finding_error\x18\x44 \x01(\x0e\x32I.google.ads.googleads.v4.errors.PolicyFindingErrorEnum.PolicyFindingErrorH\x00\x12M\n\nenum_error\x18\x46 \x01(\x0e\x32\x37.google.ads.googleads.v4.errors.EnumErrorEnum.EnumErrorH\x00\x12\x63\n\x12keyword_plan_error\x18G \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.KeywordPlanErrorEnum.KeywordPlanErrorH\x00\x12|\n\x1bkeyword_plan_campaign_error\x18H \x01(\x0e\x32U.google.ads.googleads.v4.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignErrorH\x00\x12\x93\x01\n#keyword_plan_campaign_keyword_error\x18\x84\x01 \x01(\x0e\x32\x63.google.ads.googleads.v4.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordErrorH\x00\x12z\n\x1bkeyword_plan_ad_group_error\x18J \x01(\x0e\x32S.google.ads.googleads.v4.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupErrorH\x00\x12\x91\x01\n#keyword_plan_ad_group_keyword_error\x18\x85\x01 \x01(\x0e\x32\x61.google.ads.googleads.v4.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordErrorH\x00\x12p\n\x17keyword_plan_idea_error\x18L \x01(\x0e\x32M.google.ads.googleads.v4.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaErrorH\x00\x12\x82\x01\n\x1d\x61\x63\x63ount_budget_proposal_error\x18M \x01(\x0e\x32Y.google.ads.googleads.v4.errors.AccountBudgetProposalErrorEnum.AccountBudgetProposalErrorH\x00\x12Z\n\x0fuser_list_error\x18N \x01(\x0e\x32?.google.ads.googleads.v4.errors.UserListErrorEnum.UserListErrorH\x00\x12\x66\n\x13\x63hange_status_error\x18O \x01(\x0e\x32G.google.ads.googleads.v4.errors.ChangeStatusErrorEnum.ChangeStatusErrorH\x00\x12M\n\nfeed_error\x18P \x01(\x0e\x32\x37.google.ads.googleads.v4.errors.FeedErrorEnum.FeedErrorH\x00\x12\x95\x01\n$geo_target_constant_suggestion_error\x18Q \x01(\x0e\x32\x65.google.ads.googleads.v4.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionErrorH\x00\x12i\n\x14\x63\x61mpaign_draft_error\x18R \x01(\x0e\x32I.google.ads.googleads.v4.errors.CampaignDraftErrorEnum.CampaignDraftErrorH\x00\x12Z\n\x0f\x66\x65\x65\x64_item_error\x18S \x01(\x0e\x32?.google.ads.googleads.v4.errors.FeedItemErrorEnum.FeedItemErrorH\x00\x12P\n\x0blabel_error\x18T \x01(\x0e\x32\x39.google.ads.googleads.v4.errors.LabelErrorEnum.LabelErrorH\x00\x12\x66\n\x13\x62illing_setup_error\x18W \x01(\x0e\x32G.google.ads.googleads.v4.errors.BillingSetupErrorEnum.BillingSetupErrorH\x00\x12y\n\x1a\x63ustomer_client_link_error\x18X \x01(\x0e\x32S.google.ads.googleads.v4.errors.CustomerClientLinkErrorEnum.CustomerClientLinkErrorH\x00\x12|\n\x1b\x63ustomer_manager_link_error\x18[ \x01(\x0e\x32U.google.ads.googleads.v4.errors.CustomerManagerLinkErrorEnum.CustomerManagerLinkErrorH\x00\x12\x63\n\x12\x66\x65\x65\x64_mapping_error\x18\\ \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.FeedMappingErrorEnum.FeedMappingErrorH\x00\x12\x66\n\x13\x63ustomer_feed_error\x18] \x01(\x0e\x32G.google.ads.googleads.v4.errors.CustomerFeedErrorEnum.CustomerFeedErrorH\x00\x12\x64\n\x13\x61\x64_group_feed_error\x18^ \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.AdGroupFeedErrorEnum.AdGroupFeedErrorH\x00\x12\x66\n\x13\x63\x61mpaign_feed_error\x18` \x01(\x0e\x32G.google.ads.googleads.v4.errors.CampaignFeedErrorEnum.CampaignFeedErrorH\x00\x12l\n\x15\x63ustom_interest_error\x18\x61 \x01(\x0e\x32K.google.ads.googleads.v4.errors.CustomInterestErrorEnum.CustomInterestErrorH\x00\x12x\n\x19\x63\x61mpaign_experiment_error\x18\x62 \x01(\x0e\x32S.google.ads.googleads.v4.errors.CampaignExperimentErrorEnum.CampaignExperimentErrorH\x00\x12v\n\x19\x65xtension_feed_item_error\x18\x64 \x01(\x0e\x32Q.google.ads.googleads.v4.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemErrorH\x00\x12\x63\n\x12\x61\x64_parameter_error\x18\x65 \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.AdParameterErrorEnum.AdParameterErrorH\x00\x12y\n\x1a\x66\x65\x65\x64_item_validation_error\x18\x66 \x01(\x0e\x32S.google.ads.googleads.v4.errors.FeedItemValidationErrorEnum.FeedItemValidationErrorH\x00\x12r\n\x17\x65xtension_setting_error\x18g \x01(\x0e\x32O.google.ads.googleads.v4.errors.ExtensionSettingErrorEnum.ExtensionSettingErrorH\x00\x12m\n\x16\x66\x65\x65\x64_item_target_error\x18h \x01(\x0e\x32K.google.ads.googleads.v4.errors.FeedItemTargetErrorEnum.FeedItemTargetErrorH\x00\x12o\n\x16policy_violation_error\x18i \x01(\x0e\x32M.google.ads.googleads.v4.errors.PolicyViolationErrorEnum.PolicyViolationErrorH\x00\x12l\n\x15partial_failure_error\x18p \x01(\x0e\x32K.google.ads.googleads.v4.errors.PartialFailureErrorEnum.PartialFailureErrorH\x00\x12\x8e\x01\n!policy_validation_parameter_error\x18r \x01(\x0e\x32\x61.google.ads.googleads.v4.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterErrorH\x00\x12]\n\x10size_limit_error\x18v \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.SizeLimitErrorEnum.SizeLimitErrorH\x00\x12z\n\x1boffline_user_data_job_error\x18w \x01(\x0e\x32S.google.ads.googleads.v4.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobErrorH\x00\x12l\n\x15not_whitelisted_error\x18x \x01(\x0e\x32K.google.ads.googleads.v4.errors.NotWhitelistedErrorEnum.NotWhitelistedErrorH\x00\x12\x63\n\x12manager_link_error\x18y \x01(\x0e\x32\x45.google.ads.googleads.v4.errors.ManagerLinkErrorEnum.ManagerLinkErrorH\x00\x12\x66\n\x13\x63urrency_code_error\x18z \x01(\x0e\x32G.google.ads.googleads.v4.errors.CurrencyCodeErrorEnum.CurrencyCodeErrorH\x00\x12r\n\x17\x61\x63\x63\x65ss_invitation_error\x18| \x01(\x0e\x32O.google.ads.googleads.v4.errors.AccessInvitationErrorEnum.AccessInvitationErrorH\x00\x12]\n\x10reach_plan_error\x18} \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.ReachPlanErrorEnum.ReachPlanErrorH\x00\x12V\n\rinvoice_error\x18~ \x01(\x0e\x32=.google.ads.googleads.v4.errors.InvoiceErrorEnum.InvoiceErrorH\x00\x12o\n\x16payments_account_error\x18\x7f \x01(\x0e\x32M.google.ads.googleads.v4.errors.PaymentsAccountErrorEnum.PaymentsAccountErrorH\x00\x12[\n\x0ftime_zone_error\x18\x80\x01 \x01(\x0e\x32?.google.ads.googleads.v4.errors.TimeZoneErrorEnum.TimeZoneErrorH\x00\x12^\n\x10\x61sset_link_error\x18\x81\x01 \x01(\x0e\x32\x41.google.ads.googleads.v4.errors.AssetLinkErrorEnum.AssetLinkErrorH\x00\x12[\n\x0fuser_data_error\x18\x82\x01 \x01(\x0e\x32?.google.ads.googleads.v4.errors.UserDataErrorEnum.UserDataErrorH\x00\x12[\n\x0f\x62\x61tch_job_error\x18\x83\x01 \x01(\x0e\x32?.google.ads.googleads.v4.errors.BatchJobErrorEnum.BatchJobErrorH\x00\x42\x0c\n\nerror_code\"\xc0\x01\n\rErrorLocation\x12[\n\x13\x66ield_path_elements\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.errors.ErrorLocation.FieldPathElement\x1aR\n\x10\x46ieldPathElement\x12\x12\n\nfield_name\x18\x01 \x01(\t\x12*\n\x05index\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xde\x01\n\x0c\x45rrorDetails\x12\x1e\n\x16unpublished_error_code\x18\x01 \x01(\t\x12X\n\x18policy_violation_details\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v4.errors.PolicyViolationDetails\x12T\n\x16policy_finding_details\x18\x03 \x01(\x0b\x32\x34.google.ads.googleads.v4.errors.PolicyFindingDetails\"\xb3\x01\n\x16PolicyViolationDetails\x12#\n\x1b\x65xternal_policy_description\x18\x02 \x01(\t\x12?\n\x03key\x18\x04 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.PolicyViolationKey\x12\x1c\n\x14\x65xternal_policy_name\x18\x05 \x01(\t\x12\x15\n\ris_exemptible\x18\x06 \x01(\x08\"f\n\x14PolicyFindingDetails\x12N\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.PolicyTopicEntryB\xe6\x01\n\"com.google.ads.googleads.v4.errorsB\x0b\x45rrorsProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_value__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__customizer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__sharing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_adx__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_asset__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authentication__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authorization__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__strategy__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_billing__setup__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__budget__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__draft__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__experiment__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_change__status__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_collection__size__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_context__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__action__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_country__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_custom__interest__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__client__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_database__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_distinct__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_enum__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__target__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__mapping__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__mask__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__parsing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_header__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_id__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_image__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_internal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__negative__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_label__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_language__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_list__operation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__bundle__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__file__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_multiplier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_new__resource__creation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__empty__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__whitelisted__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_null__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operation__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operator__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_partial__failure__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__finding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__violation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_query__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_quota__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_recommendation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_region__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_request__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_size__limit__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__format__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__length__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_url__field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_user__list__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_value__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_access__invitation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__customizer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__ad__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__sharing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_adx__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authentication__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authorization__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_batch__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__strategy__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_billing__setup__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__budget__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__draft__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__experiment__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_change__status__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_collection__size__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_context__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__action__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_country__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_currency__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_custom__interest__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__client__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_database__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_distinct__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_enum__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__target__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__mapping__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__mask__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__parsing__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_header__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_id__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_image__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_internal__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_invoice__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__keyword__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_label__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_language__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_list__operation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_manager__link__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__bundle__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__file__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__upload__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_multiplier__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_mutate__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_new__resource__creation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__empty__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__whitelisted__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_null__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operation__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operator__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_partial__failure__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_payments__account__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__finding__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__violation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_query__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_quota__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_range__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_reach__plan__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_recommendation__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_region__code__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_request__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__access__denied__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_setting__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__criterion__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__set__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_size__limit__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__format__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__length__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_time__zone__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_url__field__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__data__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__list__error__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _GOOGLEADSFAILURE = _descriptor.Descriptor( name='GoogleAdsFailure', - full_name='google.ads.googleads.v1.errors.GoogleAdsFailure', + full_name='google.ads.googleads.v4.errors.GoogleAdsFailure', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v1.errors.GoogleAdsFailure.errors', index=0, + name='errors', full_name='google.ads.googleads.v4.errors.GoogleAdsFailure.errors', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -159,48 +168,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6785, - serialized_end=6867, + serialized_start=7364, + serialized_end=7446, ) _GOOGLEADSERROR = _descriptor.Descriptor( name='GoogleAdsError', - full_name='google.ads.googleads.v1.errors.GoogleAdsError', + full_name='google.ads.googleads.v4.errors.GoogleAdsError', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='error_code', full_name='google.ads.googleads.v1.errors.GoogleAdsError.error_code', index=0, + name='error_code', full_name='google.ads.googleads.v4.errors.GoogleAdsError.error_code', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='message', full_name='google.ads.googleads.v1.errors.GoogleAdsError.message', index=1, + name='message', full_name='google.ads.googleads.v4.errors.GoogleAdsError.message', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='trigger', full_name='google.ads.googleads.v1.errors.GoogleAdsError.trigger', index=2, + name='trigger', full_name='google.ads.googleads.v4.errors.GoogleAdsError.trigger', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location', full_name='google.ads.googleads.v1.errors.GoogleAdsError.location', index=3, + name='location', full_name='google.ads.googleads.v4.errors.GoogleAdsError.location', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='details', full_name='google.ads.googleads.v1.errors.GoogleAdsError.details', index=4, + name='details', full_name='google.ads.googleads.v4.errors.GoogleAdsError.details', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -218,732 +227,795 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6870, - serialized_end=7150, + serialized_start=7449, + serialized_end=7729, ) _ERRORCODE = _descriptor.Descriptor( name='ErrorCode', - full_name='google.ads.googleads.v1.errors.ErrorCode', + full_name='google.ads.googleads.v4.errors.ErrorCode', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='request_error', full_name='google.ads.googleads.v1.errors.ErrorCode.request_error', index=0, + name='request_error', full_name='google.ads.googleads.v4.errors.ErrorCode.request_error', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy_error', full_name='google.ads.googleads.v1.errors.ErrorCode.bidding_strategy_error', index=1, + name='bidding_strategy_error', full_name='google.ads.googleads.v4.errors.ErrorCode.bidding_strategy_error', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_field_error', full_name='google.ads.googleads.v1.errors.ErrorCode.url_field_error', index=2, + name='url_field_error', full_name='google.ads.googleads.v4.errors.ErrorCode.url_field_error', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='list_operation_error', full_name='google.ads.googleads.v1.errors.ErrorCode.list_operation_error', index=3, + name='list_operation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.list_operation_error', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='query_error', full_name='google.ads.googleads.v1.errors.ErrorCode.query_error', index=4, + name='query_error', full_name='google.ads.googleads.v4.errors.ErrorCode.query_error', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mutate_error', full_name='google.ads.googleads.v1.errors.ErrorCode.mutate_error', index=5, + name='mutate_error', full_name='google.ads.googleads.v4.errors.ErrorCode.mutate_error', index=5, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='field_mask_error', full_name='google.ads.googleads.v1.errors.ErrorCode.field_mask_error', index=6, + name='field_mask_error', full_name='google.ads.googleads.v4.errors.ErrorCode.field_mask_error', index=6, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='authorization_error', full_name='google.ads.googleads.v1.errors.ErrorCode.authorization_error', index=7, + name='authorization_error', full_name='google.ads.googleads.v4.errors.ErrorCode.authorization_error', index=7, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='internal_error', full_name='google.ads.googleads.v1.errors.ErrorCode.internal_error', index=8, + name='internal_error', full_name='google.ads.googleads.v4.errors.ErrorCode.internal_error', index=8, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='quota_error', full_name='google.ads.googleads.v1.errors.ErrorCode.quota_error', index=9, + name='quota_error', full_name='google.ads.googleads.v4.errors.ErrorCode.quota_error', index=9, number=11, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_error', index=10, + name='ad_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_error', index=10, number=12, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_group_error', index=11, + name='ad_group_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_group_error', index=11, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_budget_error', index=12, + name='campaign_budget_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_budget_error', index=12, number=14, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_error', index=13, + name='campaign_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_error', index=13, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='authentication_error', full_name='google.ads.googleads.v1.errors.ErrorCode.authentication_error', index=14, + name='authentication_error', full_name='google.ads.googleads.v4.errors.ErrorCode.authentication_error', index=14, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_group_criterion_error', index=15, + name='ad_group_criterion_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_group_criterion_error', index=15, number=18, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_customizer_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_customizer_error', index=16, + name='ad_customizer_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_customizer_error', index=16, number=19, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_ad_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_group_ad_error', index=17, + name='ad_group_ad_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_group_ad_error', index=17, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_sharing_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_sharing_error', index=18, + name='ad_sharing_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_sharing_error', index=18, number=24, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adx_error', full_name='google.ads.googleads.v1.errors.ErrorCode.adx_error', index=19, + name='adx_error', full_name='google.ads.googleads.v4.errors.ErrorCode.adx_error', index=19, number=25, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='asset_error', full_name='google.ads.googleads.v1.errors.ErrorCode.asset_error', index=20, + name='asset_error', full_name='google.ads.googleads.v4.errors.ErrorCode.asset_error', index=20, number=107, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_error', full_name='google.ads.googleads.v1.errors.ErrorCode.bidding_error', index=21, + name='bidding_error', full_name='google.ads.googleads.v4.errors.ErrorCode.bidding_error', index=21, number=26, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_criterion_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_criterion_error', index=22, + name='campaign_criterion_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_criterion_error', index=22, number=29, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='collection_size_error', full_name='google.ads.googleads.v1.errors.ErrorCode.collection_size_error', index=23, + name='collection_size_error', full_name='google.ads.googleads.v4.errors.ErrorCode.collection_size_error', index=23, number=31, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code_error', full_name='google.ads.googleads.v1.errors.ErrorCode.country_code_error', index=24, + name='country_code_error', full_name='google.ads.googleads.v4.errors.ErrorCode.country_code_error', index=24, number=109, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_error', full_name='google.ads.googleads.v1.errors.ErrorCode.criterion_error', index=25, + name='criterion_error', full_name='google.ads.googleads.v4.errors.ErrorCode.criterion_error', index=25, number=32, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_error', full_name='google.ads.googleads.v1.errors.ErrorCode.customer_error', index=26, + name='customer_error', full_name='google.ads.googleads.v4.errors.ErrorCode.customer_error', index=26, number=90, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date_error', full_name='google.ads.googleads.v1.errors.ErrorCode.date_error', index=27, + name='date_error', full_name='google.ads.googleads.v4.errors.ErrorCode.date_error', index=27, number=33, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date_range_error', full_name='google.ads.googleads.v1.errors.ErrorCode.date_range_error', index=28, + name='date_range_error', full_name='google.ads.googleads.v4.errors.ErrorCode.date_range_error', index=28, number=34, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='distinct_error', full_name='google.ads.googleads.v1.errors.ErrorCode.distinct_error', index=29, + name='distinct_error', full_name='google.ads.googleads.v4.errors.ErrorCode.distinct_error', index=29, number=35, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_attribute_reference_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_attribute_reference_error', index=30, + name='feed_attribute_reference_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_attribute_reference_error', index=30, number=36, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='function_error', full_name='google.ads.googleads.v1.errors.ErrorCode.function_error', index=31, + name='function_error', full_name='google.ads.googleads.v4.errors.ErrorCode.function_error', index=31, number=37, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='function_parsing_error', full_name='google.ads.googleads.v1.errors.ErrorCode.function_parsing_error', index=32, + name='function_parsing_error', full_name='google.ads.googleads.v4.errors.ErrorCode.function_parsing_error', index=32, number=38, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id_error', full_name='google.ads.googleads.v1.errors.ErrorCode.id_error', index=33, + name='id_error', full_name='google.ads.googleads.v4.errors.ErrorCode.id_error', index=33, number=39, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='image_error', full_name='google.ads.googleads.v1.errors.ErrorCode.image_error', index=34, + name='image_error', full_name='google.ads.googleads.v4.errors.ErrorCode.image_error', index=34, number=40, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_code_error', full_name='google.ads.googleads.v1.errors.ErrorCode.language_code_error', index=35, + name='language_code_error', full_name='google.ads.googleads.v4.errors.ErrorCode.language_code_error', index=35, number=110, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_bundle_error', full_name='google.ads.googleads.v1.errors.ErrorCode.media_bundle_error', index=36, + name='media_bundle_error', full_name='google.ads.googleads.v4.errors.ErrorCode.media_bundle_error', index=36, number=42, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_upload_error', full_name='google.ads.googleads.v1.errors.ErrorCode.media_upload_error', index=37, + name='media_upload_error', full_name='google.ads.googleads.v4.errors.ErrorCode.media_upload_error', index=37, number=116, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_file_error', full_name='google.ads.googleads.v1.errors.ErrorCode.media_file_error', index=38, + name='media_file_error', full_name='google.ads.googleads.v4.errors.ErrorCode.media_file_error', index=38, number=86, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='multiplier_error', full_name='google.ads.googleads.v1.errors.ErrorCode.multiplier_error', index=39, + name='multiplier_error', full_name='google.ads.googleads.v4.errors.ErrorCode.multiplier_error', index=39, number=44, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='new_resource_creation_error', full_name='google.ads.googleads.v1.errors.ErrorCode.new_resource_creation_error', index=40, + name='new_resource_creation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.new_resource_creation_error', index=40, number=45, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='not_empty_error', full_name='google.ads.googleads.v1.errors.ErrorCode.not_empty_error', index=41, + name='not_empty_error', full_name='google.ads.googleads.v4.errors.ErrorCode.not_empty_error', index=41, number=46, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='null_error', full_name='google.ads.googleads.v1.errors.ErrorCode.null_error', index=42, + name='null_error', full_name='google.ads.googleads.v4.errors.ErrorCode.null_error', index=42, number=47, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operator_error', full_name='google.ads.googleads.v1.errors.ErrorCode.operator_error', index=43, + name='operator_error', full_name='google.ads.googleads.v4.errors.ErrorCode.operator_error', index=43, number=48, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='range_error', full_name='google.ads.googleads.v1.errors.ErrorCode.range_error', index=44, + name='range_error', full_name='google.ads.googleads.v4.errors.ErrorCode.range_error', index=44, number=49, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommendation_error', full_name='google.ads.googleads.v1.errors.ErrorCode.recommendation_error', index=45, + name='recommendation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.recommendation_error', index=45, number=58, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='region_code_error', full_name='google.ads.googleads.v1.errors.ErrorCode.region_code_error', index=46, + name='region_code_error', full_name='google.ads.googleads.v4.errors.ErrorCode.region_code_error', index=46, number=51, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='setting_error', full_name='google.ads.googleads.v1.errors.ErrorCode.setting_error', index=47, + name='setting_error', full_name='google.ads.googleads.v4.errors.ErrorCode.setting_error', index=47, number=52, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_format_error', full_name='google.ads.googleads.v1.errors.ErrorCode.string_format_error', index=48, + name='string_format_error', full_name='google.ads.googleads.v4.errors.ErrorCode.string_format_error', index=48, number=53, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_length_error', full_name='google.ads.googleads.v1.errors.ErrorCode.string_length_error', index=49, + name='string_length_error', full_name='google.ads.googleads.v4.errors.ErrorCode.string_length_error', index=49, number=54, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation_access_denied_error', full_name='google.ads.googleads.v1.errors.ErrorCode.operation_access_denied_error', index=50, + name='operation_access_denied_error', full_name='google.ads.googleads.v4.errors.ErrorCode.operation_access_denied_error', index=50, number=55, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='resource_access_denied_error', full_name='google.ads.googleads.v1.errors.ErrorCode.resource_access_denied_error', index=51, + name='resource_access_denied_error', full_name='google.ads.googleads.v4.errors.ErrorCode.resource_access_denied_error', index=51, number=56, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='resource_count_limit_exceeded_error', full_name='google.ads.googleads.v1.errors.ErrorCode.resource_count_limit_exceeded_error', index=52, + name='resource_count_limit_exceeded_error', full_name='google.ads.googleads.v4.errors.ErrorCode.resource_count_limit_exceeded_error', index=52, number=57, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video_registration_error', full_name='google.ads.googleads.v1.errors.ErrorCode.youtube_video_registration_error', index=53, + name='youtube_video_registration_error', full_name='google.ads.googleads.v4.errors.ErrorCode.youtube_video_registration_error', index=53, number=117, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_bid_modifier_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_group_bid_modifier_error', index=54, + name='ad_group_bid_modifier_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_group_bid_modifier_error', index=54, number=59, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='context_error', full_name='google.ads.googleads.v1.errors.ErrorCode.context_error', index=55, + name='context_error', full_name='google.ads.googleads.v4.errors.ErrorCode.context_error', index=55, number=60, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='field_error', full_name='google.ads.googleads.v1.errors.ErrorCode.field_error', index=56, + name='field_error', full_name='google.ads.googleads.v4.errors.ErrorCode.field_error', index=56, number=61, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_set_error', full_name='google.ads.googleads.v1.errors.ErrorCode.shared_set_error', index=57, + name='shared_set_error', full_name='google.ads.googleads.v4.errors.ErrorCode.shared_set_error', index=57, number=62, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_criterion_error', full_name='google.ads.googleads.v1.errors.ErrorCode.shared_criterion_error', index=58, + name='shared_criterion_error', full_name='google.ads.googleads.v4.errors.ErrorCode.shared_criterion_error', index=58, number=63, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_shared_set_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_shared_set_error', index=59, + name='campaign_shared_set_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_shared_set_error', index=59, number=64, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action_error', full_name='google.ads.googleads.v1.errors.ErrorCode.conversion_action_error', index=60, + name='conversion_action_error', full_name='google.ads.googleads.v4.errors.ErrorCode.conversion_action_error', index=60, number=65, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_adjustment_upload_error', full_name='google.ads.googleads.v1.errors.ErrorCode.conversion_adjustment_upload_error', index=61, + name='conversion_adjustment_upload_error', full_name='google.ads.googleads.v4.errors.ErrorCode.conversion_adjustment_upload_error', index=61, number=115, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_upload_error', full_name='google.ads.googleads.v1.errors.ErrorCode.conversion_upload_error', index=62, + name='conversion_upload_error', full_name='google.ads.googleads.v4.errors.ErrorCode.conversion_upload_error', index=62, number=111, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='header_error', full_name='google.ads.googleads.v1.errors.ErrorCode.header_error', index=63, + name='header_error', full_name='google.ads.googleads.v4.errors.ErrorCode.header_error', index=63, number=66, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='database_error', full_name='google.ads.googleads.v1.errors.ErrorCode.database_error', index=64, + name='database_error', full_name='google.ads.googleads.v4.errors.ErrorCode.database_error', index=64, number=67, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_finding_error', full_name='google.ads.googleads.v1.errors.ErrorCode.policy_finding_error', index=65, + name='policy_finding_error', full_name='google.ads.googleads.v4.errors.ErrorCode.policy_finding_error', index=65, number=68, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enum_error', full_name='google.ads.googleads.v1.errors.ErrorCode.enum_error', index=66, + name='enum_error', full_name='google.ads.googleads.v4.errors.ErrorCode.enum_error', index=66, number=70, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_error', index=67, + name='keyword_plan_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_error', index=67, number=71, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_campaign_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_campaign_error', index=68, + name='keyword_plan_campaign_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_campaign_error', index=68, number=72, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_negative_keyword_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_negative_keyword_error', index=69, - number=73, type=14, cpp_type=8, label=1, + name='keyword_plan_campaign_keyword_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_campaign_keyword_error', index=69, + number=132, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_ad_group_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_ad_group_error', index=70, + name='keyword_plan_ad_group_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_ad_group_error', index=70, number=74, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_keyword_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_keyword_error', index=71, - number=75, type=14, cpp_type=8, label=1, + name='keyword_plan_ad_group_keyword_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_ad_group_keyword_error', index=71, + number=133, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_idea_error', full_name='google.ads.googleads.v1.errors.ErrorCode.keyword_plan_idea_error', index=72, + name='keyword_plan_idea_error', full_name='google.ads.googleads.v4.errors.ErrorCode.keyword_plan_idea_error', index=72, number=76, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='account_budget_proposal_error', full_name='google.ads.googleads.v1.errors.ErrorCode.account_budget_proposal_error', index=73, + name='account_budget_proposal_error', full_name='google.ads.googleads.v4.errors.ErrorCode.account_budget_proposal_error', index=73, number=77, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list_error', full_name='google.ads.googleads.v1.errors.ErrorCode.user_list_error', index=74, + name='user_list_error', full_name='google.ads.googleads.v4.errors.ErrorCode.user_list_error', index=74, number=78, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='change_status_error', full_name='google.ads.googleads.v1.errors.ErrorCode.change_status_error', index=75, + name='change_status_error', full_name='google.ads.googleads.v4.errors.ErrorCode.change_status_error', index=75, number=79, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_error', index=76, + name='feed_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_error', index=76, number=80, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constant_suggestion_error', full_name='google.ads.googleads.v1.errors.ErrorCode.geo_target_constant_suggestion_error', index=77, + name='geo_target_constant_suggestion_error', full_name='google.ads.googleads.v4.errors.ErrorCode.geo_target_constant_suggestion_error', index=77, number=81, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_draft_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_draft_error', index=78, + name='campaign_draft_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_draft_error', index=78, number=82, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_item_error', index=79, + name='feed_item_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_item_error', index=79, number=83, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='label_error', full_name='google.ads.googleads.v1.errors.ErrorCode.label_error', index=80, + name='label_error', full_name='google.ads.googleads.v4.errors.ErrorCode.label_error', index=80, number=84, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='billing_setup_error', full_name='google.ads.googleads.v1.errors.ErrorCode.billing_setup_error', index=81, + name='billing_setup_error', full_name='google.ads.googleads.v4.errors.ErrorCode.billing_setup_error', index=81, number=87, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_client_link_error', full_name='google.ads.googleads.v1.errors.ErrorCode.customer_client_link_error', index=82, + name='customer_client_link_error', full_name='google.ads.googleads.v4.errors.ErrorCode.customer_client_link_error', index=82, number=88, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_manager_link_error', full_name='google.ads.googleads.v1.errors.ErrorCode.customer_manager_link_error', index=83, + name='customer_manager_link_error', full_name='google.ads.googleads.v4.errors.ErrorCode.customer_manager_link_error', index=83, number=91, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_mapping_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_mapping_error', index=84, + name='feed_mapping_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_mapping_error', index=84, number=92, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_feed_error', full_name='google.ads.googleads.v1.errors.ErrorCode.customer_feed_error', index=85, + name='customer_feed_error', full_name='google.ads.googleads.v4.errors.ErrorCode.customer_feed_error', index=85, number=93, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_feed_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_group_feed_error', index=86, + name='ad_group_feed_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_group_feed_error', index=86, number=94, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_feed_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_feed_error', index=87, + name='campaign_feed_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_feed_error', index=87, number=96, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_interest_error', full_name='google.ads.googleads.v1.errors.ErrorCode.custom_interest_error', index=88, + name='custom_interest_error', full_name='google.ads.googleads.v4.errors.ErrorCode.custom_interest_error', index=88, number=97, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_experiment_error', full_name='google.ads.googleads.v1.errors.ErrorCode.campaign_experiment_error', index=89, + name='campaign_experiment_error', full_name='google.ads.googleads.v4.errors.ErrorCode.campaign_experiment_error', index=89, number=98, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_feed_item_error', full_name='google.ads.googleads.v1.errors.ErrorCode.extension_feed_item_error', index=90, + name='extension_feed_item_error', full_name='google.ads.googleads.v4.errors.ErrorCode.extension_feed_item_error', index=90, number=100, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_parameter_error', full_name='google.ads.googleads.v1.errors.ErrorCode.ad_parameter_error', index=91, + name='ad_parameter_error', full_name='google.ads.googleads.v4.errors.ErrorCode.ad_parameter_error', index=91, number=101, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_validation_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_item_validation_error', index=92, + name='feed_item_validation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_item_validation_error', index=92, number=102, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_setting_error', full_name='google.ads.googleads.v1.errors.ErrorCode.extension_setting_error', index=93, + name='extension_setting_error', full_name='google.ads.googleads.v4.errors.ErrorCode.extension_setting_error', index=93, number=103, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_target_error', full_name='google.ads.googleads.v1.errors.ErrorCode.feed_item_target_error', index=94, + name='feed_item_target_error', full_name='google.ads.googleads.v4.errors.ErrorCode.feed_item_target_error', index=94, number=104, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_violation_error', full_name='google.ads.googleads.v1.errors.ErrorCode.policy_violation_error', index=95, + name='policy_violation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.policy_violation_error', index=95, number=105, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mutate_job_error', full_name='google.ads.googleads.v1.errors.ErrorCode.mutate_job_error', index=96, - number=108, type=14, cpp_type=8, label=1, + name='partial_failure_error', full_name='google.ads.googleads.v4.errors.ErrorCode.partial_failure_error', index=96, + number=112, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.errors.ErrorCode.partial_failure_error', index=97, - number=112, type=14, cpp_type=8, label=1, + name='policy_validation_parameter_error', full_name='google.ads.googleads.v4.errors.ErrorCode.policy_validation_parameter_error', index=97, + number=114, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_validation_parameter_error', full_name='google.ads.googleads.v1.errors.ErrorCode.policy_validation_parameter_error', index=98, - number=114, type=14, cpp_type=8, label=1, + name='size_limit_error', full_name='google.ads.googleads.v4.errors.ErrorCode.size_limit_error', index=98, + number=118, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='size_limit_error', full_name='google.ads.googleads.v1.errors.ErrorCode.size_limit_error', index=99, - number=118, type=14, cpp_type=8, label=1, + name='offline_user_data_job_error', full_name='google.ads.googleads.v4.errors.ErrorCode.offline_user_data_job_error', index=99, + number=119, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='not_whitelisted_error', full_name='google.ads.googleads.v1.errors.ErrorCode.not_whitelisted_error', index=100, + name='not_whitelisted_error', full_name='google.ads.googleads.v4.errors.ErrorCode.not_whitelisted_error', index=100, number=120, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manager_link_error', full_name='google.ads.googleads.v1.errors.ErrorCode.manager_link_error', index=101, + name='manager_link_error', full_name='google.ads.googleads.v4.errors.ErrorCode.manager_link_error', index=101, number=121, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code_error', full_name='google.ads.googleads.v4.errors.ErrorCode.currency_code_error', index=102, + number=122, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='access_invitation_error', full_name='google.ads.googleads.v4.errors.ErrorCode.access_invitation_error', index=103, + number=124, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reach_plan_error', full_name='google.ads.googleads.v4.errors.ErrorCode.reach_plan_error', index=104, + number=125, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='invoice_error', full_name='google.ads.googleads.v4.errors.ErrorCode.invoice_error', index=105, + number=126, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payments_account_error', full_name='google.ads.googleads.v4.errors.ErrorCode.payments_account_error', index=106, + number=127, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='time_zone_error', full_name='google.ads.googleads.v4.errors.ErrorCode.time_zone_error', index=107, + number=128, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='asset_link_error', full_name='google.ads.googleads.v4.errors.ErrorCode.asset_link_error', index=108, + number=129, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='user_data_error', full_name='google.ads.googleads.v4.errors.ErrorCode.user_data_error', index=109, + number=130, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='batch_job_error', full_name='google.ads.googleads.v4.errors.ErrorCode.batch_job_error', index=110, + number=131, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -956,30 +1028,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='error_code', full_name='google.ads.googleads.v1.errors.ErrorCode.error_code', + name='error_code', full_name='google.ads.googleads.v4.errors.ErrorCode.error_code', index=0, containing_type=None, fields=[]), ], - serialized_start=7153, - serialized_end=17826, + serialized_start=7732, + serialized_end=19351, ) _ERRORLOCATION_FIELDPATHELEMENT = _descriptor.Descriptor( name='FieldPathElement', - full_name='google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement', + full_name='google.ads.googleads.v4.errors.ErrorLocation.FieldPathElement', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='field_name', full_name='google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement.field_name', index=0, + name='field_name', full_name='google.ads.googleads.v4.errors.ErrorLocation.FieldPathElement.field_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='index', full_name='google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement.index', index=1, + name='index', full_name='google.ads.googleads.v4.errors.ErrorLocation.FieldPathElement.index', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -997,19 +1069,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17939, - serialized_end=18021, + serialized_start=19464, + serialized_end=19546, ) _ERRORLOCATION = _descriptor.Descriptor( name='ErrorLocation', - full_name='google.ads.googleads.v1.errors.ErrorLocation', + full_name='google.ads.googleads.v4.errors.ErrorLocation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='field_path_elements', full_name='google.ads.googleads.v1.errors.ErrorLocation.field_path_elements', index=0, + name='field_path_elements', full_name='google.ads.googleads.v4.errors.ErrorLocation.field_path_elements', index=0, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1027,34 +1099,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17829, - serialized_end=18021, + serialized_start=19354, + serialized_end=19546, ) _ERRORDETAILS = _descriptor.Descriptor( name='ErrorDetails', - full_name='google.ads.googleads.v1.errors.ErrorDetails', + full_name='google.ads.googleads.v4.errors.ErrorDetails', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='unpublished_error_code', full_name='google.ads.googleads.v1.errors.ErrorDetails.unpublished_error_code', index=0, + name='unpublished_error_code', full_name='google.ads.googleads.v4.errors.ErrorDetails.unpublished_error_code', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_violation_details', full_name='google.ads.googleads.v1.errors.ErrorDetails.policy_violation_details', index=1, + name='policy_violation_details', full_name='google.ads.googleads.v4.errors.ErrorDetails.policy_violation_details', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_finding_details', full_name='google.ads.googleads.v1.errors.ErrorDetails.policy_finding_details', index=2, + name='policy_finding_details', full_name='google.ads.googleads.v4.errors.ErrorDetails.policy_finding_details', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1072,41 +1144,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18024, - serialized_end=18246, + serialized_start=19549, + serialized_end=19771, ) _POLICYVIOLATIONDETAILS = _descriptor.Descriptor( name='PolicyViolationDetails', - full_name='google.ads.googleads.v1.errors.PolicyViolationDetails', + full_name='google.ads.googleads.v4.errors.PolicyViolationDetails', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='external_policy_description', full_name='google.ads.googleads.v1.errors.PolicyViolationDetails.external_policy_description', index=0, + name='external_policy_description', full_name='google.ads.googleads.v4.errors.PolicyViolationDetails.external_policy_description', index=0, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='key', full_name='google.ads.googleads.v1.errors.PolicyViolationDetails.key', index=1, + name='key', full_name='google.ads.googleads.v4.errors.PolicyViolationDetails.key', index=1, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='external_policy_name', full_name='google.ads.googleads.v1.errors.PolicyViolationDetails.external_policy_name', index=2, + name='external_policy_name', full_name='google.ads.googleads.v4.errors.PolicyViolationDetails.external_policy_name', index=2, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='is_exemptible', full_name='google.ads.googleads.v1.errors.PolicyViolationDetails.is_exemptible', index=3, + name='is_exemptible', full_name='google.ads.googleads.v4.errors.PolicyViolationDetails.is_exemptible', index=3, number=6, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -1124,20 +1196,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18249, - serialized_end=18428, + serialized_start=19774, + serialized_end=19953, ) _POLICYFINDINGDETAILS = _descriptor.Descriptor( name='PolicyFindingDetails', - full_name='google.ads.googleads.v1.errors.PolicyFindingDetails', + full_name='google.ads.googleads.v4.errors.PolicyFindingDetails', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v1.errors.PolicyFindingDetails.policy_topic_entries', index=0, + name='policy_topic_entries', full_name='google.ads.googleads.v4.errors.PolicyFindingDetails.policy_topic_entries', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1155,117 +1227,126 @@ extension_ranges=[], oneofs=[ ], - serialized_start=18430, - serialized_end=18532, + serialized_start=19955, + serialized_end=20057, ) _GOOGLEADSFAILURE.fields_by_name['errors'].message_type = _GOOGLEADSERROR _GOOGLEADSERROR.fields_by_name['error_code'].message_type = _ERRORCODE -_GOOGLEADSERROR.fields_by_name['trigger'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_value__pb2._VALUE +_GOOGLEADSERROR.fields_by_name['trigger'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_value__pb2._VALUE _GOOGLEADSERROR.fields_by_name['location'].message_type = _ERRORLOCATION _GOOGLEADSERROR.fields_by_name['details'].message_type = _ERRORDETAILS -_ERRORCODE.fields_by_name['request_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_request__error__pb2._REQUESTERRORENUM_REQUESTERROR -_ERRORCODE.fields_by_name['bidding_strategy_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__strategy__error__pb2._BIDDINGSTRATEGYERRORENUM_BIDDINGSTRATEGYERROR -_ERRORCODE.fields_by_name['url_field_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_url__field__error__pb2._URLFIELDERRORENUM_URLFIELDERROR -_ERRORCODE.fields_by_name['list_operation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_list__operation__error__pb2._LISTOPERATIONERRORENUM_LISTOPERATIONERROR -_ERRORCODE.fields_by_name['query_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_query__error__pb2._QUERYERRORENUM_QUERYERROR -_ERRORCODE.fields_by_name['mutate_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__error__pb2._MUTATEERRORENUM_MUTATEERROR -_ERRORCODE.fields_by_name['field_mask_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__mask__error__pb2._FIELDMASKERRORENUM_FIELDMASKERROR -_ERRORCODE.fields_by_name['authorization_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authorization__error__pb2._AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR -_ERRORCODE.fields_by_name['internal_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_internal__error__pb2._INTERNALERRORENUM_INTERNALERROR -_ERRORCODE.fields_by_name['quota_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_quota__error__pb2._QUOTAERRORENUM_QUOTAERROR -_ERRORCODE.fields_by_name['ad_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__error__pb2._ADERRORENUM_ADERROR -_ERRORCODE.fields_by_name['ad_group_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__error__pb2._ADGROUPERRORENUM_ADGROUPERROR -_ERRORCODE.fields_by_name['campaign_budget_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__budget__error__pb2._CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR -_ERRORCODE.fields_by_name['campaign_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__error__pb2._CAMPAIGNERRORENUM_CAMPAIGNERROR -_ERRORCODE.fields_by_name['authentication_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_authentication__error__pb2._AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR -_ERRORCODE.fields_by_name['ad_group_criterion_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2._ADGROUPCRITERIONERRORENUM_ADGROUPCRITERIONERROR -_ERRORCODE.fields_by_name['ad_customizer_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__customizer__error__pb2._ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR -_ERRORCODE.fields_by_name['ad_group_ad_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__ad__error__pb2._ADGROUPADERRORENUM_ADGROUPADERROR -_ERRORCODE.fields_by_name['ad_sharing_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__sharing__error__pb2._ADSHARINGERRORENUM_ADSHARINGERROR -_ERRORCODE.fields_by_name['adx_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_adx__error__pb2._ADXERRORENUM_ADXERROR -_ERRORCODE.fields_by_name['asset_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_asset__error__pb2._ASSETERRORENUM_ASSETERROR -_ERRORCODE.fields_by_name['bidding_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_bidding__error__pb2._BIDDINGERRORENUM_BIDDINGERROR -_ERRORCODE.fields_by_name['campaign_criterion_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__criterion__error__pb2._CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR -_ERRORCODE.fields_by_name['collection_size_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_collection__size__error__pb2._COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR -_ERRORCODE.fields_by_name['country_code_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_country__code__error__pb2._COUNTRYCODEERRORENUM_COUNTRYCODEERROR -_ERRORCODE.fields_by_name['criterion_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_criterion__error__pb2._CRITERIONERRORENUM_CRITERIONERROR -_ERRORCODE.fields_by_name['customer_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__error__pb2._CUSTOMERERRORENUM_CUSTOMERERROR -_ERRORCODE.fields_by_name['date_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__error__pb2._DATEERRORENUM_DATEERROR -_ERRORCODE.fields_by_name['date_range_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_date__range__error__pb2._DATERANGEERRORENUM_DATERANGEERROR -_ERRORCODE.fields_by_name['distinct_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_distinct__error__pb2._DISTINCTERRORENUM_DISTINCTERROR -_ERRORCODE.fields_by_name['feed_attribute_reference_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2._FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR -_ERRORCODE.fields_by_name['function_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__error__pb2._FUNCTIONERRORENUM_FUNCTIONERROR -_ERRORCODE.fields_by_name['function_parsing_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_function__parsing__error__pb2._FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR -_ERRORCODE.fields_by_name['id_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_id__error__pb2._IDERRORENUM_IDERROR -_ERRORCODE.fields_by_name['image_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_image__error__pb2._IMAGEERRORENUM_IMAGEERROR -_ERRORCODE.fields_by_name['language_code_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_language__code__error__pb2._LANGUAGECODEERRORENUM_LANGUAGECODEERROR -_ERRORCODE.fields_by_name['media_bundle_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__bundle__error__pb2._MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR -_ERRORCODE.fields_by_name['media_upload_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__upload__error__pb2._MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR -_ERRORCODE.fields_by_name['media_file_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_media__file__error__pb2._MEDIAFILEERRORENUM_MEDIAFILEERROR -_ERRORCODE.fields_by_name['multiplier_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_multiplier__error__pb2._MULTIPLIERERRORENUM_MULTIPLIERERROR -_ERRORCODE.fields_by_name['new_resource_creation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_new__resource__creation__error__pb2._NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR -_ERRORCODE.fields_by_name['not_empty_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__empty__error__pb2._NOTEMPTYERRORENUM_NOTEMPTYERROR -_ERRORCODE.fields_by_name['null_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_null__error__pb2._NULLERRORENUM_NULLERROR -_ERRORCODE.fields_by_name['operator_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operator__error__pb2._OPERATORERRORENUM_OPERATORERROR -_ERRORCODE.fields_by_name['range_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_range__error__pb2._RANGEERRORENUM_RANGEERROR -_ERRORCODE.fields_by_name['recommendation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_recommendation__error__pb2._RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR -_ERRORCODE.fields_by_name['region_code_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_region__code__error__pb2._REGIONCODEERRORENUM_REGIONCODEERROR -_ERRORCODE.fields_by_name['setting_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_setting__error__pb2._SETTINGERRORENUM_SETTINGERROR -_ERRORCODE.fields_by_name['string_format_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__format__error__pb2._STRINGFORMATERRORENUM_STRINGFORMATERROR -_ERRORCODE.fields_by_name['string_length_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_string__length__error__pb2._STRINGLENGTHERRORENUM_STRINGLENGTHERROR -_ERRORCODE.fields_by_name['operation_access_denied_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_operation__access__denied__error__pb2._OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR -_ERRORCODE.fields_by_name['resource_access_denied_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__access__denied__error__pb2._RESOURCEACCESSDENIEDERRORENUM_RESOURCEACCESSDENIEDERROR -_ERRORCODE.fields_by_name['resource_count_limit_exceeded_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2._RESOURCECOUNTLIMITEXCEEDEDERRORENUM_RESOURCECOUNTLIMITEXCEEDEDERROR -_ERRORCODE.fields_by_name['youtube_video_registration_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2._YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR -_ERRORCODE.fields_by_name['ad_group_bid_modifier_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2._ADGROUPBIDMODIFIERERRORENUM_ADGROUPBIDMODIFIERERROR -_ERRORCODE.fields_by_name['context_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_context__error__pb2._CONTEXTERRORENUM_CONTEXTERROR -_ERRORCODE.fields_by_name['field_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_field__error__pb2._FIELDERRORENUM_FIELDERROR -_ERRORCODE.fields_by_name['shared_set_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__set__error__pb2._SHAREDSETERRORENUM_SHAREDSETERROR -_ERRORCODE.fields_by_name['shared_criterion_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_shared__criterion__error__pb2._SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR -_ERRORCODE.fields_by_name['campaign_shared_set_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2._CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR -_ERRORCODE.fields_by_name['conversion_action_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__action__error__pb2._CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR -_ERRORCODE.fields_by_name['conversion_adjustment_upload_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2._CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR -_ERRORCODE.fields_by_name['conversion_upload_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_conversion__upload__error__pb2._CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR -_ERRORCODE.fields_by_name['header_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_header__error__pb2._HEADERERRORENUM_HEADERERROR -_ERRORCODE.fields_by_name['database_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_database__error__pb2._DATABASEERRORENUM_DATABASEERROR -_ERRORCODE.fields_by_name['policy_finding_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__finding__error__pb2._POLICYFINDINGERRORENUM_POLICYFINDINGERROR -_ERRORCODE.fields_by_name['enum_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_enum__error__pb2._ENUMERRORENUM_ENUMERROR -_ERRORCODE.fields_by_name['keyword_plan_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__error__pb2._KEYWORDPLANERRORENUM_KEYWORDPLANERROR -_ERRORCODE.fields_by_name['keyword_plan_campaign_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2._KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR -_ERRORCODE.fields_by_name['keyword_plan_negative_keyword_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__negative__keyword__error__pb2._KEYWORDPLANNEGATIVEKEYWORDERRORENUM_KEYWORDPLANNEGATIVEKEYWORDERROR -_ERRORCODE.fields_by_name['keyword_plan_ad_group_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2._KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR -_ERRORCODE.fields_by_name['keyword_plan_keyword_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__keyword__error__pb2._KEYWORDPLANKEYWORDERRORENUM_KEYWORDPLANKEYWORDERROR -_ERRORCODE.fields_by_name['keyword_plan_idea_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2._KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR -_ERRORCODE.fields_by_name['account_budget_proposal_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2._ACCOUNTBUDGETPROPOSALERRORENUM_ACCOUNTBUDGETPROPOSALERROR -_ERRORCODE.fields_by_name['user_list_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_user__list__error__pb2._USERLISTERRORENUM_USERLISTERROR -_ERRORCODE.fields_by_name['change_status_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_change__status__error__pb2._CHANGESTATUSERRORENUM_CHANGESTATUSERROR -_ERRORCODE.fields_by_name['feed_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__error__pb2._FEEDERRORENUM_FEEDERROR -_ERRORCODE.fields_by_name['geo_target_constant_suggestion_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2._GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR -_ERRORCODE.fields_by_name['campaign_draft_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__draft__error__pb2._CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR -_ERRORCODE.fields_by_name['feed_item_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__error__pb2._FEEDITEMERRORENUM_FEEDITEMERROR -_ERRORCODE.fields_by_name['label_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_label__error__pb2._LABELERRORENUM_LABELERROR -_ERRORCODE.fields_by_name['billing_setup_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_billing__setup__error__pb2._BILLINGSETUPERRORENUM_BILLINGSETUPERROR -_ERRORCODE.fields_by_name['customer_client_link_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__client__link__error__pb2._CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR -_ERRORCODE.fields_by_name['customer_manager_link_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__manager__link__error__pb2._CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR -_ERRORCODE.fields_by_name['feed_mapping_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__mapping__error__pb2._FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR -_ERRORCODE.fields_by_name['customer_feed_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_customer__feed__error__pb2._CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR -_ERRORCODE.fields_by_name['ad_group_feed_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__group__feed__error__pb2._ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR -_ERRORCODE.fields_by_name['campaign_feed_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__feed__error__pb2._CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR -_ERRORCODE.fields_by_name['custom_interest_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_custom__interest__error__pb2._CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR -_ERRORCODE.fields_by_name['campaign_experiment_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_campaign__experiment__error__pb2._CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR -_ERRORCODE.fields_by_name['extension_feed_item_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__feed__item__error__pb2._EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR -_ERRORCODE.fields_by_name['ad_parameter_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_ad__parameter__error__pb2._ADPARAMETERERRORENUM_ADPARAMETERERROR -_ERRORCODE.fields_by_name['feed_item_validation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2._FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR -_ERRORCODE.fields_by_name['extension_setting_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_extension__setting__error__pb2._EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR -_ERRORCODE.fields_by_name['feed_item_target_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__target__error__pb2._FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR -_ERRORCODE.fields_by_name['policy_violation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__violation__error__pb2._POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR -_ERRORCODE.fields_by_name['mutate_job_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_mutate__job__error__pb2._MUTATEJOBERRORENUM_MUTATEJOBERROR -_ERRORCODE.fields_by_name['partial_failure_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_partial__failure__error__pb2._PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR -_ERRORCODE.fields_by_name['policy_validation_parameter_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2._POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR -_ERRORCODE.fields_by_name['size_limit_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_size__limit__error__pb2._SIZELIMITERRORENUM_SIZELIMITERROR -_ERRORCODE.fields_by_name['not_whitelisted_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_not__whitelisted__error__pb2._NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR -_ERRORCODE.fields_by_name['manager_link_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_manager__link__error__pb2._MANAGERLINKERRORENUM_MANAGERLINKERROR +_ERRORCODE.fields_by_name['request_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_request__error__pb2._REQUESTERRORENUM_REQUESTERROR +_ERRORCODE.fields_by_name['bidding_strategy_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__strategy__error__pb2._BIDDINGSTRATEGYERRORENUM_BIDDINGSTRATEGYERROR +_ERRORCODE.fields_by_name['url_field_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_url__field__error__pb2._URLFIELDERRORENUM_URLFIELDERROR +_ERRORCODE.fields_by_name['list_operation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_list__operation__error__pb2._LISTOPERATIONERRORENUM_LISTOPERATIONERROR +_ERRORCODE.fields_by_name['query_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_query__error__pb2._QUERYERRORENUM_QUERYERROR +_ERRORCODE.fields_by_name['mutate_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_mutate__error__pb2._MUTATEERRORENUM_MUTATEERROR +_ERRORCODE.fields_by_name['field_mask_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__mask__error__pb2._FIELDMASKERRORENUM_FIELDMASKERROR +_ERRORCODE.fields_by_name['authorization_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authorization__error__pb2._AUTHORIZATIONERRORENUM_AUTHORIZATIONERROR +_ERRORCODE.fields_by_name['internal_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_internal__error__pb2._INTERNALERRORENUM_INTERNALERROR +_ERRORCODE.fields_by_name['quota_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_quota__error__pb2._QUOTAERRORENUM_QUOTAERROR +_ERRORCODE.fields_by_name['ad_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__error__pb2._ADERRORENUM_ADERROR +_ERRORCODE.fields_by_name['ad_group_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__error__pb2._ADGROUPERRORENUM_ADGROUPERROR +_ERRORCODE.fields_by_name['campaign_budget_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__budget__error__pb2._CAMPAIGNBUDGETERRORENUM_CAMPAIGNBUDGETERROR +_ERRORCODE.fields_by_name['campaign_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__error__pb2._CAMPAIGNERRORENUM_CAMPAIGNERROR +_ERRORCODE.fields_by_name['authentication_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_authentication__error__pb2._AUTHENTICATIONERRORENUM_AUTHENTICATIONERROR +_ERRORCODE.fields_by_name['ad_group_criterion_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__criterion__error__pb2._ADGROUPCRITERIONERRORENUM_ADGROUPCRITERIONERROR +_ERRORCODE.fields_by_name['ad_customizer_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__customizer__error__pb2._ADCUSTOMIZERERRORENUM_ADCUSTOMIZERERROR +_ERRORCODE.fields_by_name['ad_group_ad_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__ad__error__pb2._ADGROUPADERRORENUM_ADGROUPADERROR +_ERRORCODE.fields_by_name['ad_sharing_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__sharing__error__pb2._ADSHARINGERRORENUM_ADSHARINGERROR +_ERRORCODE.fields_by_name['adx_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_adx__error__pb2._ADXERRORENUM_ADXERROR +_ERRORCODE.fields_by_name['asset_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__error__pb2._ASSETERRORENUM_ASSETERROR +_ERRORCODE.fields_by_name['bidding_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_bidding__error__pb2._BIDDINGERRORENUM_BIDDINGERROR +_ERRORCODE.fields_by_name['campaign_criterion_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__criterion__error__pb2._CAMPAIGNCRITERIONERRORENUM_CAMPAIGNCRITERIONERROR +_ERRORCODE.fields_by_name['collection_size_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_collection__size__error__pb2._COLLECTIONSIZEERRORENUM_COLLECTIONSIZEERROR +_ERRORCODE.fields_by_name['country_code_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_country__code__error__pb2._COUNTRYCODEERRORENUM_COUNTRYCODEERROR +_ERRORCODE.fields_by_name['criterion_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_criterion__error__pb2._CRITERIONERRORENUM_CRITERIONERROR +_ERRORCODE.fields_by_name['customer_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__error__pb2._CUSTOMERERRORENUM_CUSTOMERERROR +_ERRORCODE.fields_by_name['date_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__error__pb2._DATEERRORENUM_DATEERROR +_ERRORCODE.fields_by_name['date_range_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_date__range__error__pb2._DATERANGEERRORENUM_DATERANGEERROR +_ERRORCODE.fields_by_name['distinct_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_distinct__error__pb2._DISTINCTERRORENUM_DISTINCTERROR +_ERRORCODE.fields_by_name['feed_attribute_reference_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__attribute__reference__error__pb2._FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR +_ERRORCODE.fields_by_name['function_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__error__pb2._FUNCTIONERRORENUM_FUNCTIONERROR +_ERRORCODE.fields_by_name['function_parsing_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_function__parsing__error__pb2._FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR +_ERRORCODE.fields_by_name['id_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_id__error__pb2._IDERRORENUM_IDERROR +_ERRORCODE.fields_by_name['image_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_image__error__pb2._IMAGEERRORENUM_IMAGEERROR +_ERRORCODE.fields_by_name['language_code_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_language__code__error__pb2._LANGUAGECODEERRORENUM_LANGUAGECODEERROR +_ERRORCODE.fields_by_name['media_bundle_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__bundle__error__pb2._MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR +_ERRORCODE.fields_by_name['media_upload_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__upload__error__pb2._MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR +_ERRORCODE.fields_by_name['media_file_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_media__file__error__pb2._MEDIAFILEERRORENUM_MEDIAFILEERROR +_ERRORCODE.fields_by_name['multiplier_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_multiplier__error__pb2._MULTIPLIERERRORENUM_MULTIPLIERERROR +_ERRORCODE.fields_by_name['new_resource_creation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_new__resource__creation__error__pb2._NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR +_ERRORCODE.fields_by_name['not_empty_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__empty__error__pb2._NOTEMPTYERRORENUM_NOTEMPTYERROR +_ERRORCODE.fields_by_name['null_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_null__error__pb2._NULLERRORENUM_NULLERROR +_ERRORCODE.fields_by_name['operator_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operator__error__pb2._OPERATORERRORENUM_OPERATORERROR +_ERRORCODE.fields_by_name['range_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_range__error__pb2._RANGEERRORENUM_RANGEERROR +_ERRORCODE.fields_by_name['recommendation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_recommendation__error__pb2._RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR +_ERRORCODE.fields_by_name['region_code_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_region__code__error__pb2._REGIONCODEERRORENUM_REGIONCODEERROR +_ERRORCODE.fields_by_name['setting_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_setting__error__pb2._SETTINGERRORENUM_SETTINGERROR +_ERRORCODE.fields_by_name['string_format_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__format__error__pb2._STRINGFORMATERRORENUM_STRINGFORMATERROR +_ERRORCODE.fields_by_name['string_length_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_string__length__error__pb2._STRINGLENGTHERRORENUM_STRINGLENGTHERROR +_ERRORCODE.fields_by_name['operation_access_denied_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_operation__access__denied__error__pb2._OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR +_ERRORCODE.fields_by_name['resource_access_denied_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__access__denied__error__pb2._RESOURCEACCESSDENIEDERRORENUM_RESOURCEACCESSDENIEDERROR +_ERRORCODE.fields_by_name['resource_count_limit_exceeded_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_resource__count__limit__exceeded__error__pb2._RESOURCECOUNTLIMITEXCEEDEDERRORENUM_RESOURCECOUNTLIMITEXCEEDEDERROR +_ERRORCODE.fields_by_name['youtube_video_registration_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_youtube__video__registration__error__pb2._YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR +_ERRORCODE.fields_by_name['ad_group_bid_modifier_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__bid__modifier__error__pb2._ADGROUPBIDMODIFIERERRORENUM_ADGROUPBIDMODIFIERERROR +_ERRORCODE.fields_by_name['context_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_context__error__pb2._CONTEXTERRORENUM_CONTEXTERROR +_ERRORCODE.fields_by_name['field_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_field__error__pb2._FIELDERRORENUM_FIELDERROR +_ERRORCODE.fields_by_name['shared_set_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__set__error__pb2._SHAREDSETERRORENUM_SHAREDSETERROR +_ERRORCODE.fields_by_name['shared_criterion_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_shared__criterion__error__pb2._SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR +_ERRORCODE.fields_by_name['campaign_shared_set_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__shared__set__error__pb2._CAMPAIGNSHAREDSETERRORENUM_CAMPAIGNSHAREDSETERROR +_ERRORCODE.fields_by_name['conversion_action_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__action__error__pb2._CONVERSIONACTIONERRORENUM_CONVERSIONACTIONERROR +_ERRORCODE.fields_by_name['conversion_adjustment_upload_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__adjustment__upload__error__pb2._CONVERSIONADJUSTMENTUPLOADERRORENUM_CONVERSIONADJUSTMENTUPLOADERROR +_ERRORCODE.fields_by_name['conversion_upload_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_conversion__upload__error__pb2._CONVERSIONUPLOADERRORENUM_CONVERSIONUPLOADERROR +_ERRORCODE.fields_by_name['header_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_header__error__pb2._HEADERERRORENUM_HEADERERROR +_ERRORCODE.fields_by_name['database_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_database__error__pb2._DATABASEERRORENUM_DATABASEERROR +_ERRORCODE.fields_by_name['policy_finding_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__finding__error__pb2._POLICYFINDINGERRORENUM_POLICYFINDINGERROR +_ERRORCODE.fields_by_name['enum_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_enum__error__pb2._ENUMERRORENUM_ENUMERROR +_ERRORCODE.fields_by_name['keyword_plan_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__error__pb2._KEYWORDPLANERRORENUM_KEYWORDPLANERROR +_ERRORCODE.fields_by_name['keyword_plan_campaign_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__error__pb2._KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR +_ERRORCODE.fields_by_name['keyword_plan_campaign_keyword_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__campaign__keyword__error__pb2._KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR +_ERRORCODE.fields_by_name['keyword_plan_ad_group_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__error__pb2._KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR +_ERRORCODE.fields_by_name['keyword_plan_ad_group_keyword_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__ad__group__keyword__error__pb2._KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR +_ERRORCODE.fields_by_name['keyword_plan_idea_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_keyword__plan__idea__error__pb2._KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR +_ERRORCODE.fields_by_name['account_budget_proposal_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_account__budget__proposal__error__pb2._ACCOUNTBUDGETPROPOSALERRORENUM_ACCOUNTBUDGETPROPOSALERROR +_ERRORCODE.fields_by_name['user_list_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__list__error__pb2._USERLISTERRORENUM_USERLISTERROR +_ERRORCODE.fields_by_name['change_status_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_change__status__error__pb2._CHANGESTATUSERRORENUM_CHANGESTATUSERROR +_ERRORCODE.fields_by_name['feed_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__error__pb2._FEEDERRORENUM_FEEDERROR +_ERRORCODE.fields_by_name['geo_target_constant_suggestion_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_geo__target__constant__suggestion__error__pb2._GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR +_ERRORCODE.fields_by_name['campaign_draft_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__draft__error__pb2._CAMPAIGNDRAFTERRORENUM_CAMPAIGNDRAFTERROR +_ERRORCODE.fields_by_name['feed_item_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__error__pb2._FEEDITEMERRORENUM_FEEDITEMERROR +_ERRORCODE.fields_by_name['label_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_label__error__pb2._LABELERRORENUM_LABELERROR +_ERRORCODE.fields_by_name['billing_setup_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_billing__setup__error__pb2._BILLINGSETUPERRORENUM_BILLINGSETUPERROR +_ERRORCODE.fields_by_name['customer_client_link_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__client__link__error__pb2._CUSTOMERCLIENTLINKERRORENUM_CUSTOMERCLIENTLINKERROR +_ERRORCODE.fields_by_name['customer_manager_link_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__manager__link__error__pb2._CUSTOMERMANAGERLINKERRORENUM_CUSTOMERMANAGERLINKERROR +_ERRORCODE.fields_by_name['feed_mapping_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__mapping__error__pb2._FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR +_ERRORCODE.fields_by_name['customer_feed_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_customer__feed__error__pb2._CUSTOMERFEEDERRORENUM_CUSTOMERFEEDERROR +_ERRORCODE.fields_by_name['ad_group_feed_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__group__feed__error__pb2._ADGROUPFEEDERRORENUM_ADGROUPFEEDERROR +_ERRORCODE.fields_by_name['campaign_feed_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__feed__error__pb2._CAMPAIGNFEEDERRORENUM_CAMPAIGNFEEDERROR +_ERRORCODE.fields_by_name['custom_interest_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_custom__interest__error__pb2._CUSTOMINTERESTERRORENUM_CUSTOMINTERESTERROR +_ERRORCODE.fields_by_name['campaign_experiment_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_campaign__experiment__error__pb2._CAMPAIGNEXPERIMENTERRORENUM_CAMPAIGNEXPERIMENTERROR +_ERRORCODE.fields_by_name['extension_feed_item_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__feed__item__error__pb2._EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR +_ERRORCODE.fields_by_name['ad_parameter_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_ad__parameter__error__pb2._ADPARAMETERERRORENUM_ADPARAMETERERROR +_ERRORCODE.fields_by_name['feed_item_validation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2._FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR +_ERRORCODE.fields_by_name['extension_setting_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_extension__setting__error__pb2._EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR +_ERRORCODE.fields_by_name['feed_item_target_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__target__error__pb2._FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR +_ERRORCODE.fields_by_name['policy_violation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__violation__error__pb2._POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR +_ERRORCODE.fields_by_name['partial_failure_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_partial__failure__error__pb2._PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR +_ERRORCODE.fields_by_name['policy_validation_parameter_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_policy__validation__parameter__error__pb2._POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR +_ERRORCODE.fields_by_name['size_limit_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_size__limit__error__pb2._SIZELIMITERRORENUM_SIZELIMITERROR +_ERRORCODE.fields_by_name['offline_user_data_job_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_offline__user__data__job__error__pb2._OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR +_ERRORCODE.fields_by_name['not_whitelisted_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_not__whitelisted__error__pb2._NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR +_ERRORCODE.fields_by_name['manager_link_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_manager__link__error__pb2._MANAGERLINKERRORENUM_MANAGERLINKERROR +_ERRORCODE.fields_by_name['currency_code_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_currency__code__error__pb2._CURRENCYCODEERRORENUM_CURRENCYCODEERROR +_ERRORCODE.fields_by_name['access_invitation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_access__invitation__error__pb2._ACCESSINVITATIONERRORENUM_ACCESSINVITATIONERROR +_ERRORCODE.fields_by_name['reach_plan_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_reach__plan__error__pb2._REACHPLANERRORENUM_REACHPLANERROR +_ERRORCODE.fields_by_name['invoice_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_invoice__error__pb2._INVOICEERRORENUM_INVOICEERROR +_ERRORCODE.fields_by_name['payments_account_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_payments__account__error__pb2._PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR +_ERRORCODE.fields_by_name['time_zone_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_time__zone__error__pb2._TIMEZONEERRORENUM_TIMEZONEERROR +_ERRORCODE.fields_by_name['asset_link_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_asset__link__error__pb2._ASSETLINKERRORENUM_ASSETLINKERROR +_ERRORCODE.fields_by_name['user_data_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_user__data__error__pb2._USERDATAERRORENUM_USERDATAERROR +_ERRORCODE.fields_by_name['batch_job_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_batch__job__error__pb2._BATCHJOBERRORENUM_BATCHJOBERROR _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['request_error']) _ERRORCODE.fields_by_name['request_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] @@ -1474,14 +1555,14 @@ _ERRORCODE.fields_by_name['keyword_plan_campaign_error']) _ERRORCODE.fields_by_name['keyword_plan_campaign_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['keyword_plan_negative_keyword_error']) -_ERRORCODE.fields_by_name['keyword_plan_negative_keyword_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] + _ERRORCODE.fields_by_name['keyword_plan_campaign_keyword_error']) +_ERRORCODE.fields_by_name['keyword_plan_campaign_keyword_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['keyword_plan_ad_group_error']) _ERRORCODE.fields_by_name['keyword_plan_ad_group_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['keyword_plan_keyword_error']) -_ERRORCODE.fields_by_name['keyword_plan_keyword_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] + _ERRORCODE.fields_by_name['keyword_plan_ad_group_keyword_error']) +_ERRORCODE.fields_by_name['keyword_plan_ad_group_keyword_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['keyword_plan_idea_error']) _ERRORCODE.fields_by_name['keyword_plan_idea_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] @@ -1554,9 +1635,6 @@ _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['policy_violation_error']) _ERRORCODE.fields_by_name['policy_violation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] -_ERRORCODE.oneofs_by_name['error_code'].fields.append( - _ERRORCODE.fields_by_name['mutate_job_error']) -_ERRORCODE.fields_by_name['mutate_job_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['partial_failure_error']) _ERRORCODE.fields_by_name['partial_failure_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] @@ -1566,19 +1644,49 @@ _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['size_limit_error']) _ERRORCODE.fields_by_name['size_limit_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['offline_user_data_job_error']) +_ERRORCODE.fields_by_name['offline_user_data_job_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['not_whitelisted_error']) _ERRORCODE.fields_by_name['not_whitelisted_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORCODE.oneofs_by_name['error_code'].fields.append( _ERRORCODE.fields_by_name['manager_link_error']) _ERRORCODE.fields_by_name['manager_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['currency_code_error']) +_ERRORCODE.fields_by_name['currency_code_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['access_invitation_error']) +_ERRORCODE.fields_by_name['access_invitation_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['reach_plan_error']) +_ERRORCODE.fields_by_name['reach_plan_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['invoice_error']) +_ERRORCODE.fields_by_name['invoice_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['payments_account_error']) +_ERRORCODE.fields_by_name['payments_account_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['time_zone_error']) +_ERRORCODE.fields_by_name['time_zone_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['asset_link_error']) +_ERRORCODE.fields_by_name['asset_link_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['user_data_error']) +_ERRORCODE.fields_by_name['user_data_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] +_ERRORCODE.oneofs_by_name['error_code'].fields.append( + _ERRORCODE.fields_by_name['batch_job_error']) +_ERRORCODE.fields_by_name['batch_job_error'].containing_oneof = _ERRORCODE.oneofs_by_name['error_code'] _ERRORLOCATION_FIELDPATHELEMENT.fields_by_name['index'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ERRORLOCATION_FIELDPATHELEMENT.containing_type = _ERRORLOCATION _ERRORLOCATION.fields_by_name['field_path_elements'].message_type = _ERRORLOCATION_FIELDPATHELEMENT _ERRORDETAILS.fields_by_name['policy_violation_details'].message_type = _POLICYVIOLATIONDETAILS _ERRORDETAILS.fields_by_name['policy_finding_details'].message_type = _POLICYFINDINGDETAILS -_POLICYVIOLATIONDETAILS.fields_by_name['key'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY -_POLICYFINDINGDETAILS.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_POLICYVIOLATIONDETAILS.fields_by_name['key'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY +_POLICYFINDINGDETAILS.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY DESCRIPTOR.message_types_by_name['GoogleAdsFailure'] = _GOOGLEADSFAILURE DESCRIPTOR.message_types_by_name['GoogleAdsError'] = _GOOGLEADSERROR DESCRIPTOR.message_types_by_name['ErrorCode'] = _ERRORCODE @@ -1590,7 +1698,7 @@ GoogleAdsFailure = _reflection.GeneratedProtocolMessageType('GoogleAdsFailure', (_message.Message,), dict( DESCRIPTOR = _GOOGLEADSFAILURE, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """Describes how a GoogleAds API call failed. It's returned inside google.rpc.Status.details when a call fails. @@ -1600,13 +1708,13 @@ errors: The list of errors that occurred. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.GoogleAdsFailure) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.GoogleAdsFailure) )) _sym_db.RegisterMessage(GoogleAdsFailure) GoogleAdsError = _reflection.GeneratedProtocolMessageType('GoogleAdsError', (_message.Message,), dict( DESCRIPTOR = _GOOGLEADSERROR, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """GoogleAds-specific error. @@ -1624,13 +1732,13 @@ Additional error details, which are returned by certain error codes. Most error codes do not include details. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.GoogleAdsError) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.GoogleAdsError) )) _sym_db.RegisterMessage(GoogleAdsError) ErrorCode = _reflection.GeneratedProtocolMessageType('ErrorCode', (_message.Message,), dict( DESCRIPTOR = _ERRORCODE, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """The error reason represented by type and enum. @@ -1776,12 +1884,12 @@ The reason for keyword plan error. keyword_plan_campaign_error: The reason for keyword plan campaign error. - keyword_plan_negative_keyword_error: - The reason for keyword plan negative keyword error. + keyword_plan_campaign_keyword_error: + The reason for keyword plan campaign keyword error. keyword_plan_ad_group_error: The reason for keyword plan ad group error. - keyword_plan_keyword_error: - The reason for keyword plan keyword error. + keyword_plan_ad_group_keyword_error: + The reason for keyword plan ad group keyword error. keyword_plan_idea_error: The reason for keyword idea error. account_budget_proposal_error: @@ -1830,20 +1938,38 @@ The reasons for the feed item target error policy_violation_error: The reasons for the policy violation error - mutate_job_error: - The reasons for the mutate job error partial_failure_error: The reasons for the mutate job error policy_validation_parameter_error: The reasons for the policy validation parameter error size_limit_error: The reasons for the size limit error + offline_user_data_job_error: + The reasons for the offline user data job error. not_whitelisted_error: The reasons for the not whitelisted error manager_link_error: The reasons for the manager link error + currency_code_error: + The reasons for the currency code error + access_invitation_error: + The reasons for the access invitation error + reach_plan_error: + The reasons for the reach plan error + invoice_error: + The reasons for the invoice error + payments_account_error: + The reasons for errors in payments accounts service + time_zone_error: + The reasons for the time zone error + asset_link_error: + The reasons for the asset link error + user_data_error: + The reasons for the user data error. + batch_job_error: + The reasons for the batch job error """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ErrorCode) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ErrorCode) )) _sym_db.RegisterMessage(ErrorCode) @@ -1851,7 +1977,7 @@ FieldPathElement = _reflection.GeneratedProtocolMessageType('FieldPathElement', (_message.Message,), dict( DESCRIPTOR = _ERRORLOCATION_FIELDPATHELEMENT, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """A part of a field path. @@ -1863,11 +1989,11 @@ If field\_name is a repeated field, this is the element that failed """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ErrorLocation.FieldPathElement) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ErrorLocation.FieldPathElement) )) , DESCRIPTOR = _ERRORLOCATION, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """Describes the part of the request proto that caused the error. @@ -1877,14 +2003,14 @@ A field path that indicates which field was invalid in the request. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ErrorLocation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ErrorLocation) )) _sym_db.RegisterMessage(ErrorLocation) _sym_db.RegisterMessage(ErrorLocation.FieldPathElement) ErrorDetails = _reflection.GeneratedProtocolMessageType('ErrorDetails', (_message.Message,), dict( DESCRIPTOR = _ERRORDETAILS, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """Additional error details. @@ -1892,20 +2018,20 @@ Attributes: unpublished_error_code: The error code that should have been returned, but wasn't. - This is used when the error code is - InternalError.ERROR\_CODE\_NOT\_PUBLISHED. + This is used when the error code is not published in the + client specified version. policy_violation_details: Describes an ad policy violation. policy_finding_details: Describes policy violation findings. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ErrorDetails) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ErrorDetails) )) _sym_db.RegisterMessage(ErrorDetails) PolicyViolationDetails = _reflection.GeneratedProtocolMessageType('PolicyViolationDetails', (_message.Message,), dict( DESCRIPTOR = _POLICYVIOLATIONDETAILS, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """Error returned as part of a mutate response. This error indicates single policy violation by some text in one of the fields. @@ -1922,13 +2048,13 @@ is_exemptible: Whether user can file an exemption request for this violation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PolicyViolationDetails) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PolicyViolationDetails) )) _sym_db.RegisterMessage(PolicyViolationDetails) PolicyFindingDetails = _reflection.GeneratedProtocolMessageType('PolicyFindingDetails', (_message.Message,), dict( DESCRIPTOR = _POLICYFINDINGDETAILS, - __module__ = 'google.ads.googleads_v1.proto.errors.errors_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.errors_pb2' , __doc__ = """Error returned as part of a mutate response. This error indicates one or more policy findings in the fields of a resource. @@ -1941,7 +2067,7 @@ prevented the resource from being saved (among any other entries the resource may also have). """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PolicyFindingDetails) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PolicyFindingDetails) )) _sym_db.RegisterMessage(PolicyFindingDetails) diff --git a/google/ads/google_ads/v1/proto/errors/list_operation_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/errors_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/list_operation_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/errors_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/extension_feed_item_error_pb2.py b/google/ads/google_ads/v4/proto/errors/extension_feed_item_error_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/errors/extension_feed_item_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/extension_feed_item_error_pb2.py index 3fefcaa3b..cca667277 100644 --- a/google/ads/google_ads/v1/proto/errors/extension_feed_item_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/extension_feed_item_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/extension_feed_item_error.proto +# source: google/ads/googleads_v4/proto/errors/extension_feed_item_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/extension_feed_item_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/extension_feed_item_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\033ExtensionFeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/errors/extension_feed_item_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xad\r\n\x1a\x45xtensionFeedItemErrorEnum\"\x8e\r\n\x16\x45xtensionFeedItemError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\x02\x12\x15\n\x11URL_LIST_TOO_LONG\x10\x03\x12\x32\n.CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING\x10\x04\x12\x1e\n\x1a\x43\x41NNOT_SET_WITH_FINAL_URLS\x10\x05\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10\x06\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x07\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x08\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\t\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\n\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\x0b\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x0c\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\r\x12\"\n\x1eINVALID_CALL_CONVERSION_ACTION\x10\x0e\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x0f\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x10\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x11\x12\x12\n\x0eINVALID_APP_ID\x10\x12\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10\x13\x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10\x14\x12&\n\"REVIEW_EXTENSION_SOURCE_INELIGIBLE\x10\x15\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10\x16\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10\x17\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10\x18\x12\x34\n0PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10\x19\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10\x1a\x12&\n\"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS\x10\x1b\x12\x15\n\x11UNSUPPORTED_VALUE\x10\x1c\x12*\n&UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE\x10\x1d\x12\x1d\n\x19INVALID_DEVICE_PREFERENCE\x10\x1e\x12\x18\n\x14INVALID_SCHEDULE_END\x10\x1f\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10 \x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10!\x12\'\n#CANNOT_OPERATE_ON_REMOVED_FEED_ITEM\x10\"\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10#\x12(\n$CONFLICTING_CALL_CONVERSION_SETTINGS\x10$\x12\x1b\n\x17\x45XTENSION_TYPE_MISMATCH\x10%\x12\x1e\n\x1a\x45XTENSION_SUBTYPE_REQUIRED\x10&\x12\x1e\n\x1a\x45XTENSION_TYPE_UNSUPPORTED\x10\'\x12\x31\n-CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS\x10(\x12.\n*CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES\x10)\x12\x18\n\x14INVALID_PRICE_FORMAT\x10*\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10+\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10,B\xf6\x01\n\"com.google.ads.googleads.v1.errorsB\x1b\x45xtensionFeedItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\033ExtensionFeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/errors/extension_feed_item_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xf5\r\n\x1a\x45xtensionFeedItemErrorEnum\"\xd6\r\n\x16\x45xtensionFeedItemError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\x02\x12\x15\n\x11URL_LIST_TOO_LONG\x10\x03\x12\x32\n.CANNOT_HAVE_RESTRICTION_ON_EMPTY_GEO_TARGETING\x10\x04\x12\x1e\n\x1a\x43\x41NNOT_SET_WITH_FINAL_URLS\x10\x05\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10\x06\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x07\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x08\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\t\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\n\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\x0b\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x0c\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\r\x12\"\n\x1eINVALID_CALL_CONVERSION_ACTION\x10\x0e\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x0f\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x10\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x11\x12\x12\n\x0eINVALID_APP_ID\x10\x12\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10\x13\x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10\x14\x12&\n\"REVIEW_EXTENSION_SOURCE_INELIGIBLE\x10\x15\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10\x16\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10\x17\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10\x18\x12\x34\n0PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10\x19\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10\x1a\x12&\n\"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS\x10\x1b\x12\x15\n\x11UNSUPPORTED_VALUE\x10\x1c\x12*\n&UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE\x10\x1d\x12\x1d\n\x19INVALID_DEVICE_PREFERENCE\x10\x1e\x12\x18\n\x14INVALID_SCHEDULE_END\x10\x1f\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10 \x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10!\x12\'\n#CANNOT_OPERATE_ON_REMOVED_FEED_ITEM\x10\"\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10#\x12(\n$CONFLICTING_CALL_CONVERSION_SETTINGS\x10$\x12\x1b\n\x17\x45XTENSION_TYPE_MISMATCH\x10%\x12\x1e\n\x1a\x45XTENSION_SUBTYPE_REQUIRED\x10&\x12\x1e\n\x1a\x45XTENSION_TYPE_UNSUPPORTED\x10\'\x12\x31\n-CANNOT_OPERATE_ON_FEED_WITH_MULTIPLE_MAPPINGS\x10(\x12.\n*CANNOT_OPERATE_ON_FEED_WITH_KEY_ATTRIBUTES\x10)\x12\x18\n\x14INVALID_PRICE_FORMAT\x10*\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10+\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10,\x12$\n CONCRETE_EXTENSION_TYPE_REQUIRED\x10-\x12 \n\x1cSCHEDULE_END_NOT_AFTER_START\x10.B\xf6\x01\n\"com.google.ads.googleads.v4.errorsB\x1b\x45xtensionFeedItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR = _descriptor.EnumDescriptor( name='ExtensionFeedItemError', - full_name='google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError', + full_name='google.ads.googleads.v4.errors.ExtensionFeedItemErrorEnum.ExtensionFeedItemError', filename=None, file=DESCRIPTOR, values=[ @@ -213,18 +213,26 @@ name='TOO_MANY_DECIMAL_PLACES_SPECIFIED', index=44, number=44, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='CONCRETE_EXTENSION_TYPE_REQUIRED', index=45, number=45, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='SCHEDULE_END_NOT_AFTER_START', index=46, number=46, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=166, - serialized_end=1844, + serialized_end=1916, ) _sym_db.RegisterEnumDescriptor(_EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR) _EXTENSIONFEEDITEMERRORENUM = _descriptor.Descriptor( name='ExtensionFeedItemErrorEnum', - full_name='google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum', + full_name='google.ads.googleads.v4.errors.ExtensionFeedItemErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -243,7 +251,7 @@ oneofs=[ ], serialized_start=135, - serialized_end=1844, + serialized_end=1916, ) _EXTENSIONFEEDITEMERRORENUM_EXTENSIONFEEDITEMERROR.containing_type = _EXTENSIONFEEDITEMERRORENUM @@ -252,11 +260,11 @@ ExtensionFeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionFeedItemErrorEnum', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONFEEDITEMERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.extension_feed_item_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.extension_feed_item_error_pb2' , __doc__ = """Container for enum describing possible extension feed item error. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ExtensionFeedItemErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ExtensionFeedItemErrorEnum) )) _sym_db.RegisterMessage(ExtensionFeedItemErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/manager_link_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/extension_feed_item_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/manager_link_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/extension_feed_item_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/extension_setting_error_pb2.py b/google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2.py similarity index 93% rename from google/ads/google_ads/v1/proto/errors/extension_setting_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2.py index a45f5464d..be7216100 100644 --- a/google/ads/google_ads/v1/proto/errors/extension_setting_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/extension_setting_error.proto +# source: google/ads/googleads_v4/proto/errors/extension_setting_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/extension_setting_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/extension_setting_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\032ExtensionSettingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/errors/extension_setting_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x98\x14\n\x19\x45xtensionSettingErrorEnum\"\xfa\x13\n\x15\x45xtensionSettingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13\x45XTENSIONS_REQUIRED\x10\x02\x12%\n!FEED_TYPE_EXTENSION_TYPE_MISMATCH\x10\x03\x12\x15\n\x11INVALID_FEED_TYPE\x10\x04\x12\x34\n0INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING\x10\x05\x12%\n!CANNOT_CHANGE_FEED_ITEM_ON_CREATE\x10\x06\x12)\n%CANNOT_UPDATE_NEWLY_CREATED_EXTENSION\x10\x07\x12\x33\n/NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE\x10\x08\x12\x33\n/NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE\x10\t\x12\x33\n/NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE\x10\n\x12-\n)AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS\x10\x0b\x12-\n)CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS\x10\x0c\x12-\n)CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS\x10\r\x12\x35\n1AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x0e\x12\x35\n1CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x0f\x12\x35\n1CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x10\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\x11\x12$\n CANNOT_SET_FIELD_WITH_FINAL_URLS\x10\x12\x12\x16\n\x12\x46INAL_URLS_NOT_SET\x10\x13\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x14\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x15\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\x16\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\x17\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\x18\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x19\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\x1a\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x1b\x12#\n\x1fINVALID_CALL_CONVERSION_TYPE_ID\x10\x1c\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x1d\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x1e\x12\x12\n\x0eINVALID_APP_ID\x10\x1f\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10 \x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10!\x12(\n$REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE\x10\"\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10#\x12\x11\n\rMISSING_FIELD\x10$\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10%\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10&\x12\x34\n0PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10\'\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10(\x12&\n\"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS\x10)\x12\x15\n\x11UNSUPPORTED_VALUE\x10*\x12\x1d\n\x19INVALID_DEVICE_PREFERENCE\x10+\x12\x18\n\x14INVALID_SCHEDULE_END\x10-\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10/\x12%\n!OVERLAPPING_SCHEDULES_NOT_ALLOWED\x10\x30\x12 \n\x1cSCHEDULE_END_NOT_AFTER_START\x10\x31\x12\x1e\n\x1aTOO_MANY_SCHEDULES_PER_DAY\x10\x32\x12&\n\"DUPLICATE_EXTENSION_FEED_ITEM_EDIT\x10\x33\x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10\x34\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10\x35\x12\x1f\n\x1b\x43\x41MPAIGN_TARGETING_MISMATCH\x10\x36\x12\"\n\x1e\x43\x41NNOT_OPERATE_ON_REMOVED_FEED\x10\x37\x12\x1b\n\x17\x45XTENSION_TYPE_REQUIRED\x10\x38\x12-\n)INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION\x10\x39\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10:\x12\x18\n\x14INVALID_PRICE_FORMAT\x10;\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10<\x12<\n8PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT\x10=\x12>\n:PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT\x10>\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10?\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10@\x12\x18\n\x14UNSUPPORTED_LANGUAGE\x10\x41\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x42\x12&\n\"EXTENSION_SETTING_UPDATE_IS_A_NOOP\x10\x43\x42\xf5\x01\n\"com.google.ads.googleads.v1.errorsB\x1a\x45xtensionSettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\032ExtensionSettingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/errors/extension_setting_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x98\x14\n\x19\x45xtensionSettingErrorEnum\"\xfa\x13\n\x15\x45xtensionSettingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13\x45XTENSIONS_REQUIRED\x10\x02\x12%\n!FEED_TYPE_EXTENSION_TYPE_MISMATCH\x10\x03\x12\x15\n\x11INVALID_FEED_TYPE\x10\x04\x12\x34\n0INVALID_FEED_TYPE_FOR_CUSTOMER_EXTENSION_SETTING\x10\x05\x12%\n!CANNOT_CHANGE_FEED_ITEM_ON_CREATE\x10\x06\x12)\n%CANNOT_UPDATE_NEWLY_CREATED_EXTENSION\x10\x07\x12\x33\n/NO_EXISTING_AD_GROUP_EXTENSION_SETTING_FOR_TYPE\x10\x08\x12\x33\n/NO_EXISTING_CAMPAIGN_EXTENSION_SETTING_FOR_TYPE\x10\t\x12\x33\n/NO_EXISTING_CUSTOMER_EXTENSION_SETTING_FOR_TYPE\x10\n\x12-\n)AD_GROUP_EXTENSION_SETTING_ALREADY_EXISTS\x10\x0b\x12-\n)CAMPAIGN_EXTENSION_SETTING_ALREADY_EXISTS\x10\x0c\x12-\n)CUSTOMER_EXTENSION_SETTING_ALREADY_EXISTS\x10\r\x12\x35\n1AD_GROUP_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x0e\x12\x35\n1CAMPAIGN_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x0f\x12\x35\n1CUSTOMER_FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE\x10\x10\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\x11\x12$\n CANNOT_SET_FIELD_WITH_FINAL_URLS\x10\x12\x12\x16\n\x12\x46INAL_URLS_NOT_SET\x10\x13\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x14\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x15\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\x16\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\x17\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\x18\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x19\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\x1a\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x1b\x12#\n\x1fINVALID_CALL_CONVERSION_TYPE_ID\x10\x1c\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x1d\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x1e\x12\x12\n\x0eINVALID_APP_ID\x10\x1f\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10 \x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10!\x12(\n$REVIEW_EXTENSION_SOURCE_NOT_ELIGIBLE\x10\"\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10#\x12\x11\n\rMISSING_FIELD\x10$\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10%\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10&\x12\x34\n0PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10\'\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10(\x12&\n\"PRICE_EXTENSION_HAS_TOO_MANY_ITEMS\x10)\x12\x15\n\x11UNSUPPORTED_VALUE\x10*\x12\x1d\n\x19INVALID_DEVICE_PREFERENCE\x10+\x12\x18\n\x14INVALID_SCHEDULE_END\x10-\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10/\x12%\n!OVERLAPPING_SCHEDULES_NOT_ALLOWED\x10\x30\x12 \n\x1cSCHEDULE_END_NOT_AFTER_START\x10\x31\x12\x1e\n\x1aTOO_MANY_SCHEDULES_PER_DAY\x10\x32\x12&\n\"DUPLICATE_EXTENSION_FEED_ITEM_EDIT\x10\x33\x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10\x34\x12<\n8PHONE_NUMBER_NOT_SUPPORTED_WITH_CALLTRACKING_FOR_COUNTRY\x10\x35\x12\x1f\n\x1b\x43\x41MPAIGN_TARGETING_MISMATCH\x10\x36\x12\"\n\x1e\x43\x41NNOT_OPERATE_ON_REMOVED_FEED\x10\x37\x12\x1b\n\x17\x45XTENSION_TYPE_REQUIRED\x10\x38\x12-\n)INCOMPATIBLE_UNDERLYING_MATCHING_FUNCTION\x10\x39\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10:\x12\x18\n\x14INVALID_PRICE_FORMAT\x10;\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10<\x12<\n8PROMOTION_CANNOT_SET_PERCENT_DISCOUNT_AND_MONEY_DISCOUNT\x10=\x12>\n:PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT\x10>\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10?\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10@\x12\x18\n\x14UNSUPPORTED_LANGUAGE\x10\x41\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10\x42\x12&\n\"EXTENSION_SETTING_UPDATE_IS_A_NOOP\x10\x43\x42\xf5\x01\n\"com.google.ads.googleads.v4.errorsB\x1a\x45xtensionSettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _EXTENSIONSETTINGERRORENUM_EXTENSIONSETTINGERROR = _descriptor.EnumDescriptor( name='ExtensionSettingError', - full_name='google.ads.googleads.v1.errors.ExtensionSettingErrorEnum.ExtensionSettingError', + full_name='google.ads.googleads.v4.errors.ExtensionSettingErrorEnum.ExtensionSettingError', filename=None, file=DESCRIPTOR, values=[ @@ -308,7 +308,7 @@ _EXTENSIONSETTINGERRORENUM = _descriptor.Descriptor( name='ExtensionSettingErrorEnum', - full_name='google.ads.googleads.v1.errors.ExtensionSettingErrorEnum', + full_name='google.ads.googleads.v4.errors.ExtensionSettingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -336,11 +336,11 @@ ExtensionSettingErrorEnum = _reflection.GeneratedProtocolMessageType('ExtensionSettingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONSETTINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.extension_setting_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.extension_setting_error_pb2' , __doc__ = """Container for enum describing validation errors of extension settings. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ExtensionSettingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ExtensionSettingErrorEnum) )) _sym_db.RegisterMessage(ExtensionSettingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/media_bundle_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/media_bundle_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_attribute_reference_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_attribute_reference_error_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/errors/feed_attribute_reference_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_attribute_reference_error_pb2.py index 85920c1f6..86cb282f2 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_attribute_reference_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_attribute_reference_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_attribute_reference_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_attribute_reference_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_attribute_reference_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_attribute_reference_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB FeedAttributeReferenceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/errors/feed_attribute_reference_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xba\x01\n\x1f\x46\x65\x65\x64\x41ttributeReferenceErrorEnum\"\x96\x01\n\x1b\x46\x65\x65\x64\x41ttributeReferenceError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43\x41NNOT_REFERENCE_REMOVED_FEED\x10\x02\x12\x15\n\x11INVALID_FEED_NAME\x10\x03\x12\x1f\n\x1bINVALID_FEED_ATTRIBUTE_NAME\x10\x04\x42\xfb\x01\n\"com.google.ads.googleads.v1.errorsB FeedAttributeReferenceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB FeedAttributeReferenceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/errors/feed_attribute_reference_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xba\x01\n\x1f\x46\x65\x65\x64\x41ttributeReferenceErrorEnum\"\x96\x01\n\x1b\x46\x65\x65\x64\x41ttributeReferenceError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1d\x43\x41NNOT_REFERENCE_REMOVED_FEED\x10\x02\x12\x15\n\x11INVALID_FEED_NAME\x10\x03\x12\x1f\n\x1bINVALID_FEED_ATTRIBUTE_NAME\x10\x04\x42\xfb\x01\n\"com.google.ads.googleads.v4.errorsB FeedAttributeReferenceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDATTRIBUTEREFERENCEERRORENUM_FEEDATTRIBUTEREFERENCEERROR = _descriptor.EnumDescriptor( name='FeedAttributeReferenceError', - full_name='google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError', + full_name='google.ads.googleads.v4.errors.FeedAttributeReferenceErrorEnum.FeedAttributeReferenceError', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _FEEDATTRIBUTEREFERENCEERRORENUM = _descriptor.Descriptor( name='FeedAttributeReferenceErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedAttributeReferenceErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ FeedAttributeReferenceErrorEnum = _reflection.GeneratedProtocolMessageType('FeedAttributeReferenceErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDATTRIBUTEREFERENCEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_attribute_reference_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_attribute_reference_error_pb2' , __doc__ = """Container for enum describing possible feed attribute reference errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedAttributeReferenceErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedAttributeReferenceErrorEnum) )) _sym_db.RegisterMessage(FeedAttributeReferenceErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/media_file_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_attribute_reference_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/media_file_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_attribute_reference_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/feed_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_error_pb2.py index 718d5da1b..eee612495 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\016FeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/errors/feed_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xf9\x05\n\rFeedErrorEnum\"\xe7\x05\n\tFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1e\n\x1a\x41TTRIBUTE_NAMES_NOT_UNIQUE\x10\x02\x12/\n+ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES\x10\x03\x12.\n*CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED\x10\x04\x12\x34\n0CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED\x10\x05\x12\x32\n.CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED\x10\x06\x12\x34\n0CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE\x10\x07\x12\x10\n\x0c\x46\x45\x45\x44_REMOVED\x10\x08\x12\x18\n\x14INVALID_ORIGIN_VALUE\x10\t\x12\x1b\n\x17\x46\x45\x45\x44_ORIGIN_IS_NOT_USER\x10\n\x12 \n\x1cINVALID_AUTH_TOKEN_FOR_EMAIL\x10\x0b\x12\x11\n\rINVALID_EMAIL\x10\x0c\x12\x17\n\x13\x44UPLICATE_FEED_NAME\x10\r\x12\x15\n\x11INVALID_FEED_NAME\x10\x0e\x12\x16\n\x12MISSING_OAUTH_INFO\x10\x0f\x12.\n*NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY\x10\x10\x12\x17\n\x13TOO_MANY_ATTRIBUTES\x10\x11\x12\x1c\n\x18INVALID_BUSINESS_ACCOUNT\x10\x12\x12\x33\n/BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT\x10\x13\x12\x1e\n\x1aINVALID_AFFILIATE_CHAIN_ID\x10\x14\x12\x19\n\x15\x44UPLICATE_SYSTEM_FEED\x10\x15\x42\xe9\x01\n\"com.google.ads.googleads.v1.errorsB\x0e\x46\x65\x65\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\016FeedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/errors/feed_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xc6\x06\n\rFeedErrorEnum\"\xb4\x06\n\tFeedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1e\n\x1a\x41TTRIBUTE_NAMES_NOT_UNIQUE\x10\x02\x12/\n+ATTRIBUTES_DO_NOT_MATCH_EXISTING_ATTRIBUTES\x10\x03\x12.\n*CANNOT_SPECIFY_USER_ORIGIN_FOR_SYSTEM_FEED\x10\x04\x12\x34\n0CANNOT_SPECIFY_GOOGLE_ORIGIN_FOR_NON_SYSTEM_FEED\x10\x05\x12\x32\n.CANNOT_SPECIFY_FEED_ATTRIBUTES_FOR_SYSTEM_FEED\x10\x06\x12\x34\n0CANNOT_UPDATE_FEED_ATTRIBUTES_WITH_ORIGIN_GOOGLE\x10\x07\x12\x10\n\x0c\x46\x45\x45\x44_REMOVED\x10\x08\x12\x18\n\x14INVALID_ORIGIN_VALUE\x10\t\x12\x1b\n\x17\x46\x45\x45\x44_ORIGIN_IS_NOT_USER\x10\n\x12 \n\x1cINVALID_AUTH_TOKEN_FOR_EMAIL\x10\x0b\x12\x11\n\rINVALID_EMAIL\x10\x0c\x12\x17\n\x13\x44UPLICATE_FEED_NAME\x10\r\x12\x15\n\x11INVALID_FEED_NAME\x10\x0e\x12\x16\n\x12MISSING_OAUTH_INFO\x10\x0f\x12.\n*NEW_ATTRIBUTE_CANNOT_BE_PART_OF_UNIQUE_KEY\x10\x10\x12\x17\n\x13TOO_MANY_ATTRIBUTES\x10\x11\x12\x1c\n\x18INVALID_BUSINESS_ACCOUNT\x10\x12\x12\x33\n/BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT\x10\x13\x12\x1e\n\x1aINVALID_AFFILIATE_CHAIN_ID\x10\x14\x12\x19\n\x15\x44UPLICATE_SYSTEM_FEED\x10\x15\x12\x14\n\x10GMB_ACCESS_ERROR\x10\x16\x12\x35\n1CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS\x10\x17\x42\xe9\x01\n\"com.google.ads.googleads.v4.errorsB\x0e\x46\x65\x65\x64\x45rrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDERRORENUM_FEEDERROR = _descriptor.EnumDescriptor( name='FeedError', - full_name='google.ads.googleads.v1.errors.FeedErrorEnum.FeedError', + full_name='google.ads.googleads.v4.errors.FeedErrorEnum.FeedError', filename=None, file=DESCRIPTOR, values=[ @@ -121,18 +121,26 @@ name='DUPLICATE_SYSTEM_FEED', index=21, number=21, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='GMB_ACCESS_ERROR', index=22, number=22, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS', index=23, number=23, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=138, - serialized_end=881, + serialized_end=958, ) _sym_db.RegisterEnumDescriptor(_FEEDERRORENUM_FEEDERROR) _FEEDERRORENUM = _descriptor.Descriptor( name='FeedErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -151,7 +159,7 @@ oneofs=[ ], serialized_start=120, - serialized_end=881, + serialized_end=958, ) _FEEDERRORENUM_FEEDERROR.containing_type = _FEEDERRORENUM @@ -160,11 +168,11 @@ FeedErrorEnum = _reflection.GeneratedProtocolMessageType('FeedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_error_pb2' , __doc__ = """Container for enum describing possible feed errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedErrorEnum) )) _sym_db.RegisterMessage(FeedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/media_upload_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/media_upload_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_item_error_pb2.py similarity index 80% rename from google/ads/google_ads/v1/proto/errors/feed_item_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_item_error_pb2.py index 4255a9395..e9821a8d3 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_item_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_item_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_item_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_item_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_item_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_item_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022FeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/errors/feed_item_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x87\x03\n\x11\x46\x65\x65\x64ItemErrorEnum\"\xf1\x02\n\rFeedItemError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12.\n*CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING\x10\x02\x12\'\n#CANNOT_OPERATE_ON_REMOVED_FEED_ITEM\x10\x03\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10\x04\x12\x1c\n\x18KEY_ATTRIBUTES_NOT_FOUND\x10\x05\x12\x0f\n\x0bINVALID_URL\x10\x06\x12\x1a\n\x16MISSING_KEY_ATTRIBUTES\x10\x07\x12\x1d\n\x19KEY_ATTRIBUTES_NOT_UNIQUE\x10\x08\x12%\n!CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE\x10\t\x12,\n(SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE\x10\nB\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x46\x65\x65\x64ItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022FeedItemErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/feed_item_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x87\x03\n\x11\x46\x65\x65\x64ItemErrorEnum\"\xf1\x02\n\rFeedItemError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12.\n*CANNOT_CONVERT_ATTRIBUTE_VALUE_FROM_STRING\x10\x02\x12\'\n#CANNOT_OPERATE_ON_REMOVED_FEED_ITEM\x10\x03\x12*\n&DATE_TIME_MUST_BE_IN_ACCOUNT_TIME_ZONE\x10\x04\x12\x1c\n\x18KEY_ATTRIBUTES_NOT_FOUND\x10\x05\x12\x0f\n\x0bINVALID_URL\x10\x06\x12\x1a\n\x16MISSING_KEY_ATTRIBUTES\x10\x07\x12\x1d\n\x19KEY_ATTRIBUTES_NOT_UNIQUE\x10\x08\x12%\n!CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE\x10\t\x12,\n(SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE\x10\nB\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x46\x65\x65\x64ItemErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMERRORENUM_FEEDITEMERROR = _descriptor.EnumDescriptor( name='FeedItemError', - full_name='google.ads.googleads.v1.errors.FeedItemErrorEnum.FeedItemError', + full_name='google.ads.googleads.v4.errors.FeedItemErrorEnum.FeedItemError', filename=None, file=DESCRIPTOR, values=[ @@ -88,7 +88,7 @@ _FEEDITEMERRORENUM = _descriptor.Descriptor( name='FeedItemErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedItemErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedItemErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -116,11 +116,11 @@ FeedItemErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_item_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_item_error_pb2' , __doc__ = """Container for enum describing possible feed item errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedItemErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedItemErrorEnum) )) _sym_db.RegisterMessage(FeedItemErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/multiplier_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_item_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/multiplier_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_item_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_target_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_item_target_error_pb2.py similarity index 68% rename from google/ads/google_ads/v1/proto/errors/feed_item_target_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_item_target_error_pb2.py index 3e607abe3..8ec631b60 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_item_target_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_item_target_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_item_target_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_item_target_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_item_target_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_item_target_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030FeedItemTargetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/errors/feed_item_target_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xca\x02\n\x17\x46\x65\x65\x64ItemTargetErrorEnum\"\xae\x02\n\x13\x46\x65\x65\x64ItemTargetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12#\n\x1fMUST_SET_TARGET_ONEOF_ON_CREATE\x10\x02\x12#\n\x1f\x46\x45\x45\x44_ITEM_TARGET_ALREADY_EXISTS\x10\x03\x12&\n\"FEED_ITEM_SCHEDULES_CANNOT_OVERLAP\x10\x04\x12(\n$TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE\x10\x05\x12\x1e\n\x1aTOO_MANY_SCHEDULES_PER_DAY\x10\x06\x12=\n9CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS\x10\x07\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18\x46\x65\x65\x64ItemTargetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030FeedItemTargetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/errors/feed_item_target_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xfc\x02\n\x17\x46\x65\x65\x64ItemTargetErrorEnum\"\xe0\x02\n\x13\x46\x65\x65\x64ItemTargetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12#\n\x1fMUST_SET_TARGET_ONEOF_ON_CREATE\x10\x02\x12#\n\x1f\x46\x45\x45\x44_ITEM_TARGET_ALREADY_EXISTS\x10\x03\x12&\n\"FEED_ITEM_SCHEDULES_CANNOT_OVERLAP\x10\x04\x12(\n$TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE\x10\x05\x12\x1e\n\x1aTOO_MANY_SCHEDULES_PER_DAY\x10\x06\x12=\n9CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS\x10\x07\x12\x19\n\x15\x44UPLICATE_AD_SCHEDULE\x10\x08\x12\x15\n\x11\x44UPLICATE_KEYWORD\x10\tB\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18\x46\x65\x65\x64ItemTargetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR = _descriptor.EnumDescriptor( name='FeedItemTargetError', - full_name='google.ads.googleads.v1.errors.FeedItemTargetErrorEnum.FeedItemTargetError', + full_name='google.ads.googleads.v4.errors.FeedItemTargetErrorEnum.FeedItemTargetError', filename=None, file=DESCRIPTOR, values=[ @@ -65,18 +65,26 @@ name='CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS', index=7, number=7, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_AD_SCHEDULE', index=8, number=8, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_KEYWORD', index=9, number=9, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=160, - serialized_end=462, + serialized_end=512, ) _sym_db.RegisterEnumDescriptor(_FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR) _FEEDITEMTARGETERRORENUM = _descriptor.Descriptor( name='FeedItemTargetErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedItemTargetErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedItemTargetErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -95,7 +103,7 @@ oneofs=[ ], serialized_start=132, - serialized_end=462, + serialized_end=512, ) _FEEDITEMTARGETERRORENUM_FEEDITEMTARGETERROR.containing_type = _FEEDITEMTARGETERRORENUM @@ -104,11 +112,11 @@ FeedItemTargetErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemTargetErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMTARGETERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_item_target_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_item_target_error_pb2' , __doc__ = """Container for enum describing possible feed item target errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedItemTargetErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedItemTargetErrorEnum) )) _sym_db.RegisterMessage(FeedItemTargetErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/mutate_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_item_target_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/mutate_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_item_target_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_item_validation_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_item_validation_error_pb2.py similarity index 92% rename from google/ads/google_ads/v1/proto/errors/feed_item_validation_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_item_validation_error_pb2.py index 2ae76cd35..1f400f31a 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_item_validation_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_item_validation_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_item_validation_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_item_validation_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_item_validation_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_item_validation_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\034FeedItemValidationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/errors/feed_item_validation_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb4\x19\n\x1b\x46\x65\x65\x64ItemValidationErrorEnum\"\x94\x19\n\x17\x46\x65\x65\x64ItemValidationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x14\n\x10STRING_TOO_SHORT\x10\x02\x12\x13\n\x0fSTRING_TOO_LONG\x10\x03\x12\x17\n\x13VALUE_NOT_SPECIFIED\x10\x04\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x05\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x06\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x07\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\x08\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\t\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\n\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x0b\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x0c\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\r\x12\x12\n\x0eINVALID_APP_ID\x10\x0e\x12!\n\x1dMISSING_ATTRIBUTES_FOR_FIELDS\x10\x0f\x12\x13\n\x0fINVALID_TYPE_ID\x10\x10\x12\x19\n\x15INVALID_EMAIL_ADDRESS\x10\x11\x12\x15\n\x11INVALID_HTTPS_URL\x10\x12\x12\x1c\n\x18MISSING_DELIVERY_ADDRESS\x10\x13\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10\x14\x12 \n\x1cMISSING_FEED_ITEM_START_TIME\x10\x15\x12\x1e\n\x1aMISSING_FEED_ITEM_END_TIME\x10\x16\x12\x18\n\x14MISSING_FEED_ITEM_ID\x10\x17\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\x18\x12$\n INVALID_REVIEW_EXTENSION_SNIPPET\x10\x19\x12\x19\n\x15INVALID_NUMBER_FORMAT\x10\x1a\x12\x17\n\x13INVALID_DATE_FORMAT\x10\x1b\x12\x18\n\x14INVALID_PRICE_FORMAT\x10\x1c\x12\x1d\n\x19UNKNOWN_PLACEHOLDER_FIELD\x10\x1d\x12.\n*MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE\x10\x1e\x12&\n\"REVIEW_EXTENSION_SOURCE_INELIGIBLE\x10\x1f\x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10 \x12-\n)DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10!\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10\"\x12\x1f\n\x1bINVALID_FORM_ENCODED_PARAMS\x10#\x12\x1e\n\x1aINVALID_URL_PARAMETER_NAME\x10$\x12\x17\n\x13NO_GEOCODING_RESULT\x10%\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10&\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\'\x12 \n\x1cINVALID_PLACEHOLDER_FIELD_ID\x10(\x12\x13\n\x0fINVALID_URL_TAG\x10)\x12\x11\n\rLIST_TOO_LONG\x10*\x12\"\n\x1eINVALID_ATTRIBUTES_COMBINATION\x10+\x12\x14\n\x10\x44UPLICATE_VALUES\x10,\x12%\n!INVALID_CALL_CONVERSION_ACTION_ID\x10-\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10.\x12$\n APP_ID_DOESNT_EXIST_IN_APP_STORE\x10/\x12\x15\n\x11INVALID_FINAL_URL\x10\x30\x12\x18\n\x14INVALID_TRACKING_URL\x10\x31\x12*\n&INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL\x10\x32\x12\x12\n\x0eLIST_TOO_SHORT\x10\x33\x12\x17\n\x13INVALID_USER_ACTION\x10\x34\x12\x15\n\x11INVALID_TYPE_NAME\x10\x35\x12\x1f\n\x1bINVALID_EVENT_CHANGE_STATUS\x10\x36\x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10\x37\x12\x1c\n\x18INVALID_ANDROID_APP_LINK\x10\x38\x12;\n7NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x39\x12\x1a\n\x16RESERVED_KEYWORD_OTHER\x10:\x12\x1b\n\x17\x44UPLICATE_OPTION_LABELS\x10;\x12\x1d\n\x19\x44UPLICATE_OPTION_PREFILLS\x10<\x12\x18\n\x14UNEQUAL_LIST_LENGTHS\x10=\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10>\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10?\x12.\n*ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10@\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10\x41\x12\x15\n\x11UNSUPPORTED_VALUE\x10\x42\x12\x1c\n\x18INVALID_FINAL_MOBILE_URL\x10\x43\x12%\n!INVALID_KEYWORDLESS_AD_RULE_LABEL\x10\x44\x12\'\n#VALUE_TRACK_PARAMETER_NOT_SUPPORTED\x10\x45\x12*\n&UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE\x10\x46\x12\x18\n\x14INVALID_IOS_APP_LINK\x10G\x12,\n(MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID\x10H\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10I\x12\x39\n5PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF\x10J\x12>\n:PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT\x10K\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10L\x12\x1e\n\x1a\x41\x44_CUSTOMIZERS_NOT_ALLOWED\x10M\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10N\x12\x18\n\x14UNSUPPORTED_LANGUAGE\x10O\x12\x1b\n\x17IF_FUNCTION_NOT_ALLOWED\x10P\x12\x1c\n\x18INVALID_FINAL_URL_SUFFIX\x10Q\x12#\n\x1fINVALID_TAG_IN_FINAL_URL_SUFFIX\x10R\x12#\n\x1fINVALID_FINAL_URL_SUFFIX_FORMAT\x10S\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10T\x12\'\n#ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED\x10U\x12\x1d\n\x19NO_DELIVERY_OPTION_IS_SET\x10V\x12&\n\"INVALID_CONVERSION_REPORTING_STATE\x10W\x12\x14\n\x10IMAGE_SIZE_WRONG\x10X\x12+\n\'EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY\x10Y\x12\'\n#AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY\x10Z\x12\x1a\n\x16INVALID_LATITUDE_VALUE\x10[\x12\x1b\n\x17INVALID_LONGITUDE_VALUE\x10\\\x12\x13\n\x0fTOO_MANY_LABELS\x10]\x12\x15\n\x11INVALID_IMAGE_URL\x10^\x12\x1a\n\x16MISSING_LATITUDE_VALUE\x10_\x12\x1b\n\x17MISSING_LONGITUDE_VALUE\x10`B\xf7\x01\n\"com.google.ads.googleads.v1.errorsB\x1c\x46\x65\x65\x64ItemValidationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\034FeedItemValidationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/errors/feed_item_validation_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xe7\x19\n\x1b\x46\x65\x65\x64ItemValidationErrorEnum\"\xc7\x19\n\x17\x46\x65\x65\x64ItemValidationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x14\n\x10STRING_TOO_SHORT\x10\x02\x12\x13\n\x0fSTRING_TOO_LONG\x10\x03\x12\x17\n\x13VALUE_NOT_SPECIFIED\x10\x04\x12(\n$INVALID_DOMESTIC_PHONE_NUMBER_FORMAT\x10\x05\x12\x18\n\x14INVALID_PHONE_NUMBER\x10\x06\x12*\n&PHONE_NUMBER_NOT_SUPPORTED_FOR_COUNTRY\x10\x07\x12#\n\x1fPREMIUM_RATE_NUMBER_NOT_ALLOWED\x10\x08\x12\x1a\n\x16\x44ISALLOWED_NUMBER_TYPE\x10\t\x12\x16\n\x12VALUE_OUT_OF_RANGE\x10\n\x12*\n&CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x0b\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_CALLTRACKING\x10\x0c\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\r\x12\x12\n\x0eINVALID_APP_ID\x10\x0e\x12!\n\x1dMISSING_ATTRIBUTES_FOR_FIELDS\x10\x0f\x12\x13\n\x0fINVALID_TYPE_ID\x10\x10\x12\x19\n\x15INVALID_EMAIL_ADDRESS\x10\x11\x12\x15\n\x11INVALID_HTTPS_URL\x10\x12\x12\x1c\n\x18MISSING_DELIVERY_ADDRESS\x10\x13\x12\x1d\n\x19START_DATE_AFTER_END_DATE\x10\x14\x12 \n\x1cMISSING_FEED_ITEM_START_TIME\x10\x15\x12\x1e\n\x1aMISSING_FEED_ITEM_END_TIME\x10\x16\x12\x18\n\x14MISSING_FEED_ITEM_ID\x10\x17\x12#\n\x1fVANITY_PHONE_NUMBER_NOT_ALLOWED\x10\x18\x12$\n INVALID_REVIEW_EXTENSION_SNIPPET\x10\x19\x12\x19\n\x15INVALID_NUMBER_FORMAT\x10\x1a\x12\x17\n\x13INVALID_DATE_FORMAT\x10\x1b\x12\x18\n\x14INVALID_PRICE_FORMAT\x10\x1c\x12\x1d\n\x19UNKNOWN_PLACEHOLDER_FIELD\x10\x1d\x12.\n*MISSING_ENHANCED_SITELINK_DESCRIPTION_LINE\x10\x1e\x12&\n\"REVIEW_EXTENSION_SOURCE_INELIGIBLE\x10\x1f\x12\'\n#HYPHENS_IN_REVIEW_EXTENSION_SNIPPET\x10 \x12-\n)DOUBLE_QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10!\x12&\n\"QUOTES_IN_REVIEW_EXTENSION_SNIPPET\x10\"\x12\x1f\n\x1bINVALID_FORM_ENCODED_PARAMS\x10#\x12\x1e\n\x1aINVALID_URL_PARAMETER_NAME\x10$\x12\x17\n\x13NO_GEOCODING_RESULT\x10%\x12(\n$SOURCE_NAME_IN_REVIEW_EXTENSION_TEXT\x10&\x12-\n)CARRIER_SPECIFIC_SHORT_NUMBER_NOT_ALLOWED\x10\'\x12 \n\x1cINVALID_PLACEHOLDER_FIELD_ID\x10(\x12\x13\n\x0fINVALID_URL_TAG\x10)\x12\x11\n\rLIST_TOO_LONG\x10*\x12\"\n\x1eINVALID_ATTRIBUTES_COMBINATION\x10+\x12\x14\n\x10\x44UPLICATE_VALUES\x10,\x12%\n!INVALID_CALL_CONVERSION_ACTION_ID\x10-\x12!\n\x1d\x43\x41NNOT_SET_WITHOUT_FINAL_URLS\x10.\x12$\n APP_ID_DOESNT_EXIST_IN_APP_STORE\x10/\x12\x15\n\x11INVALID_FINAL_URL\x10\x30\x12\x18\n\x14INVALID_TRACKING_URL\x10\x31\x12*\n&INVALID_FINAL_URL_FOR_APP_DOWNLOAD_URL\x10\x32\x12\x12\n\x0eLIST_TOO_SHORT\x10\x33\x12\x17\n\x13INVALID_USER_ACTION\x10\x34\x12\x15\n\x11INVALID_TYPE_NAME\x10\x35\x12\x1f\n\x1bINVALID_EVENT_CHANGE_STATUS\x10\x36\x12\x1b\n\x17INVALID_SNIPPETS_HEADER\x10\x37\x12\x1c\n\x18INVALID_ANDROID_APP_LINK\x10\x38\x12;\n7NUMBER_TYPE_WITH_CALLTRACKING_NOT_SUPPORTED_FOR_COUNTRY\x10\x39\x12\x1a\n\x16RESERVED_KEYWORD_OTHER\x10:\x12\x1b\n\x17\x44UPLICATE_OPTION_LABELS\x10;\x12\x1d\n\x19\x44UPLICATE_OPTION_PREFILLS\x10<\x12\x18\n\x14UNEQUAL_LIST_LENGTHS\x10=\x12\x1f\n\x1bINCONSISTENT_CURRENCY_CODES\x10>\x12*\n&PRICE_EXTENSION_HAS_DUPLICATED_HEADERS\x10?\x12.\n*ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION\x10@\x12%\n!PRICE_EXTENSION_HAS_TOO_FEW_ITEMS\x10\x41\x12\x15\n\x11UNSUPPORTED_VALUE\x10\x42\x12\x1c\n\x18INVALID_FINAL_MOBILE_URL\x10\x43\x12%\n!INVALID_KEYWORDLESS_AD_RULE_LABEL\x10\x44\x12\'\n#VALUE_TRACK_PARAMETER_NOT_SUPPORTED\x10\x45\x12*\n&UNSUPPORTED_VALUE_IN_SELECTED_LANGUAGE\x10\x46\x12\x18\n\x14INVALID_IOS_APP_LINK\x10G\x12,\n(MISSING_IOS_APP_LINK_OR_IOS_APP_STORE_ID\x10H\x12\x1a\n\x16PROMOTION_INVALID_TIME\x10I\x12\x39\n5PROMOTION_CANNOT_SET_PERCENT_OFF_AND_MONEY_AMOUNT_OFF\x10J\x12>\n:PROMOTION_CANNOT_SET_PROMOTION_CODE_AND_ORDERS_OVER_AMOUNT\x10K\x12%\n!TOO_MANY_DECIMAL_PLACES_SPECIFIED\x10L\x12\x1e\n\x1a\x41\x44_CUSTOMIZERS_NOT_ALLOWED\x10M\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10N\x12\x18\n\x14UNSUPPORTED_LANGUAGE\x10O\x12\x1b\n\x17IF_FUNCTION_NOT_ALLOWED\x10P\x12\x1c\n\x18INVALID_FINAL_URL_SUFFIX\x10Q\x12#\n\x1fINVALID_TAG_IN_FINAL_URL_SUFFIX\x10R\x12#\n\x1fINVALID_FINAL_URL_SUFFIX_FORMAT\x10S\x12\x30\n,CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED\x10T\x12\'\n#ONLY_ONE_DELIVERY_OPTION_IS_ALLOWED\x10U\x12\x1d\n\x19NO_DELIVERY_OPTION_IS_SET\x10V\x12&\n\"INVALID_CONVERSION_REPORTING_STATE\x10W\x12\x14\n\x10IMAGE_SIZE_WRONG\x10X\x12+\n\'EMAIL_DELIVERY_NOT_AVAILABLE_IN_COUNTRY\x10Y\x12\'\n#AUTO_REPLY_NOT_AVAILABLE_IN_COUNTRY\x10Z\x12\x1a\n\x16INVALID_LATITUDE_VALUE\x10[\x12\x1b\n\x17INVALID_LONGITUDE_VALUE\x10\\\x12\x13\n\x0fTOO_MANY_LABELS\x10]\x12\x15\n\x11INVALID_IMAGE_URL\x10^\x12\x1a\n\x16MISSING_LATITUDE_VALUE\x10_\x12\x1b\n\x17MISSING_LONGITUDE_VALUE\x10`\x12\x15\n\x11\x41\x44\x44RESS_NOT_FOUND\x10\x61\x12\x1a\n\x16\x41\x44\x44RESS_NOT_TARGETABLE\x10\x62\x42\xf7\x01\n\"com.google.ads.googleads.v4.errorsB\x1c\x46\x65\x65\x64ItemValidationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR = _descriptor.EnumDescriptor( name='FeedItemValidationError', - full_name='google.ads.googleads.v1.errors.FeedItemValidationErrorEnum.FeedItemValidationError', + full_name='google.ads.googleads.v4.errors.FeedItemValidationErrorEnum.FeedItemValidationError', filename=None, file=DESCRIPTOR, values=[ @@ -421,18 +421,26 @@ name='MISSING_LONGITUDE_VALUE', index=96, number=96, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='ADDRESS_NOT_FOUND', index=97, number=97, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='ADDRESS_NOT_TARGETABLE', index=98, number=98, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=168, - serialized_end=3388, + serialized_end=3439, ) _sym_db.RegisterEnumDescriptor(_FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR) _FEEDITEMVALIDATIONERRORENUM = _descriptor.Descriptor( name='FeedItemValidationErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedItemValidationErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedItemValidationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -451,7 +459,7 @@ oneofs=[ ], serialized_start=136, - serialized_end=3388, + serialized_end=3439, ) _FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR.containing_type = _FEEDITEMVALIDATIONERRORENUM @@ -460,11 +468,11 @@ FeedItemValidationErrorEnum = _reflection.GeneratedProtocolMessageType('FeedItemValidationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMVALIDATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_item_validation_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_item_validation_error_pb2' , __doc__ = """Container for enum describing possible validation errors of a feed item. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedItemValidationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedItemValidationErrorEnum) )) _sym_db.RegisterMessage(FeedItemValidationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/mutate_job_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_item_validation_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/mutate_job_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_item_validation_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/feed_mapping_error_pb2.py b/google/ads/google_ads/v4/proto/errors/feed_mapping_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/feed_mapping_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/feed_mapping_error_pb2.py index 295cdf10c..03801ef55 100644 --- a/google/ads/google_ads/v1/proto/errors/feed_mapping_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/feed_mapping_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/feed_mapping_error.proto +# source: google/ads/googleads_v4/proto/errors/feed_mapping_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/feed_mapping_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/feed_mapping_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025FeedMappingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/feed_mapping_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xe7\x05\n\x14\x46\x65\x65\x64MappingErrorEnum\"\xce\x05\n\x10\x46\x65\x65\x64MappingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19INVALID_PLACEHOLDER_FIELD\x10\x02\x12\x1b\n\x17INVALID_CRITERION_FIELD\x10\x03\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x04\x12\x1a\n\x16INVALID_CRITERION_TYPE\x10\x05\x12\x1f\n\x1bNO_ATTRIBUTE_FIELD_MAPPINGS\x10\x07\x12 \n\x1c\x46\x45\x45\x44_ATTRIBUTE_TYPE_MISMATCH\x10\x08\x12\x38\n4CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED\x10\t\x12*\n&MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE\x10\n\x12(\n$MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE\x10\x0b\x12+\n\'MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD\x10\x0c\x12)\n%MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD\x10\r\x12\'\n#UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS\x10\x0e\x12.\n*LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS\x10\x0f\x12)\n%CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED\x10\x10\x12:\n6INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED\x10\x11\x12;\n7INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE\x10\x12\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15\x46\x65\x65\x64MappingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025FeedMappingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/feed_mapping_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x92\x06\n\x14\x46\x65\x65\x64MappingErrorEnum\"\xf9\x05\n\x10\x46\x65\x65\x64MappingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19INVALID_PLACEHOLDER_FIELD\x10\x02\x12\x1b\n\x17INVALID_CRITERION_FIELD\x10\x03\x12\x1c\n\x18INVALID_PLACEHOLDER_TYPE\x10\x04\x12\x1a\n\x16INVALID_CRITERION_TYPE\x10\x05\x12\x1f\n\x1bNO_ATTRIBUTE_FIELD_MAPPINGS\x10\x07\x12 \n\x1c\x46\x45\x45\x44_ATTRIBUTE_TYPE_MISMATCH\x10\x08\x12\x38\n4CANNOT_OPERATE_ON_MAPPINGS_FOR_SYSTEM_GENERATED_FEED\x10\t\x12*\n&MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_TYPE\x10\n\x12(\n$MULTIPLE_MAPPINGS_FOR_CRITERION_TYPE\x10\x0b\x12+\n\'MULTIPLE_MAPPINGS_FOR_PLACEHOLDER_FIELD\x10\x0c\x12)\n%MULTIPLE_MAPPINGS_FOR_CRITERION_FIELD\x10\r\x12\'\n#UNEXPECTED_ATTRIBUTE_FIELD_MAPPINGS\x10\x0e\x12.\n*LOCATION_PLACEHOLDER_ONLY_FOR_PLACES_FEEDS\x10\x0f\x12)\n%CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED\x10\x10\x12:\n6INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED\x10\x11\x12;\n7INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE\x10\x12\x12)\n%ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD\x10\x13\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15\x46\x65\x65\x64MappingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR = _descriptor.EnumDescriptor( name='FeedMappingError', - full_name='google.ads.googleads.v1.errors.FeedMappingErrorEnum.FeedMappingError', + full_name='google.ads.googleads.v4.errors.FeedMappingErrorEnum.FeedMappingError', filename=None, file=DESCRIPTOR, values=[ @@ -105,18 +105,22 @@ name='INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE', index=17, number=18, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD', index=18, number=19, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=153, - serialized_end=871, + serialized_end=914, ) _sym_db.RegisterEnumDescriptor(_FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR) _FEEDMAPPINGERRORENUM = _descriptor.Descriptor( name='FeedMappingErrorEnum', - full_name='google.ads.googleads.v1.errors.FeedMappingErrorEnum', + full_name='google.ads.googleads.v4.errors.FeedMappingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -135,7 +139,7 @@ oneofs=[ ], serialized_start=128, - serialized_end=871, + serialized_end=914, ) _FEEDMAPPINGERRORENUM_FEEDMAPPINGERROR.containing_type = _FEEDMAPPINGERRORENUM @@ -144,11 +148,11 @@ FeedMappingErrorEnum = _reflection.GeneratedProtocolMessageType('FeedMappingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FEEDMAPPINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.feed_mapping_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.feed_mapping_error_pb2' , __doc__ = """Container for enum describing possible feed item errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FeedMappingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FeedMappingErrorEnum) )) _sym_db.RegisterMessage(FeedMappingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/new_resource_creation_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/feed_mapping_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/new_resource_creation_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/feed_mapping_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/field_error_pb2.py b/google/ads/google_ads/v4/proto/errors/field_error_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/errors/field_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/field_error_pb2.py index cd78f187b..ed4e95ade 100644 --- a/google/ads/google_ads/v1/proto/errors/field_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/field_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/field_error.proto +# source: google/ads/googleads_v4/proto/errors/field_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/field_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/field_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017FieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/field_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x0e\x46ieldErrorEnum\"\xc9\x01\n\nFieldError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x13\n\x0fIMMUTABLE_FIELD\x10\x03\x12\x11\n\rINVALID_VALUE\x10\x04\x12\x17\n\x13VALUE_MUST_BE_UNSET\x10\x05\x12\x1a\n\x16REQUIRED_NONEMPTY_LIST\x10\x06\x12\x1b\n\x17\x46IELD_CANNOT_BE_CLEARED\x10\x07\x12\x15\n\x11\x42LACKLISTED_VALUE\x10\x08\x42\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0f\x46ieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017FieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/field_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xdc\x01\n\x0e\x46ieldErrorEnum\"\xc9\x01\n\nFieldError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0c\n\x08REQUIRED\x10\x02\x12\x13\n\x0fIMMUTABLE_FIELD\x10\x03\x12\x11\n\rINVALID_VALUE\x10\x04\x12\x17\n\x13VALUE_MUST_BE_UNSET\x10\x05\x12\x1a\n\x16REQUIRED_NONEMPTY_LIST\x10\x06\x12\x1b\n\x17\x46IELD_CANNOT_BE_CLEARED\x10\x07\x12\x15\n\x11\x42LACKLISTED_VALUE\x10\x08\x42\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0f\x46ieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FIELDERRORENUM_FIELDERROR = _descriptor.EnumDescriptor( name='FieldError', - full_name='google.ads.googleads.v1.errors.FieldErrorEnum.FieldError', + full_name='google.ads.googleads.v4.errors.FieldErrorEnum.FieldError', filename=None, file=DESCRIPTOR, values=[ @@ -80,7 +80,7 @@ _FIELDERRORENUM = _descriptor.Descriptor( name='FieldErrorEnum', - full_name='google.ads.googleads.v1.errors.FieldErrorEnum', + full_name='google.ads.googleads.v4.errors.FieldErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -108,11 +108,11 @@ FieldErrorEnum = _reflection.GeneratedProtocolMessageType('FieldErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FIELDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.field_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.field_error_pb2' , __doc__ = """Container for enum describing possible field errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FieldErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FieldErrorEnum) )) _sym_db.RegisterMessage(FieldErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/not_empty_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/field_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/not_empty_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/field_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/field_mask_error_pb2.py b/google/ads/google_ads/v4/proto/errors/field_mask_error_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/errors/field_mask_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/field_mask_error_pb2.py index f9fac8866..1b4e19db0 100644 --- a/google/ads/google_ads/v1/proto/errors/field_mask_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/field_mask_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/field_mask_error.proto +# source: google/ads/googleads_v4/proto/errors/field_mask_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/field_mask_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/field_mask_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023FieldMaskErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/field_mask_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n\x12\x46ieldMaskErrorEnum\"\x90\x01\n\x0e\x46ieldMaskError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12\x46IELD_MASK_MISSING\x10\x05\x12\x1a\n\x16\x46IELD_MASK_NOT_ALLOWED\x10\x04\x12\x13\n\x0f\x46IELD_NOT_FOUND\x10\x02\x12\x17\n\x13\x46IELD_HAS_SUBFIELDS\x10\x03\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13\x46ieldMaskErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023FieldMaskErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/field_mask_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xa7\x01\n\x12\x46ieldMaskErrorEnum\"\x90\x01\n\x0e\x46ieldMaskError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12\x46IELD_MASK_MISSING\x10\x05\x12\x1a\n\x16\x46IELD_MASK_NOT_ALLOWED\x10\x04\x12\x13\n\x0f\x46IELD_NOT_FOUND\x10\x02\x12\x17\n\x13\x46IELD_HAS_SUBFIELDS\x10\x03\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13\x46ieldMaskErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FIELDMASKERRORENUM_FIELDMASKERROR = _descriptor.EnumDescriptor( name='FieldMaskError', - full_name='google.ads.googleads.v1.errors.FieldMaskErrorEnum.FieldMaskError', + full_name='google.ads.googleads.v4.errors.FieldMaskErrorEnum.FieldMaskError', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _FIELDMASKERRORENUM = _descriptor.Descriptor( name='FieldMaskErrorEnum', - full_name='google.ads.googleads.v1.errors.FieldMaskErrorEnum', + full_name='google.ads.googleads.v4.errors.FieldMaskErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ FieldMaskErrorEnum = _reflection.GeneratedProtocolMessageType('FieldMaskErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FIELDMASKERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.field_mask_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.field_mask_error_pb2' , __doc__ = """Container for enum describing possible field mask errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FieldMaskErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FieldMaskErrorEnum) )) _sym_db.RegisterMessage(FieldMaskErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/not_whitelisted_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/field_mask_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/not_whitelisted_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/field_mask_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/function_error_pb2.py b/google/ads/google_ads/v4/proto/errors/function_error_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/errors/function_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/function_error_pb2.py index 465048da6..f34cf6347 100644 --- a/google/ads/google_ads/v1/proto/errors/function_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/function_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/function_error.proto +# source: google/ads/googleads_v4/proto/errors/function_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/function_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/function_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022FunctionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/function_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xc1\x04\n\x11\x46unctionErrorEnum\"\xab\x04\n\rFunctionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17INVALID_FUNCTION_FORMAT\x10\x02\x12\x16\n\x12\x44\x41TA_TYPE_MISMATCH\x10\x03\x12 \n\x1cINVALID_CONJUNCTION_OPERANDS\x10\x04\x12\x1e\n\x1aINVALID_NUMBER_OF_OPERANDS\x10\x05\x12\x18\n\x14INVALID_OPERAND_TYPE\x10\x06\x12\x14\n\x10INVALID_OPERATOR\x10\x07\x12 \n\x1cINVALID_REQUEST_CONTEXT_TYPE\x10\x08\x12)\n%INVALID_FUNCTION_FOR_CALL_PLACEHOLDER\x10\t\x12$\n INVALID_FUNCTION_FOR_PLACEHOLDER\x10\n\x12\x13\n\x0fINVALID_OPERAND\x10\x0b\x12\"\n\x1eMISSING_CONSTANT_OPERAND_VALUE\x10\x0c\x12\"\n\x1eINVALID_CONSTANT_OPERAND_VALUE\x10\r\x12\x13\n\x0fINVALID_NESTING\x10\x0e\x12#\n\x1fMULTIPLE_FEED_IDS_NOT_SUPPORTED\x10\x0f\x12/\n+INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA\x10\x10\x12\x1a\n\x16INVALID_ATTRIBUTE_NAME\x10\x11\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12\x46unctionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022FunctionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/function_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xc1\x04\n\x11\x46unctionErrorEnum\"\xab\x04\n\rFunctionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17INVALID_FUNCTION_FORMAT\x10\x02\x12\x16\n\x12\x44\x41TA_TYPE_MISMATCH\x10\x03\x12 \n\x1cINVALID_CONJUNCTION_OPERANDS\x10\x04\x12\x1e\n\x1aINVALID_NUMBER_OF_OPERANDS\x10\x05\x12\x18\n\x14INVALID_OPERAND_TYPE\x10\x06\x12\x14\n\x10INVALID_OPERATOR\x10\x07\x12 \n\x1cINVALID_REQUEST_CONTEXT_TYPE\x10\x08\x12)\n%INVALID_FUNCTION_FOR_CALL_PLACEHOLDER\x10\t\x12$\n INVALID_FUNCTION_FOR_PLACEHOLDER\x10\n\x12\x13\n\x0fINVALID_OPERAND\x10\x0b\x12\"\n\x1eMISSING_CONSTANT_OPERAND_VALUE\x10\x0c\x12\"\n\x1eINVALID_CONSTANT_OPERAND_VALUE\x10\r\x12\x13\n\x0fINVALID_NESTING\x10\x0e\x12#\n\x1fMULTIPLE_FEED_IDS_NOT_SUPPORTED\x10\x0f\x12/\n+INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA\x10\x10\x12\x1a\n\x16INVALID_ATTRIBUTE_NAME\x10\x11\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12\x46unctionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FUNCTIONERRORENUM_FUNCTIONERROR = _descriptor.EnumDescriptor( name='FunctionError', - full_name='google.ads.googleads.v1.errors.FunctionErrorEnum.FunctionError', + full_name='google.ads.googleads.v4.errors.FunctionErrorEnum.FunctionError', filename=None, file=DESCRIPTOR, values=[ @@ -116,7 +116,7 @@ _FUNCTIONERRORENUM = _descriptor.Descriptor( name='FunctionErrorEnum', - full_name='google.ads.googleads.v1.errors.FunctionErrorEnum', + full_name='google.ads.googleads.v4.errors.FunctionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -144,11 +144,11 @@ FunctionErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FUNCTIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.function_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.function_error_pb2' , __doc__ = """Container for enum describing possible function errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FunctionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FunctionErrorEnum) )) _sym_db.RegisterMessage(FunctionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/null_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/function_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/null_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/function_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/function_parsing_error_pb2.py b/google/ads/google_ads/v4/proto/errors/function_parsing_error_pb2.py similarity index 81% rename from google/ads/google_ads/v1/proto/errors/function_parsing_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/function_parsing_error_pb2.py index 5abbb1eb8..0aaa2a262 100644 --- a/google/ads/google_ads/v1/proto/errors/function_parsing_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/function_parsing_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/function_parsing_error.proto +# source: google/ads/googleads_v4/proto/errors/function_parsing_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/function_parsing_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/function_parsing_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\031FunctionParsingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/errors/function_parsing_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x03\n\x18\x46unctionParsingErrorEnum\"\xe5\x02\n\x14\x46unctionParsingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rNO_MORE_INPUT\x10\x02\x12\x16\n\x12\x45XPECTED_CHARACTER\x10\x03\x12\x18\n\x14UNEXPECTED_SEPARATOR\x10\x04\x12\x1a\n\x16UNMATCHED_LEFT_BRACKET\x10\x05\x12\x1b\n\x17UNMATCHED_RIGHT_BRACKET\x10\x06\x12\x1d\n\x19TOO_MANY_NESTED_FUNCTIONS\x10\x07\x12\x1e\n\x1aMISSING_RIGHT_HAND_OPERAND\x10\x08\x12\x19\n\x15INVALID_OPERATOR_NAME\x10\t\x12/\n+FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER\x10\n\x12\x0f\n\x0bNO_OPERANDS\x10\x0b\x12\x15\n\x11TOO_MANY_OPERANDS\x10\x0c\x42\xf4\x01\n\"com.google.ads.googleads.v1.errorsB\x19\x46unctionParsingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\031FunctionParsingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/errors/function_parsing_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x03\n\x18\x46unctionParsingErrorEnum\"\xe5\x02\n\x14\x46unctionParsingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rNO_MORE_INPUT\x10\x02\x12\x16\n\x12\x45XPECTED_CHARACTER\x10\x03\x12\x18\n\x14UNEXPECTED_SEPARATOR\x10\x04\x12\x1a\n\x16UNMATCHED_LEFT_BRACKET\x10\x05\x12\x1b\n\x17UNMATCHED_RIGHT_BRACKET\x10\x06\x12\x1d\n\x19TOO_MANY_NESTED_FUNCTIONS\x10\x07\x12\x1e\n\x1aMISSING_RIGHT_HAND_OPERAND\x10\x08\x12\x19\n\x15INVALID_OPERATOR_NAME\x10\t\x12/\n+FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER\x10\n\x12\x0f\n\x0bNO_OPERANDS\x10\x0b\x12\x15\n\x11TOO_MANY_OPERANDS\x10\x0c\x42\xf4\x01\n\"com.google.ads.googleads.v4.errorsB\x19\x46unctionParsingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _FUNCTIONPARSINGERRORENUM_FUNCTIONPARSINGERROR = _descriptor.EnumDescriptor( name='FunctionParsingError', - full_name='google.ads.googleads.v1.errors.FunctionParsingErrorEnum.FunctionParsingError', + full_name='google.ads.googleads.v4.errors.FunctionParsingErrorEnum.FunctionParsingError', filename=None, file=DESCRIPTOR, values=[ @@ -96,7 +96,7 @@ _FUNCTIONPARSINGERRORENUM = _descriptor.Descriptor( name='FunctionParsingErrorEnum', - full_name='google.ads.googleads.v1.errors.FunctionParsingErrorEnum', + full_name='google.ads.googleads.v4.errors.FunctionParsingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -124,11 +124,11 @@ FunctionParsingErrorEnum = _reflection.GeneratedProtocolMessageType('FunctionParsingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _FUNCTIONPARSINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.function_parsing_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.function_parsing_error_pb2' , __doc__ = """Container for enum describing possible function parsing errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.FunctionParsingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.FunctionParsingErrorEnum) )) _sym_db.RegisterMessage(FunctionParsingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/operation_access_denied_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/function_parsing_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/operation_access_denied_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/function_parsing_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/geo_target_constant_suggestion_error_pb2.py b/google/ads/google_ads/v4/proto/errors/geo_target_constant_suggestion_error_pb2.py similarity index 78% rename from google/ads/google_ads/v1/proto/errors/geo_target_constant_suggestion_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/geo_target_constant_suggestion_error_pb2.py index 2dd2ea6d9..03719e413 100644 --- a/google/ads/google_ads/v1/proto/errors/geo_target_constant_suggestion_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/geo_target_constant_suggestion_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/geo_target_constant_suggestion_error.proto +# source: google/ads/googleads_v4/proto/errors/geo_target_constant_suggestion_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/geo_target_constant_suggestion_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/geo_target_constant_suggestion_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB%GeoTargetConstantSuggestionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/errors/geo_target_constant_suggestion_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xd8\x01\n$GeoTargetConstantSuggestionErrorEnum\"\xaf\x01\n GeoTargetConstantSuggestionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18LOCATION_NAME_SIZE_LIMIT\x10\x02\x12\x17\n\x13LOCATION_NAME_LIMIT\x10\x03\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x04\x12\x1c\n\x18REQUEST_PARAMETERS_UNSET\x10\x05\x42\x80\x02\n\"com.google.ads.googleads.v1.errorsB%GeoTargetConstantSuggestionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB%GeoTargetConstantSuggestionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/errors/geo_target_constant_suggestion_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd8\x01\n$GeoTargetConstantSuggestionErrorEnum\"\xaf\x01\n GeoTargetConstantSuggestionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18LOCATION_NAME_SIZE_LIMIT\x10\x02\x12\x17\n\x13LOCATION_NAME_LIMIT\x10\x03\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\x04\x12\x1c\n\x18REQUEST_PARAMETERS_UNSET\x10\x05\x42\x80\x02\n\"com.google.ads.googleads.v4.errorsB%GeoTargetConstantSuggestionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _GEOTARGETCONSTANTSUGGESTIONERRORENUM_GEOTARGETCONSTANTSUGGESTIONERROR = _descriptor.EnumDescriptor( name='GeoTargetConstantSuggestionError', - full_name='google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError', + full_name='google.ads.googleads.v4.errors.GeoTargetConstantSuggestionErrorEnum.GeoTargetConstantSuggestionError', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _GEOTARGETCONSTANTSUGGESTIONERRORENUM = _descriptor.Descriptor( name='GeoTargetConstantSuggestionErrorEnum', - full_name='google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum', + full_name='google.ads.googleads.v4.errors.GeoTargetConstantSuggestionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,12 +96,12 @@ GeoTargetConstantSuggestionErrorEnum = _reflection.GeneratedProtocolMessageType('GeoTargetConstantSuggestionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _GEOTARGETCONSTANTSUGGESTIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.geo_target_constant_suggestion_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.geo_target_constant_suggestion_error_pb2' , __doc__ = """Container for enum describing possible geo target constant suggestion errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.GeoTargetConstantSuggestionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.GeoTargetConstantSuggestionErrorEnum) )) _sym_db.RegisterMessage(GeoTargetConstantSuggestionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/operator_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/operator_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/geo_target_constant_suggestion_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/header_error_pb2.py b/google/ads/google_ads/v4/proto/errors/header_error_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/errors/header_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/header_error_pb2.py index baf579035..591386bef 100644 --- a/google/ads/google_ads/v1/proto/errors/header_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/header_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/header_error.proto +# source: google/ads/googleads_v4/proto/errors/header_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/header_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/header_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\020HeaderErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/errors/header_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"]\n\x0fHeaderErrorEnum\"J\n\x0bHeaderError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19INVALID_LOGIN_CUSTOMER_ID\x10\x03\x42\xeb\x01\n\"com.google.ads.googleads.v1.errorsB\x10HeaderErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\020HeaderErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/errors/header_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"}\n\x0fHeaderErrorEnum\"j\n\x0bHeaderError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1d\n\x19INVALID_LOGIN_CUSTOMER_ID\x10\x03\x12\x1e\n\x1aINVALID_LINKED_CUSTOMER_ID\x10\x07\x42\xeb\x01\n\"com.google.ads.googleads.v4.errorsB\x10HeaderErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _HEADERERRORENUM_HEADERERROR = _descriptor.EnumDescriptor( name='HeaderError', - full_name='google.ads.googleads.v1.errors.HeaderErrorEnum.HeaderError', + full_name='google.ads.googleads.v4.errors.HeaderErrorEnum.HeaderError', filename=None, file=DESCRIPTOR, values=[ @@ -45,18 +45,22 @@ name='INVALID_LOGIN_CUSTOMER_ID', index=2, number=3, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_LINKED_CUSTOMER_ID', index=3, number=7, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=140, - serialized_end=214, + serialized_end=246, ) _sym_db.RegisterEnumDescriptor(_HEADERERRORENUM_HEADERERROR) _HEADERERRORENUM = _descriptor.Descriptor( name='HeaderErrorEnum', - full_name='google.ads.googleads.v1.errors.HeaderErrorEnum', + full_name='google.ads.googleads.v4.errors.HeaderErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -75,7 +79,7 @@ oneofs=[ ], serialized_start=121, - serialized_end=214, + serialized_end=246, ) _HEADERERRORENUM_HEADERERROR.containing_type = _HEADERERRORENUM @@ -84,11 +88,11 @@ HeaderErrorEnum = _reflection.GeneratedProtocolMessageType('HeaderErrorEnum', (_message.Message,), dict( DESCRIPTOR = _HEADERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.header_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.header_error_pb2' , __doc__ = """Container for enum describing possible header errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.HeaderErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.HeaderErrorEnum) )) _sym_db.RegisterMessage(HeaderErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/partial_failure_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/header_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/partial_failure_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/header_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/id_error_pb2.py b/google/ads/google_ads/v4/proto/errors/id_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/id_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/id_error_pb2.py index 7b7c76f56..21769fbb9 100644 --- a/google/ads/google_ads/v1/proto/errors/id_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/id_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/id_error.proto +# source: google/ads/googleads_v4/proto/errors/id_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/id_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/id_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\014IdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n3google/ads/googleads_v1/proto/errors/id_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"E\n\x0bIdErrorEnum\"6\n\x07IdError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tNOT_FOUND\x10\x02\x42\xe7\x01\n\"com.google.ads.googleads.v1.errorsB\x0cIdErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\014IdErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/errors/id_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"E\n\x0bIdErrorEnum\"6\n\x07IdError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tNOT_FOUND\x10\x02\x42\xe7\x01\n\"com.google.ads.googleads.v4.errorsB\x0cIdErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _IDERRORENUM_IDERROR = _descriptor.EnumDescriptor( name='IdError', - full_name='google.ads.googleads.v1.errors.IdErrorEnum.IdError', + full_name='google.ads.googleads.v4.errors.IdErrorEnum.IdError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _IDERRORENUM = _descriptor.Descriptor( name='IdErrorEnum', - full_name='google.ads.googleads.v1.errors.IdErrorEnum', + full_name='google.ads.googleads.v4.errors.IdErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ IdErrorEnum = _reflection.GeneratedProtocolMessageType('IdErrorEnum', (_message.Message,), dict( DESCRIPTOR = _IDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.id_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.id_error_pb2' , __doc__ = """Container for enum describing possible id errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.IdErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.IdErrorEnum) )) _sym_db.RegisterMessage(IdErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/policy_finding_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/id_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/policy_finding_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/id_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/image_error_pb2.py b/google/ads/google_ads/v4/proto/errors/image_error_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/errors/image_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/image_error_pb2.py index 5771ab5d9..7d4ca6306 100644 --- a/google/ads/google_ads/v1/proto/errors/image_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/image_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/image_error.proto +# source: google/ads/googleads_v4/proto/errors/image_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/image_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/image_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017ImageErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/image_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x8a\x08\n\x0eImageErrorEnum\"\xf7\x07\n\nImageError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rINVALID_IMAGE\x10\x02\x12\x11\n\rSTORAGE_ERROR\x10\x03\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x04\x12\x13\n\x0fUNEXPECTED_SIZE\x10\x05\x12\x18\n\x14\x41NIMATED_NOT_ALLOWED\x10\x06\x12\x16\n\x12\x41NIMATION_TOO_LONG\x10\x07\x12\x10\n\x0cSERVER_ERROR\x10\x08\x12\x19\n\x15\x43MYK_JPEG_NOT_ALLOWED\x10\t\x12\x15\n\x11\x46LASH_NOT_ALLOWED\x10\n\x12\x1a\n\x16\x46LASH_WITHOUT_CLICKTAG\x10\x0b\x12&\n\"FLASH_ERROR_AFTER_FIXING_CLICK_TAG\x10\x0c\x12\x1a\n\x16\x41NIMATED_VISUAL_EFFECT\x10\r\x12\x0f\n\x0b\x46LASH_ERROR\x10\x0e\x12\x12\n\x0eLAYOUT_PROBLEM\x10\x0f\x12\x1e\n\x1aPROBLEM_READING_IMAGE_FILE\x10\x10\x12\x17\n\x13\x45RROR_STORING_IMAGE\x10\x11\x12\x1c\n\x18\x41SPECT_RATIO_NOT_ALLOWED\x10\x12\x12\x1d\n\x19\x46LASH_HAS_NETWORK_OBJECTS\x10\x13\x12\x1d\n\x19\x46LASH_HAS_NETWORK_METHODS\x10\x14\x12\x11\n\rFLASH_HAS_URL\x10\x15\x12\x1c\n\x18\x46LASH_HAS_MOUSE_TRACKING\x10\x16\x12\x18\n\x14\x46LASH_HAS_RANDOM_NUM\x10\x17\x12\x16\n\x12\x46LASH_SELF_TARGETS\x10\x18\x12\x1b\n\x17\x46LASH_BAD_GETURL_TARGET\x10\x19\x12\x1f\n\x1b\x46LASH_VERSION_NOT_SUPPORTED\x10\x1a\x12&\n\"FLASH_WITHOUT_HARD_CODED_CLICK_URL\x10\x1b\x12\x16\n\x12INVALID_FLASH_FILE\x10\x1c\x12$\n FAILED_TO_FIX_CLICK_TAG_IN_FLASH\x10\x1d\x12$\n FLASH_ACCESSES_NETWORK_RESOURCES\x10\x1e\x12\x1a\n\x16\x46LASH_EXTERNAL_JS_CALL\x10\x1f\x12\x1a\n\x16\x46LASH_EXTERNAL_FS_CALL\x10 \x12\x12\n\x0e\x46ILE_TOO_LARGE\x10!\x12\x18\n\x14IMAGE_DATA_TOO_LARGE\x10\"\x12\x1a\n\x16IMAGE_PROCESSING_ERROR\x10#\x12\x13\n\x0fIMAGE_TOO_SMALL\x10$\x12\x11\n\rINVALID_INPUT\x10%\x12\x18\n\x14PROBLEM_READING_FILE\x10&B\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0fImageErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017ImageErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/image_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xaa\x08\n\x0eImageErrorEnum\"\x97\x08\n\nImageError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rINVALID_IMAGE\x10\x02\x12\x11\n\rSTORAGE_ERROR\x10\x03\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x04\x12\x13\n\x0fUNEXPECTED_SIZE\x10\x05\x12\x18\n\x14\x41NIMATED_NOT_ALLOWED\x10\x06\x12\x16\n\x12\x41NIMATION_TOO_LONG\x10\x07\x12\x10\n\x0cSERVER_ERROR\x10\x08\x12\x19\n\x15\x43MYK_JPEG_NOT_ALLOWED\x10\t\x12\x15\n\x11\x46LASH_NOT_ALLOWED\x10\n\x12\x1a\n\x16\x46LASH_WITHOUT_CLICKTAG\x10\x0b\x12&\n\"FLASH_ERROR_AFTER_FIXING_CLICK_TAG\x10\x0c\x12\x1a\n\x16\x41NIMATED_VISUAL_EFFECT\x10\r\x12\x0f\n\x0b\x46LASH_ERROR\x10\x0e\x12\x12\n\x0eLAYOUT_PROBLEM\x10\x0f\x12\x1e\n\x1aPROBLEM_READING_IMAGE_FILE\x10\x10\x12\x17\n\x13\x45RROR_STORING_IMAGE\x10\x11\x12\x1c\n\x18\x41SPECT_RATIO_NOT_ALLOWED\x10\x12\x12\x1d\n\x19\x46LASH_HAS_NETWORK_OBJECTS\x10\x13\x12\x1d\n\x19\x46LASH_HAS_NETWORK_METHODS\x10\x14\x12\x11\n\rFLASH_HAS_URL\x10\x15\x12\x1c\n\x18\x46LASH_HAS_MOUSE_TRACKING\x10\x16\x12\x18\n\x14\x46LASH_HAS_RANDOM_NUM\x10\x17\x12\x16\n\x12\x46LASH_SELF_TARGETS\x10\x18\x12\x1b\n\x17\x46LASH_BAD_GETURL_TARGET\x10\x19\x12\x1f\n\x1b\x46LASH_VERSION_NOT_SUPPORTED\x10\x1a\x12&\n\"FLASH_WITHOUT_HARD_CODED_CLICK_URL\x10\x1b\x12\x16\n\x12INVALID_FLASH_FILE\x10\x1c\x12$\n FAILED_TO_FIX_CLICK_TAG_IN_FLASH\x10\x1d\x12$\n FLASH_ACCESSES_NETWORK_RESOURCES\x10\x1e\x12\x1a\n\x16\x46LASH_EXTERNAL_JS_CALL\x10\x1f\x12\x1a\n\x16\x46LASH_EXTERNAL_FS_CALL\x10 \x12\x12\n\x0e\x46ILE_TOO_LARGE\x10!\x12\x18\n\x14IMAGE_DATA_TOO_LARGE\x10\"\x12\x1a\n\x16IMAGE_PROCESSING_ERROR\x10#\x12\x13\n\x0fIMAGE_TOO_SMALL\x10$\x12\x11\n\rINVALID_INPUT\x10%\x12\x18\n\x14PROBLEM_READING_FILE\x10&\x12\x1e\n\x1aIMAGE_CONSTRAINTS_VIOLATED\x10\'B\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0fImageErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _IMAGEERRORENUM_IMAGEERROR = _descriptor.EnumDescriptor( name='ImageError', - full_name='google.ads.googleads.v1.errors.ImageErrorEnum.ImageError', + full_name='google.ads.googleads.v4.errors.ImageErrorEnum.ImageError', filename=None, file=DESCRIPTOR, values=[ @@ -189,18 +189,22 @@ name='PROBLEM_READING_FILE', index=38, number=38, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='IMAGE_CONSTRAINTS_VIOLATED', index=39, number=39, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=140, - serialized_end=1155, + serialized_end=1187, ) _sym_db.RegisterEnumDescriptor(_IMAGEERRORENUM_IMAGEERROR) _IMAGEERRORENUM = _descriptor.Descriptor( name='ImageErrorEnum', - full_name='google.ads.googleads.v1.errors.ImageErrorEnum', + full_name='google.ads.googleads.v4.errors.ImageErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -219,7 +223,7 @@ oneofs=[ ], serialized_start=121, - serialized_end=1155, + serialized_end=1187, ) _IMAGEERRORENUM_IMAGEERROR.containing_type = _IMAGEERRORENUM @@ -228,11 +232,11 @@ ImageErrorEnum = _reflection.GeneratedProtocolMessageType('ImageErrorEnum', (_message.Message,), dict( DESCRIPTOR = _IMAGEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.image_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.image_error_pb2' , __doc__ = """Container for enum describing possible image errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ImageErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ImageErrorEnum) )) _sym_db.RegisterMessage(ImageErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/policy_validation_parameter_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/image_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/policy_validation_parameter_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/image_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/internal_error_pb2.py b/google/ads/google_ads/v4/proto/errors/internal_error_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/errors/internal_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/internal_error_pb2.py index db0049a5b..1fbb22960 100644 --- a/google/ads/google_ads/v1/proto/errors/internal_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/internal_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/internal_error.proto +# source: google/ads/googleads_v4/proto/errors/internal_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/internal_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/internal_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022InternalErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/internal_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x89\x01\n\x11InternalErrorEnum\"t\n\rInternalError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1c\n\x18\x45RROR_CODE_NOT_PUBLISHED\x10\x03\x12\x13\n\x0fTRANSIENT_ERROR\x10\x04\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12InternalErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022InternalErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/internal_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xa1\x01\n\x11InternalErrorEnum\"\x8b\x01\n\rInternalError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0eINTERNAL_ERROR\x10\x02\x12\x1c\n\x18\x45RROR_CODE_NOT_PUBLISHED\x10\x03\x12\x13\n\x0fTRANSIENT_ERROR\x10\x04\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x05\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12InternalErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _INTERNALERRORENUM_INTERNALERROR = _descriptor.EnumDescriptor( name='InternalError', - full_name='google.ads.googleads.v1.errors.InternalErrorEnum.InternalError', + full_name='google.ads.googleads.v4.errors.InternalErrorEnum.InternalError', filename=None, file=DESCRIPTOR, values=[ @@ -53,18 +53,22 @@ name='TRANSIENT_ERROR', index=4, number=4, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='DEADLINE_EXCEEDED', index=5, number=5, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, - serialized_start=145, - serialized_end=261, + serialized_start=146, + serialized_end=285, ) _sym_db.RegisterEnumDescriptor(_INTERNALERRORENUM_INTERNALERROR) _INTERNALERRORENUM = _descriptor.Descriptor( name='InternalErrorEnum', - full_name='google.ads.googleads.v1.errors.InternalErrorEnum', + full_name='google.ads.googleads.v4.errors.InternalErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -83,7 +87,7 @@ oneofs=[ ], serialized_start=124, - serialized_end=261, + serialized_end=285, ) _INTERNALERRORENUM_INTERNALERROR.containing_type = _INTERNALERRORENUM @@ -92,11 +96,11 @@ InternalErrorEnum = _reflection.GeneratedProtocolMessageType('InternalErrorEnum', (_message.Message,), dict( DESCRIPTOR = _INTERNALERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.internal_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.internal_error_pb2' , __doc__ = """Container for enum describing possible internal errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.InternalErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.InternalErrorEnum) )) _sym_db.RegisterMessage(InternalErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/policy_violation_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/internal_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/policy_violation_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/internal_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/invoice_error_pb2.py b/google/ads/google_ads/v4/proto/errors/invoice_error_pb2.py new file mode 100644 index 000000000..faad1382e --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/invoice_error_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/invoice_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/invoice_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\021InvoiceErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/errors/invoice_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"s\n\x10InvoiceErrorEnum\"_\n\x0cInvoiceError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12YEAR_MONTH_TOO_OLD\x10\x02\x12\x19\n\x15NOT_INVOICED_CUSTOMER\x10\x03\x42\xec\x01\n\"com.google.ads.googleads.v4.errorsB\x11InvoiceErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_INVOICEERRORENUM_INVOICEERROR = _descriptor.EnumDescriptor( + name='InvoiceError', + full_name='google.ads.googleads.v4.errors.InvoiceErrorEnum.InvoiceError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='YEAR_MONTH_TOO_OLD', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NOT_INVOICED_CUSTOMER', index=3, number=3, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=142, + serialized_end=237, +) +_sym_db.RegisterEnumDescriptor(_INVOICEERRORENUM_INVOICEERROR) + + +_INVOICEERRORENUM = _descriptor.Descriptor( + name='InvoiceErrorEnum', + full_name='google.ads.googleads.v4.errors.InvoiceErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _INVOICEERRORENUM_INVOICEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=122, + serialized_end=237, +) + +_INVOICEERRORENUM_INVOICEERROR.containing_type = _INVOICEERRORENUM +DESCRIPTOR.message_types_by_name['InvoiceErrorEnum'] = _INVOICEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +InvoiceErrorEnum = _reflection.GeneratedProtocolMessageType('InvoiceErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _INVOICEERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.invoice_error_pb2' + , + __doc__ = """Container for enum describing possible invoice errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.InvoiceErrorEnum) + )) +_sym_db.RegisterMessage(InvoiceErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/query_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/invoice_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/query_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/invoice_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_ad_group_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_error_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_ad_group_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_error_pb2.py index 9f6a9adbd..d0177cbe4 100644 --- a/google/ads/google_ads/v1/proto/errors/keyword_plan_ad_group_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/keyword_plan_ad_group_error.proto +# source: google/ads/googleads_v4/proto/errors/keyword_plan_ad_group_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/keyword_plan_ad_group_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/keyword_plan_ad_group_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\034KeywordPlanAdGroupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/errors/keyword_plan_ad_group_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"|\n\x1bKeywordPlanAdGroupErrorEnum\"]\n\x17KeywordPlanAdGroupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_NAME\x10\x02\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x03\x42\xf7\x01\n\"com.google.ads.googleads.v1.errorsB\x1cKeywordPlanAdGroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\034KeywordPlanAdGroupErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/errors/keyword_plan_ad_group_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"|\n\x1bKeywordPlanAdGroupErrorEnum\"]\n\x17KeywordPlanAdGroupError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_NAME\x10\x02\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x03\x42\xf7\x01\n\"com.google.ads.googleads.v4.errorsB\x1cKeywordPlanAdGroupErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _KEYWORDPLANADGROUPERRORENUM_KEYWORDPLANADGROUPERROR = _descriptor.EnumDescriptor( name='KeywordPlanAdGroupError', - full_name='google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError', + full_name='google.ads.googleads.v4.errors.KeywordPlanAdGroupErrorEnum.KeywordPlanAdGroupError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _KEYWORDPLANADGROUPERRORENUM = _descriptor.Descriptor( name='KeywordPlanAdGroupErrorEnum', - full_name='google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanAdGroupErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ KeywordPlanAdGroupErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupErrorEnum', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANADGROUPERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.keyword_plan_ad_group_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_ad_group_error_pb2' , __doc__ = """Container for enum describing possible errors from applying a keyword plan ad group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.KeywordPlanAdGroupErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanAdGroupErrorEnum) )) _sym_db.RegisterMessage(KeywordPlanAdGroupErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/quota_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/quota_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py new file mode 100644 index 000000000..755af7004 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2.py @@ -0,0 +1,122 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/keyword_plan_ad_group_keyword_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/keyword_plan_ad_group_keyword_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB#KeywordPlanAdGroupKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nNgoogle/ads/googleads_v4/proto/errors/keyword_plan_ad_group_keyword_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb2\x02\n\"KeywordPlanAdGroupKeywordErrorEnum\"\x8b\x02\n\x1eKeywordPlanAdGroupKeywordError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1e\n\x1aINVALID_KEYWORD_MATCH_TYPE\x10\x02\x12\x15\n\x11\x44UPLICATE_KEYWORD\x10\x03\x12\x19\n\x15KEYWORD_TEXT_TOO_LONG\x10\x04\x12\x1d\n\x19KEYWORD_HAS_INVALID_CHARS\x10\x05\x12\x1e\n\x1aKEYWORD_HAS_TOO_MANY_WORDS\x10\x06\x12\x18\n\x14INVALID_KEYWORD_TEXT\x10\x07\x12 \n\x1cNEGATIVE_KEYWORD_HAS_CPC_BID\x10\x08\x42\xfe\x01\n\"com.google.ads.googleads.v4.errorsB#KeywordPlanAdGroupKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR = _descriptor.EnumDescriptor( + name='KeywordPlanAdGroupKeywordError', + full_name='google.ads.googleads.v4.errors.KeywordPlanAdGroupKeywordErrorEnum.KeywordPlanAdGroupKeywordError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_KEYWORD_MATCH_TYPE', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='DUPLICATE_KEYWORD', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='KEYWORD_TEXT_TOO_LONG', index=4, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='KEYWORD_HAS_INVALID_CHARS', index=5, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='KEYWORD_HAS_TOO_MANY_WORDS', index=6, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_KEYWORD_TEXT', index=7, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NEGATIVE_KEYWORD_HAS_CPC_BID', index=8, number=8, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=184, + serialized_end=451, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR) + + +_KEYWORDPLANADGROUPKEYWORDERRORENUM = _descriptor.Descriptor( + name='KeywordPlanAdGroupKeywordErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanAdGroupKeywordErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=145, + serialized_end=451, +) + +_KEYWORDPLANADGROUPKEYWORDERRORENUM_KEYWORDPLANADGROUPKEYWORDERROR.containing_type = _KEYWORDPLANADGROUPKEYWORDERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanAdGroupKeywordErrorEnum'] = _KEYWORDPLANADGROUPKEYWORDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanAdGroupKeywordErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupKeywordErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANADGROUPKEYWORDERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_ad_group_keyword_error_pb2' + , + __doc__ = """Container for enum describing possible errors from applying an ad group + keyword or a campaign keyword from a keyword plan. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanAdGroupKeywordErrorEnum) + )) +_sym_db.RegisterMessage(KeywordPlanAdGroupKeywordErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/range_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/range_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_ad_group_keyword_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_campaign_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_error_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_campaign_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_error_pb2.py index e1f35ec11..56b0fdc12 100644 --- a/google/ads/google_ads/v1/proto/errors/keyword_plan_campaign_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/keyword_plan_campaign_error.proto +# source: google/ads/googleads_v4/proto/errors/keyword_plan_campaign_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/keyword_plan_campaign_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/keyword_plan_campaign_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\035KeywordPlanCampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/errors/keyword_plan_campaign_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xbf\x01\n\x1cKeywordPlanCampaignErrorEnum\"\x9e\x01\n\x18KeywordPlanCampaignError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_NAME\x10\x02\x12\x15\n\x11INVALID_LANGUAGES\x10\x03\x12\x10\n\x0cINVALID_GEOS\x10\x04\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x05\x12\x15\n\x11MAX_GEOS_EXCEEDED\x10\x06\x42\xf8\x01\n\"com.google.ads.googleads.v1.errorsB\x1dKeywordPlanCampaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\035KeywordPlanCampaignErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/errors/keyword_plan_campaign_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xdb\x01\n\x1cKeywordPlanCampaignErrorEnum\"\xba\x01\n\x18KeywordPlanCampaignError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cINVALID_NAME\x10\x02\x12\x15\n\x11INVALID_LANGUAGES\x10\x03\x12\x10\n\x0cINVALID_GEOS\x10\x04\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x05\x12\x15\n\x11MAX_GEOS_EXCEEDED\x10\x06\x12\x1a\n\x16MAX_LANGUAGES_EXCEEDED\x10\x07\x42\xf8\x01\n\"com.google.ads.googleads.v4.errorsB\x1dKeywordPlanCampaignErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR = _descriptor.EnumDescriptor( name='KeywordPlanCampaignError', - full_name='google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError', + full_name='google.ads.googleads.v4.errors.KeywordPlanCampaignErrorEnum.KeywordPlanCampaignError', filename=None, file=DESCRIPTOR, values=[ @@ -61,18 +61,22 @@ name='MAX_GEOS_EXCEEDED', index=6, number=6, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='MAX_LANGUAGES_EXCEEDED', index=7, number=7, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=170, - serialized_end=328, + serialized_end=356, ) _sym_db.RegisterEnumDescriptor(_KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR) _KEYWORDPLANCAMPAIGNERRORENUM = _descriptor.Descriptor( name='KeywordPlanCampaignErrorEnum', - full_name='google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanCampaignErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -91,7 +95,7 @@ oneofs=[ ], serialized_start=137, - serialized_end=328, + serialized_end=356, ) _KEYWORDPLANCAMPAIGNERRORENUM_KEYWORDPLANCAMPAIGNERROR.containing_type = _KEYWORDPLANCAMPAIGNERRORENUM @@ -100,12 +104,12 @@ KeywordPlanCampaignErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignErrorEnum', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANCAMPAIGNERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.keyword_plan_campaign_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_campaign_error_pb2' , __doc__ = """Container for enum describing possible errors from applying a keyword plan campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.KeywordPlanCampaignErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanCampaignErrorEnum) )) _sym_db.RegisterMessage(KeywordPlanCampaignErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/recommendation_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/recommendation_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2.py new file mode 100644 index 000000000..496c1852e --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2.py @@ -0,0 +1,98 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/keyword_plan_campaign_keyword_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/keyword_plan_campaign_keyword_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB$KeywordPlanCampaignKeywordErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nNgoogle/ads/googleads_v4/proto/errors/keyword_plan_campaign_keyword_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x88\x01\n#KeywordPlanCampaignKeywordErrorEnum\"a\n\x1fKeywordPlanCampaignKeywordError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12 \n\x1c\x43\x41MPAIGN_KEYWORD_IS_POSITIVE\x10\x08\x42\xff\x01\n\"com.google.ads.googleads.v4.errorsB$KeywordPlanCampaignKeywordErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR = _descriptor.EnumDescriptor( + name='KeywordPlanCampaignKeywordError', + full_name='google.ads.googleads.v4.errors.KeywordPlanCampaignKeywordErrorEnum.KeywordPlanCampaignKeywordError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CAMPAIGN_KEYWORD_IS_POSITIVE', index=2, number=8, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=184, + serialized_end=281, +) +_sym_db.RegisterEnumDescriptor(_KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR) + + +_KEYWORDPLANCAMPAIGNKEYWORDERRORENUM = _descriptor.Descriptor( + name='KeywordPlanCampaignKeywordErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanCampaignKeywordErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=145, + serialized_end=281, +) + +_KEYWORDPLANCAMPAIGNKEYWORDERRORENUM_KEYWORDPLANCAMPAIGNKEYWORDERROR.containing_type = _KEYWORDPLANCAMPAIGNKEYWORDERRORENUM +DESCRIPTOR.message_types_by_name['KeywordPlanCampaignKeywordErrorEnum'] = _KEYWORDPLANCAMPAIGNKEYWORDERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordPlanCampaignKeywordErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignKeywordErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANCAMPAIGNKEYWORDERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_campaign_keyword_error_pb2' + , + __doc__ = """Container for enum describing possible errors from applying a keyword + plan campaign keyword. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanCampaignKeywordErrorEnum) + )) +_sym_db.RegisterMessage(KeywordPlanCampaignKeywordErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/errors/region_code_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/region_code_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_campaign_keyword_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_error_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_error_pb2.py index 78485ade5..0efc174e2 100644 --- a/google/ads/google_ads/v1/proto/errors/keyword_plan_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/keyword_plan_error.proto +# source: google/ads/googleads_v4/proto/errors/keyword_plan_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/keyword_plan_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/keyword_plan_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025KeywordPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/keyword_plan_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xc8\x03\n\x14KeywordPlanErrorEnum\"\xaf\x03\n\x10KeywordPlanError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x42ID_MULTIPLIER_OUT_OF_RANGE\x10\x02\x12\x10\n\x0c\x42ID_TOO_HIGH\x10\x03\x12\x0f\n\x0b\x42ID_TOO_LOW\x10\x04\x12\"\n\x1e\x42ID_TOO_MANY_FRACTIONAL_DIGITS\x10\x05\x12\x18\n\x14\x44\x41ILY_BUDGET_TOO_LOW\x10\x06\x12+\n\'DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS\x10\x07\x12\x11\n\rINVALID_VALUE\x10\x08\x12 \n\x1cKEYWORD_PLAN_HAS_NO_KEYWORDS\x10\t\x12\x1c\n\x18KEYWORD_PLAN_NOT_ENABLED\x10\n\x12\x1a\n\x16KEYWORD_PLAN_NOT_FOUND\x10\x0b\x12\x0f\n\x0bMISSING_BID\x10\r\x12\x1b\n\x17MISSING_FORECAST_PERIOD\x10\x0e\x12\x1f\n\x1bINVALID_FORECAST_DATE_RANGE\x10\x0f\x12\x10\n\x0cINVALID_NAME\x10\x10\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15KeywordPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025KeywordPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/keyword_plan_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xc8\x03\n\x14KeywordPlanErrorEnum\"\xaf\x03\n\x10KeywordPlanError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x42ID_MULTIPLIER_OUT_OF_RANGE\x10\x02\x12\x10\n\x0c\x42ID_TOO_HIGH\x10\x03\x12\x0f\n\x0b\x42ID_TOO_LOW\x10\x04\x12\"\n\x1e\x42ID_TOO_MANY_FRACTIONAL_DIGITS\x10\x05\x12\x18\n\x14\x44\x41ILY_BUDGET_TOO_LOW\x10\x06\x12+\n\'DAILY_BUDGET_TOO_MANY_FRACTIONAL_DIGITS\x10\x07\x12\x11\n\rINVALID_VALUE\x10\x08\x12 \n\x1cKEYWORD_PLAN_HAS_NO_KEYWORDS\x10\t\x12\x1c\n\x18KEYWORD_PLAN_NOT_ENABLED\x10\n\x12\x1a\n\x16KEYWORD_PLAN_NOT_FOUND\x10\x0b\x12\x0f\n\x0bMISSING_BID\x10\r\x12\x1b\n\x17MISSING_FORECAST_PERIOD\x10\x0e\x12\x1f\n\x1bINVALID_FORECAST_DATE_RANGE\x10\x0f\x12\x10\n\x0cINVALID_NAME\x10\x10\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15KeywordPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _KEYWORDPLANERRORENUM_KEYWORDPLANERROR = _descriptor.EnumDescriptor( name='KeywordPlanError', - full_name='google.ads.googleads.v1.errors.KeywordPlanErrorEnum.KeywordPlanError', + full_name='google.ads.googleads.v4.errors.KeywordPlanErrorEnum.KeywordPlanError', filename=None, file=DESCRIPTOR, values=[ @@ -108,7 +108,7 @@ _KEYWORDPLANERRORENUM = _descriptor.Descriptor( name='KeywordPlanErrorEnum', - full_name='google.ads.googleads.v1.errors.KeywordPlanErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -136,13 +136,13 @@ KeywordPlanErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanErrorEnum', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.keyword_plan_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_error_pb2' , __doc__ = """Container for enum describing possible errors from applying a keyword plan resource (keyword plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) or KeywordPlanService RPC. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.KeywordPlanErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanErrorEnum) )) _sym_db.RegisterMessage(KeywordPlanErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/request_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/request_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/keyword_plan_idea_error_pb2.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_idea_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/keyword_plan_idea_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_idea_error_pb2.py index 22bd4b544..fb5b4cf2a 100644 --- a/google/ads/google_ads/v1/proto/errors/keyword_plan_idea_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/keyword_plan_idea_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/keyword_plan_idea_error.proto +# source: google/ads/googleads_v4/proto/errors/keyword_plan_idea_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/keyword_plan_idea_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/keyword_plan_idea_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\031KeywordPlanIdeaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/errors/keyword_plan_idea_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"x\n\x18KeywordPlanIdeaErrorEnum\"\\\n\x14KeywordPlanIdeaError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fURL_CRAWL_ERROR\x10\x02\x12\x11\n\rINVALID_VALUE\x10\x03\x42\xf4\x01\n\"com.google.ads.googleads.v1.errorsB\x19KeywordPlanIdeaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\031KeywordPlanIdeaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/errors/keyword_plan_idea_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"x\n\x18KeywordPlanIdeaErrorEnum\"\\\n\x14KeywordPlanIdeaError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fURL_CRAWL_ERROR\x10\x02\x12\x11\n\rINVALID_VALUE\x10\x03\x42\xf4\x01\n\"com.google.ads.googleads.v4.errorsB\x19KeywordPlanIdeaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _KEYWORDPLANIDEAERRORENUM_KEYWORDPLANIDEAERROR = _descriptor.EnumDescriptor( name='KeywordPlanIdeaError', - full_name='google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError', + full_name='google.ads.googleads.v4.errors.KeywordPlanIdeaErrorEnum.KeywordPlanIdeaError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _KEYWORDPLANIDEAERRORENUM = _descriptor.Descriptor( name='KeywordPlanIdeaErrorEnum', - full_name='google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum', + full_name='google.ads.googleads.v4.errors.KeywordPlanIdeaErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,12 +88,12 @@ KeywordPlanIdeaErrorEnum = _reflection.GeneratedProtocolMessageType('KeywordPlanIdeaErrorEnum', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANIDEAERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.keyword_plan_idea_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.keyword_plan_idea_error_pb2' , __doc__ = """Container for enum describing possible errors from KeywordPlanIdeaService. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.KeywordPlanIdeaErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.KeywordPlanIdeaErrorEnum) )) _sym_db.RegisterMessage(KeywordPlanIdeaErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/resource_access_denied_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/keyword_plan_idea_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/resource_access_denied_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/keyword_plan_idea_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/label_error_pb2.py b/google/ads/google_ads/v4/proto/errors/label_error_pb2.py similarity index 79% rename from google/ads/google_ads/v1/proto/errors/label_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/label_error_pb2.py index 360e30713..a49558ed8 100644 --- a/google/ads/google_ads/v1/proto/errors/label_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/label_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/label_error.proto +# source: google/ads/googleads_v4/proto/errors/label_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/label_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/label_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017LabelErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/label_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x96\x03\n\x0eLabelErrorEnum\"\x83\x03\n\nLabelError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x43\x41NNOT_APPLY_INACTIVE_LABEL\x10\x02\x12\x35\n1CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION\x10\x03\x12\x35\n1CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION\x10\x04\x12!\n\x1d\x45XCEEDED_LABEL_LIMIT_PER_TYPE\x10\x05\x12&\n\"INVALID_RESOURCE_FOR_MANAGER_LABEL\x10\x06\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x07\x12\x16\n\x12INVALID_LABEL_NAME\x10\x08\x12 \n\x1c\x43\x41NNOT_ATTACH_LABEL_TO_DRAFT\x10\t\x12/\n+CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER\x10\nB\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0fLabelErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017LabelErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/label_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x96\x03\n\x0eLabelErrorEnum\"\x83\x03\n\nLabelError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x43\x41NNOT_APPLY_INACTIVE_LABEL\x10\x02\x12\x35\n1CANNOT_APPLY_LABEL_TO_DISABLED_AD_GROUP_CRITERION\x10\x03\x12\x35\n1CANNOT_APPLY_LABEL_TO_NEGATIVE_AD_GROUP_CRITERION\x10\x04\x12!\n\x1d\x45XCEEDED_LABEL_LIMIT_PER_TYPE\x10\x05\x12&\n\"INVALID_RESOURCE_FOR_MANAGER_LABEL\x10\x06\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x07\x12\x16\n\x12INVALID_LABEL_NAME\x10\x08\x12 \n\x1c\x43\x41NNOT_ATTACH_LABEL_TO_DRAFT\x10\t\x12/\n+CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER\x10\nB\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0fLabelErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _LABELERRORENUM_LABELERROR = _descriptor.EnumDescriptor( name='LabelError', - full_name='google.ads.googleads.v1.errors.LabelErrorEnum.LabelError', + full_name='google.ads.googleads.v4.errors.LabelErrorEnum.LabelError', filename=None, file=DESCRIPTOR, values=[ @@ -88,7 +88,7 @@ _LABELERRORENUM = _descriptor.Descriptor( name='LabelErrorEnum', - full_name='google.ads.googleads.v1.errors.LabelErrorEnum', + full_name='google.ads.googleads.v4.errors.LabelErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -116,11 +116,11 @@ LabelErrorEnum = _reflection.GeneratedProtocolMessageType('LabelErrorEnum', (_message.Message,), dict( DESCRIPTOR = _LABELERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.label_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.label_error_pb2' , __doc__ = """Container for enum describing possible label errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.LabelErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.LabelErrorEnum) )) _sym_db.RegisterMessage(LabelErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/label_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/resource_count_limit_exceeded_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/label_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/language_code_error_pb2.py b/google/ads/google_ads/v4/proto/errors/language_code_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/language_code_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/language_code_error_pb2.py index 808acd818..dda1cf890 100644 --- a/google/ads/google_ads/v1/proto/errors/language_code_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/language_code_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/language_code_error.proto +# source: google/ads/googleads_v4/proto/errors/language_code_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/language_code_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/language_code_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026LanguageCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/language_code_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x01\n\x15LanguageCodeErrorEnum\"i\n\x11LanguageCodeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17LANGUAGE_CODE_NOT_FOUND\x10\x02\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16LanguageCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026LanguageCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/language_code_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x82\x01\n\x15LanguageCodeErrorEnum\"i\n\x11LanguageCodeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17LANGUAGE_CODE_NOT_FOUND\x10\x02\x12\x19\n\x15INVALID_LANGUAGE_CODE\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16LanguageCodeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _LANGUAGECODEERRORENUM_LANGUAGECODEERROR = _descriptor.EnumDescriptor( name='LanguageCodeError', - full_name='google.ads.googleads.v1.errors.LanguageCodeErrorEnum.LanguageCodeError', + full_name='google.ads.googleads.v4.errors.LanguageCodeErrorEnum.LanguageCodeError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _LANGUAGECODEERRORENUM = _descriptor.Descriptor( name='LanguageCodeErrorEnum', - full_name='google.ads.googleads.v1.errors.LanguageCodeErrorEnum', + full_name='google.ads.googleads.v4.errors.LanguageCodeErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ LanguageCodeErrorEnum = _reflection.GeneratedProtocolMessageType('LanguageCodeErrorEnum', (_message.Message,), dict( DESCRIPTOR = _LANGUAGECODEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.language_code_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.language_code_error_pb2' , __doc__ = """Container for enum describing language code errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.LanguageCodeErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.LanguageCodeErrorEnum) )) _sym_db.RegisterMessage(LanguageCodeErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/setting_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/language_code_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/setting_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/language_code_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/list_operation_error_pb2.py b/google/ads/google_ads/v4/proto/errors/list_operation_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/list_operation_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/list_operation_error_pb2.py index 05ec4062b..7d0341166 100644 --- a/google/ads/google_ads/v1/proto/errors/list_operation_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/list_operation_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/list_operation_error.proto +# source: google/ads/googleads_v4/proto/errors/list_operation_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/list_operation_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/list_operation_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\027ListOperationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/errors/list_operation_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"~\n\x16ListOperationErrorEnum\"d\n\x12ListOperationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x14\n\x10\x44UPLICATE_VALUES\x10\x08\x42\xf2\x01\n\"com.google.ads.googleads.v1.errorsB\x17ListOperationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\027ListOperationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/errors/list_operation_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"~\n\x16ListOperationErrorEnum\"d\n\x12ListOperationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16REQUIRED_FIELD_MISSING\x10\x07\x12\x14\n\x10\x44UPLICATE_VALUES\x10\x08\x42\xf2\x01\n\"com.google.ads.googleads.v4.errorsB\x17ListOperationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _LISTOPERATIONERRORENUM_LISTOPERATIONERROR = _descriptor.EnumDescriptor( name='ListOperationError', - full_name='google.ads.googleads.v1.errors.ListOperationErrorEnum.ListOperationError', + full_name='google.ads.googleads.v4.errors.ListOperationErrorEnum.ListOperationError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _LISTOPERATIONERRORENUM = _descriptor.Descriptor( name='ListOperationErrorEnum', - full_name='google.ads.googleads.v1.errors.ListOperationErrorEnum', + full_name='google.ads.googleads.v4.errors.ListOperationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ ListOperationErrorEnum = _reflection.GeneratedProtocolMessageType('ListOperationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _LISTOPERATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.list_operation_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.list_operation_error_pb2' , __doc__ = """Container for enum describing possible list operation errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ListOperationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ListOperationErrorEnum) )) _sym_db.RegisterMessage(ListOperationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/shared_criterion_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/list_operation_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/shared_criterion_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/list_operation_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/manager_link_error_pb2.py b/google/ads/google_ads/v4/proto/errors/manager_link_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/manager_link_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/manager_link_error_pb2.py index a56e9b7d0..0b0f5ff27 100644 --- a/google/ads/google_ads/v1/proto/errors/manager_link_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/manager_link_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/manager_link_error.proto +# source: google/ads/googleads_v4/proto/errors/manager_link_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/manager_link_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/manager_link_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025ManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/manager_link_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xfd\x03\n\x14ManagerLinkErrorEnum\"\xe4\x03\n\x10ManagerLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING\x10\x02\x12\x15\n\x11TOO_MANY_MANAGERS\x10\x03\x12\x14\n\x10TOO_MANY_INVITES\x10\x04\x12#\n\x1f\x41LREADY_INVITED_BY_THIS_MANAGER\x10\x05\x12#\n\x1f\x41LREADY_MANAGED_BY_THIS_MANAGER\x10\x06\x12 \n\x1c\x41LREADY_MANAGED_IN_HIERARCHY\x10\x07\x12\x19\n\x15\x44UPLICATE_CHILD_FOUND\x10\x08\x12\x1c\n\x18\x43LIENT_HAS_NO_ADMIN_USER\x10\t\x12\x16\n\x12MAX_DEPTH_EXCEEDED\x10\n\x12\x15\n\x11\x43YCLE_NOT_ALLOWED\x10\x0b\x12\x15\n\x11TOO_MANY_ACCOUNTS\x10\x0c\x12 \n\x1cTOO_MANY_ACCOUNTS_AT_MANAGER\x10\r\x12%\n!NON_OWNER_USER_CANNOT_MODIFY_LINK\x10\x0e\x12(\n$SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS\x10\x0f\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15ManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025ManagerLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/manager_link_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xc5\x04\n\x14ManagerLinkErrorEnum\"\xac\x04\n\x10ManagerLinkError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\'\n#ACCOUNTS_NOT_COMPATIBLE_FOR_LINKING\x10\x02\x12\x15\n\x11TOO_MANY_MANAGERS\x10\x03\x12\x14\n\x10TOO_MANY_INVITES\x10\x04\x12#\n\x1f\x41LREADY_INVITED_BY_THIS_MANAGER\x10\x05\x12#\n\x1f\x41LREADY_MANAGED_BY_THIS_MANAGER\x10\x06\x12 \n\x1c\x41LREADY_MANAGED_IN_HIERARCHY\x10\x07\x12\x19\n\x15\x44UPLICATE_CHILD_FOUND\x10\x08\x12\x1c\n\x18\x43LIENT_HAS_NO_ADMIN_USER\x10\t\x12\x16\n\x12MAX_DEPTH_EXCEEDED\x10\n\x12\x15\n\x11\x43YCLE_NOT_ALLOWED\x10\x0b\x12\x15\n\x11TOO_MANY_ACCOUNTS\x10\x0c\x12 \n\x1cTOO_MANY_ACCOUNTS_AT_MANAGER\x10\r\x12%\n!NON_OWNER_USER_CANNOT_MODIFY_LINK\x10\x0e\x12(\n$SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS\x10\x0f\x12\x17\n\x13\x43LIENT_OUTSIDE_TREE\x10\x10\x12\x19\n\x15INVALID_STATUS_CHANGE\x10\x11\x12\x12\n\x0eINVALID_CHANGE\x10\x12\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15ManagerLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MANAGERLINKERRORENUM_MANAGERLINKERROR = _descriptor.EnumDescriptor( name='ManagerLinkError', - full_name='google.ads.googleads.v1.errors.ManagerLinkErrorEnum.ManagerLinkError', + full_name='google.ads.googleads.v4.errors.ManagerLinkErrorEnum.ManagerLinkError', filename=None, file=DESCRIPTOR, values=[ @@ -97,18 +97,30 @@ name='SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS', index=15, number=15, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='CLIENT_OUTSIDE_TREE', index=16, number=16, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_STATUS_CHANGE', index=17, number=17, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_CHANGE', index=18, number=18, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=153, - serialized_end=637, + serialized_end=709, ) _sym_db.RegisterEnumDescriptor(_MANAGERLINKERRORENUM_MANAGERLINKERROR) _MANAGERLINKERRORENUM = _descriptor.Descriptor( name='ManagerLinkErrorEnum', - full_name='google.ads.googleads.v1.errors.ManagerLinkErrorEnum', + full_name='google.ads.googleads.v4.errors.ManagerLinkErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -127,7 +139,7 @@ oneofs=[ ], serialized_start=128, - serialized_end=637, + serialized_end=709, ) _MANAGERLINKERRORENUM_MANAGERLINKERROR.containing_type = _MANAGERLINKERRORENUM @@ -136,11 +148,11 @@ ManagerLinkErrorEnum = _reflection.GeneratedProtocolMessageType('ManagerLinkErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MANAGERLINKERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.manager_link_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.manager_link_error_pb2' , __doc__ = """Container for enum describing possible ManagerLink errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.ManagerLinkErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ManagerLinkErrorEnum) )) _sym_db.RegisterMessage(ManagerLinkErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/shared_set_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/manager_link_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/shared_set_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/manager_link_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/media_bundle_error_pb2.py b/google/ads/google_ads/v4/proto/errors/media_bundle_error_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/errors/media_bundle_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/media_bundle_error_pb2.py index 9fe3c88d7..ec394b1c6 100644 --- a/google/ads/google_ads/v1/proto/errors/media_bundle_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/media_bundle_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/media_bundle_error.proto +# source: google/ads/googleads_v4/proto/errors/media_bundle_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/media_bundle_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/media_bundle_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025MediaBundleErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/media_bundle_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb8\x05\n\x14MediaBundleErrorEnum\"\x9f\x05\n\x10MediaBundleError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x03\x12\"\n\x1e\x44OUBLECLICK_BUNDLE_NOT_ALLOWED\x10\x04\x12\x1c\n\x18\x45XTERNAL_URL_NOT_ALLOWED\x10\x05\x12\x12\n\x0e\x46ILE_TOO_LARGE\x10\x06\x12.\n*GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED\x10\x07\x12\x11\n\rINVALID_INPUT\x10\x08\x12\x18\n\x14INVALID_MEDIA_BUNDLE\x10\t\x12\x1e\n\x1aINVALID_MEDIA_BUNDLE_ENTRY\x10\n\x12\x15\n\x11INVALID_MIME_TYPE\x10\x0b\x12\x10\n\x0cINVALID_PATH\x10\x0c\x12\x19\n\x15INVALID_URL_REFERENCE\x10\r\x12\x18\n\x14MEDIA_DATA_TOO_LARGE\x10\x0e\x12&\n\"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY\x10\x0f\x12\x10\n\x0cSERVER_ERROR\x10\x10\x12\x11\n\rSTORAGE_ERROR\x10\x11\x12\x1d\n\x19SWIFFY_BUNDLE_NOT_ALLOWED\x10\x12\x12\x12\n\x0eTOO_MANY_FILES\x10\x13\x12\x13\n\x0fUNEXPECTED_SIZE\x10\x14\x12/\n+UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT\x10\x15\x12\x1d\n\x19UNSUPPORTED_HTML5_FEATURE\x10\x16\x12)\n%URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT\x10\x17\x12\x1b\n\x17\x43USTOM_EXIT_NOT_ALLOWED\x10\x18\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15MediaBundleErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025MediaBundleErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/media_bundle_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb8\x05\n\x14MediaBundleErrorEnum\"\x9f\x05\n\x10MediaBundleError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0b\x42\x41\x44_REQUEST\x10\x03\x12\"\n\x1e\x44OUBLECLICK_BUNDLE_NOT_ALLOWED\x10\x04\x12\x1c\n\x18\x45XTERNAL_URL_NOT_ALLOWED\x10\x05\x12\x12\n\x0e\x46ILE_TOO_LARGE\x10\x06\x12.\n*GOOGLE_WEB_DESIGNER_ZIP_FILE_NOT_PUBLISHED\x10\x07\x12\x11\n\rINVALID_INPUT\x10\x08\x12\x18\n\x14INVALID_MEDIA_BUNDLE\x10\t\x12\x1e\n\x1aINVALID_MEDIA_BUNDLE_ENTRY\x10\n\x12\x15\n\x11INVALID_MIME_TYPE\x10\x0b\x12\x10\n\x0cINVALID_PATH\x10\x0c\x12\x19\n\x15INVALID_URL_REFERENCE\x10\r\x12\x18\n\x14MEDIA_DATA_TOO_LARGE\x10\x0e\x12&\n\"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY\x10\x0f\x12\x10\n\x0cSERVER_ERROR\x10\x10\x12\x11\n\rSTORAGE_ERROR\x10\x11\x12\x1d\n\x19SWIFFY_BUNDLE_NOT_ALLOWED\x10\x12\x12\x12\n\x0eTOO_MANY_FILES\x10\x13\x12\x13\n\x0fUNEXPECTED_SIZE\x10\x14\x12/\n+UNSUPPORTED_GOOGLE_WEB_DESIGNER_ENVIRONMENT\x10\x15\x12\x1d\n\x19UNSUPPORTED_HTML5_FEATURE\x10\x16\x12)\n%URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT\x10\x17\x12\x1b\n\x17\x43USTOM_EXIT_NOT_ALLOWED\x10\x18\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15MediaBundleErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MEDIABUNDLEERRORENUM_MEDIABUNDLEERROR = _descriptor.EnumDescriptor( name='MediaBundleError', - full_name='google.ads.googleads.v1.errors.MediaBundleErrorEnum.MediaBundleError', + full_name='google.ads.googleads.v4.errors.MediaBundleErrorEnum.MediaBundleError', filename=None, file=DESCRIPTOR, values=[ @@ -140,7 +140,7 @@ _MEDIABUNDLEERRORENUM = _descriptor.Descriptor( name='MediaBundleErrorEnum', - full_name='google.ads.googleads.v1.errors.MediaBundleErrorEnum', + full_name='google.ads.googleads.v4.errors.MediaBundleErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -168,11 +168,11 @@ MediaBundleErrorEnum = _reflection.GeneratedProtocolMessageType('MediaBundleErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MEDIABUNDLEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.media_bundle_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.media_bundle_error_pb2' , __doc__ = """Container for enum describing possible media bundle errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.MediaBundleErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.MediaBundleErrorEnum) )) _sym_db.RegisterMessage(MediaBundleErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/size_limit_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/media_bundle_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/size_limit_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/media_bundle_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/media_file_error_pb2.py b/google/ads/google_ads/v4/proto/errors/media_file_error_pb2.py similarity index 86% rename from google/ads/google_ads/v1/proto/errors/media_file_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/media_file_error_pb2.py index 66f69c8e7..cdc557e93 100644 --- a/google/ads/google_ads/v1/proto/errors/media_file_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/media_file_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/media_file_error.proto +# source: google/ads/googleads_v4/proto/errors/media_file_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/media_file_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/media_file_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023MediaFileErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/media_file_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x97\x06\n\x12MediaFileErrorEnum\"\x80\x06\n\x0eMediaFileError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x43\x41NNOT_CREATE_STANDARD_ICON\x10\x02\x12\x30\n,CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES\x10\x03\x12)\n%CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA\x10\x04\x12\x13\n\x0f\x44UPLICATE_MEDIA\x10\x05\x12\x0f\n\x0b\x45MPTY_FIELD\x10\x06\x12\'\n#RESOURCE_REFERENCED_IN_MULTIPLE_OPS\x10\x07\x12*\n&FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE\x10\x08\x12\x19\n\x15INVALID_MEDIA_FILE_ID\x10\t\x12\x1a\n\x16INVALID_MEDIA_SUB_TYPE\x10\n\x12\x1b\n\x17INVALID_MEDIA_FILE_TYPE\x10\x0b\x12\x15\n\x11INVALID_MIME_TYPE\x10\x0c\x12\x18\n\x14INVALID_REFERENCE_ID\x10\r\x12\x17\n\x13INVALID_YOU_TUBE_ID\x10\x0e\x12!\n\x1dMEDIA_FILE_FAILED_TRANSCODING\x10\x0f\x12\x18\n\x14MEDIA_NOT_TRANSCODED\x10\x10\x12-\n)MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE\x10\x11\x12\x17\n\x13NO_FIELDS_SPECIFIED\x10\x12\x12\"\n\x1eNULL_REFERENCE_ID_AND_MEDIA_ID\x10\x13\x12\x0c\n\x08TOO_LONG\x10\x14\x12\x14\n\x10UNSUPPORTED_TYPE\x10\x15\x12 \n\x1cYOU_TUBE_SERVICE_UNAVAILABLE\x10\x16\x12,\n(YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION\x10\x17\x12\x1c\n\x18YOU_TUBE_VIDEO_NOT_FOUND\x10\x18\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13MediaFileErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023MediaFileErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/media_file_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x97\x06\n\x12MediaFileErrorEnum\"\x80\x06\n\x0eMediaFileError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1b\x43\x41NNOT_CREATE_STANDARD_ICON\x10\x02\x12\x30\n,CANNOT_SELECT_STANDARD_ICON_WITH_OTHER_TYPES\x10\x03\x12)\n%CANNOT_SPECIFY_MEDIA_FILE_ID_AND_DATA\x10\x04\x12\x13\n\x0f\x44UPLICATE_MEDIA\x10\x05\x12\x0f\n\x0b\x45MPTY_FIELD\x10\x06\x12\'\n#RESOURCE_REFERENCED_IN_MULTIPLE_OPS\x10\x07\x12*\n&FIELD_NOT_SUPPORTED_FOR_MEDIA_SUB_TYPE\x10\x08\x12\x19\n\x15INVALID_MEDIA_FILE_ID\x10\t\x12\x1a\n\x16INVALID_MEDIA_SUB_TYPE\x10\n\x12\x1b\n\x17INVALID_MEDIA_FILE_TYPE\x10\x0b\x12\x15\n\x11INVALID_MIME_TYPE\x10\x0c\x12\x18\n\x14INVALID_REFERENCE_ID\x10\r\x12\x17\n\x13INVALID_YOU_TUBE_ID\x10\x0e\x12!\n\x1dMEDIA_FILE_FAILED_TRANSCODING\x10\x0f\x12\x18\n\x14MEDIA_NOT_TRANSCODED\x10\x10\x12-\n)MEDIA_TYPE_DOES_NOT_MATCH_MEDIA_FILE_TYPE\x10\x11\x12\x17\n\x13NO_FIELDS_SPECIFIED\x10\x12\x12\"\n\x1eNULL_REFERENCE_ID_AND_MEDIA_ID\x10\x13\x12\x0c\n\x08TOO_LONG\x10\x14\x12\x14\n\x10UNSUPPORTED_TYPE\x10\x15\x12 \n\x1cYOU_TUBE_SERVICE_UNAVAILABLE\x10\x16\x12,\n(YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION\x10\x17\x12\x1c\n\x18YOU_TUBE_VIDEO_NOT_FOUND\x10\x18\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13MediaFileErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MEDIAFILEERRORENUM_MEDIAFILEERROR = _descriptor.EnumDescriptor( name='MediaFileError', - full_name='google.ads.googleads.v1.errors.MediaFileErrorEnum.MediaFileError', + full_name='google.ads.googleads.v4.errors.MediaFileErrorEnum.MediaFileError', filename=None, file=DESCRIPTOR, values=[ @@ -144,7 +144,7 @@ _MEDIAFILEERRORENUM = _descriptor.Descriptor( name='MediaFileErrorEnum', - full_name='google.ads.googleads.v1.errors.MediaFileErrorEnum', + full_name='google.ads.googleads.v4.errors.MediaFileErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -172,11 +172,11 @@ MediaFileErrorEnum = _reflection.GeneratedProtocolMessageType('MediaFileErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MEDIAFILEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.media_file_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.media_file_error_pb2' , __doc__ = """Container for enum describing possible media file errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.MediaFileErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.MediaFileErrorEnum) )) _sym_db.RegisterMessage(MediaFileErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/string_format_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/media_file_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/string_format_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/media_file_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/media_upload_error_pb2.py b/google/ads/google_ads/v4/proto/errors/media_upload_error_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/errors/media_upload_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/media_upload_error_pb2.py index e48784b08..6c66104d9 100644 --- a/google/ads/google_ads/v1/proto/errors/media_upload_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/media_upload_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/media_upload_error.proto +# source: google/ads/googleads_v4/proto/errors/media_upload_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/media_upload_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/media_upload_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\025MediaUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/errors/media_upload_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n\x14MediaUploadErrorEnum\"\x91\x01\n\x10MediaUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x46ILE_TOO_BIG\x10\x02\x12\x15\n\x11UNPARSEABLE_IMAGE\x10\x03\x12\x1e\n\x1a\x41NIMATED_IMAGE_NOT_ALLOWED\x10\x04\x12\x16\n\x12\x46ORMAT_NOT_ALLOWED\x10\x05\x42\xf0\x01\n\"com.google.ads.googleads.v1.errorsB\x15MediaUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\025MediaUploadErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/errors/media_upload_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x8b\x02\n\x14MediaUploadErrorEnum\"\xf2\x01\n\x10MediaUploadError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0c\x46ILE_TOO_BIG\x10\x02\x12\x15\n\x11UNPARSEABLE_IMAGE\x10\x03\x12\x1e\n\x1a\x41NIMATED_IMAGE_NOT_ALLOWED\x10\x04\x12\x16\n\x12\x46ORMAT_NOT_ALLOWED\x10\x05\x12\x1c\n\x18\x45XTERNAL_URL_NOT_ALLOWED\x10\x06\x12\x19\n\x15INVALID_URL_REFERENCE\x10\x07\x12&\n\"MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY\x10\x08\x42\xf0\x01\n\"com.google.ads.googleads.v4.errorsB\x15MediaUploadErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR = _descriptor.EnumDescriptor( name='MediaUploadError', - full_name='google.ads.googleads.v1.errors.MediaUploadErrorEnum.MediaUploadError', + full_name='google.ads.googleads.v4.errors.MediaUploadErrorEnum.MediaUploadError', filename=None, file=DESCRIPTOR, values=[ @@ -57,18 +57,30 @@ name='FORMAT_NOT_ALLOWED', index=5, number=5, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_URL_NOT_ALLOWED', index=6, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_URL_REFERENCE', index=7, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY', index=8, number=8, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=153, - serialized_end=298, + serialized_end=395, ) _sym_db.RegisterEnumDescriptor(_MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR) _MEDIAUPLOADERRORENUM = _descriptor.Descriptor( name='MediaUploadErrorEnum', - full_name='google.ads.googleads.v1.errors.MediaUploadErrorEnum', + full_name='google.ads.googleads.v4.errors.MediaUploadErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -87,7 +99,7 @@ oneofs=[ ], serialized_start=128, - serialized_end=298, + serialized_end=395, ) _MEDIAUPLOADERRORENUM_MEDIAUPLOADERROR.containing_type = _MEDIAUPLOADERRORENUM @@ -96,11 +108,11 @@ MediaUploadErrorEnum = _reflection.GeneratedProtocolMessageType('MediaUploadErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MEDIAUPLOADERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.media_upload_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.media_upload_error_pb2' , __doc__ = """Container for enum describing possible media uploading errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.MediaUploadErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.MediaUploadErrorEnum) )) _sym_db.RegisterMessage(MediaUploadErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/string_length_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/media_upload_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/string_length_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/media_upload_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/multiplier_error_pb2.py b/google/ads/google_ads/v4/proto/errors/multiplier_error_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/errors/multiplier_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/multiplier_error_pb2.py index 8984968fc..d08e348c1 100644 --- a/google/ads/google_ads/v1/proto/errors/multiplier_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/multiplier_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/multiplier_error.proto +# source: google/ads/googleads_v4/proto/errors/multiplier_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/multiplier_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/multiplier_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\024MultiplierErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/multiplier_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xcf\x04\n\x13MultiplierErrorEnum\"\xb7\x04\n\x0fMultiplierError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13MULTIPLIER_TOO_HIGH\x10\x02\x12\x16\n\x12MULTIPLIER_TOO_LOW\x10\x03\x12\x1e\n\x1aTOO_MANY_FRACTIONAL_DIGITS\x10\x04\x12/\n+MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY\x10\x05\x12\x33\n/MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING\x10\x06\x12\x1b\n\x17NO_MULTIPLIER_SPECIFIED\x10\x07\x12\x30\n,MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET\x10\x08\x12\x32\n.MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET\x10\t\x12\x31\n-MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET\x10\n\x12\x33\n/MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID\x10\x0b\x12\x31\n-BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER\x10\x0c\x12\x31\n-MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH\x10\rB\xef\x01\n\"com.google.ads.googleads.v1.errorsB\x14MultiplierErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\024MultiplierErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/multiplier_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xcf\x04\n\x13MultiplierErrorEnum\"\xb7\x04\n\x0fMultiplierError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x17\n\x13MULTIPLIER_TOO_HIGH\x10\x02\x12\x16\n\x12MULTIPLIER_TOO_LOW\x10\x03\x12\x1e\n\x1aTOO_MANY_FRACTIONAL_DIGITS\x10\x04\x12/\n+MULTIPLIER_NOT_ALLOWED_FOR_BIDDING_STRATEGY\x10\x05\x12\x33\n/MULTIPLIER_NOT_ALLOWED_WHEN_BASE_BID_IS_MISSING\x10\x06\x12\x1b\n\x17NO_MULTIPLIER_SPECIFIED\x10\x07\x12\x30\n,MULTIPLIER_CAUSES_BID_TO_EXCEED_DAILY_BUDGET\x10\x08\x12\x32\n.MULTIPLIER_CAUSES_BID_TO_EXCEED_MONTHLY_BUDGET\x10\t\x12\x31\n-MULTIPLIER_CAUSES_BID_TO_EXCEED_CUSTOM_BUDGET\x10\n\x12\x33\n/MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID\x10\x0b\x12\x31\n-BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER\x10\x0c\x12\x31\n-MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH\x10\rB\xef\x01\n\"com.google.ads.googleads.v4.errorsB\x14MultiplierErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MULTIPLIERERRORENUM_MULTIPLIERERROR = _descriptor.EnumDescriptor( name='MultiplierError', - full_name='google.ads.googleads.v1.errors.MultiplierErrorEnum.MultiplierError', + full_name='google.ads.googleads.v4.errors.MultiplierErrorEnum.MultiplierError', filename=None, file=DESCRIPTOR, values=[ @@ -100,7 +100,7 @@ _MULTIPLIERERRORENUM = _descriptor.Descriptor( name='MultiplierErrorEnum', - full_name='google.ads.googleads.v1.errors.MultiplierErrorEnum', + full_name='google.ads.googleads.v4.errors.MultiplierErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -128,11 +128,11 @@ MultiplierErrorEnum = _reflection.GeneratedProtocolMessageType('MultiplierErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MULTIPLIERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.multiplier_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.multiplier_error_pb2' , __doc__ = """Container for enum describing possible multiplier errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.MultiplierErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.MultiplierErrorEnum) )) _sym_db.RegisterMessage(MultiplierErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/url_field_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/multiplier_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/url_field_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/multiplier_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/mutate_error_pb2.py b/google/ads/google_ads/v4/proto/errors/mutate_error_pb2.py similarity index 66% rename from google/ads/google_ads/v1/proto/errors/mutate_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/mutate_error_pb2.py index c32b7aec6..ae12d14a1 100644 --- a/google/ads/google_ads/v1/proto/errors/mutate_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/mutate_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/mutate_error.proto +# source: google/ads/googleads_v4/proto/errors/mutate_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/mutate_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/mutate_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\020MutateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/errors/mutate_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xee\x01\n\x0fMutateErrorEnum\"\xda\x01\n\x0bMutateError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12!\n\x1dID_EXISTS_IN_MULTIPLE_MUTATES\x10\x07\x12\x1d\n\x19INCONSISTENT_FIELD_VALUES\x10\x08\x12\x16\n\x12MUTATE_NOT_ALLOWED\x10\t\x12\x1e\n\x1aRESOURCE_NOT_IN_GOOGLE_ADS\x10\n\x12\x1b\n\x17RESOURCE_ALREADY_EXISTS\x10\x0b\x42\xeb\x01\n\"com.google.ads.googleads.v1.errorsB\x10MutateErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\020MutateErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/errors/mutate_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb3\x02\n\x0fMutateErrorEnum\"\x9f\x02\n\x0bMutateError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12!\n\x1dID_EXISTS_IN_MULTIPLE_MUTATES\x10\x07\x12\x1d\n\x19INCONSISTENT_FIELD_VALUES\x10\x08\x12\x16\n\x12MUTATE_NOT_ALLOWED\x10\t\x12\x1e\n\x1aRESOURCE_NOT_IN_GOOGLE_ADS\x10\n\x12\x1b\n\x17RESOURCE_ALREADY_EXISTS\x10\x0b\x12+\n\'RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY\x10\x0c\x12\x16\n\x12RESOURCE_READ_ONLY\x10\rB\xeb\x01\n\"com.google.ads.googleads.v4.errorsB\x10MutateErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _MUTATEERRORENUM_MUTATEERROR = _descriptor.EnumDescriptor( name='MutateError', - full_name='google.ads.googleads.v1.errors.MutateErrorEnum.MutateError', + full_name='google.ads.googleads.v4.errors.MutateErrorEnum.MutateError', filename=None, file=DESCRIPTOR, values=[ @@ -65,18 +65,26 @@ name='RESOURCE_ALREADY_EXISTS', index=7, number=11, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY', index=8, number=12, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='RESOURCE_READ_ONLY', index=9, number=13, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, serialized_start=142, - serialized_end=360, + serialized_end=429, ) _sym_db.RegisterEnumDescriptor(_MUTATEERRORENUM_MUTATEERROR) _MUTATEERRORENUM = _descriptor.Descriptor( name='MutateErrorEnum', - full_name='google.ads.googleads.v1.errors.MutateErrorEnum', + full_name='google.ads.googleads.v4.errors.MutateErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -95,7 +103,7 @@ oneofs=[ ], serialized_start=122, - serialized_end=360, + serialized_end=429, ) _MUTATEERRORENUM_MUTATEERROR.containing_type = _MUTATEERRORENUM @@ -104,11 +112,11 @@ MutateErrorEnum = _reflection.GeneratedProtocolMessageType('MutateErrorEnum', (_message.Message,), dict( DESCRIPTOR = _MUTATEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.mutate_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.mutate_error_pb2' , __doc__ = """Container for enum describing possible mutate errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.MutateErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.MutateErrorEnum) )) _sym_db.RegisterMessage(MutateErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/user_list_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/mutate_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/user_list_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/mutate_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/new_resource_creation_error_pb2.py b/google/ads/google_ads/v4/proto/errors/new_resource_creation_error_pb2.py similarity index 76% rename from google/ads/google_ads/v1/proto/errors/new_resource_creation_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/new_resource_creation_error_pb2.py index 375885064..b66c1507d 100644 --- a/google/ads/google_ads/v1/proto/errors/new_resource_creation_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/new_resource_creation_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/new_resource_creation_error.proto +# source: google/ads/googleads_v4/proto/errors/new_resource_creation_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/new_resource_creation_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/new_resource_creation_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\035NewResourceCreationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/errors/new_resource_creation_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb0\x01\n\x1cNewResourceCreationErrorEnum\"\x8f\x01\n\x18NewResourceCreationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18\x43\x41NNOT_SET_ID_FOR_CREATE\x10\x02\x12\x16\n\x12\x44UPLICATE_TEMP_IDS\x10\x03\x12\x1f\n\x1bTEMP_ID_RESOURCE_HAD_ERRORS\x10\x04\x42\xf8\x01\n\"com.google.ads.googleads.v1.errorsB\x1dNewResourceCreationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\035NewResourceCreationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/errors/new_resource_creation_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb0\x01\n\x1cNewResourceCreationErrorEnum\"\x8f\x01\n\x18NewResourceCreationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1c\n\x18\x43\x41NNOT_SET_ID_FOR_CREATE\x10\x02\x12\x16\n\x12\x44UPLICATE_TEMP_IDS\x10\x03\x12\x1f\n\x1bTEMP_ID_RESOURCE_HAD_ERRORS\x10\x04\x42\xf8\x01\n\"com.google.ads.googleads.v4.errorsB\x1dNewResourceCreationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _NEWRESOURCECREATIONERRORENUM_NEWRESOURCECREATIONERROR = _descriptor.EnumDescriptor( name='NewResourceCreationError', - full_name='google.ads.googleads.v1.errors.NewResourceCreationErrorEnum.NewResourceCreationError', + full_name='google.ads.googleads.v4.errors.NewResourceCreationErrorEnum.NewResourceCreationError', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _NEWRESOURCECREATIONERRORENUM = _descriptor.Descriptor( name='NewResourceCreationErrorEnum', - full_name='google.ads.googleads.v1.errors.NewResourceCreationErrorEnum', + full_name='google.ads.googleads.v4.errors.NewResourceCreationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ NewResourceCreationErrorEnum = _reflection.GeneratedProtocolMessageType('NewResourceCreationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _NEWRESOURCECREATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.new_resource_creation_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.new_resource_creation_error_pb2' , __doc__ = """Container for enum describing possible new resource creation errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.NewResourceCreationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.NewResourceCreationErrorEnum) )) _sym_db.RegisterMessage(NewResourceCreationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/errors/youtube_video_registration_error_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/new_resource_creation_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/errors/youtube_video_registration_error_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/new_resource_creation_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/not_empty_error_pb2.py b/google/ads/google_ads/v4/proto/errors/not_empty_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/not_empty_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/not_empty_error_pb2.py index 786b38fd7..acefebadc 100644 --- a/google/ads/google_ads/v1/proto/errors/not_empty_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/not_empty_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/not_empty_error.proto +# source: google/ads/googleads_v4/proto/errors/not_empty_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/not_empty_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/not_empty_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022NotEmptyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/errors/not_empty_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"R\n\x11NotEmptyErrorEnum\"=\n\rNotEmptyError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nEMPTY_LIST\x10\x02\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12NotEmptyErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022NotEmptyErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/not_empty_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"R\n\x11NotEmptyErrorEnum\"=\n\rNotEmptyError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0e\n\nEMPTY_LIST\x10\x02\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12NotEmptyErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _NOTEMPTYERRORENUM_NOTEMPTYERROR = _descriptor.EnumDescriptor( name='NotEmptyError', - full_name='google.ads.googleads.v1.errors.NotEmptyErrorEnum.NotEmptyError', + full_name='google.ads.googleads.v4.errors.NotEmptyErrorEnum.NotEmptyError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _NOTEMPTYERRORENUM = _descriptor.Descriptor( name='NotEmptyErrorEnum', - full_name='google.ads.googleads.v1.errors.NotEmptyErrorEnum', + full_name='google.ads.googleads.v4.errors.NotEmptyErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ NotEmptyErrorEnum = _reflection.GeneratedProtocolMessageType('NotEmptyErrorEnum', (_message.Message,), dict( DESCRIPTOR = _NOTEMPTYERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.not_empty_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.not_empty_error_pb2' , __doc__ = """Container for enum describing possible not empty errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.NotEmptyErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.NotEmptyErrorEnum) )) _sym_db.RegisterMessage(NotEmptyErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/account_budget_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/not_empty_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/account_budget_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/not_empty_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/not_whitelisted_error_pb2.py b/google/ads/google_ads/v4/proto/errors/not_whitelisted_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/not_whitelisted_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/not_whitelisted_error_pb2.py index 85e78f253..304aa4233 100644 --- a/google/ads/google_ads/v1/proto/errors/not_whitelisted_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/not_whitelisted_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/not_whitelisted_error.proto +# source: google/ads/googleads_v4/proto/errors/not_whitelisted_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/not_whitelisted_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/not_whitelisted_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030NotWhitelistedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/errors/not_whitelisted_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"}\n\x17NotWhitelistedErrorEnum\"b\n\x13NotWhitelistedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE\x10\x02\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18NotWhitelistedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030NotWhitelistedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/errors/not_whitelisted_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"}\n\x17NotWhitelistedErrorEnum\"b\n\x13NotWhitelistedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12-\n)CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE\x10\x02\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18NotWhitelistedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _NOTWHITELISTEDERRORENUM_NOTWHITELISTEDERROR = _descriptor.EnumDescriptor( name='NotWhitelistedError', - full_name='google.ads.googleads.v1.errors.NotWhitelistedErrorEnum.NotWhitelistedError', + full_name='google.ads.googleads.v4.errors.NotWhitelistedErrorEnum.NotWhitelistedError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _NOTWHITELISTEDERRORENUM = _descriptor.Descriptor( name='NotWhitelistedErrorEnum', - full_name='google.ads.googleads.v1.errors.NotWhitelistedErrorEnum', + full_name='google.ads.googleads.v4.errors.NotWhitelistedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ NotWhitelistedErrorEnum = _reflection.GeneratedProtocolMessageType('NotWhitelistedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _NOTWHITELISTEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.not_whitelisted_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.not_whitelisted_error_pb2' , __doc__ = """Container for enum describing possible not whitelisted errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.NotWhitelistedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.NotWhitelistedErrorEnum) )) _sym_db.RegisterMessage(NotWhitelistedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/account_budget_proposal_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/not_whitelisted_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/account_budget_proposal_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/not_whitelisted_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/null_error_pb2.py b/google/ads/google_ads/v4/proto/errors/null_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/null_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/null_error_pb2.py index 3a79c78f0..2f534023c 100644 --- a/google/ads/google_ads/v1/proto/errors/null_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/null_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/null_error.proto +# source: google/ads/googleads_v4/proto/errors/null_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/null_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/null_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\016NullErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n5google/ads/googleads_v1/proto/errors/null_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"L\n\rNullErrorEnum\";\n\tNullError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cNULL_CONTENT\x10\x02\x42\xe9\x01\n\"com.google.ads.googleads.v1.errorsB\x0eNullErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\016NullErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/errors/null_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"L\n\rNullErrorEnum\";\n\tNullError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cNULL_CONTENT\x10\x02\x42\xe9\x01\n\"com.google.ads.googleads.v4.errorsB\x0eNullErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _NULLERRORENUM_NULLERROR = _descriptor.EnumDescriptor( name='NullError', - full_name='google.ads.googleads.v1.errors.NullErrorEnum.NullError', + full_name='google.ads.googleads.v4.errors.NullErrorEnum.NullError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _NULLERRORENUM = _descriptor.Descriptor( name='NullErrorEnum', - full_name='google.ads.googleads.v1.errors.NullErrorEnum', + full_name='google.ads.googleads.v4.errors.NullErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ NullErrorEnum = _reflection.GeneratedProtocolMessageType('NullErrorEnum', (_message.Message,), dict( DESCRIPTOR = _NULLERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.null_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.null_error_pb2' , __doc__ = """Container for enum describing possible null errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.NullErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.NullErrorEnum) )) _sym_db.RegisterMessage(NullErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_ad_label_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/null_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_ad_label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/null_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2.py b/google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2.py new file mode 100644 index 000000000..b331acb76 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2.py @@ -0,0 +1,201 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/offline_user_data_job_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/offline_user_data_job_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\034OfflineUserDataJobErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/errors/offline_user_data_job_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x90\x07\n\x1bOfflineUserDataJobErrorEnum\"\xf0\x06\n\x17OfflineUserDataJobError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14INVALID_USER_LIST_ID\x10\x03\x12\x1a\n\x16INVALID_USER_LIST_TYPE\x10\x04\x12\x1f\n\x1bNOT_WHITELISTED_FOR_USER_ID\x10\x05\x12 \n\x1cINCOMPATIBLE_UPLOAD_KEY_TYPE\x10\x06\x12\x1b\n\x17MISSING_USER_IDENTIFIER\x10\x07\x12\x1c\n\x18INVALID_MOBILE_ID_FORMAT\x10\x08\x12\x1d\n\x19TOO_MANY_USER_IDENTIFIERS\x10\t\x12*\n&NOT_WHITELISTED_FOR_STORE_SALES_DIRECT\x10\n\x12+\n\'NOT_WHITELISTED_FOR_UNIFIED_STORE_SALES\x10\x1c\x12\x16\n\x12INVALID_PARTNER_ID\x10\x0b\x12\x14\n\x10INVALID_ENCODING\x10\x0c\x12\x18\n\x14INVALID_COUNTRY_CODE\x10\r\x12 \n\x1cINCOMPATIBLE_USER_IDENTIFIER\x10\x0e\x12\x1b\n\x17\x46UTURE_TRANSACTION_TIME\x10\x0f\x12\x1d\n\x19INVALID_CONVERSION_ACTION\x10\x10\x12\x1b\n\x17MOBILE_ID_NOT_SUPPORTED\x10\x11\x12\x1b\n\x17INVALID_OPERATION_ORDER\x10\x12\x12\x19\n\x15\x43ONFLICTING_OPERATION\x10\x13\x12%\n!EXTERNAL_UPDATE_ID_ALREADY_EXISTS\x10\x15\x12\x17\n\x13JOB_ALREADY_STARTED\x10\x16\x12\x18\n\x14REMOVE_NOT_SUPPORTED\x10\x17\x12\x1c\n\x18REMOVE_ALL_NOT_SUPPORTED\x10\x18\x12\x19\n\x15INVALID_SHA256_FORMAT\x10\x19\x12\x17\n\x13\x43USTOM_KEY_DISABLED\x10\x1a\x12\x1d\n\x19\x43USTOM_KEY_NOT_PREDEFINED\x10\x1b\x12\x16\n\x12\x43USTOM_KEY_NOT_SET\x10\x1d\x12-\n)CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS\x10\x1e\x42\xf7\x01\n\"com.google.ads.googleads.v4.errorsB\x1cOfflineUserDataJobErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR = _descriptor.EnumDescriptor( + name='OfflineUserDataJobError', + full_name='google.ads.googleads.v4.errors.OfflineUserDataJobErrorEnum.OfflineUserDataJobError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_LIST_ID', index=2, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_USER_LIST_TYPE', index=3, number=4, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NOT_WHITELISTED_FOR_USER_ID', index=4, number=5, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_UPLOAD_KEY_TYPE', index=5, number=6, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MISSING_USER_IDENTIFIER', index=6, number=7, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_MOBILE_ID_FORMAT', index=7, number=8, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_USER_IDENTIFIERS', index=8, number=9, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NOT_WHITELISTED_FOR_STORE_SALES_DIRECT', index=9, number=10, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NOT_WHITELISTED_FOR_UNIFIED_STORE_SALES', index=10, number=28, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_PARTNER_ID', index=11, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_ENCODING', index=12, number=12, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_COUNTRY_CODE', index=13, number=13, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INCOMPATIBLE_USER_IDENTIFIER', index=14, number=14, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='FUTURE_TRANSACTION_TIME', index=15, number=15, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_CONVERSION_ACTION', index=16, number=16, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='MOBILE_ID_NOT_SUPPORTED', index=17, number=17, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_OPERATION_ORDER', index=18, number=18, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CONFLICTING_OPERATION', index=19, number=19, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='EXTERNAL_UPDATE_ID_ALREADY_EXISTS', index=20, number=21, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='JOB_ALREADY_STARTED', index=21, number=22, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REMOVE_NOT_SUPPORTED', index=22, number=23, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REMOVE_ALL_NOT_SUPPORTED', index=23, number=24, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_SHA256_FORMAT', index=24, number=25, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_DISABLED', index=25, number=26, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_NOT_PREDEFINED', index=26, number=27, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CUSTOM_KEY_NOT_SET', index=27, number=29, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='CUSTOMER_NOT_ACCEPTED_CUSTOMER_DATA_TERMS', index=28, number=30, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=169, + serialized_end=1049, +) +_sym_db.RegisterEnumDescriptor(_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR) + + +_OFFLINEUSERDATAJOBERRORENUM = _descriptor.Descriptor( + name='OfflineUserDataJobErrorEnum', + full_name='google.ads.googleads.v4.errors.OfflineUserDataJobErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=137, + serialized_end=1049, +) + +_OFFLINEUSERDATAJOBERRORENUM_OFFLINEUSERDATAJOBERROR.containing_type = _OFFLINEUSERDATAJOBERRORENUM +DESCRIPTOR.message_types_by_name['OfflineUserDataJobErrorEnum'] = _OFFLINEUSERDATAJOBERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +OfflineUserDataJobErrorEnum = _reflection.GeneratedProtocolMessageType('OfflineUserDataJobErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _OFFLINEUSERDATAJOBERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.offline_user_data_job_error_pb2' + , + __doc__ = """Container for enum describing possible offline user data job errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.OfflineUserDataJobErrorEnum) + )) +_sym_db.RegisterMessage(OfflineUserDataJobErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_ad_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_ad_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/offline_user_data_job_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/operation_access_denied_error_pb2.py b/google/ads/google_ads/v4/proto/errors/operation_access_denied_error_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/errors/operation_access_denied_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/operation_access_denied_error_pb2.py index af17a4c4d..136ec9e74 100644 --- a/google/ads/google_ads/v1/proto/errors/operation_access_denied_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/operation_access_denied_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/operation_access_denied_error.proto +# source: google/ads/googleads_v4/proto/errors/operation_access_denied_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/operation_access_denied_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/operation_access_denied_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\037OperationAccessDeniedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/errors/operation_access_denied_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xeb\x03\n\x1eOperationAccessDeniedErrorEnum\"\xc8\x03\n\x1aOperationAccessDeniedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x41\x43TION_NOT_PERMITTED\x10\x02\x12\"\n\x1e\x43REATE_OPERATION_NOT_PERMITTED\x10\x03\x12\"\n\x1eREMOVE_OPERATION_NOT_PERMITTED\x10\x04\x12\"\n\x1eUPDATE_OPERATION_NOT_PERMITTED\x10\x05\x12*\n&MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT\x10\x06\x12-\n)OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE\x10\x07\x12#\n\x1f\x43REATE_AS_REMOVED_NOT_PERMITTED\x10\x08\x12\x30\n,OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE\x10\t\x12-\n)OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE\x10\n\x12%\n!MUTATE_NOT_PERMITTED_FOR_CUSTOMER\x10\x0b\x42\xfa\x01\n\"com.google.ads.googleads.v1.errorsB\x1fOperationAccessDeniedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\037OperationAccessDeniedErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/errors/operation_access_denied_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xeb\x03\n\x1eOperationAccessDeniedErrorEnum\"\xc8\x03\n\x1aOperationAccessDeniedError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x18\n\x14\x41\x43TION_NOT_PERMITTED\x10\x02\x12\"\n\x1e\x43REATE_OPERATION_NOT_PERMITTED\x10\x03\x12\"\n\x1eREMOVE_OPERATION_NOT_PERMITTED\x10\x04\x12\"\n\x1eUPDATE_OPERATION_NOT_PERMITTED\x10\x05\x12*\n&MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT\x10\x06\x12-\n)OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE\x10\x07\x12#\n\x1f\x43REATE_AS_REMOVED_NOT_PERMITTED\x10\x08\x12\x30\n,OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE\x10\t\x12-\n)OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE\x10\n\x12%\n!MUTATE_NOT_PERMITTED_FOR_CUSTOMER\x10\x0b\x42\xfa\x01\n\"com.google.ads.googleads.v4.errorsB\x1fOperationAccessDeniedErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _OPERATIONACCESSDENIEDERRORENUM_OPERATIONACCESSDENIEDERROR = _descriptor.EnumDescriptor( name='OperationAccessDeniedError', - full_name='google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError', + full_name='google.ads.googleads.v4.errors.OperationAccessDeniedErrorEnum.OperationAccessDeniedError', filename=None, file=DESCRIPTOR, values=[ @@ -92,7 +92,7 @@ _OPERATIONACCESSDENIEDERRORENUM = _descriptor.Descriptor( name='OperationAccessDeniedErrorEnum', - full_name='google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum', + full_name='google.ads.googleads.v4.errors.OperationAccessDeniedErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -120,11 +120,11 @@ OperationAccessDeniedErrorEnum = _reflection.GeneratedProtocolMessageType('OperationAccessDeniedErrorEnum', (_message.Message,), dict( DESCRIPTOR = _OPERATIONACCESSDENIEDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.operation_access_denied_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.operation_access_denied_error_pb2' , __doc__ = """Container for enum describing possible operation access denied errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.OperationAccessDeniedErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.OperationAccessDeniedErrorEnum) )) _sym_db.RegisterMessage(OperationAccessDeniedErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/operation_access_denied_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_audience_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/operation_access_denied_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/operator_error_pb2.py b/google/ads/google_ads/v4/proto/errors/operator_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/operator_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/operator_error_pb2.py index 192939956..6f542e734 100644 --- a/google/ads/google_ads/v1/proto/errors/operator_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/operator_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/operator_error.proto +# source: google/ads/googleads_v4/proto/errors/operator_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/operator_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/operator_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022OperatorErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/errors/operator_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"^\n\x11OperatorErrorEnum\"I\n\rOperatorError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16OPERATOR_NOT_SUPPORTED\x10\x02\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12OperatorErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022OperatorErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/errors/operator_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"^\n\x11OperatorErrorEnum\"I\n\rOperatorError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1a\n\x16OPERATOR_NOT_SUPPORTED\x10\x02\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12OperatorErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _OPERATORERRORENUM_OPERATORERROR = _descriptor.EnumDescriptor( name='OperatorError', - full_name='google.ads.googleads.v1.errors.OperatorErrorEnum.OperatorError', + full_name='google.ads.googleads.v4.errors.OperatorErrorEnum.OperatorError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _OPERATORERRORENUM = _descriptor.Descriptor( name='OperatorErrorEnum', - full_name='google.ads.googleads.v1.errors.OperatorErrorEnum', + full_name='google.ads.googleads.v4.errors.OperatorErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ OperatorErrorEnum = _reflection.GeneratedProtocolMessageType('OperatorErrorEnum', (_message.Message,), dict( DESCRIPTOR = _OPERATORERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.operator_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.operator_error_pb2' , __doc__ = """Container for enum describing possible operator errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.OperatorErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.OperatorErrorEnum) )) _sym_db.RegisterMessage(OperatorErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_bid_modifier_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/operator_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_bid_modifier_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/operator_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/partial_failure_error_pb2.py b/google/ads/google_ads/v4/proto/errors/partial_failure_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/partial_failure_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/partial_failure_error_pb2.py index 3f9001654..7588edb40 100644 --- a/google/ads/google_ads/v1/proto/errors/partial_failure_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/partial_failure_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/partial_failure_error.proto +# source: google/ads/googleads_v4/proto/errors/partial_failure_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/partial_failure_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/partial_failure_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030PartialFailureErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/errors/partial_failure_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"q\n\x17PartialFailureErrorEnum\"V\n\x13PartialFailureError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dPARTIAL_FAILURE_MODE_REQUIRED\x10\x02\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18PartialFailureErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030PartialFailureErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/errors/partial_failure_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"q\n\x17PartialFailureErrorEnum\"V\n\x13PartialFailureError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dPARTIAL_FAILURE_MODE_REQUIRED\x10\x02\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18PartialFailureErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _PARTIALFAILUREERRORENUM_PARTIALFAILUREERROR = _descriptor.EnumDescriptor( name='PartialFailureError', - full_name='google.ads.googleads.v1.errors.PartialFailureErrorEnum.PartialFailureError', + full_name='google.ads.googleads.v4.errors.PartialFailureErrorEnum.PartialFailureError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _PARTIALFAILUREERRORENUM = _descriptor.Descriptor( name='PartialFailureErrorEnum', - full_name='google.ads.googleads.v1.errors.PartialFailureErrorEnum', + full_name='google.ads.googleads.v4.errors.PartialFailureErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ PartialFailureErrorEnum = _reflection.GeneratedProtocolMessageType('PartialFailureErrorEnum', (_message.Message,), dict( DESCRIPTOR = _PARTIALFAILUREERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.partial_failure_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.partial_failure_error_pb2' , __doc__ = """Container for enum describing possible partial failure errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PartialFailureErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PartialFailureErrorEnum) )) _sym_db.RegisterMessage(PartialFailureErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/partial_failure_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_criterion_label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/partial_failure_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/payments_account_error_pb2.py b/google/ads/google_ads/v4/proto/errors/payments_account_error_pb2.py new file mode 100644 index 000000000..88dddd54e --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/payments_account_error_pb2.py @@ -0,0 +1,98 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/payments_account_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/payments_account_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\031PaymentsAccountErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/errors/payments_account_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"x\n\x18PaymentsAccountErrorEnum\"\\\n\x14PaymentsAccountError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12&\n\"NOT_SUPPORTED_FOR_MANAGER_CUSTOMER\x10\x02\x42\xf4\x01\n\"com.google.ads.googleads.v4.errorsB\x19PaymentsAccountErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR = _descriptor.EnumDescriptor( + name='PaymentsAccountError', + full_name='google.ads.googleads.v4.errors.PaymentsAccountErrorEnum.PaymentsAccountError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='NOT_SUPPORTED_FOR_MANAGER_CUSTOMER', index=2, number=2, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=159, + serialized_end=251, +) +_sym_db.RegisterEnumDescriptor(_PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR) + + +_PAYMENTSACCOUNTERRORENUM = _descriptor.Descriptor( + name='PaymentsAccountErrorEnum', + full_name='google.ads.googleads.v4.errors.PaymentsAccountErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=131, + serialized_end=251, +) + +_PAYMENTSACCOUNTERRORENUM_PAYMENTSACCOUNTERROR.containing_type = _PAYMENTSACCOUNTERRORENUM +DESCRIPTOR.message_types_by_name['PaymentsAccountErrorEnum'] = _PAYMENTSACCOUNTERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PaymentsAccountErrorEnum = _reflection.GeneratedProtocolMessageType('PaymentsAccountErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _PAYMENTSACCOUNTERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.payments_account_error_pb2' + , + __doc__ = """Container for enum describing possible errors in payments account + service. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PaymentsAccountErrorEnum) + )) +_sym_db.RegisterMessage(PaymentsAccountErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/payments_account_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_criterion_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/payments_account_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/policy_finding_error_pb2.py b/google/ads/google_ads/v4/proto/errors/policy_finding_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/policy_finding_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/policy_finding_error_pb2.py index d69cb5368..413e21661 100644 --- a/google/ads/google_ads/v1/proto/errors/policy_finding_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/policy_finding_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/policy_finding_error.proto +# source: google/ads/googleads_v4/proto/errors/policy_finding_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/policy_finding_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/policy_finding_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\027PolicyFindingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/errors/policy_finding_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"|\n\x16PolicyFindingErrorEnum\"b\n\x12PolicyFindingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0ePOLICY_FINDING\x10\x02\x12\x1a\n\x16POLICY_TOPIC_NOT_FOUND\x10\x03\x42\xf2\x01\n\"com.google.ads.googleads.v1.errorsB\x17PolicyFindingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\027PolicyFindingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/errors/policy_finding_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"|\n\x16PolicyFindingErrorEnum\"b\n\x12PolicyFindingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x12\n\x0ePOLICY_FINDING\x10\x02\x12\x1a\n\x16POLICY_TOPIC_NOT_FOUND\x10\x03\x42\xf2\x01\n\"com.google.ads.googleads.v4.errorsB\x17PolicyFindingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYFINDINGERRORENUM_POLICYFINDINGERROR = _descriptor.EnumDescriptor( name='PolicyFindingError', - full_name='google.ads.googleads.v1.errors.PolicyFindingErrorEnum.PolicyFindingError', + full_name='google.ads.googleads.v4.errors.PolicyFindingErrorEnum.PolicyFindingError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _POLICYFINDINGERRORENUM = _descriptor.Descriptor( name='PolicyFindingErrorEnum', - full_name='google.ads.googleads.v1.errors.PolicyFindingErrorEnum', + full_name='google.ads.googleads.v4.errors.PolicyFindingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ PolicyFindingErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyFindingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYFINDINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.policy_finding_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.policy_finding_error_pb2' , __doc__ = """Container for enum describing possible policy finding errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PolicyFindingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PolicyFindingErrorEnum) )) _sym_db.RegisterMessage(PolicyFindingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/policy_finding_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_criterion_simulation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/policy_finding_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/policy_validation_parameter_error_pb2.py b/google/ads/google_ads/v4/proto/errors/policy_validation_parameter_error_pb2.py similarity index 77% rename from google/ads/google_ads/v1/proto/errors/policy_validation_parameter_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/policy_validation_parameter_error_pb2.py index 2cf51b54f..b1b970984 100644 --- a/google/ads/google_ads/v1/proto/errors/policy_validation_parameter_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/policy_validation_parameter_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/policy_validation_parameter_error.proto +# source: google/ads/googleads_v4/proto/errors/policy_validation_parameter_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/policy_validation_parameter_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/policy_validation_parameter_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB#PolicyValidationParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nLgoogle/ads/googleads_v1/proto/errors/policy_validation_parameter_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xa2\x02\n\"PolicyValidationParameterErrorEnum\"\xfb\x01\n\x1ePolicyValidationParameterError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x33\n/UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS\x10\x02\x12\x38\n4UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS\x10\x03\x12L\nHCANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS\x10\x04\x42\xfe\x01\n\"com.google.ads.googleads.v1.errorsB#PolicyValidationParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB#PolicyValidationParameterErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nLgoogle/ads/googleads_v4/proto/errors/policy_validation_parameter_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xa2\x02\n\"PolicyValidationParameterErrorEnum\"\xfb\x01\n\x1ePolicyValidationParameterError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x33\n/UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS\x10\x02\x12\x38\n4UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS\x10\x03\x12L\nHCANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS\x10\x04\x42\xfe\x01\n\"com.google.ads.googleads.v4.errorsB#PolicyValidationParameterErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYVALIDATIONPARAMETERERRORENUM_POLICYVALIDATIONPARAMETERERROR = _descriptor.EnumDescriptor( name='PolicyValidationParameterError', - full_name='google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError', + full_name='google.ads.googleads.v4.errors.PolicyValidationParameterErrorEnum.PolicyValidationParameterError', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _POLICYVALIDATIONPARAMETERERRORENUM = _descriptor.Descriptor( name='PolicyValidationParameterErrorEnum', - full_name='google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum', + full_name='google.ads.googleads.v4.errors.PolicyValidationParameterErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,12 +92,12 @@ PolicyValidationParameterErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyValidationParameterErrorEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYVALIDATIONPARAMETERERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.policy_validation_parameter_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.policy_validation_parameter_error_pb2' , __doc__ = """Container for enum describing possible policy validation parameter errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PolicyValidationParameterErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PolicyValidationParameterErrorEnum) )) _sym_db.RegisterMessage(PolicyValidationParameterErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/policy_validation_parameter_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_extension_setting_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/policy_validation_parameter_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/policy_violation_error_pb2.py b/google/ads/google_ads/v4/proto/errors/policy_violation_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/policy_violation_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/policy_violation_error_pb2.py index 9b84f81ea..a59e2da36 100644 --- a/google/ads/google_ads/v1/proto/errors/policy_violation_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/policy_violation_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/policy_violation_error.proto +# source: google/ads/googleads_v4/proto/errors/policy_violation_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/policy_violation_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/policy_violation_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\031PolicyViolationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/errors/policy_violation_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x18PolicyViolationErrorEnum\"F\n\x14PolicyViolationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cPOLICY_ERROR\x10\x02\x42\xf4\x01\n\"com.google.ads.googleads.v1.errorsB\x19PolicyViolationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\031PolicyViolationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/errors/policy_violation_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"b\n\x18PolicyViolationErrorEnum\"F\n\x14PolicyViolationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x10\n\x0cPOLICY_ERROR\x10\x02\x42\xf4\x01\n\"com.google.ads.googleads.v4.errorsB\x19PolicyViolationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _POLICYVIOLATIONERRORENUM_POLICYVIOLATIONERROR = _descriptor.EnumDescriptor( name='PolicyViolationError', - full_name='google.ads.googleads.v1.errors.PolicyViolationErrorEnum.PolicyViolationError', + full_name='google.ads.googleads.v4.errors.PolicyViolationErrorEnum.PolicyViolationError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _POLICYVIOLATIONERRORENUM = _descriptor.Descriptor( name='PolicyViolationErrorEnum', - full_name='google.ads.googleads.v1.errors.PolicyViolationErrorEnum', + full_name='google.ads.googleads.v4.errors.PolicyViolationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ PolicyViolationErrorEnum = _reflection.GeneratedProtocolMessageType('PolicyViolationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _POLICYVIOLATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.policy_violation_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.policy_violation_error_pb2' , __doc__ = """Container for enum describing possible policy violation errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.PolicyViolationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.PolicyViolationErrorEnum) )) _sym_db.RegisterMessage(PolicyViolationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/policy_violation_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_feed_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/policy_violation_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/query_error_pb2.py b/google/ads/google_ads/v4/proto/errors/query_error_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/errors/query_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/query_error_pb2.py index 9feeea957..cacbbac11 100644 --- a/google/ads/google_ads/v1/proto/errors/query_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/query_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/query_error.proto +# source: google/ads/googleads_v4/proto/errors/query_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/query_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/query_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017QueryErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/query_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb8\r\n\x0eQueryErrorEnum\"\xa5\r\n\nQueryError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bQUERY_ERROR\x10\x32\x12\x15\n\x11\x42\x41\x44_ENUM_CONSTANT\x10\x12\x12\x17\n\x13\x42\x41\x44_ESCAPE_SEQUENCE\x10\x07\x12\x12\n\x0e\x42\x41\x44_FIELD_NAME\x10\x0c\x12\x13\n\x0f\x42\x41\x44_LIMIT_VALUE\x10\x0f\x12\x0e\n\nBAD_NUMBER\x10\x05\x12\x10\n\x0c\x42\x41\x44_OPERATOR\x10\x03\x12\x16\n\x12\x42\x41\x44_PARAMETER_NAME\x10=\x12\x17\n\x13\x42\x41\x44_PARAMETER_VALUE\x10>\x12$\n BAD_RESOURCE_TYPE_IN_FROM_CLAUSE\x10-\x12\x0e\n\nBAD_SYMBOL\x10\x02\x12\r\n\tBAD_VALUE\x10\x04\x12\x17\n\x13\x44\x41TE_RANGE_TOO_WIDE\x10$\x12\x10\n\x0c\x45XPECTED_AND\x10\x1e\x12\x0f\n\x0b\x45XPECTED_BY\x10\x0e\x12-\n)EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE\x10%\x12\"\n\x1e\x45XPECTED_FILTERS_ON_DATE_RANGE\x10\x37\x12\x11\n\rEXPECTED_FROM\x10,\x12\x11\n\rEXPECTED_LIST\x10)\x12.\n*EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE\x10\x10\x12\x13\n\x0f\x45XPECTED_SELECT\x10\r\x12\x19\n\x15\x45XPECTED_SINGLE_VALUE\x10*\x12(\n$EXPECTED_VALUE_WITH_BETWEEN_OPERATOR\x10\x1d\x12\x17\n\x13INVALID_DATE_FORMAT\x10&\x12\x18\n\x14INVALID_STRING_VALUE\x10\x39\x12\'\n#INVALID_VALUE_WITH_BETWEEN_OPERATOR\x10\x1a\x12&\n\"INVALID_VALUE_WITH_DURING_OPERATOR\x10\x16\x12$\n INVALID_VALUE_WITH_LIKE_OPERATOR\x10\x38\x12\x1b\n\x17OPERATOR_FIELD_MISMATCH\x10#\x12&\n\"PROHIBITED_EMPTY_LIST_IN_CONDITION\x10\x1c\x12\x1c\n\x18PROHIBITED_ENUM_CONSTANT\x10\x36\x12\x31\n-PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE\x10\x1f\x12\'\n#PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE\x10(\x12%\n!PROHIBITED_FIELD_IN_SELECT_CLAUSE\x10\x17\x12$\n PROHIBITED_FIELD_IN_WHERE_CLAUSE\x10\x18\x12+\n\'PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE\x10+\x12-\n)PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE\x10\x30\x12,\n(PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE\x10:\x12/\n+PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE\x10\x31\x12\x30\n,PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE\x10\x33\x12<\n8PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE\x10\x35\x12\x17\n\x13LIMIT_VALUE_TOO_LOW\x10\x19\x12 \n\x1cPROHIBITED_NEWLINE_IN_STRING\x10\x08\x12(\n$PROHIBITED_VALUE_COMBINATION_IN_LIST\x10\n\x12\x36\n2PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR\x10\x15\x12\x19\n\x15STRING_NOT_TERMINATED\x10\x06\x12\x15\n\x11TOO_MANY_SEGMENTS\x10\"\x12\x1b\n\x17UNEXPECTED_END_OF_QUERY\x10\t\x12\x1a\n\x16UNEXPECTED_FROM_CLAUSE\x10/\x12\x16\n\x12UNRECOGNIZED_FIELD\x10 \x12\x14\n\x10UNEXPECTED_INPUT\x10\x0b\x12!\n\x1dREQUESTED_METRICS_FOR_MANAGER\x10;B\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0fQueryErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017QueryErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/query_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xd3\r\n\x0eQueryErrorEnum\"\xc0\r\n\nQueryError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0f\n\x0bQUERY_ERROR\x10\x32\x12\x15\n\x11\x42\x41\x44_ENUM_CONSTANT\x10\x12\x12\x17\n\x13\x42\x41\x44_ESCAPE_SEQUENCE\x10\x07\x12\x12\n\x0e\x42\x41\x44_FIELD_NAME\x10\x0c\x12\x13\n\x0f\x42\x41\x44_LIMIT_VALUE\x10\x0f\x12\x0e\n\nBAD_NUMBER\x10\x05\x12\x10\n\x0c\x42\x41\x44_OPERATOR\x10\x03\x12\x16\n\x12\x42\x41\x44_PARAMETER_NAME\x10=\x12\x17\n\x13\x42\x41\x44_PARAMETER_VALUE\x10>\x12$\n BAD_RESOURCE_TYPE_IN_FROM_CLAUSE\x10-\x12\x0e\n\nBAD_SYMBOL\x10\x02\x12\r\n\tBAD_VALUE\x10\x04\x12\x17\n\x13\x44\x41TE_RANGE_TOO_WIDE\x10$\x12\x19\n\x15\x44\x41TE_RANGE_TOO_NARROW\x10<\x12\x10\n\x0c\x45XPECTED_AND\x10\x1e\x12\x0f\n\x0b\x45XPECTED_BY\x10\x0e\x12-\n)EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE\x10%\x12\"\n\x1e\x45XPECTED_FILTERS_ON_DATE_RANGE\x10\x37\x12\x11\n\rEXPECTED_FROM\x10,\x12\x11\n\rEXPECTED_LIST\x10)\x12.\n*EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE\x10\x10\x12\x13\n\x0f\x45XPECTED_SELECT\x10\r\x12\x19\n\x15\x45XPECTED_SINGLE_VALUE\x10*\x12(\n$EXPECTED_VALUE_WITH_BETWEEN_OPERATOR\x10\x1d\x12\x17\n\x13INVALID_DATE_FORMAT\x10&\x12\x18\n\x14INVALID_STRING_VALUE\x10\x39\x12\'\n#INVALID_VALUE_WITH_BETWEEN_OPERATOR\x10\x1a\x12&\n\"INVALID_VALUE_WITH_DURING_OPERATOR\x10\x16\x12$\n INVALID_VALUE_WITH_LIKE_OPERATOR\x10\x38\x12\x1b\n\x17OPERATOR_FIELD_MISMATCH\x10#\x12&\n\"PROHIBITED_EMPTY_LIST_IN_CONDITION\x10\x1c\x12\x1c\n\x18PROHIBITED_ENUM_CONSTANT\x10\x36\x12\x31\n-PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE\x10\x1f\x12\'\n#PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE\x10(\x12%\n!PROHIBITED_FIELD_IN_SELECT_CLAUSE\x10\x17\x12$\n PROHIBITED_FIELD_IN_WHERE_CLAUSE\x10\x18\x12+\n\'PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE\x10+\x12-\n)PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE\x10\x30\x12,\n(PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE\x10:\x12/\n+PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE\x10\x31\x12\x30\n,PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE\x10\x33\x12<\n8PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE\x10\x35\x12\x17\n\x13LIMIT_VALUE_TOO_LOW\x10\x19\x12 \n\x1cPROHIBITED_NEWLINE_IN_STRING\x10\x08\x12(\n$PROHIBITED_VALUE_COMBINATION_IN_LIST\x10\n\x12\x36\n2PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR\x10\x15\x12\x19\n\x15STRING_NOT_TERMINATED\x10\x06\x12\x15\n\x11TOO_MANY_SEGMENTS\x10\"\x12\x1b\n\x17UNEXPECTED_END_OF_QUERY\x10\t\x12\x1a\n\x16UNEXPECTED_FROM_CLAUSE\x10/\x12\x16\n\x12UNRECOGNIZED_FIELD\x10 \x12\x14\n\x10UNEXPECTED_INPUT\x10\x0b\x12!\n\x1dREQUESTED_METRICS_FOR_MANAGER\x10;B\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0fQueryErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _QUERYERRORENUM_QUERYERROR = _descriptor.EnumDescriptor( name='QueryError', - full_name='google.ads.googleads.v1.errors.QueryErrorEnum.QueryError', + full_name='google.ads.googleads.v4.errors.QueryErrorEnum.QueryError', filename=None, file=DESCRIPTOR, values=[ @@ -94,173 +94,177 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_AND', index=15, number=30, + name='DATE_RANGE_TOO_NARROW', index=15, number=60, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_BY', index=16, number=14, + name='EXPECTED_AND', index=16, number=30, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE', index=17, number=37, + name='EXPECTED_BY', index=17, number=14, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_FILTERS_ON_DATE_RANGE', index=18, number=55, + name='EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE', index=18, number=37, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_FROM', index=19, number=44, + name='EXPECTED_FILTERS_ON_DATE_RANGE', index=19, number=55, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_LIST', index=20, number=41, + name='EXPECTED_FROM', index=20, number=44, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE', index=21, number=16, + name='EXPECTED_LIST', index=21, number=41, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_SELECT', index=22, number=13, + name='EXPECTED_REFERENCED_FIELD_IN_SELECT_CLAUSE', index=22, number=16, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_SINGLE_VALUE', index=23, number=42, + name='EXPECTED_SELECT', index=23, number=13, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='EXPECTED_VALUE_WITH_BETWEEN_OPERATOR', index=24, number=29, + name='EXPECTED_SINGLE_VALUE', index=24, number=42, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_DATE_FORMAT', index=25, number=38, + name='EXPECTED_VALUE_WITH_BETWEEN_OPERATOR', index=25, number=29, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_STRING_VALUE', index=26, number=57, + name='INVALID_DATE_FORMAT', index=26, number=38, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_BETWEEN_OPERATOR', index=27, number=26, + name='INVALID_STRING_VALUE', index=27, number=57, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_DURING_OPERATOR', index=28, number=22, + name='INVALID_VALUE_WITH_BETWEEN_OPERATOR', index=28, number=26, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='INVALID_VALUE_WITH_LIKE_OPERATOR', index=29, number=56, + name='INVALID_VALUE_WITH_DURING_OPERATOR', index=29, number=22, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='OPERATOR_FIELD_MISMATCH', index=30, number=35, + name='INVALID_VALUE_WITH_LIKE_OPERATOR', index=30, number=56, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_EMPTY_LIST_IN_CONDITION', index=31, number=28, + name='OPERATOR_FIELD_MISMATCH', index=31, number=35, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_ENUM_CONSTANT', index=32, number=54, + name='PROHIBITED_EMPTY_LIST_IN_CONDITION', index=32, number=28, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE', index=33, number=31, + name='PROHIBITED_ENUM_CONSTANT', index=33, number=54, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE', index=34, number=40, + name='PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE', index=34, number=31, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_SELECT_CLAUSE', index=35, number=23, + name='PROHIBITED_FIELD_IN_ORDER_BY_CLAUSE', index=35, number=40, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_FIELD_IN_WHERE_CLAUSE', index=36, number=24, + name='PROHIBITED_FIELD_IN_SELECT_CLAUSE', index=36, number=23, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE', index=37, number=43, + name='PROHIBITED_FIELD_IN_WHERE_CLAUSE', index=37, number=24, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE', index=38, number=48, + name='PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE', index=38, number=43, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE', index=39, number=58, + name='PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE', index=39, number=48, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=40, number=49, + name='PROHIBITED_RESOURCE_TYPE_IN_WHERE_CLAUSE', index=40, number=58, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE', index=41, number=51, + name='PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=41, number=49, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=42, number=53, + name='PROHIBITED_SEGMENT_IN_SELECT_OR_WHERE_CLAUSE', index=42, number=51, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='LIMIT_VALUE_TOO_LOW', index=43, number=25, + name='PROHIBITED_SEGMENT_WITH_METRIC_IN_SELECT_OR_WHERE_CLAUSE', index=43, number=53, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_NEWLINE_IN_STRING', index=44, number=8, + name='LIMIT_VALUE_TOO_LOW', index=44, number=25, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_VALUE_COMBINATION_IN_LIST', index=45, number=10, + name='PROHIBITED_NEWLINE_IN_STRING', index=45, number=8, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR', index=46, number=21, + name='PROHIBITED_VALUE_COMBINATION_IN_LIST', index=46, number=10, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='STRING_NOT_TERMINATED', index=47, number=6, + name='PROHIBITED_VALUE_COMBINATION_WITH_BETWEEN_OPERATOR', index=47, number=21, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='TOO_MANY_SEGMENTS', index=48, number=34, + name='STRING_NOT_TERMINATED', index=48, number=6, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='UNEXPECTED_END_OF_QUERY', index=49, number=9, + name='TOO_MANY_SEGMENTS', index=49, number=34, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='UNEXPECTED_FROM_CLAUSE', index=50, number=47, + name='UNEXPECTED_END_OF_QUERY', index=50, number=9, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='UNRECOGNIZED_FIELD', index=51, number=32, + name='UNEXPECTED_FROM_CLAUSE', index=51, number=47, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='UNEXPECTED_INPUT', index=52, number=11, + name='UNRECOGNIZED_FIELD', index=52, number=32, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='REQUESTED_METRICS_FOR_MANAGER', index=53, number=59, + name='UNEXPECTED_INPUT', index=53, number=11, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='REQUESTED_METRICS_FOR_MANAGER', index=54, number=59, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=140, - serialized_end=1841, + serialized_end=1868, ) _sym_db.RegisterEnumDescriptor(_QUERYERRORENUM_QUERYERROR) _QUERYERRORENUM = _descriptor.Descriptor( name='QueryErrorEnum', - full_name='google.ads.googleads.v1.errors.QueryErrorEnum', + full_name='google.ads.googleads.v4.errors.QueryErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -279,7 +283,7 @@ oneofs=[ ], serialized_start=121, - serialized_end=1841, + serialized_end=1868, ) _QUERYERRORENUM_QUERYERROR.containing_type = _QUERYERRORENUM @@ -288,11 +292,11 @@ QueryErrorEnum = _reflection.GeneratedProtocolMessageType('QueryErrorEnum', (_message.Message,), dict( DESCRIPTOR = _QUERYERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.query_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.query_error_pb2' , __doc__ = """Container for enum describing possible query errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.QueryErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.QueryErrorEnum) )) _sym_db.RegisterMessage(QueryErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_label_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/query_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/query_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/quota_error_pb2.py b/google/ads/google_ads/v4/proto/errors/quota_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/quota_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/quota_error_pb2.py index b34da325e..902e2a80a 100644 --- a/google/ads/google_ads/v1/proto/errors/quota_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/quota_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/quota_error.proto +# source: google/ads/googleads_v4/proto/errors/quota_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/quota_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/quota_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017QuotaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/quota_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x8f\x01\n\x0eQuotaErrorEnum\"}\n\nQuotaError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x02\x12\x15\n\x11\x41\x43\x43\x45SS_PROHIBITED\x10\x03\x12\"\n\x1eRESOURCE_TEMPORARILY_EXHAUSTED\x10\x04\x42\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0fQuotaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017QuotaErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/quota_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x8f\x01\n\x0eQuotaErrorEnum\"}\n\nQuotaError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x02\x12\x15\n\x11\x41\x43\x43\x45SS_PROHIBITED\x10\x03\x12\"\n\x1eRESOURCE_TEMPORARILY_EXHAUSTED\x10\x04\x42\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0fQuotaErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _QUOTAERRORENUM_QUOTAERROR = _descriptor.EnumDescriptor( name='QuotaError', - full_name='google.ads.googleads.v1.errors.QuotaErrorEnum.QuotaError', + full_name='google.ads.googleads.v4.errors.QuotaErrorEnum.QuotaError', filename=None, file=DESCRIPTOR, values=[ @@ -64,7 +64,7 @@ _QUOTAERRORENUM = _descriptor.Descriptor( name='QuotaErrorEnum', - full_name='google.ads.googleads.v1.errors.QuotaErrorEnum', + full_name='google.ads.googleads.v4.errors.QuotaErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -92,11 +92,11 @@ QuotaErrorEnum = _reflection.GeneratedProtocolMessageType('QuotaErrorEnum', (_message.Message,), dict( DESCRIPTOR = _QUOTAERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.quota_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.quota_error_pb2' , __doc__ = """Container for enum describing possible quota errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.QuotaErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.QuotaErrorEnum) )) _sym_db.RegisterMessage(QuotaErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/quota_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/quota_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/range_error_pb2.py b/google/ads/google_ads/v4/proto/errors/range_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/range_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/range_error_pb2.py index 539c327ad..8de4436d6 100644 --- a/google/ads/google_ads/v1/proto/errors/range_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/range_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/range_error.proto +# source: google/ads/googleads_v4/proto/errors/range_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/range_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/range_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\017RangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/errors/range_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"W\n\x0eRangeErrorEnum\"E\n\nRangeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07TOO_LOW\x10\x02\x12\x0c\n\x08TOO_HIGH\x10\x03\x42\xea\x01\n\"com.google.ads.googleads.v1.errorsB\x0fRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\017RangeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/errors/range_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"W\n\x0eRangeErrorEnum\"E\n\nRangeError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x0b\n\x07TOO_LOW\x10\x02\x12\x0c\n\x08TOO_HIGH\x10\x03\x42\xea\x01\n\"com.google.ads.googleads.v4.errorsB\x0fRangeErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _RANGEERRORENUM_RANGEERROR = _descriptor.EnumDescriptor( name='RangeError', - full_name='google.ads.googleads.v1.errors.RangeErrorEnum.RangeError', + full_name='google.ads.googleads.v4.errors.RangeErrorEnum.RangeError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _RANGEERRORENUM = _descriptor.Descriptor( name='RangeErrorEnum', - full_name='google.ads.googleads.v1.errors.RangeErrorEnum', + full_name='google.ads.googleads.v4.errors.RangeErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ RangeErrorEnum = _reflection.GeneratedProtocolMessageType('RangeErrorEnum', (_message.Message,), dict( DESCRIPTOR = _RANGEERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.range_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.range_error_pb2' , __doc__ = """Container for enum describing possible range errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.RangeErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.RangeErrorEnum) )) _sym_db.RegisterMessage(RangeErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_simulation_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/range_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_group_simulation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/range_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2.py b/google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2.py new file mode 100644 index 000000000..f76b45b99 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2.py @@ -0,0 +1,94 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/reach_plan_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/reach_plan_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023ReachPlanErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/reach_plan_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"D\n\x12ReachPlanErrorEnum\".\n\x0eReachPlanError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13ReachPlanErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_REACHPLANERRORENUM_REACHPLANERROR = _descriptor.EnumDescriptor( + name='ReachPlanError', + full_name='google.ads.googleads.v4.errors.ReachPlanErrorEnum.ReachPlanError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=193, +) +_sym_db.RegisterEnumDescriptor(_REACHPLANERRORENUM_REACHPLANERROR) + + +_REACHPLANERRORENUM = _descriptor.Descriptor( + name='ReachPlanErrorEnum', + full_name='google.ads.googleads.v4.errors.ReachPlanErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _REACHPLANERRORENUM_REACHPLANERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=193, +) + +_REACHPLANERRORENUM_REACHPLANERROR.containing_type = _REACHPLANERRORENUM +DESCRIPTOR.message_types_by_name['ReachPlanErrorEnum'] = _REACHPLANERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ReachPlanErrorEnum = _reflection.GeneratedProtocolMessageType('ReachPlanErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _REACHPLANERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.reach_plan_error_pb2' + , + __doc__ = """Container for enum describing possible errors returned from the + ReachPlanService. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.ReachPlanErrorEnum) + )) +_sym_db.RegisterMessage(ReachPlanErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/ad_parameter_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_parameter_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/reach_plan_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/recommendation_error_pb2.py b/google/ads/google_ads/v4/proto/errors/recommendation_error_pb2.py similarity index 83% rename from google/ads/google_ads/v1/proto/errors/recommendation_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/recommendation_error_pb2.py index 428a0f079..52d38b24c 100644 --- a/google/ads/google_ads/v1/proto/errors/recommendation_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/recommendation_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/recommendation_error.proto +# source: google/ads/googleads_v4/proto/errors/recommendation_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/recommendation_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/recommendation_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\030RecommendationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/errors/recommendation_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xda\x03\n\x17RecommendationErrorEnum\"\xbe\x03\n\x13RecommendationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17\x42UDGET_AMOUNT_TOO_SMALL\x10\x02\x12\x1b\n\x17\x42UDGET_AMOUNT_TOO_LARGE\x10\x03\x12\x19\n\x15INVALID_BUDGET_AMOUNT\x10\x04\x12\x10\n\x0cPOLICY_ERROR\x10\x05\x12\x16\n\x12INVALID_BID_AMOUNT\x10\x06\x12\x19\n\x15\x41\x44GROUP_KEYWORD_LIMIT\x10\x07\x12\"\n\x1eRECOMMENDATION_ALREADY_APPLIED\x10\x08\x12\x1e\n\x1aRECOMMENDATION_INVALIDATED\x10\t\x12\x17\n\x13TOO_MANY_OPERATIONS\x10\n\x12\x11\n\rNO_OPERATIONS\x10\x0b\x12!\n\x1d\x44IFFERENT_TYPES_NOT_SUPPORTED\x10\x0c\x12\x1b\n\x17\x44UPLICATE_RESOURCE_NAME\x10\r\x12$\n RECOMMENDATION_ALREADY_DISMISSED\x10\x0e\x12\x19\n\x15INVALID_APPLY_REQUEST\x10\x0f\x42\xf3\x01\n\"com.google.ads.googleads.v1.errorsB\x18RecommendationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\030RecommendationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/errors/recommendation_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xda\x03\n\x17RecommendationErrorEnum\"\xbe\x03\n\x13RecommendationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1b\n\x17\x42UDGET_AMOUNT_TOO_SMALL\x10\x02\x12\x1b\n\x17\x42UDGET_AMOUNT_TOO_LARGE\x10\x03\x12\x19\n\x15INVALID_BUDGET_AMOUNT\x10\x04\x12\x10\n\x0cPOLICY_ERROR\x10\x05\x12\x16\n\x12INVALID_BID_AMOUNT\x10\x06\x12\x19\n\x15\x41\x44GROUP_KEYWORD_LIMIT\x10\x07\x12\"\n\x1eRECOMMENDATION_ALREADY_APPLIED\x10\x08\x12\x1e\n\x1aRECOMMENDATION_INVALIDATED\x10\t\x12\x17\n\x13TOO_MANY_OPERATIONS\x10\n\x12\x11\n\rNO_OPERATIONS\x10\x0b\x12!\n\x1d\x44IFFERENT_TYPES_NOT_SUPPORTED\x10\x0c\x12\x1b\n\x17\x44UPLICATE_RESOURCE_NAME\x10\r\x12$\n RECOMMENDATION_ALREADY_DISMISSED\x10\x0e\x12\x19\n\x15INVALID_APPLY_REQUEST\x10\x0f\x42\xf3\x01\n\"com.google.ads.googleads.v4.errorsB\x18RecommendationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _RECOMMENDATIONERRORENUM_RECOMMENDATIONERROR = _descriptor.EnumDescriptor( name='RecommendationError', - full_name='google.ads.googleads.v1.errors.RecommendationErrorEnum.RecommendationError', + full_name='google.ads.googleads.v4.errors.RecommendationErrorEnum.RecommendationError', filename=None, file=DESCRIPTOR, values=[ @@ -108,7 +108,7 @@ _RECOMMENDATIONERRORENUM = _descriptor.Descriptor( name='RecommendationErrorEnum', - full_name='google.ads.googleads.v1.errors.RecommendationErrorEnum', + full_name='google.ads.googleads.v4.errors.RecommendationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -136,12 +136,12 @@ RecommendationErrorEnum = _reflection.GeneratedProtocolMessageType('RecommendationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.recommendation_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.recommendation_error_pb2' , __doc__ = """Container for enum describing possible errors from applying a recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.RecommendationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.RecommendationErrorEnum) )) _sym_db.RegisterMessage(RecommendationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/ad_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/recommendation_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/ad_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/recommendation_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/region_code_error_pb2.py b/google/ads/google_ads/v4/proto/errors/region_code_error_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/errors/region_code_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/region_code_error_pb2.py index 0a9ed58bb..639000c72 100644 --- a/google/ads/google_ads/v1/proto/errors/region_code_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/region_code_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/region_code_error.proto +# source: google/ads/googleads_v4/proto/errors/region_code_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/region_code_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/region_code_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\024RegionCodeErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n\n:TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN\x10\x0c\x12\x38\n4UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION\x10\r\x12\x42\n>UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG\x10\x0e\x12<\n8UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED\x10\x0f\x12\x38\n4TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN\x10\x10\x12\x36\n2TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN\x10\x11\x12\x31\n-MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN\x10\x12\x12\x1e\n\x1aTOO_MANY_EXCLAMATION_MARKS\x10\x13\x42\xec\x01\n\"com.google.ads.googleads.v1.errorsB\x11SettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\021SettingErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/errors/setting_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xed\x05\n\x10SettingErrorEnum\"\xd8\x05\n\x0cSettingError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dSETTING_TYPE_IS_NOT_AVAILABLE\x10\x03\x12\x30\n,SETTING_TYPE_IS_NOT_COMPATIBLE_WITH_CAMPAIGN\x10\x04\x12;\n7TARGETING_SETTING_CONTAINS_INVALID_CRITERION_TYPE_GROUP\x10\x05\x12Q\nMTARGETING_SETTING_DEMOGRAPHIC_CRITERION_TYPE_GROUPS_MUST_BE_SET_TO_TARGET_ALL\x10\x06\x12\\\nXTARGETING_SETTING_CANNOT_CHANGE_TARGET_ALL_TO_FALSE_FOR_DEMOGRAPHIC_CRITERION_TYPE_GROUP\x10\x07\x12\x43\n?DYNAMIC_SEARCH_ADS_SETTING_AT_LEAST_ONE_FEED_ID_MUST_BE_PRESENT\x10\x08\x12;\n7DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_DOMAIN_NAME\x10\t\x12\x36\n2DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME\x10\n\x12=\n9DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE\x10\x0b\x12>\n:TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN\x10\x0c\x12.\n*SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN\x10\x14\x42\xec\x01\n\"com.google.ads.googleads.v4.errorsB\x11SettingErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _SETTINGERRORENUM_SETTINGERROR = _descriptor.EnumDescriptor( name='SettingError', - full_name='google.ads.googleads.v1.errors.SettingErrorEnum.SettingError', + full_name='google.ads.googleads.v4.errors.SettingErrorEnum.SettingError', filename=None, file=DESCRIPTOR, values=[ @@ -82,45 +82,21 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION', index=12, number=13, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG', index=13, number=14, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED', index=14, number=15, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN', index=15, number=16, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN', index=16, number=17, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN', index=17, number=18, - serialized_options=None, - type=None), - _descriptor.EnumValueDescriptor( - name='TOO_MANY_EXCLAMATION_MARKS', index=18, number=19, + name='SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN', index=12, number=20, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=144, - serialized_end=1209, + serialized_end=872, ) _sym_db.RegisterEnumDescriptor(_SETTINGERRORENUM_SETTINGERROR) _SETTINGERRORENUM = _descriptor.Descriptor( name='SettingErrorEnum', - full_name='google.ads.googleads.v1.errors.SettingErrorEnum', + full_name='google.ads.googleads.v4.errors.SettingErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -139,7 +115,7 @@ oneofs=[ ], serialized_start=123, - serialized_end=1209, + serialized_end=872, ) _SETTINGERRORENUM_SETTINGERROR.containing_type = _SETTINGERRORENUM @@ -148,11 +124,11 @@ SettingErrorEnum = _reflection.GeneratedProtocolMessageType('SettingErrorEnum', (_message.Message,), dict( DESCRIPTOR = _SETTINGERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.setting_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.setting_error_pb2' , __doc__ = """Container for enum describing possible setting errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.SettingErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.SettingErrorEnum) )) _sym_db.RegisterMessage(SettingErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/billing_setup_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/setting_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/billing_setup_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/setting_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/shared_criterion_error_pb2.py b/google/ads/google_ads/v4/proto/errors/shared_criterion_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/shared_criterion_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/shared_criterion_error_pb2.py index a5c3064e7..d736bb21f 100644 --- a/google/ads/google_ads/v1/proto/errors/shared_criterion_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/shared_criterion_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/shared_criterion_error.proto +# source: google/ads/googleads_v4/proto/errors/shared_criterion_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/shared_criterion_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/shared_criterion_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\031SharedCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/errors/shared_criterion_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x84\x01\n\x18SharedCriterionErrorEnum\"h\n\x14SharedCriterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x32\n.CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE\x10\x02\x42\xf4\x01\n\"com.google.ads.googleads.v1.errorsB\x19SharedCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\031SharedCriterionErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/errors/shared_criterion_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x84\x01\n\x18SharedCriterionErrorEnum\"h\n\x14SharedCriterionError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x32\n.CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE\x10\x02\x42\xf4\x01\n\"com.google.ads.googleads.v4.errorsB\x19SharedCriterionErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _SHAREDCRITERIONERRORENUM_SHAREDCRITERIONERROR = _descriptor.EnumDescriptor( name='SharedCriterionError', - full_name='google.ads.googleads.v1.errors.SharedCriterionErrorEnum.SharedCriterionError', + full_name='google.ads.googleads.v4.errors.SharedCriterionErrorEnum.SharedCriterionError', filename=None, file=DESCRIPTOR, values=[ @@ -56,7 +56,7 @@ _SHAREDCRITERIONERRORENUM = _descriptor.Descriptor( name='SharedCriterionErrorEnum', - full_name='google.ads.googleads.v1.errors.SharedCriterionErrorEnum', + full_name='google.ads.googleads.v4.errors.SharedCriterionErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -84,11 +84,11 @@ SharedCriterionErrorEnum = _reflection.GeneratedProtocolMessageType('SharedCriterionErrorEnum', (_message.Message,), dict( DESCRIPTOR = _SHAREDCRITERIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.shared_criterion_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.shared_criterion_error_pb2' , __doc__ = """Container for enum describing possible shared criterion errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.SharedCriterionErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.SharedCriterionErrorEnum) )) _sym_db.RegisterMessage(SharedCriterionErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_audience_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/shared_criterion_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_audience_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/shared_criterion_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/shared_set_error_pb2.py b/google/ads/google_ads/v4/proto/errors/shared_set_error_pb2.py similarity index 75% rename from google/ads/google_ads/v1/proto/errors/shared_set_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/shared_set_error_pb2.py index bee9dba0f..fdb05202a 100644 --- a/google/ads/google_ads/v1/proto/errors/shared_set_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/shared_set_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/shared_set_error.proto +# source: google/ads/googleads_v4/proto/errors/shared_set_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/shared_set_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/shared_set_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023SharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/shared_set_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xbc\x01\n\x12SharedSetErrorEnum\"\xa5\x01\n\x0eSharedSetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x32\n.CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE\x10\x02\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x03\x12\x16\n\x12SHARED_SET_REMOVED\x10\x04\x12\x15\n\x11SHARED_SET_IN_USE\x10\x05\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13SharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023SharedSetErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/shared_set_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xbc\x01\n\x12SharedSetErrorEnum\"\xa5\x01\n\x0eSharedSetError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x32\n.CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE\x10\x02\x12\x12\n\x0e\x44UPLICATE_NAME\x10\x03\x12\x16\n\x12SHARED_SET_REMOVED\x10\x04\x12\x15\n\x11SHARED_SET_IN_USE\x10\x05\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13SharedSetErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _SHAREDSETERRORENUM_SHAREDSETERROR = _descriptor.EnumDescriptor( name='SharedSetError', - full_name='google.ads.googleads.v1.errors.SharedSetErrorEnum.SharedSetError', + full_name='google.ads.googleads.v4.errors.SharedSetErrorEnum.SharedSetError', filename=None, file=DESCRIPTOR, values=[ @@ -68,7 +68,7 @@ _SHAREDSETERRORENUM = _descriptor.Descriptor( name='SharedSetErrorEnum', - full_name='google.ads.googleads.v1.errors.SharedSetErrorEnum', + full_name='google.ads.googleads.v4.errors.SharedSetErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -96,11 +96,11 @@ SharedSetErrorEnum = _reflection.GeneratedProtocolMessageType('SharedSetErrorEnum', (_message.Message,), dict( DESCRIPTOR = _SHAREDSETERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.shared_set_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.shared_set_error_pb2' , __doc__ = """Container for enum describing possible shared set errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.SharedSetErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.SharedSetErrorEnum) )) _sym_db.RegisterMessage(SharedSetErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_bid_modifier_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/shared_set_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_bid_modifier_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/shared_set_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/size_limit_error_pb2.py b/google/ads/google_ads/v4/proto/errors/size_limit_error_pb2.py similarity index 72% rename from google/ads/google_ads/v1/proto/errors/size_limit_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/size_limit_error_pb2.py index 4f8d9c323..607ec51c1 100644 --- a/google/ads/google_ads/v1/proto/errors/size_limit_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/size_limit_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/size_limit_error.proto +# source: google/ads/googleads_v4/proto/errors/size_limit_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/size_limit_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/size_limit_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\023SizeLimitErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/errors/size_limit_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x12SizeLimitErrorEnum\"q\n\x0eSizeLimitError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1bREQUEST_SIZE_LIMIT_EXCEEDED\x10\x02\x12 \n\x1cRESPONSE_SIZE_LIMIT_EXCEEDED\x10\x03\x42\xee\x01\n\"com.google.ads.googleads.v1.errorsB\x13SizeLimitErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\023SizeLimitErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/errors/size_limit_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\x87\x01\n\x12SizeLimitErrorEnum\"q\n\x0eSizeLimitError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x1f\n\x1bREQUEST_SIZE_LIMIT_EXCEEDED\x10\x02\x12 \n\x1cRESPONSE_SIZE_LIMIT_EXCEEDED\x10\x03\x42\xee\x01\n\"com.google.ads.googleads.v4.errorsB\x13SizeLimitErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _SIZELIMITERRORENUM_SIZELIMITERROR = _descriptor.EnumDescriptor( name='SizeLimitError', - full_name='google.ads.googleads.v1.errors.SizeLimitErrorEnum.SizeLimitError', + full_name='google.ads.googleads.v4.errors.SizeLimitErrorEnum.SizeLimitError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _SIZELIMITERRORENUM = _descriptor.Descriptor( name='SizeLimitErrorEnum', - full_name='google.ads.googleads.v1.errors.SizeLimitErrorEnum', + full_name='google.ads.googleads.v4.errors.SizeLimitErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ SizeLimitErrorEnum = _reflection.GeneratedProtocolMessageType('SizeLimitErrorEnum', (_message.Message,), dict( DESCRIPTOR = _SIZELIMITERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.size_limit_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.size_limit_error_pb2' , __doc__ = """Container for enum describing possible size limit errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.SizeLimitErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.SizeLimitErrorEnum) )) _sym_db.RegisterMessage(SizeLimitErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_budget_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/size_limit_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_budget_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/size_limit_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/string_format_error_pb2.py b/google/ads/google_ads/v4/proto/errors/string_format_error_pb2.py similarity index 73% rename from google/ads/google_ads/v1/proto/errors/string_format_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/string_format_error_pb2.py index 620b1f952..2ad7fcbb2 100644 --- a/google/ads/google_ads/v1/proto/errors/string_format_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/string_format_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/string_format_error.proto +# source: google/ads/googleads_v4/proto/errors/string_format_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/string_format_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/string_format_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026StringFormatErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/string_format_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"q\n\x15StringFormatErrorEnum\"X\n\x11StringFormatError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rILLEGAL_CHARS\x10\x02\x12\x12\n\x0eINVALID_FORMAT\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16StringFormatErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026StringFormatErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/string_format_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"q\n\x15StringFormatErrorEnum\"X\n\x11StringFormatError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x11\n\rILLEGAL_CHARS\x10\x02\x12\x12\n\x0eINVALID_FORMAT\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16StringFormatErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _STRINGFORMATERRORENUM_STRINGFORMATERROR = _descriptor.EnumDescriptor( name='StringFormatError', - full_name='google.ads.googleads.v1.errors.StringFormatErrorEnum.StringFormatError', + full_name='google.ads.googleads.v4.errors.StringFormatErrorEnum.StringFormatError', filename=None, file=DESCRIPTOR, values=[ @@ -60,7 +60,7 @@ _STRINGFORMATERRORENUM = _descriptor.Descriptor( name='StringFormatErrorEnum', - full_name='google.ads.googleads.v1.errors.StringFormatErrorEnum', + full_name='google.ads.googleads.v4.errors.StringFormatErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -88,11 +88,11 @@ StringFormatErrorEnum = _reflection.GeneratedProtocolMessageType('StringFormatErrorEnum', (_message.Message,), dict( DESCRIPTOR = _STRINGFORMATERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.string_format_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.string_format_error_pb2' , __doc__ = """Container for enum describing possible string format errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.StringFormatErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.StringFormatErrorEnum) )) _sym_db.RegisterMessage(StringFormatErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_criterion_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/string_format_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_criterion_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/string_format_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/string_length_error_pb2.py b/google/ads/google_ads/v4/proto/errors/string_length_error_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/errors/string_length_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/string_length_error_pb2.py index d84e37dc8..e96925c33 100644 --- a/google/ads/google_ads/v1/proto/errors/string_length_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/string_length_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/string_length_error.proto +# source: google/ads/googleads_v4/proto/errors/string_length_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/string_length_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/string_length_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\026StringLengthErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/errors/string_length_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"g\n\x15StringLengthErrorEnum\"N\n\x11StringLengthError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\r\n\tTOO_SHORT\x10\x02\x12\x0c\n\x08TOO_LONG\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v1.errorsB\x16StringLengthErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\026StringLengthErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/errors/string_length_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"r\n\x15StringLengthErrorEnum\"Y\n\x11StringLengthError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\t\n\x05\x45MPTY\x10\x04\x12\r\n\tTOO_SHORT\x10\x02\x12\x0c\n\x08TOO_LONG\x10\x03\x42\xf1\x01\n\"com.google.ads.googleads.v4.errorsB\x16StringLengthErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _STRINGLENGTHERRORENUM_STRINGLENGTHERROR = _descriptor.EnumDescriptor( name='StringLengthError', - full_name='google.ads.googleads.v1.errors.StringLengthErrorEnum.StringLengthError', + full_name='google.ads.googleads.v4.errors.StringLengthErrorEnum.StringLengthError', filename=None, file=DESCRIPTOR, values=[ @@ -42,25 +42,29 @@ serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='TOO_SHORT', index=2, number=2, + name='EMPTY', index=2, number=4, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( - name='TOO_LONG', index=3, number=3, + name='TOO_SHORT', index=3, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TOO_LONG', index=4, number=3, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=153, - serialized_end=231, + serialized_end=242, ) _sym_db.RegisterEnumDescriptor(_STRINGLENGTHERRORENUM_STRINGLENGTHERROR) _STRINGLENGTHERRORENUM = _descriptor.Descriptor( name='StringLengthErrorEnum', - full_name='google.ads.googleads.v1.errors.StringLengthErrorEnum', + full_name='google.ads.googleads.v4.errors.StringLengthErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -79,7 +83,7 @@ oneofs=[ ], serialized_start=128, - serialized_end=231, + serialized_end=242, ) _STRINGLENGTHERRORENUM_STRINGLENGTHERROR.containing_type = _STRINGLENGTHERRORENUM @@ -88,11 +92,11 @@ StringLengthErrorEnum = _reflection.GeneratedProtocolMessageType('StringLengthErrorEnum', (_message.Message,), dict( DESCRIPTOR = _STRINGLENGTHERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.string_length_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.string_length_error_pb2' , __doc__ = """Container for enum describing possible string length errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.StringLengthErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.StringLengthErrorEnum) )) _sym_db.RegisterMessage(StringLengthErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_criterion_simulation_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/string_length_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_criterion_simulation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/string_length_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2.py b/google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2.py new file mode 100644 index 000000000..e50dc3df5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/third_party_app_analytics_link_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/third_party_app_analytics_link_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB$ThirdPartyAppAnalyticsLinkErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/errors/third_party_app_analytics_link_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.protoB\xff\x01\n\"com.google.ads.googleads.v4.errorsB$ThirdPartyAppAnalyticsLinkErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_draft_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_draft_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/third_party_app_analytics_link_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/time_zone_error_pb2.py b/google/ads/google_ads/v4/proto/errors/time_zone_error_pb2.py new file mode 100644 index 000000000..cc5233674 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/time_zone_error_pb2.py @@ -0,0 +1,97 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/time_zone_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/time_zone_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022TimeZoneErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/time_zone_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"Y\n\x11TimeZoneErrorEnum\"D\n\rTimeZoneError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x15\n\x11INVALID_TIME_ZONE\x10\x05\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12TimeZoneErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_TIMEZONEERRORENUM_TIMEZONEERROR = _descriptor.EnumDescriptor( + name='TimeZoneError', + full_name='google.ads.googleads.v4.errors.TimeZoneErrorEnum.TimeZoneError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='INVALID_TIME_ZONE', index=2, number=5, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=145, + serialized_end=213, +) +_sym_db.RegisterEnumDescriptor(_TIMEZONEERRORENUM_TIMEZONEERROR) + + +_TIMEZONEERRORENUM = _descriptor.Descriptor( + name='TimeZoneErrorEnum', + full_name='google.ads.googleads.v4.errors.TimeZoneErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _TIMEZONEERRORENUM_TIMEZONEERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=124, + serialized_end=213, +) + +_TIMEZONEERRORENUM_TIMEZONEERROR.containing_type = _TIMEZONEERRORENUM +DESCRIPTOR.message_types_by_name['TimeZoneErrorEnum'] = _TIMEZONEERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +TimeZoneErrorEnum = _reflection.GeneratedProtocolMessageType('TimeZoneErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _TIMEZONEERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.time_zone_error_pb2' + , + __doc__ = """Container for enum describing possible time zone errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.TimeZoneErrorEnum) + )) +_sym_db.RegisterMessage(TimeZoneErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_experiment_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/time_zone_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_experiment_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/time_zone_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/url_field_error_pb2.py b/google/ads/google_ads/v4/proto/errors/url_field_error_pb2.py similarity index 92% rename from google/ads/google_ads/v1/proto/errors/url_field_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/url_field_error_pb2.py index 8c8ee6437..796a31eab 100644 --- a/google/ads/google_ads/v1/proto/errors/url_field_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/url_field_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/url_field_error.proto +# source: google/ads/googleads_v4/proto/errors/url_field_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/url_field_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/url_field_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022UrlFieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/errors/url_field_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xb6\x0e\n\x11UrlFieldErrorEnum\"\xa0\x0e\n\rUrlFieldError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dINVALID_TRACKING_URL_TEMPLATE\x10\x02\x12(\n$INVALID_TAG_IN_TRACKING_URL_TEMPLATE\x10\x03\x12%\n!MISSING_TRACKING_URL_TEMPLATE_TAG\x10\x04\x12-\n)MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE\x10\x05\x12-\n)INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE\x10\x06\x12#\n\x1fMALFORMED_TRACKING_URL_TEMPLATE\x10\x07\x12)\n%MISSING_HOST_IN_TRACKING_URL_TEMPLATE\x10\x08\x12(\n$INVALID_TLD_IN_TRACKING_URL_TEMPLATE\x10\t\x12.\n*REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG\x10\n\x12\x15\n\x11INVALID_FINAL_URL\x10\x0b\x12\x1c\n\x18INVALID_TAG_IN_FINAL_URL\x10\x0c\x12\"\n\x1eREDUNDANT_NESTED_FINAL_URL_TAG\x10\r\x12!\n\x1dMISSING_PROTOCOL_IN_FINAL_URL\x10\x0e\x12!\n\x1dINVALID_PROTOCOL_IN_FINAL_URL\x10\x0f\x12\x17\n\x13MALFORMED_FINAL_URL\x10\x10\x12\x1d\n\x19MISSING_HOST_IN_FINAL_URL\x10\x11\x12\x1c\n\x18INVALID_TLD_IN_FINAL_URL\x10\x12\x12\x1c\n\x18INVALID_FINAL_MOBILE_URL\x10\x13\x12#\n\x1fINVALID_TAG_IN_FINAL_MOBILE_URL\x10\x14\x12)\n%REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG\x10\x15\x12(\n$MISSING_PROTOCOL_IN_FINAL_MOBILE_URL\x10\x16\x12(\n$INVALID_PROTOCOL_IN_FINAL_MOBILE_URL\x10\x17\x12\x1e\n\x1aMALFORMED_FINAL_MOBILE_URL\x10\x18\x12$\n MISSING_HOST_IN_FINAL_MOBILE_URL\x10\x19\x12#\n\x1fINVALID_TLD_IN_FINAL_MOBILE_URL\x10\x1a\x12\x19\n\x15INVALID_FINAL_APP_URL\x10\x1b\x12 \n\x1cINVALID_TAG_IN_FINAL_APP_URL\x10\x1c\x12&\n\"REDUNDANT_NESTED_FINAL_APP_URL_TAG\x10\x1d\x12 \n\x1cMULTIPLE_APP_URLS_FOR_OSTYPE\x10\x1e\x12\x12\n\x0eINVALID_OSTYPE\x10\x1f\x12 \n\x1cINVALID_PROTOCOL_FOR_APP_URL\x10 \x12\"\n\x1eINVALID_PACKAGE_ID_FOR_APP_URL\x10!\x12-\n)URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT\x10\"\x12\x32\n.INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY\x10\'\x12\x34\n0INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE\x10(\x12-\n)INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE\x10)\x12-\n)REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG\x10*\x12\x14\n\x10MISSING_PROTOCOL\x10+\x12\x14\n\x10INVALID_PROTOCOL\x10\x34\x12\x0f\n\x0bINVALID_URL\x10,\x12\x1e\n\x1a\x44\x45STINATION_URL_DEPRECATED\x10-\x12\x16\n\x12INVALID_TAG_IN_URL\x10.\x12\x13\n\x0fMISSING_URL_TAG\x10/\x12\x14\n\x10\x44UPLICATE_URL_ID\x10\x30\x12\x12\n\x0eINVALID_URL_ID\x10\x31\x12\x1e\n\x1a\x46INAL_URL_SUFFIX_MALFORMED\x10\x32\x12#\n\x1fINVALID_TAG_IN_FINAL_URL_SUFFIX\x10\x33\x12\x1c\n\x18INVALID_TOP_LEVEL_DOMAIN\x10\x35\x12\x1e\n\x1aMALFORMED_TOP_LEVEL_DOMAIN\x10\x36\x12\x11\n\rMALFORMED_URL\x10\x37\x12\x10\n\x0cMISSING_HOST\x10\x38\x12\x1f\n\x1bNULL_CUSTOM_PARAMETER_VALUE\x10\x39\x42\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12UrlFieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022UrlFieldErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/url_field_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xb6\x0e\n\x11UrlFieldErrorEnum\"\xa0\x0e\n\rUrlFieldError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12!\n\x1dINVALID_TRACKING_URL_TEMPLATE\x10\x02\x12(\n$INVALID_TAG_IN_TRACKING_URL_TEMPLATE\x10\x03\x12%\n!MISSING_TRACKING_URL_TEMPLATE_TAG\x10\x04\x12-\n)MISSING_PROTOCOL_IN_TRACKING_URL_TEMPLATE\x10\x05\x12-\n)INVALID_PROTOCOL_IN_TRACKING_URL_TEMPLATE\x10\x06\x12#\n\x1fMALFORMED_TRACKING_URL_TEMPLATE\x10\x07\x12)\n%MISSING_HOST_IN_TRACKING_URL_TEMPLATE\x10\x08\x12(\n$INVALID_TLD_IN_TRACKING_URL_TEMPLATE\x10\t\x12.\n*REDUNDANT_NESTED_TRACKING_URL_TEMPLATE_TAG\x10\n\x12\x15\n\x11INVALID_FINAL_URL\x10\x0b\x12\x1c\n\x18INVALID_TAG_IN_FINAL_URL\x10\x0c\x12\"\n\x1eREDUNDANT_NESTED_FINAL_URL_TAG\x10\r\x12!\n\x1dMISSING_PROTOCOL_IN_FINAL_URL\x10\x0e\x12!\n\x1dINVALID_PROTOCOL_IN_FINAL_URL\x10\x0f\x12\x17\n\x13MALFORMED_FINAL_URL\x10\x10\x12\x1d\n\x19MISSING_HOST_IN_FINAL_URL\x10\x11\x12\x1c\n\x18INVALID_TLD_IN_FINAL_URL\x10\x12\x12\x1c\n\x18INVALID_FINAL_MOBILE_URL\x10\x13\x12#\n\x1fINVALID_TAG_IN_FINAL_MOBILE_URL\x10\x14\x12)\n%REDUNDANT_NESTED_FINAL_MOBILE_URL_TAG\x10\x15\x12(\n$MISSING_PROTOCOL_IN_FINAL_MOBILE_URL\x10\x16\x12(\n$INVALID_PROTOCOL_IN_FINAL_MOBILE_URL\x10\x17\x12\x1e\n\x1aMALFORMED_FINAL_MOBILE_URL\x10\x18\x12$\n MISSING_HOST_IN_FINAL_MOBILE_URL\x10\x19\x12#\n\x1fINVALID_TLD_IN_FINAL_MOBILE_URL\x10\x1a\x12\x19\n\x15INVALID_FINAL_APP_URL\x10\x1b\x12 \n\x1cINVALID_TAG_IN_FINAL_APP_URL\x10\x1c\x12&\n\"REDUNDANT_NESTED_FINAL_APP_URL_TAG\x10\x1d\x12 \n\x1cMULTIPLE_APP_URLS_FOR_OSTYPE\x10\x1e\x12\x12\n\x0eINVALID_OSTYPE\x10\x1f\x12 \n\x1cINVALID_PROTOCOL_FOR_APP_URL\x10 \x12\"\n\x1eINVALID_PACKAGE_ID_FOR_APP_URL\x10!\x12-\n)URL_CUSTOM_PARAMETERS_COUNT_EXCEEDS_LIMIT\x10\"\x12\x32\n.INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_KEY\x10\'\x12\x34\n0INVALID_CHARACTERS_IN_URL_CUSTOM_PARAMETER_VALUE\x10(\x12-\n)INVALID_TAG_IN_URL_CUSTOM_PARAMETER_VALUE\x10)\x12-\n)REDUNDANT_NESTED_URL_CUSTOM_PARAMETER_TAG\x10*\x12\x14\n\x10MISSING_PROTOCOL\x10+\x12\x14\n\x10INVALID_PROTOCOL\x10\x34\x12\x0f\n\x0bINVALID_URL\x10,\x12\x1e\n\x1a\x44\x45STINATION_URL_DEPRECATED\x10-\x12\x16\n\x12INVALID_TAG_IN_URL\x10.\x12\x13\n\x0fMISSING_URL_TAG\x10/\x12\x14\n\x10\x44UPLICATE_URL_ID\x10\x30\x12\x12\n\x0eINVALID_URL_ID\x10\x31\x12\x1e\n\x1a\x46INAL_URL_SUFFIX_MALFORMED\x10\x32\x12#\n\x1fINVALID_TAG_IN_FINAL_URL_SUFFIX\x10\x33\x12\x1c\n\x18INVALID_TOP_LEVEL_DOMAIN\x10\x35\x12\x1e\n\x1aMALFORMED_TOP_LEVEL_DOMAIN\x10\x36\x12\x11\n\rMALFORMED_URL\x10\x37\x12\x10\n\x0cMISSING_HOST\x10\x38\x12\x1f\n\x1bNULL_CUSTOM_PARAMETER_VALUE\x10\x39\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12UrlFieldErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _URLFIELDERRORENUM_URLFIELDERROR = _descriptor.EnumDescriptor( name='UrlFieldError', - full_name='google.ads.googleads.v1.errors.UrlFieldErrorEnum.UrlFieldError', + full_name='google.ads.googleads.v4.errors.UrlFieldErrorEnum.UrlFieldError', filename=None, file=DESCRIPTOR, values=[ @@ -260,7 +260,7 @@ _URLFIELDERRORENUM = _descriptor.Descriptor( name='UrlFieldErrorEnum', - full_name='google.ads.googleads.v1.errors.UrlFieldErrorEnum', + full_name='google.ads.googleads.v4.errors.UrlFieldErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -288,11 +288,11 @@ UrlFieldErrorEnum = _reflection.GeneratedProtocolMessageType('UrlFieldErrorEnum', (_message.Message,), dict( DESCRIPTOR = _URLFIELDERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.url_field_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.url_field_error_pb2' , __doc__ = """Container for enum describing possible url field errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.UrlFieldErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.UrlFieldErrorEnum) )) _sym_db.RegisterMessage(UrlFieldErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_extension_setting_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/url_field_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_extension_setting_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/url_field_error_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/errors/user_data_error_pb2.py b/google/ads/google_ads/v4/proto/errors/user_data_error_pb2.py new file mode 100644 index 000000000..cbfec5cb6 --- /dev/null +++ b/google/ads/google_ads/v4/proto/errors/user_data_error_pb2.py @@ -0,0 +1,105 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/errors/user_data_error.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/errors/user_data_error.proto', + package='google.ads.googleads.v4.errors', + syntax='proto3', + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022UserDataErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/user_data_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xaf\x01\n\x11UserDataErrorEnum\"\x99\x01\n\rUserDataError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12-\n)OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED\x10\x02\x12\x1d\n\x19TOO_MANY_USER_IDENTIFIERS\x10\x03\x12\x1c\n\x18USER_LIST_NOT_APPLICABLE\x10\x04\x42\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12UserDataErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') + , + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + +_USERDATAERRORENUM_USERDATAERROR = _descriptor.EnumDescriptor( + name='UserDataError', + full_name='google.ads.googleads.v4.errors.UserDataErrorEnum.UserDataError', + filename=None, + file=DESCRIPTOR, + values=[ + _descriptor.EnumValueDescriptor( + name='UNSPECIFIED', index=0, number=0, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='UNKNOWN', index=1, number=1, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED', index=2, number=2, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='TOO_MANY_USER_IDENTIFIERS', index=3, number=3, + serialized_options=None, + type=None), + _descriptor.EnumValueDescriptor( + name='USER_LIST_NOT_APPLICABLE', index=4, number=4, + serialized_options=None, + type=None), + ], + containing_type=None, + serialized_options=None, + serialized_start=147, + serialized_end=300, +) +_sym_db.RegisterEnumDescriptor(_USERDATAERRORENUM_USERDATAERROR) + + +_USERDATAERRORENUM = _descriptor.Descriptor( + name='UserDataErrorEnum', + full_name='google.ads.googleads.v4.errors.UserDataErrorEnum', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + _USERDATAERRORENUM_USERDATAERROR, + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=125, + serialized_end=300, +) + +_USERDATAERRORENUM_USERDATAERROR.containing_type = _USERDATAERRORENUM +DESCRIPTOR.message_types_by_name['UserDataErrorEnum'] = _USERDATAERRORENUM +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserDataErrorEnum = _reflection.GeneratedProtocolMessageType('UserDataErrorEnum', (_message.Message,), dict( + DESCRIPTOR = _USERDATAERRORENUM, + __module__ = 'google.ads.googleads_v4.proto.errors.user_data_error_pb2' + , + __doc__ = """Container for enum describing possible user data errors. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.UserDataErrorEnum) + )) +_sym_db.RegisterMessage(UserDataErrorEnum) + + +DESCRIPTOR._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_feed_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/user_data_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_feed_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/user_data_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/user_list_error_pb2.py b/google/ads/google_ads/v4/proto/errors/user_list_error_pb2.py similarity index 87% rename from google/ads/google_ads/v1/proto/errors/user_list_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/user_list_error_pb2.py index 1657c8de2..3af956d20 100644 --- a/google/ads/google_ads/v1/proto/errors/user_list_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/user_list_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/user_list_error.proto +# source: google/ads/googleads_v4/proto/errors/user_list_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/user_list_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/user_list_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\022UserListErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/errors/user_list_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\xec\x07\n\x11UserListErrorEnum\"\xd6\x07\n\rUserListError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x37\n3EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED\x10\x02\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x03\x12\x1f\n\x1b\x43ONVERSION_TYPE_ID_REQUIRED\x10\x04\x12\x1e\n\x1a\x44UPLICATE_CONVERSION_TYPES\x10\x05\x12\x1b\n\x17INVALID_CONVERSION_TYPE\x10\x06\x12\x17\n\x13INVALID_DESCRIPTION\x10\x07\x12\x10\n\x0cINVALID_NAME\x10\x08\x12\x10\n\x0cINVALID_TYPE\x10\t\x12\x34\n0CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND\x10\n\x12*\n&INVALID_USER_LIST_LOGICAL_RULE_OPERAND\x10\x0b\x12\x15\n\x11NAME_ALREADY_USED\x10\x0c\x12%\n!NEW_CONVERSION_TYPE_NAME_REQUIRED\x10\r\x12%\n!CONVERSION_TYPE_NAME_ALREADY_USED\x10\x0e\x12\x1e\n\x1aOWNERSHIP_REQUIRED_FOR_SET\x10\x0f\x12\"\n\x1eUSER_LIST_MUTATE_NOT_SUPPORTED\x10\x10\x12\x10\n\x0cINVALID_RULE\x10\x11\x12\x16\n\x12INVALID_DATE_RANGE\x10\x1b\x12%\n!CAN_NOT_MUTATE_SENSITIVE_USERLIST\x10\x1c\x12\x1f\n\x1bMAX_NUM_RULEBASED_USERLISTS\x10\x1d\x12\'\n#CANNOT_MODIFY_BILLABLE_RECORD_COUNT\x10\x1e\x12\x12\n\x0e\x41PP_ID_NOT_SET\x10\x1f\x12-\n)USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST\x10 \x12\x36\n2ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA\x10!\x12\x1e\n\x1aRULE_TYPE_IS_NOT_SUPPORTED\x10\"\x12:\n6CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND\x10#\x12:\n6CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS\x10$B\xed\x01\n\"com.google.ads.googleads.v1.errorsB\x12UserListErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\022UserListErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/errors/user_list_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xec\x07\n\x11UserListErrorEnum\"\xd6\x07\n\rUserListError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x37\n3EXTERNAL_REMARKETING_USER_LIST_MUTATE_NOT_SUPPORTED\x10\x02\x12\x1a\n\x16\x43ONCRETE_TYPE_REQUIRED\x10\x03\x12\x1f\n\x1b\x43ONVERSION_TYPE_ID_REQUIRED\x10\x04\x12\x1e\n\x1a\x44UPLICATE_CONVERSION_TYPES\x10\x05\x12\x1b\n\x17INVALID_CONVERSION_TYPE\x10\x06\x12\x17\n\x13INVALID_DESCRIPTION\x10\x07\x12\x10\n\x0cINVALID_NAME\x10\x08\x12\x10\n\x0cINVALID_TYPE\x10\t\x12\x34\n0CAN_NOT_ADD_LOGICAL_LIST_AS_LOGICAL_LIST_OPERAND\x10\n\x12*\n&INVALID_USER_LIST_LOGICAL_RULE_OPERAND\x10\x0b\x12\x15\n\x11NAME_ALREADY_USED\x10\x0c\x12%\n!NEW_CONVERSION_TYPE_NAME_REQUIRED\x10\r\x12%\n!CONVERSION_TYPE_NAME_ALREADY_USED\x10\x0e\x12\x1e\n\x1aOWNERSHIP_REQUIRED_FOR_SET\x10\x0f\x12\"\n\x1eUSER_LIST_MUTATE_NOT_SUPPORTED\x10\x10\x12\x10\n\x0cINVALID_RULE\x10\x11\x12\x16\n\x12INVALID_DATE_RANGE\x10\x1b\x12%\n!CAN_NOT_MUTATE_SENSITIVE_USERLIST\x10\x1c\x12\x1f\n\x1bMAX_NUM_RULEBASED_USERLISTS\x10\x1d\x12\'\n#CANNOT_MODIFY_BILLABLE_RECORD_COUNT\x10\x1e\x12\x12\n\x0e\x41PP_ID_NOT_SET\x10\x1f\x12-\n)USERLIST_NAME_IS_RESERVED_FOR_SYSTEM_LIST\x10 \x12\x36\n2ADVERTISER_NOT_WHITELISTED_FOR_USING_UPLOADED_DATA\x10!\x12\x1e\n\x1aRULE_TYPE_IS_NOT_SUPPORTED\x10\"\x12:\n6CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND\x10#\x12:\n6CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS\x10$B\xed\x01\n\"com.google.ads.googleads.v4.errorsB\x12UserListErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _USERLISTERRORENUM_USERLISTERROR = _descriptor.EnumDescriptor( name='UserListError', - full_name='google.ads.googleads.v1.errors.UserListErrorEnum.UserListError', + full_name='google.ads.googleads.v4.errors.UserListErrorEnum.UserListError', filename=None, file=DESCRIPTOR, values=[ @@ -156,7 +156,7 @@ _USERLISTERRORENUM = _descriptor.Descriptor( name='UserListErrorEnum', - full_name='google.ads.googleads.v1.errors.UserListErrorEnum', + full_name='google.ads.googleads.v4.errors.UserListErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -184,11 +184,11 @@ UserListErrorEnum = _reflection.GeneratedProtocolMessageType('UserListErrorEnum', (_message.Message,), dict( DESCRIPTOR = _USERLISTERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.user_list_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.user_list_error_pb2' , __doc__ = """Container for enum describing possible user list errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.UserListErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.UserListErrorEnum) )) _sym_db.RegisterMessage(UserListErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_label_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/user_list_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/user_list_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/errors/youtube_video_registration_error_pb2.py b/google/ads/google_ads/v4/proto/errors/youtube_video_registration_error_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/errors/youtube_video_registration_error_pb2.py rename to google/ads/google_ads/v4/proto/errors/youtube_video_registration_error_pb2.py index fc6c143ab..f58ef2f89 100644 --- a/google/ads/google_ads/v1/proto/errors/youtube_video_registration_error_pb2.py +++ b/google/ads/google_ads/v4/proto/errors/youtube_video_registration_error_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/errors/youtube_video_registration_error.proto +# source: google/ads/googleads_v4/proto/errors/youtube_video_registration_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -17,11 +17,11 @@ DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/errors/youtube_video_registration_error.proto', - package='google.ads.googleads.v1.errors', + name='google/ads/googleads_v4/proto/errors/youtube_video_registration_error.proto', + package='google.ads.googleads.v4.errors', syntax='proto3', - serialized_options=_b('\n\"com.google.ads.googleads.v1.errorsB\"YoutubeVideoRegistrationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V1.Errors\312\002\036Google\\Ads\\GoogleAds\\V1\\Errors\352\002\"Google::Ads::GoogleAds::V1::Errors'), - serialized_pb=_b('\nKgoogle/ads/googleads_v1/proto/errors/youtube_video_registration_error.proto\x12\x1egoogle.ads.googleads.v1.errors\x1a\x1cgoogle/api/annotations.proto\"\x91\x01\n!YoutubeVideoRegistrationErrorEnum\"l\n\x1dYoutubeVideoRegistrationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fVIDEO_NOT_FOUND\x10\x02\x12\x18\n\x14VIDEO_NOT_ACCESSIBLE\x10\x03\x42\xfd\x01\n\"com.google.ads.googleads.v1.errorsB\"YoutubeVideoRegistrationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v1/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V1.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V1\\Errors\xea\x02\"Google::Ads::GoogleAds::V1::Errorsb\x06proto3') + serialized_options=_b('\n\"com.google.ads.googleads.v4.errorsB\"YoutubeVideoRegistrationErrorProtoP\001ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\242\002\003GAA\252\002\036Google.Ads.GoogleAds.V4.Errors\312\002\036Google\\Ads\\GoogleAds\\V4\\Errors\352\002\"Google::Ads::GoogleAds::V4::Errors'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/errors/youtube_video_registration_error.proto\x12\x1egoogle.ads.googleads.v4.errors\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n!YoutubeVideoRegistrationErrorEnum\"\x84\x01\n\x1dYoutubeVideoRegistrationError\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x13\n\x0fVIDEO_NOT_FOUND\x10\x02\x12\x18\n\x14VIDEO_NOT_ACCESSIBLE\x10\x03\x12\x16\n\x12VIDEO_NOT_ELIGIBLE\x10\x04\x42\xfd\x01\n\"com.google.ads.googleads.v4.errorsB\"YoutubeVideoRegistrationErrorProtoP\x01ZDgoogle.golang.org/genproto/googleapis/ads/googleads/v4/errors;errors\xa2\x02\x03GAA\xaa\x02\x1eGoogle.Ads.GoogleAds.V4.Errors\xca\x02\x1eGoogle\\Ads\\GoogleAds\\V4\\Errors\xea\x02\"Google::Ads::GoogleAds::V4::Errorsb\x06proto3') , dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) @@ -29,7 +29,7 @@ _YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR = _descriptor.EnumDescriptor( name='YoutubeVideoRegistrationError', - full_name='google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError', + full_name='google.ads.googleads.v4.errors.YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError', filename=None, file=DESCRIPTOR, values=[ @@ -49,18 +49,22 @@ name='VIDEO_NOT_ACCESSIBLE', index=3, number=3, serialized_options=None, type=None), + _descriptor.EnumValueDescriptor( + name='VIDEO_NOT_ELIGIBLE', index=4, number=4, + serialized_options=None, + type=None), ], containing_type=None, serialized_options=None, - serialized_start=179, - serialized_end=287, + serialized_start=180, + serialized_end=312, ) _sym_db.RegisterEnumDescriptor(_YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR) _YOUTUBEVIDEOREGISTRATIONERRORENUM = _descriptor.Descriptor( name='YoutubeVideoRegistrationErrorEnum', - full_name='google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum', + full_name='google.ads.googleads.v4.errors.YoutubeVideoRegistrationErrorEnum', filename=None, file=DESCRIPTOR, containing_type=None, @@ -79,7 +83,7 @@ oneofs=[ ], serialized_start=142, - serialized_end=287, + serialized_end=312, ) _YOUTUBEVIDEOREGISTRATIONERRORENUM_YOUTUBEVIDEOREGISTRATIONERROR.containing_type = _YOUTUBEVIDEOREGISTRATIONERRORENUM @@ -88,11 +92,11 @@ YoutubeVideoRegistrationErrorEnum = _reflection.GeneratedProtocolMessageType('YoutubeVideoRegistrationErrorEnum', (_message.Message,), dict( DESCRIPTOR = _YOUTUBEVIDEOREGISTRATIONERRORENUM, - __module__ = 'google.ads.googleads_v1.proto.errors.youtube_video_registration_error_pb2' + __module__ = 'google.ads.googleads_v4.proto.errors.youtube_video_registration_error_pb2' , __doc__ = """Container for enum describing YouTube video registration errors. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.errors.YoutubeVideoRegistrationErrorEnum) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.errors.YoutubeVideoRegistrationErrorEnum) )) _sym_db.RegisterMessage(YoutubeVideoRegistrationErrorEnum) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_pb2_grpc.py b/google/ads/google_ads/v4/proto/errors/youtube_video_registration_error_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_pb2_grpc.py rename to google/ads/google_ads/v4/proto/errors/youtube_video_registration_error_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/__init__.py b/google/ads/google_ads/v4/proto/resources/__init__.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/__init__.py rename to google/ads/google_ads/v4/proto/resources/__init__.py diff --git a/google/ads/google_ads/v1/proto/resources/account_budget_pb2.py b/google/ads/google_ads/v4/proto/resources/account_budget_pb2.py similarity index 56% rename from google/ads/google_ads/v1/proto/resources/account_budget_pb2.py rename to google/ads/google_ads/v4/proto/resources/account_budget_pb2.py index fab91e187..6b238083d 100644 --- a/google/ads/google_ads/v1/proto/resources/account_budget_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/account_budget_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/account_budget.proto +# source: google/ads/googleads_v4/proto/resources/account_budget.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,110 +13,112 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 -from google.ads.google_ads.v1.proto.enums import account_budget_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__status__pb2 -from google.ads.google_ads.v1.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2 -from google.ads.google_ads.v1.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2 +from google.ads.google_ads.v4.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 +from google.ads.google_ads.v4.proto.enums import account_budget_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__status__pb2 +from google.ads.google_ads.v4.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2 +from google.ads.google_ads.v4.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/account_budget.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/account_budget.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\022AccountBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n\n\x18proposed_start_date_time\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x18\x61pproved_start_date_time\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12=\n\x18total_adjustments_micros\x18\x12 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x61mount_served_micros\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x15purchase_order_number\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05notes\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12g\n\x10pending_proposal\x18\x16 \x01(\x0b\x32M.google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal\x12>\n\x16proposed_end_date_time\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12V\n\x16proposed_end_time_type\x18\t \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x00\x12>\n\x16\x61pproved_end_date_time\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12V\n\x16\x61pproved_end_time_type\x18\x0b \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x01\x12\x45\n\x1eproposed_spending_limit_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x02\x12n\n\x1cproposed_spending_limit_type\x18\r \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x02\x12\x45\n\x1e\x61pproved_spending_limit_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x03\x12n\n\x1c\x61pproved_spending_limit_type\x18\x0f \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x03\x12\x45\n\x1e\x61\x64justed_spending_limit_micros\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x04\x12n\n\x1c\x61\x64justed_spending_limit_type\x18\x11 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x04\x1a\x9c\x06\n\x1cPendingAccountBudgetProposal\x12=\n\x17\x61\x63\x63ount_budget_proposal\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\rproposal_type\x18\x02 \x01(\x0e\x32V.google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0fstart_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15purchase_order_number\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12+\n\x05notes\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12\x63reation_date_time\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\rend_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12M\n\rend_time_type\x18\x06 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x00\x12<\n\x15spending_limit_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x01\x12\x65\n\x13spending_limit_type\x18\x08 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x01\x42\n\n\x08\x65nd_timeB\x10\n\x0espending_limitB\x13\n\x11proposed_end_timeB\x13\n\x11\x61pproved_end_timeB\x19\n\x17proposed_spending_limitB\x19\n\x17\x61pproved_spending_limitB\x19\n\x17\x61\x64justed_spending_limitB\xff\x01\n%com.google.ads.googleads.v1.resourcesB\x12\x41\x63\x63ountBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\022AccountBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n\n\x14\x61mount_served_micros\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12@\n\x15purchase_order_number\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x30\n\x05notes\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12l\n\x10pending_proposal\x18\x16 \x01(\x0b\x32M.google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposalB\x03\xe0\x41\x03\x12\x43\n\x16proposed_end_date_time\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03H\x00\x12[\n\x16proposed_end_time_type\x18\t \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x00\x12\x43\n\x16\x61pproved_end_date_time\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03H\x01\x12[\n\x16\x61pproved_end_time_type\x18\x0b \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x01\x12J\n\x1eproposed_spending_limit_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03H\x02\x12s\n\x1cproposed_spending_limit_type\x18\r \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x03H\x02\x12J\n\x1e\x61pproved_spending_limit_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03H\x03\x12s\n\x1c\x61pproved_spending_limit_type\x18\x0f \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x03H\x03\x12J\n\x1e\x61\x64justed_spending_limit_micros\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03H\x04\x12s\n\x1c\x61\x64justed_spending_limit_type\x18\x11 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x03H\x04\x1a\x86\x07\n\x1cPendingAccountBudgetProposal\x12u\n\x17\x61\x63\x63ount_budget_proposal\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB6\xe0\x41\x03\xfa\x41\x30\n.googleads.googleapis.com/AccountBudgetProposal\x12r\n\rproposal_type\x18\x02 \x01(\x0e\x32V.google.ads.googleads.v4.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalTypeB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12:\n\x0fstart_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12@\n\x15purchase_order_number\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x30\n\x05notes\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12=\n\x12\x63reation_date_time\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12:\n\rend_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03H\x00\x12R\n\rend_time_type\x18\x06 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x00\x12\x41\n\x15spending_limit_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03H\x01\x12j\n\x13spending_limit_type\x18\x08 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x03H\x01\x42\n\n\x08\x65nd_timeB\x10\n\x0espending_limit:a\xea\x41^\n&googleads.googleapis.com/AccountBudget\x12\x34\x63ustomers/{customer}/accountBudgets/{account_budget}B\x13\n\x11proposed_end_timeB\x13\n\x11\x61pproved_end_timeB\x19\n\x17proposed_spending_limitB\x19\n\x17\x61pproved_spending_limitB\x19\n\x17\x61\x64justed_spending_limitB\xff\x01\n%com.google.ads.googleads.v4.resourcesB\x12\x41\x63\x63ountBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL = _descriptor.Descriptor( name='PendingAccountBudgetProposal', - full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal', + full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='account_budget_proposal', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.account_budget_proposal', index=0, + name='account_budget_proposal', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.account_budget_proposal', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A0\n.googleads.googleapis.com/AccountBudgetProposal'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposal_type', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.proposal_type', index=1, + name='proposal_type', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.proposal_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.name', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.start_date_time', index=3, + name='start_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.start_date_time', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='purchase_order_number', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.purchase_order_number', index=4, + name='purchase_order_number', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.purchase_order_number', index=4, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='notes', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.notes', index=5, + name='notes', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.notes', index=5, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.creation_date_time', index=6, + name='creation_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.creation_date_time', index=6, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.end_date_time', index=7, + name='end_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.end_date_time', index=7, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_time_type', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.end_time_type', index=8, + name='end_time_type', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.end_time_type', index=8, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit_micros', index=9, + name='spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit_micros', index=9, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit_type', index=10, + name='spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit_type', index=10, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -129,219 +131,219 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='end_time', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.end_time', + name='end_time', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.end_time', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit', + name='spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal.spending_limit', index=1, containing_type=None, fields=[]), ], - serialized_start=2000, - serialized_end=2796, + serialized_start=2255, + serialized_end=3157, ) _ACCOUNTBUDGET = _descriptor.Descriptor( name='AccountBudget', - full_name='google.ads.googleads.v1.resources.AccountBudget', + full_name='google.ads.googleads.v4.resources.AccountBudget', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AccountBudget.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AccountBudget.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A(\n&googleads.googleapis.com/AccountBudget'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.AccountBudget.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.AccountBudget.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v1.resources.AccountBudget.billing_setup', index=2, + name='billing_setup', full_name='google.ads.googleads.v4.resources.AccountBudget.billing_setup', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/BillingSetup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.AccountBudget.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.AccountBudget.status', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.AccountBudget.name', index=4, + name='name', full_name='google.ads.googleads.v4.resources.AccountBudget.name', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_start_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_start_date_time', index=5, + name='proposed_start_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_start_date_time', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_start_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_start_date_time', index=6, + name='approved_start_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_start_date_time', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='total_adjustments_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.total_adjustments_micros', index=7, + name='total_adjustments_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.total_adjustments_micros', index=7, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='amount_served_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.amount_served_micros', index=8, + name='amount_served_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.amount_served_micros', index=8, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='purchase_order_number', full_name='google.ads.googleads.v1.resources.AccountBudget.purchase_order_number', index=9, + name='purchase_order_number', full_name='google.ads.googleads.v4.resources.AccountBudget.purchase_order_number', index=9, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='notes', full_name='google.ads.googleads.v1.resources.AccountBudget.notes', index=10, + name='notes', full_name='google.ads.googleads.v4.resources.AccountBudget.notes', index=10, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='pending_proposal', full_name='google.ads.googleads.v1.resources.AccountBudget.pending_proposal', index=11, + name='pending_proposal', full_name='google.ads.googleads.v4.resources.AccountBudget.pending_proposal', index=11, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_end_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_end_date_time', index=12, + name='proposed_end_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_end_date_time', index=12, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_end_time_type', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_end_time_type', index=13, + name='proposed_end_time_type', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_end_time_type', index=13, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_end_date_time', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_end_date_time', index=14, + name='approved_end_date_time', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_end_date_time', index=14, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_end_time_type', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_end_time_type', index=15, + name='approved_end_time_type', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_end_time_type', index=15, number=11, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_spending_limit_micros', index=16, + name='proposed_spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_spending_limit_micros', index=16, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_spending_limit_type', index=17, + name='proposed_spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_spending_limit_type', index=17, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_spending_limit_micros', index=18, + name='approved_spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_spending_limit_micros', index=18, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_spending_limit_type', index=19, + name='approved_spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_spending_limit_type', index=19, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjusted_spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudget.adjusted_spending_limit_micros', index=20, + name='adjusted_spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudget.adjusted_spending_limit_micros', index=20, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjusted_spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudget.adjusted_spending_limit_type', index=21, + name='adjusted_spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudget.adjusted_spending_limit_type', index=21, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A^\n&googleads.googleapis.com/AccountBudget\0224customers/{customer}/accountBudgets/{account_budget}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='proposed_end_time', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_end_time', + name='proposed_end_time', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_end_time', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='approved_end_time', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_end_time', + name='approved_end_time', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_end_time', index=1, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='proposed_spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudget.proposed_spending_limit', + name='proposed_spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudget.proposed_spending_limit', index=2, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='approved_spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudget.approved_spending_limit', + name='approved_spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudget.approved_spending_limit', index=3, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='adjusted_spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudget.adjusted_spending_limit', + name='adjusted_spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudget.adjusted_spending_limit', index=4, containing_type=None, fields=[]), ], - serialized_start=415, - serialized_end=2919, + serialized_start=475, + serialized_end=3379, ) _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['account_budget_proposal'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2._ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2._ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['purchase_order_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['notes'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['creation_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.containing_type = _ACCOUNTBUDGET _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['end_time'].fields.append( _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_date_time']) @@ -357,7 +359,7 @@ _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_type'].containing_oneof = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.oneofs_by_name['spending_limit'] _ACCOUNTBUDGET.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ACCOUNTBUDGET.fields_by_name['billing_setup'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__status__pb2._ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS +_ACCOUNTBUDGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__status__pb2._ACCOUNTBUDGETSTATUSENUM_ACCOUNTBUDGETSTATUS _ACCOUNTBUDGET.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET.fields_by_name['proposed_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET.fields_by_name['approved_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -367,15 +369,15 @@ _ACCOUNTBUDGET.fields_by_name['notes'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGET.fields_by_name['pending_proposal'].message_type = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL _ACCOUNTBUDGET.fields_by_name['proposed_end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGET.fields_by_name['proposed_end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGET.fields_by_name['proposed_end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGET.fields_by_name['approved_end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGET.fields_by_name['approved_end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGET.fields_by_name['approved_end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGET.fields_by_name['approved_spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGET.oneofs_by_name['proposed_end_time'].fields.append( _ACCOUNTBUDGET.fields_by_name['proposed_end_date_time']) _ACCOUNTBUDGET.fields_by_name['proposed_end_date_time'].containing_oneof = _ACCOUNTBUDGET.oneofs_by_name['proposed_end_time'] @@ -413,7 +415,7 @@ PendingAccountBudgetProposal = _reflection.GeneratedProtocolMessageType('PendingAccountBudgetProposal', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL, - __module__ = 'google.ads.googleads_v1.proto.resources.account_budget_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.account_budget_pb2' , __doc__ = """A pending proposal associated with the enclosing account-level budget, if applicable. @@ -421,43 +423,46 @@ Attributes: account_budget_proposal: - The resource name of the proposal. AccountBudgetProposal - resource names have the form: ``customers/{customer_id}/accou - ntBudgetProposals/{account_budget_proposal_id}`` + Output only. The resource name of the proposal. + AccountBudgetProposal resource names have the form: ``custome + rs/{customer_id}/accountBudgetProposals/{account_budget_propos + al_id}`` proposal_type: - The type of this proposal, e.g. END to end the budget - associated with this proposal. + Output only. The type of this proposal, e.g. END to end the + budget associated with this proposal. name: - The name to assign to the account-level budget. + Output only. The name to assign to the account-level budget. start_date_time: - The start time in yyyy-MM-dd HH:mm:ss format. + Output only. The start time in yyyy-MM-dd HH:mm:ss format. purchase_order_number: - A purchase order number is a value that helps users reference - this budget in their monthly invoices. + Output only. A purchase order number is a value that helps + users reference this budget in their monthly invoices. notes: - Notes associated with this budget. + Output only. Notes associated with this budget. creation_date_time: - The time when this account-level budget proposal was created. - Formatted as yyyy-MM-dd HH:mm:ss. + Output only. The time when this account-level budget proposal + was created. Formatted as yyyy-MM-dd HH:mm:ss. end_time: The end time of the account-level budget. end_date_time: - The end time in yyyy-MM-dd HH:mm:ss format. + Output only. The end time in yyyy-MM-dd HH:mm:ss format. end_time_type: - The end time as a well-defined type, e.g. FOREVER. + Output only. The end time as a well-defined type, e.g. + FOREVER. spending_limit: The spending limit. spending_limit_micros: - The spending limit in micros. One million is equivalent to one - unit. + Output only. The spending limit in micros. One million is + equivalent to one unit. spending_limit_type: - The spending limit as a well-defined type, e.g. INFINITE. + Output only. The spending limit as a well-defined type, e.g. + INFINITE. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AccountBudget.PendingAccountBudgetProposal) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AccountBudget.PendingAccountBudgetProposal) )) , DESCRIPTOR = _ACCOUNTBUDGET, - __module__ = 'google.ads.googleads_v1.proto.resources.account_budget_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.account_budget_pb2' , __doc__ = """An account-level budget. It contains information about the budget itself, as well as the most recently approved changes to the budget and @@ -480,106 +485,145 @@ Attributes: resource_name: - The resource name of the account-level budget. AccountBudget - resource names have the form: + Output only. The resource name of the account-level budget. + AccountBudget resource names have the form: ``customers/{customer_id}/accountBudgets/{account_budget_id}`` id: - The ID of the account-level budget. + Output only. The ID of the account-level budget. billing_setup: - The resource name of the billing setup associated with this - account-level budget. BillingSetup resource names have the - form: + Output only. The resource name of the billing setup associated + with this account-level budget. BillingSetup resource names + have the form: ``customers/{customer_id}/billingSetups/{billing_setup_id}`` status: - The status of this account-level budget. + Output only. The status of this account-level budget. name: - The name of the account-level budget. + Output only. The name of the account-level budget. proposed_start_date_time: - The proposed start time of the account-level budget in yyyy- - MM-dd HH:mm:ss format. If a start time type of NOW was - proposed, this is the time of request. + Output only. The proposed start time of the account-level + budget in yyyy-MM-dd HH:mm:ss format. If a start time type of + NOW was proposed, this is the time of request. approved_start_date_time: - The approved start time of the account-level budget in yyyy- - MM-dd HH:mm:ss format. For example, if a new budget is - approved after the proposed start time, the approved start - time is the time of approval. + Output only. The approved start time of the account-level + budget in yyyy-MM-dd HH:mm:ss format. For example, if a new + budget is approved after the proposed start time, the approved + start time is the time of approval. total_adjustments_micros: - The total adjustments amount. An example of an adjustment is - courtesy credits. + Output only. The total adjustments amount. An example of an + adjustment is courtesy credits. amount_served_micros: - The value of Ads that have been served, in micros. This - includes overdelivery costs, in which case a credit might be - automatically applied to the budget (see + Output only. The value of Ads that have been served, in + micros. This includes overdelivery costs, in which case a + credit might be automatically applied to the budget (see total\_adjustments\_micros). purchase_order_number: - A purchase order number is a value that helps users reference - this budget in their monthly invoices. + Output only. A purchase order number is a value that helps + users reference this budget in their monthly invoices. notes: - Notes associated with the budget. + Output only. Notes associated with the budget. pending_proposal: - The pending proposal to modify this budget, if applicable. + Output only. The pending proposal to modify this budget, if + applicable. proposed_end_time: The proposed end time of the account-level budget. proposed_end_date_time: - The proposed end time in yyyy-MM-dd HH:mm:ss format. + Output only. The proposed end time in yyyy-MM-dd HH:mm:ss + format. proposed_end_time_type: - The proposed end time as a well-defined type, e.g. FOREVER. + Output only. The proposed end time as a well-defined type, + e.g. FOREVER. approved_end_time: The approved end time of the account-level budget. For example, if a budget's end time is updated and the proposal is approved after the proposed end time, the approved end time is the time of approval. approved_end_date_time: - The approved end time in yyyy-MM-dd HH:mm:ss format. + Output only. The approved end time in yyyy-MM-dd HH:mm:ss + format. approved_end_time_type: - The approved end time as a well-defined type, e.g. FOREVER. + Output only. The approved end time as a well-defined type, + e.g. FOREVER. proposed_spending_limit: The proposed spending limit. proposed_spending_limit_micros: - The proposed spending limit in micros. One million is - equivalent to one unit. + Output only. The proposed spending limit in micros. One + million is equivalent to one unit. proposed_spending_limit_type: - The proposed spending limit as a well-defined type, e.g. - INFINITE. + Output only. The proposed spending limit as a well-defined + type, e.g. INFINITE. approved_spending_limit: The approved spending limit. For example, if the amount already spent by the account exceeds the proposed spending limit at the time the proposal is approved, the approved spending limit is set to the amount already spent. approved_spending_limit_micros: - The approved spending limit in micros. One million is - equivalent to one unit. This will only be populated if the - proposed spending limit is finite, and will always be greater - than or equal to the proposed spending limit. + Output only. The approved spending limit in micros. One + million is equivalent to one unit. This will only be populated + if the proposed spending limit is finite, and will always be + greater than or equal to the proposed spending limit. approved_spending_limit_type: - The approved spending limit as a well-defined type, e.g. - INFINITE. This will only be populated if the approved spending - limit is INFINITE. + Output only. The approved spending limit as a well-defined + type, e.g. INFINITE. This will only be populated if the + approved spending limit is INFINITE. adjusted_spending_limit: The spending limit after adjustments have been applied. Adjustments are stored in total\_adjustments\_micros. This value has the final say on how much the account is allowed to spend. adjusted_spending_limit_micros: - The adjusted spending limit in micros. One million is - equivalent to one unit. If the approved spending limit is - finite, the adjusted spending limit may vary depending on the - types of adjustments applied to this budget, if applicable. - The different kinds of adjustments are described here: - https://support.google.com/google-ads/answer/1704323 For - example, a debit adjustment reduces how much the account is - allowed to spend. + Output only. The adjusted spending limit in micros. One + million is equivalent to one unit. If the approved spending + limit is finite, the adjusted spending limit may vary + depending on the types of adjustments applied to this budget, + if applicable. The different kinds of adjustments are + described here: https://support.google.com/google- + ads/answer/1704323 For example, a debit adjustment reduces + how much the account is allowed to spend. adjusted_spending_limit_type: - The adjusted spending limit as a well-defined type, e.g. - INFINITE. This will only be populated if the adjusted spending - limit is INFINITE, which is guaranteed to be true if the - approved spending limit is INFINITE. + Output only. The adjusted spending limit as a well-defined + type, e.g. INFINITE. This will only be populated if the + adjusted spending limit is INFINITE, which is guaranteed to be + true if the approved spending limit is INFINITE. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AccountBudget) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AccountBudget) )) _sym_db.RegisterMessage(AccountBudget) _sym_db.RegisterMessage(AccountBudget.PendingAccountBudgetProposal) DESCRIPTOR._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['account_budget_proposal']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['name']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['start_date_time']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['purchase_order_number']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['notes']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['creation_date_time']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_date_time']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['end_time_type']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_micros']._options = None +_ACCOUNTBUDGET_PENDINGACCOUNTBUDGETPROPOSAL.fields_by_name['spending_limit_type']._options = None +_ACCOUNTBUDGET.fields_by_name['resource_name']._options = None +_ACCOUNTBUDGET.fields_by_name['id']._options = None +_ACCOUNTBUDGET.fields_by_name['billing_setup']._options = None +_ACCOUNTBUDGET.fields_by_name['status']._options = None +_ACCOUNTBUDGET.fields_by_name['name']._options = None +_ACCOUNTBUDGET.fields_by_name['proposed_start_date_time']._options = None +_ACCOUNTBUDGET.fields_by_name['approved_start_date_time']._options = None +_ACCOUNTBUDGET.fields_by_name['total_adjustments_micros']._options = None +_ACCOUNTBUDGET.fields_by_name['amount_served_micros']._options = None +_ACCOUNTBUDGET.fields_by_name['purchase_order_number']._options = None +_ACCOUNTBUDGET.fields_by_name['notes']._options = None +_ACCOUNTBUDGET.fields_by_name['pending_proposal']._options = None +_ACCOUNTBUDGET.fields_by_name['proposed_end_date_time']._options = None +_ACCOUNTBUDGET.fields_by_name['proposed_end_time_type']._options = None +_ACCOUNTBUDGET.fields_by_name['approved_end_date_time']._options = None +_ACCOUNTBUDGET.fields_by_name['approved_end_time_type']._options = None +_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_micros']._options = None +_ACCOUNTBUDGET.fields_by_name['proposed_spending_limit_type']._options = None +_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_micros']._options = None +_ACCOUNTBUDGET.fields_by_name['approved_spending_limit_type']._options = None +_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_micros']._options = None +_ACCOUNTBUDGET.fields_by_name['adjusted_spending_limit_type']._options = None +_ACCOUNTBUDGET._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/campaign_shared_set_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/account_budget_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/campaign_shared_set_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/account_budget_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/account_budget_proposal_pb2.py b/google/ads/google_ads/v4/proto/resources/account_budget_proposal_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/resources/account_budget_proposal_pb2.py rename to google/ads/google_ads/v4/proto/resources/account_budget_proposal_pb2.py index e2e0f4057..b46663da5 100644 --- a/google/ads/google_ads/v1/proto/resources/account_budget_proposal_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/account_budget_proposal_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/account_budget_proposal.proto +# source: google/ads/googleads_v4/proto/resources/account_budget_proposal.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,223 +13,225 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import account_budget_proposal_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2 -from google.ads.google_ads.v1.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 -from google.ads.google_ads.v1.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2 -from google.ads.google_ads.v1.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2 +from google.ads.google_ads.v4.proto.enums import account_budget_proposal_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2 +from google.ads.google_ads.v4.proto.enums import account_budget_proposal_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2 +from google.ads.google_ads.v4.proto.enums import spending_limit_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2 +from google.ads.google_ads.v4.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/account_budget_proposal.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/account_budget_proposal.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\032AccountBudgetProposalProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/resources/account_budget_proposal.proto\x12!google.ads.googleads.v1.resources\x1aHgoogle/ads/googleads_v1/proto/enums/account_budget_proposal_status.proto\x1a\x46google/ads/googleads_v1/proto/enums/account_budget_proposal_type.proto\x1a=google/ads/googleads_v1/proto/enums/spending_limit_type.proto\x1a\x33google/ads/googleads_v1/proto/enums/time_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb3\r\n\x15\x41\x63\x63ountBudgetProposal\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\rbilling_setup\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0e\x61\x63\x63ount_budget\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\rproposal_type\x18\x04 \x01(\x0e\x32V.google.ads.googleads.v1.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalType\x12j\n\x06status\x18\x0f \x01(\x0e\x32Z.google.ads.googleads.v1.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatus\x12\x33\n\rproposed_name\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x18\x61pproved_start_date_time\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x44\n\x1eproposed_purchase_order_number\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0eproposed_notes\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12\x63reation_date_time\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12\x61pproval_date_time\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12@\n\x18proposed_start_date_time\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12X\n\x18proposed_start_time_type\x18\x07 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x00\x12>\n\x16proposed_end_date_time\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12V\n\x16proposed_end_time_type\x18\t \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x01\x12>\n\x16\x61pproved_end_date_time\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x02\x12V\n\x16\x61pproved_end_time_type\x18\x16 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x02\x12\x45\n\x1eproposed_spending_limit_micros\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x03\x12n\n\x1cproposed_spending_limit_type\x18\x0b \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x03\x12\x45\n\x1e\x61pproved_spending_limit_micros\x18\x17 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueH\x04\x12n\n\x1c\x61pproved_spending_limit_type\x18\x18 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.SpendingLimitTypeEnum.SpendingLimitTypeH\x04\x42\x15\n\x13proposed_start_timeB\x13\n\x11proposed_end_timeB\x13\n\x11\x61pproved_end_timeB\x19\n\x17proposed_spending_limitB\x19\n\x17\x61pproved_spending_limitB\x87\x02\n%com.google.ads.googleads.v1.resourcesB\x1a\x41\x63\x63ountBudgetProposalProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\032AccountBudgetProposalProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/resources/account_budget_proposal.proto\x12!google.ads.googleads.v4.resources\x1aHgoogle/ads/googleads_v4/proto/enums/account_budget_proposal_status.proto\x1a\x46google/ads/googleads_v4/proto/enums/account_budget_proposal_type.proto\x1a=google/ads/googleads_v4/proto/enums/spending_limit_type.proto\x1a\x33google/ads/googleads_v4/proto/enums/time_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa5\x10\n\x15\x41\x63\x63ountBudgetProposal\x12M\n\rresource_name\x18\x01 \x01(\tB6\xe0\x41\x05\xfa\x41\x30\n.googleads.googleapis.com/AccountBudgetProposal\x12,\n\x02id\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x62\n\rbilling_setup\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB-\xe0\x41\x05\xfa\x41\'\n%googleads.googleapis.com/BillingSetup\x12\x64\n\x0e\x61\x63\x63ount_budget\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB.\xe0\x41\x05\xfa\x41(\n&googleads.googleapis.com/AccountBudget\x12r\n\rproposal_type\x18\x04 \x01(\x0e\x32V.google.ads.googleads.v4.enums.AccountBudgetProposalTypeEnum.AccountBudgetProposalTypeB\x03\xe0\x41\x05\x12o\n\x06status\x18\x0f \x01(\x0e\x32Z.google.ads.googleads.v4.enums.AccountBudgetProposalStatusEnum.AccountBudgetProposalStatusB\x03\xe0\x41\x03\x12\x38\n\rproposed_name\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x43\n\x18\x61pproved_start_date_time\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12I\n\x1eproposed_purchase_order_number\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x39\n\x0eproposed_notes\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12=\n\x12\x63reation_date_time\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12=\n\x12\x61pproval_date_time\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x45\n\x18proposed_start_date_time\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05H\x00\x12]\n\x18proposed_start_time_type\x18\x07 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x05H\x00\x12\x43\n\x16proposed_end_date_time\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05H\x01\x12[\n\x16proposed_end_time_type\x18\t \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x05H\x01\x12\x43\n\x16\x61pproved_end_date_time\x18\x15 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03H\x02\x12[\n\x16\x61pproved_end_time_type\x18\x16 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x02\x12J\n\x1eproposed_spending_limit_micros\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05H\x03\x12s\n\x1cproposed_spending_limit_type\x18\x0b \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x05H\x03\x12J\n\x1e\x61pproved_spending_limit_micros\x18\x17 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03H\x04\x12s\n\x1c\x61pproved_spending_limit_type\x18\x18 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SpendingLimitTypeEnum.SpendingLimitTypeB\x03\xe0\x41\x03H\x04:z\xea\x41w\n.googleads.googleapis.com/AccountBudgetProposal\x12\x45\x63ustomers/{customer}/accountBudgetProposals/{account_budget_proposal}B\x15\n\x13proposed_start_timeB\x13\n\x11proposed_end_timeB\x13\n\x11\x61pproved_end_timeB\x19\n\x17proposed_spending_limitB\x19\n\x17\x61pproved_spending_limitB\x87\x02\n%com.google.ads.googleads.v4.resourcesB\x1a\x41\x63\x63ountBudgetProposalProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ACCOUNTBUDGETPROPOSAL = _descriptor.Descriptor( name='AccountBudgetProposal', - full_name='google.ads.googleads.v1.resources.AccountBudgetProposal', + full_name='google.ads.googleads.v4.resources.AccountBudgetProposal', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A0\n.googleads.googleapis.com/AccountBudgetProposal'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.id', index=1, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.billing_setup', index=2, + name='billing_setup', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.billing_setup', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\'\n%googleads.googleapis.com/BillingSetup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='account_budget', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.account_budget', index=3, + name='account_budget', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.account_budget', index=3, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A(\n&googleads.googleapis.com/AccountBudget'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposal_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposal_type', index=4, + name='proposal_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposal_type', index=4, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.status', index=5, + name='status', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.status', index=5, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_name', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_name', index=6, + name='proposed_name', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_name', index=6, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_start_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_start_date_time', index=7, + name='approved_start_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_start_date_time', index=7, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_purchase_order_number', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_purchase_order_number', index=8, + name='proposed_purchase_order_number', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_purchase_order_number', index=8, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_notes', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_notes', index=9, + name='proposed_notes', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_notes', index=9, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='creation_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.creation_date_time', index=10, + name='creation_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.creation_date_time', index=10, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approval_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approval_date_time', index=11, + name='approval_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approval_date_time', index=11, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_start_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_start_date_time', index=12, + name='proposed_start_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_start_date_time', index=12, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_start_time_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_start_time_type', index=13, + name='proposed_start_time_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_start_time_type', index=13, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_end_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_end_date_time', index=14, + name='proposed_end_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_end_date_time', index=14, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_end_time_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_end_time_type', index=15, + name='proposed_end_time_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_end_time_type', index=15, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_end_date_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_end_date_time', index=16, + name='approved_end_date_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_end_date_time', index=16, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_end_time_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_end_time_type', index=17, + name='approved_end_time_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_end_time_type', index=17, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_spending_limit_micros', index=18, + name='proposed_spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_spending_limit_micros', index=18, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proposed_spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_spending_limit_type', index=19, + name='proposed_spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_spending_limit_type', index=19, number=11, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_spending_limit_micros', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_spending_limit_micros', index=20, + name='approved_spending_limit_micros', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_spending_limit_micros', index=20, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approved_spending_limit_type', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_spending_limit_type', index=21, + name='approved_spending_limit_type', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_spending_limit_type', index=21, number=24, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Aw\n.googleads.googleapis.com/AccountBudgetProposal\022Ecustomers/{customer}/accountBudgetProposals/{account_budget_proposal}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='proposed_start_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_start_time', + name='proposed_start_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_start_time', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='proposed_end_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_end_time', + name='proposed_end_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_end_time', index=1, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='approved_end_time', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_end_time', + name='approved_end_time', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_end_time', index=2, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='proposed_spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.proposed_spending_limit', + name='proposed_spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.proposed_spending_limit', index=3, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='approved_spending_limit', full_name='google.ads.googleads.v1.resources.AccountBudgetProposal.approved_spending_limit', + name='approved_spending_limit', full_name='google.ads.googleads.v4.resources.AccountBudgetProposal.approved_spending_limit', index=4, containing_type=None, fields=[]), ], - serialized_start=433, - serialized_end=2148, + serialized_start=493, + serialized_end=2578, ) _ACCOUNTBUDGETPROPOSAL.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['billing_setup'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['account_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2._ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2._ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__type__pb2._ACCOUNTBUDGETPROPOSALTYPEENUM_ACCOUNTBUDGETPROPOSALTYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__budget__proposal__status__pb2._ACCOUNTBUDGETPROPOSALSTATUSENUM_ACCOUNTBUDGETPROPOSALSTATUS _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_purchase_order_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -237,15 +239,15 @@ _ACCOUNTBUDGETPROPOSAL.fields_by_name['creation_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['approval_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_spending__limit__type__pb2._SPENDINGLIMITTYPEENUM_SPENDINGLIMITTYPE _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_start_time'].fields.append( _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_date_time']) _ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_date_time'].containing_oneof = _ACCOUNTBUDGETPROPOSAL.oneofs_by_name['proposed_start_time'] @@ -281,7 +283,7 @@ AccountBudgetProposal = _reflection.GeneratedProtocolMessageType('AccountBudgetProposal', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGETPROPOSAL, - __module__ = 'google.ads.googleads_v1.proto.resources.account_budget_proposal_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.account_budget_proposal_pb2' , __doc__ = """An account-level budget proposal. @@ -296,82 +298,112 @@ Attributes: resource_name: - The resource name of the proposal. AccountBudgetProposal - resource names have the form: ``customers/{customer_id}/accou - ntBudgetProposals/{account_budget_proposal_id}`` + Immutable. The resource name of the proposal. + AccountBudgetProposal resource names have the form: ``custome + rs/{customer_id}/accountBudgetProposals/{account_budget_propos + al_id}`` id: - The ID of the proposal. + Output only. The ID of the proposal. billing_setup: - The resource name of the billing setup associated with this - proposal. + Immutable. The resource name of the billing setup associated + with this proposal. account_budget: - The resource name of the account-level budget associated with - this proposal. - proposal_type: - The type of this proposal, e.g. END to end the budget + Immutable. The resource name of the account-level budget associated with this proposal. + proposal_type: + Immutable. The type of this proposal, e.g. END to end the + budget associated with this proposal. status: - The status of this proposal. When a new proposal is created, - the status defaults to PENDING. + Output only. The status of this proposal. When a new proposal + is created, the status defaults to PENDING. proposed_name: - The name to assign to the account-level budget. + Immutable. The name to assign to the account-level budget. approved_start_date_time: - The approved start date time in yyyy-mm-dd hh:mm:ss format. + Output only. The approved start date time in yyyy-mm-dd + hh:mm:ss format. proposed_purchase_order_number: - A purchase order number is a value that enables the user to - help them reference this budget in their monthly invoices. + Immutable. A purchase order number is a value that enables the + user to help them reference this budget in their monthly + invoices. proposed_notes: - Notes associated with this budget. + Immutable. Notes associated with this budget. creation_date_time: - The date time when this account-level budget proposal was - created, which is not the same as its approval date time, if - applicable. + Output only. The date time when this account-level budget + proposal was created, which is not the same as its approval + date time, if applicable. approval_date_time: - The date time when this account-level budget was approved, if - applicable. + Output only. The date time when this account-level budget was + approved, if applicable. proposed_start_time: The proposed start date time of the account-level budget, which cannot be in the past. proposed_start_date_time: - The proposed start date time in yyyy-mm-dd hh:mm:ss format. + Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss + format. proposed_start_time_type: - The proposed start date time as a well-defined type, e.g. NOW. + Immutable. The proposed start date time as a well-defined + type, e.g. NOW. proposed_end_time: The proposed end date time of the account-level budget, which cannot be in the past. proposed_end_date_time: - The proposed end date time in yyyy-mm-dd hh:mm:ss format. + Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss + format. proposed_end_time_type: - The proposed end date time as a well-defined type, e.g. - FOREVER. + Immutable. The proposed end date time as a well-defined type, + e.g. FOREVER. approved_end_time: The approved end date time of the account-level budget. approved_end_date_time: - The approved end date time in yyyy-mm-dd hh:mm:ss format. + Output only. The approved end date time in yyyy-mm-dd hh:mm:ss + format. approved_end_time_type: - The approved end date time as a well-defined type, e.g. - FOREVER. + Output only. The approved end date time as a well-defined + type, e.g. FOREVER. proposed_spending_limit: The proposed spending limit. proposed_spending_limit_micros: - The proposed spending limit in micros. One million is - equivalent to one unit. + Immutable. The proposed spending limit in micros. One million + is equivalent to one unit. proposed_spending_limit_type: - The proposed spending limit as a well-defined type, e.g. - INFINITE. + Immutable. The proposed spending limit as a well-defined type, + e.g. INFINITE. approved_spending_limit: The approved spending limit. approved_spending_limit_micros: - The approved spending limit in micros. One million is - equivalent to one unit. + Output only. The approved spending limit in micros. One + million is equivalent to one unit. approved_spending_limit_type: - The approved spending limit as a well-defined type, e.g. - INFINITE. + Output only. The approved spending limit as a well-defined + type, e.g. INFINITE. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AccountBudgetProposal) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AccountBudgetProposal) )) _sym_db.RegisterMessage(AccountBudgetProposal) DESCRIPTOR._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['resource_name']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['id']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['billing_setup']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['account_budget']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposal_type']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['status']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_name']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_start_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_purchase_order_number']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_notes']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['creation_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approval_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_start_time_type']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_end_time_type']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_date_time']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_end_time_type']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_micros']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['proposed_spending_limit_type']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_micros']._options = None +_ACCOUNTBUDGETPROPOSAL.fields_by_name['approved_spending_limit_type']._options = None +_ACCOUNTBUDGETPROPOSAL._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/carrier_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/account_budget_proposal_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/carrier_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/account_budget_proposal_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/account_link_pb2.py b/google/ads/google_ads/v4/proto/resources/account_link_pb2.py new file mode 100644 index 000000000..6c261de9c --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/account_link_pb2.py @@ -0,0 +1,230 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/account_link.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import account_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__link__status__pb2 +from google.ads.google_ads.v4.proto.enums import linked_account_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_linked__account__type__pb2 +from google.ads.google_ads.v4.proto.enums import mobile_app_vendor_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/account_link.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020AccountLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/resources/account_link.proto\x12!google.ads.googleads.v4.resources\x1a=google/ads/googleads_v4/proto/enums/account_link_status.proto\x1a=google/ads/googleads_v4/proto/enums/linked_account_type.proto\x1a;google/ads/googleads_v4/proto/enums/mobile_app_vendor.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa2\x04\n\x0b\x41\x63\x63ountLink\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x05\xfa\x41&\n$googleads.googleapis.com/AccountLink\x12\x39\n\x0f\x61\x63\x63ount_link_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12V\n\x06status\x18\x03 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.AccountLinkStatusEnum.AccountLinkStatus\x12Y\n\x04type\x18\x04 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.LinkedAccountTypeEnum.LinkedAccountTypeB\x03\xe0\x41\x03\x12q\n\x19third_party_app_analytics\x18\x05 \x01(\x0b\x32G.google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifierB\x03\xe0\x41\x05H\x00:[\xea\x41X\n$googleads.googleapis.com/AccountLink\x12\x30\x63ustomers/{customer}/accountLinks/{account_link}B\x10\n\x0elinked_account\"\xfb\x01\n$ThirdPartyAppAnalyticsLinkIdentifier\x12\x43\n\x19\x61pp_analytics_provider_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05\x12\x31\n\x06\x61pp_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12[\n\napp_vendor\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.MobileAppVendorEnum.MobileAppVendorB\x03\xe0\x41\x05\x42\xfd\x01\n%com.google.ads.googleads.v4.resourcesB\x10\x41\x63\x63ountLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__link__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_linked__account__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ACCOUNTLINK = _descriptor.Descriptor( + name='AccountLink', + full_name='google.ads.googleads.v4.resources.AccountLink', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AccountLink.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A&\n$googleads.googleapis.com/AccountLink'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='account_link_id', full_name='google.ads.googleads.v4.resources.AccountLink.account_link_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.AccountLink.status', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.AccountLink.type', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='third_party_app_analytics', full_name='google.ads.googleads.v4.resources.AccountLink.third_party_app_analytics', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AX\n$googleads.googleapis.com/AccountLink\0220customers/{customer}/accountLinks/{account_link}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='linked_account', full_name='google.ads.googleads.v4.resources.AccountLink.linked_account', + index=0, containing_type=None, fields=[]), + ], + serialized_start=407, + serialized_end=953, +) + + +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER = _descriptor.Descriptor( + name='ThirdPartyAppAnalyticsLinkIdentifier', + full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifier', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='app_analytics_provider_id', full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifier.app_analytics_provider_id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifier.app_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_vendor', full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifier.app_vendor', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=956, + serialized_end=1207, +) + +_ACCOUNTLINK.fields_by_name['account_link_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ACCOUNTLINK.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_account__link__status__pb2._ACCOUNTLINKSTATUSENUM_ACCOUNTLINKSTATUS +_ACCOUNTLINK.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_linked__account__type__pb2._LINKEDACCOUNTTYPEENUM_LINKEDACCOUNTTYPE +_ACCOUNTLINK.fields_by_name['third_party_app_analytics'].message_type = _THIRDPARTYAPPANALYTICSLINKIDENTIFIER +_ACCOUNTLINK.oneofs_by_name['linked_account'].fields.append( + _ACCOUNTLINK.fields_by_name['third_party_app_analytics']) +_ACCOUNTLINK.fields_by_name['third_party_app_analytics'].containing_oneof = _ACCOUNTLINK.oneofs_by_name['linked_account'] +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_analytics_provider_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_vendor'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2._MOBILEAPPVENDORENUM_MOBILEAPPVENDOR +DESCRIPTOR.message_types_by_name['AccountLink'] = _ACCOUNTLINK +DESCRIPTOR.message_types_by_name['ThirdPartyAppAnalyticsLinkIdentifier'] = _THIRDPARTYAPPANALYTICSLINKIDENTIFIER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AccountLink = _reflection.GeneratedProtocolMessageType('AccountLink', (_message.Message,), dict( + DESCRIPTOR = _ACCOUNTLINK, + __module__ = 'google.ads.googleads_v4.proto.resources.account_link_pb2' + , + __doc__ = """Represents the data sharing connection between a Google Ads account and + another account + + + Attributes: + resource_name: + Immutable. Resource name of the account link. AccountLink + resource names have the form: + ``customers/{customer_id}/accountLinks/{account_link_id}`` + account_link_id: + Output only. The ID of the link. This field is read only. + status: + The status of the link. + type: + Output only. The type of the linked account. + linked_account: + An account linked to this Google Ads account. + third_party_app_analytics: + Immutable. A third party app analytics link. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AccountLink) + )) +_sym_db.RegisterMessage(AccountLink) + +ThirdPartyAppAnalyticsLinkIdentifier = _reflection.GeneratedProtocolMessageType('ThirdPartyAppAnalyticsLinkIdentifier', (_message.Message,), dict( + DESCRIPTOR = _THIRDPARTYAPPANALYTICSLINKIDENTIFIER, + __module__ = 'google.ads.googleads_v4.proto.resources.account_link_pb2' + , + __doc__ = """The identifiers of a Third Party App Analytics Link. + + + Attributes: + app_analytics_provider_id: + Immutable. The ID of the app analytics provider. This field + should not be empty when creating a new third party app + analytics link. It is unable to be modified after the creation + of the link. + app_id: + Immutable. A string that uniquely identifies a mobile + application from which the data was collected to the Google + Ads API. For iOS, the ID string is the 9 digit string that + appears at the end of an App Store URL (e.g., "422689480" for + "Gmail" whose App Store link is + https://apps.apple.com/us/app/gmail-email-by- + google/id422689480). For Android, the ID string is the + application's package name (e.g., "com.google.android.gm" for + "Gmail" given Google Play link https://play.google.com/store/a + pps/details?id=com.google.android.gm) This field should not be + empty when creating a new third party app analytics link. It + is unable to be modified after the creation of the link. + app_vendor: + Immutable. The vendor of the app. This field should not be + empty when creating a new third party app analytics link. It + is unable to be modified after the creation of the link. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLinkIdentifier) + )) +_sym_db.RegisterMessage(ThirdPartyAppAnalyticsLinkIdentifier) + + +DESCRIPTOR._options = None +_ACCOUNTLINK.fields_by_name['resource_name']._options = None +_ACCOUNTLINK.fields_by_name['account_link_id']._options = None +_ACCOUNTLINK.fields_by_name['type']._options = None +_ACCOUNTLINK.fields_by_name['third_party_app_analytics']._options = None +_ACCOUNTLINK._options = None +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_analytics_provider_id']._options = None +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_id']._options = None +_THIRDPARTYAPPANALYTICSLINKIDENTIFIER.fields_by_name['app_vendor']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/change_status_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/account_link_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/change_status_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/account_link_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2.py new file mode 100644 index 000000000..015325631 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2.py @@ -0,0 +1,229 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_ad_asset_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.enums import asset_field_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__field__type__pb2 +from google.ads.google_ads.v4.proto.enums import asset_performance_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__performance__label__pb2 +from google.ads.google_ads.v4.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2 +from google.ads.google_ads.v4.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_ad_asset_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027AdGroupAdAssetViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/ad_group_ad_asset_view.proto\x12!google.ads.googleads.v4.resources\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1a:google/ads/googleads_v4/proto/enums/asset_field_type.proto\x1a\x41google/ads/googleads_v4/proto/enums/asset_performance_label.proto\x1a@google/ads/googleads_v4/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v4/proto/enums/policy_review_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb1\x05\n\x12\x41\x64GroupAdAssetView\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/AdGroupAdAssetView\x12]\n\x0b\x61\x64_group_ad\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd\x12S\n\x05\x61sset\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB&\xe0\x41\x03\xfa\x41 \n\x1egoogleads.googleapis.com/Asset\x12Y\n\nfield_type\x18\x02 \x01(\x0e\x32@.google.ads.googleads.v4.enums.AssetFieldTypeEnum.AssetFieldTypeB\x03\xe0\x41\x03\x12[\n\x0epolicy_summary\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummaryB\x03\xe0\x41\x03\x12n\n\x11performance_label\x18\x04 \x01(\x0e\x32N.google.ads.googleads.v4.enums.AssetPerformanceLabelEnum.AssetPerformanceLabelB\x03\xe0\x41\x03:s\xea\x41p\n+googleads.googleapis.com/AdGroupAdAssetView\x12\x41\x63ustomers/{customer}/adGroupAdAssetViews/{ad_group_ad_asset_view}\"\xc4\x02\n\x1b\x41\x64GroupAdAssetPolicySummary\x12S\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v4.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v4.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x42\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17\x41\x64GroupAdAssetViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__field__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__performance__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPADASSETVIEW = _descriptor.Descriptor( + name='AdGroupAdAssetView', + full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A-\n+googleads.googleapis.com/AdGroupAdAssetView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.ad_group_ad', index=1, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='asset', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.asset', index=2, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A \n\036googleads.googleapis.com/Asset'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='field_type', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.field_type', index=3, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='policy_summary', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.policy_summary', index=4, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='performance_label', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetView.performance_label', index=5, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ap\n+googleads.googleapis.com/AdGroupAdAssetView\022Acustomers/{customer}/adGroupAdAssetViews/{ad_group_ad_asset_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=538, + serialized_end=1227, +) + + +_ADGROUPADASSETPOLICYSUMMARY = _descriptor.Descriptor( + name='AdGroupAdAssetPolicySummary', + full_name='google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummary.policy_topic_entries', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummary.review_status', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummary.approval_status', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1230, + serialized_end=1554, +) + +_ADGROUPADASSETVIEW.fields_by_name['ad_group_ad'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPADASSETVIEW.fields_by_name['asset'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPADASSETVIEW.fields_by_name['field_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__field__type__pb2._ASSETFIELDTYPEENUM_ASSETFIELDTYPE +_ADGROUPADASSETVIEW.fields_by_name['policy_summary'].message_type = _ADGROUPADASSETPOLICYSUMMARY +_ADGROUPADASSETVIEW.fields_by_name['performance_label'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_asset__performance__label__pb2._ASSETPERFORMANCELABELENUM_ASSETPERFORMANCELABEL +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS +DESCRIPTOR.message_types_by_name['AdGroupAdAssetView'] = _ADGROUPADASSETVIEW +DESCRIPTOR.message_types_by_name['AdGroupAdAssetPolicySummary'] = _ADGROUPADASSETPOLICYSUMMARY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAdAssetView = _reflection.GeneratedProtocolMessageType('AdGroupAdAssetView', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPADASSETVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_ad_asset_view_pb2' + , + __doc__ = """A link between an AdGroupAd and an Asset. + + + Attributes: + resource_name: + Output only. The resource name of the ad group ad asset view. + Ad group ad asset view resource names have the form (Before + V4): ``customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsse + t.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset + _id}~{AdGroupAdAsset.field_type}`` Ad group ad asset view + resource names have the form (Beginning from V4): ``customers + /{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id + }~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdA + sset.field_type}`` + ad_group_ad: + Output only. The ad group ad to which the asset is linked. + asset: + Output only. The asset which is linked to the ad group ad. + field_type: + Output only. Role that the asset takes in the ad. + policy_summary: + Output only. Policy information for the ad group ad asset. + performance_label: + Output only. Performance of an asset linkage. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAdAssetView) + )) +_sym_db.RegisterMessage(AdGroupAdAssetView) + +AdGroupAdAssetPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdAssetPolicySummary', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPADASSETPOLICYSUMMARY, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_ad_asset_view_pb2' + , + __doc__ = """Contains policy information for an ad group ad asset. + + + Attributes: + policy_topic_entries: + Output only. The list of policy findings for the ad group ad + asset. + review_status: + Output only. Where in the review process this ad group ad + asset is. + approval_status: + Output only. The overall approval status of this ad group ad + asset, calculated based on the status of its individual policy + topic entries. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAdAssetPolicySummary) + )) +_sym_db.RegisterMessage(AdGroupAdAssetPolicySummary) + + +DESCRIPTOR._options = None +_ADGROUPADASSETVIEW.fields_by_name['resource_name']._options = None +_ADGROUPADASSETVIEW.fields_by_name['ad_group_ad']._options = None +_ADGROUPADASSETVIEW.fields_by_name['asset']._options = None +_ADGROUPADASSETVIEW.fields_by_name['field_type']._options = None +_ADGROUPADASSETVIEW.fields_by_name['policy_summary']._options = None +_ADGROUPADASSETVIEW.fields_by_name['performance_label']._options = None +_ADGROUPADASSETVIEW._options = None +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['policy_topic_entries']._options = None +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['review_status']._options = None +_ADGROUPADASSETPOLICYSUMMARY.fields_by_name['approval_status']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/click_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/click_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_ad_asset_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2.py new file mode 100644 index 000000000..77736ebfb --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_ad_label.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_ad_label.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023AdGroupAdLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/ad_group_ad_label.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf4\x02\n\x0e\x41\x64GroupAdLabel\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/AdGroupAdLabel\x12]\n\x0b\x61\x64_group_ad\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd\x12S\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/Label:f\xea\x41\x63\n\'googleads.googleapis.com/AdGroupAdLabel\x12\x38\x63ustomers/{customer}/adGroupAdLabels/{ad_group_ad_label}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x41\x64GroupAdLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPADLABEL = _descriptor.Descriptor( + name='AdGroupAdLabel', + full_name='google.ads.googleads.v4.resources.AdGroupAdLabel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupAdLabel.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/AdGroupAdLabel'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v4.resources.AdGroupAdLabel.ad_group_ad', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='label', full_name='google.ads.googleads.v4.resources.AdGroupAdLabel.label', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A \n\036googleads.googleapis.com/Label'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ac\n\'googleads.googleapis.com/AdGroupAdLabel\0228customers/{customer}/adGroupAdLabels/{ad_group_ad_label}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=225, + serialized_end=597, +) + +_ADGROUPADLABEL.fields_by_name['ad_group_ad'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPADLABEL.fields_by_name['label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['AdGroupAdLabel'] = _ADGROUPADLABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAdLabel = _reflection.GeneratedProtocolMessageType('AdGroupAdLabel', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPADLABEL, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_ad_label_pb2' + , + __doc__ = """A relationship between an ad group ad and a label. + + + Attributes: + resource_name: + Immutable. The resource name of the ad group ad label. Ad + group ad label resource names have the form: ``customers/{cust + omer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}`` + ad_group_ad: + Immutable. The ad group ad to which the label is attached. + label: + Immutable. The label assigned to the ad group ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAdLabel) + )) +_sym_db.RegisterMessage(AdGroupAdLabel) + + +DESCRIPTOR._options = None +_ADGROUPADLABEL.fields_by_name['resource_name']._options = None +_ADGROUPADLABEL.fields_by_name['ad_group_ad']._options = None +_ADGROUPADLABEL.fields_by_name['label']._options = None +_ADGROUPADLABEL._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/conversion_action_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/conversion_action_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_ad_label_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2.py new file mode 100644 index 000000000..a5b93d3bb --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2.py @@ -0,0 +1,221 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_ad.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.enums import ad_group_ad_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__ad__status__pb2 +from google.ads.google_ads.v4.proto.enums import ad_strength_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__strength__pb2 +from google.ads.google_ads.v4.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2 +from google.ads.google_ads.v4.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2 +from google.ads.google_ads.v4.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_ad.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\016AdGroupAdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/resources/ad_group_ad.proto\x12!google.ads.googleads.v4.resources\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1agoogle/ads/googleads_v4/proto/enums/policy_review_status.proto\x1a\x30google/ads/googleads_v4/proto/resources/ad.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb8\x04\n\tAdGroupAd\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd\x12R\n\x06status\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.AdGroupAdStatusEnum.AdGroupAdStatus\x12X\n\x08\x61\x64_group\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12\x36\n\x02\x61\x64\x18\x05 \x01(\x0b\x32%.google.ads.googleads.v4.resources.AdB\x03\xe0\x41\x05\x12V\n\x0epolicy_summary\x18\x06 \x01(\x0b\x32\x39.google.ads.googleads.v4.resources.AdGroupAdPolicySummaryB\x03\xe0\x41\x03\x12R\n\x0b\x61\x64_strength\x18\x07 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.AdStrengthEnum.AdStrengthB\x03\xe0\x41\x03:V\xea\x41S\n\"googleads.googleapis.com/AdGroupAd\x12-customers/{customer}/adGroupAds/{ad_group_ad}\"\xbf\x02\n\x16\x41\x64GroupAdPolicySummary\x12S\n\x14policy_topic_entries\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v4.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v4.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x42\xfb\x01\n%com.google.ads.googleads.v4.resourcesB\x0e\x41\x64GroupAdProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__ad__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__strength__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPAD = _descriptor.Descriptor( + name='AdGroupAd', + full_name='google.ads.googleads.v4.resources.AdGroupAd', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupAd.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.AdGroupAd.status', index=1, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.resources.AdGroupAd.ad_group', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad', full_name='google.ads.googleads.v4.resources.AdGroupAd.ad', index=3, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='policy_summary', full_name='google.ads.googleads.v4.resources.AdGroupAd.policy_summary', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_strength', full_name='google.ads.googleads.v4.resources.AdGroupAd.ad_strength', index=5, + number=7, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AS\n\"googleads.googleapis.com/AdGroupAd\022-customers/{customer}/adGroupAds/{ad_group_ad}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=567, + serialized_end=1135, +) + + +_ADGROUPADPOLICYSUMMARY = _descriptor.Descriptor( + name='AdGroupAdPolicySummary', + full_name='google.ads.googleads.v4.resources.AdGroupAdPolicySummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='policy_topic_entries', full_name='google.ads.googleads.v4.resources.AdGroupAdPolicySummary.policy_topic_entries', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='review_status', full_name='google.ads.googleads.v4.resources.AdGroupAdPolicySummary.review_status', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='approval_status', full_name='google.ads.googleads.v4.resources.AdGroupAdPolicySummary.approval_status', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1138, + serialized_end=1457, +) + +_ADGROUPAD.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__ad__status__pb2._ADGROUPADSTATUSENUM_ADGROUPADSTATUS +_ADGROUPAD.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPAD.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2._AD +_ADGROUPAD.fields_by_name['policy_summary'].message_type = _ADGROUPADPOLICYSUMMARY +_ADGROUPAD.fields_by_name['ad_strength'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__strength__pb2._ADSTRENGTHENUM_ADSTRENGTH +_ADGROUPADPOLICYSUMMARY.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_ADGROUPADPOLICYSUMMARY.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_ADGROUPADPOLICYSUMMARY.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS +DESCRIPTOR.message_types_by_name['AdGroupAd'] = _ADGROUPAD +DESCRIPTOR.message_types_by_name['AdGroupAdPolicySummary'] = _ADGROUPADPOLICYSUMMARY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAd = _reflection.GeneratedProtocolMessageType('AdGroupAd', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPAD, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_ad_pb2' + , + __doc__ = """An ad group ad. + + + Attributes: + resource_name: + Immutable. The resource name of the ad. Ad group ad resource + names have the form: + ``customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`` + status: + The status of the ad. + ad_group: + Immutable. The ad group to which the ad belongs. + ad: + Immutable. The ad. + policy_summary: + Output only. Policy information for the ad. + ad_strength: + Output only. Overall ad strength for this ad group ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAd) + )) +_sym_db.RegisterMessage(AdGroupAd) + +AdGroupAdPolicySummary = _reflection.GeneratedProtocolMessageType('AdGroupAdPolicySummary', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPADPOLICYSUMMARY, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_ad_pb2' + , + __doc__ = """Contains policy information for an ad. + + + Attributes: + policy_topic_entries: + Output only. The list of policy findings for this ad. + review_status: + Output only. Where in the review process this ad is. + approval_status: + Output only. The overall approval status of this ad, + calculated based on the status of its individual policy topic + entries. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAdPolicySummary) + )) +_sym_db.RegisterMessage(AdGroupAdPolicySummary) + + +DESCRIPTOR._options = None +_ADGROUPAD.fields_by_name['resource_name']._options = None +_ADGROUPAD.fields_by_name['ad_group']._options = None +_ADGROUPAD.fields_by_name['ad']._options = None +_ADGROUPAD.fields_by_name['policy_summary']._options = None +_ADGROUPAD.fields_by_name['ad_strength']._options = None +_ADGROUPAD._options = None +_ADGROUPADPOLICYSUMMARY.fields_by_name['policy_topic_entries']._options = None +_ADGROUPADPOLICYSUMMARY.fields_by_name['review_status']._options = None +_ADGROUPADPOLICYSUMMARY.fields_by_name['approval_status']._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/custom_interest_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/custom_interest_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_ad_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2.py new file mode 100644 index 000000000..6c5c29908 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_audience_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_audience_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\030AdGroupAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/ad_group_audience_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xd9\x01\n\x13\x41\x64GroupAudienceView\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x03\xfa\x41.\n,googleads.googleapis.com/AdGroupAudienceView:u\xea\x41r\n,googleads.googleapis.com/AdGroupAudienceView\x12\x42\x63ustomers/{customer}/adGroupAudienceViews/{ad_group_audience_view}B\x85\x02\n%com.google.ads.googleads.v4.resourcesB\x18\x41\x64GroupAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPAUDIENCEVIEW = _descriptor.Descriptor( + name='AdGroupAudienceView', + full_name='google.ads.googleads.v4.resources.AdGroupAudienceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupAudienceView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A.\n,googleads.googleapis.com/AdGroupAudienceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ar\n,googleads.googleapis.com/AdGroupAudienceView\022Bcustomers/{customer}/adGroupAudienceViews/{ad_group_audience_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=415, +) + +DESCRIPTOR.message_types_by_name['AdGroupAudienceView'] = _ADGROUPAUDIENCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupAudienceView = _reflection.GeneratedProtocolMessageType('AdGroupAudienceView', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPAUDIENCEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_audience_view_pb2' + , + __doc__ = """An ad group audience view. Includes performance data from interests and + remarketing lists for Display Network and YouTube Network ads, and + remarketing lists for search ads (RLSA), aggregated at the audience + level. + + + Attributes: + resource_name: + Output only. The resource name of the ad group audience view. + Ad group audience view resource names have the form: ``custom + ers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterio + n_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupAudienceView) + )) +_sym_db.RegisterMessage(AdGroupAudienceView) + + +DESCRIPTOR._options = None +_ADGROUPAUDIENCEVIEW.fields_by_name['resource_name']._options = None +_ADGROUPAUDIENCEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_client_link_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_client_link_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_audience_view_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_bid_modifier_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_bid_modifier_pb2.py similarity index 52% rename from google/ads/google_ads/v1/proto/resources/ad_group_bid_modifier_pb2.py rename to google/ads/google_ads/v4/proto/resources/ad_group_bid_modifier_pb2.py index 9da0d7fc1..0632242ed 100644 --- a/google/ads/google_ads/v1/proto/resources/ad_group_bid_modifier_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/ad_group_bid_modifier_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_bid_modifier.proto +# source: google/ads/googleads_v4/proto/resources/ad_group_bid_modifier.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,145 +13,147 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.enums import bid_modifier_source_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bid__modifier__source__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.enums import bid_modifier_source_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bid__modifier__source__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_bid_modifier.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/ad_group_bid_modifier.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\027AdGroupBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/resources/ad_group_bid_modifier.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a=google/ads/googleads_v1/proto/enums/bid_modifier_source.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xec\x06\n\x12\x41\x64GroupBidModifier\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12.\n\x08\x61\x64_group\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0c\x62id_modifier\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rbase_ad_group\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x63\n\x13\x62id_modifier_source\x18\n \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.BidModifierSourceEnum.BidModifierSource\x12_\n\x19hotel_date_selection_type\x18\x05 \x01(\x0b\x32:.google.ads.googleads.v1.common.HotelDateSelectionTypeInfoH\x00\x12\x65\n\x1chotel_advance_booking_window\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v1.common.HotelAdvanceBookingWindowInfoH\x00\x12U\n\x14hotel_length_of_stay\x18\x07 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.HotelLengthOfStayInfoH\x00\x12Q\n\x12hotel_check_in_day\x18\x08 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.HotelCheckInDayInfoH\x00\x12<\n\x06\x64\x65vice\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v1.common.DeviceInfoH\x00\x12Q\n\x11preferred_content\x18\x0c \x01(\x0b\x32\x34.google.ads.googleads.v1.common.PreferredContentInfoH\x00\x42\x0b\n\tcriterionB\x84\x02\n%com.google.ads.googleads.v1.resourcesB\x17\x41\x64GroupBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027AdGroupBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/resources/ad_group_bid_modifier.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a=google/ads/googleads_v4/proto/enums/bid_modifier_source.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x91\t\n\x12\x41\x64GroupBidModifier\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x05\xfa\x41-\n+googleads.googleapis.com/AdGroupBidModifier\x12X\n\x08\x61\x64_group\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12\x36\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x32\n\x0c\x62id_modifier\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12]\n\rbase_ad_group\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12h\n\x13\x62id_modifier_source\x18\n \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.BidModifierSourceEnum.BidModifierSourceB\x03\xe0\x41\x03\x12\x64\n\x19hotel_date_selection_type\x18\x05 \x01(\x0b\x32:.google.ads.googleads.v4.common.HotelDateSelectionTypeInfoB\x03\xe0\x41\x05H\x00\x12j\n\x1chotel_advance_booking_window\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v4.common.HotelAdvanceBookingWindowInfoB\x03\xe0\x41\x05H\x00\x12Z\n\x14hotel_length_of_stay\x18\x07 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.HotelLengthOfStayInfoB\x03\xe0\x41\x05H\x00\x12V\n\x12hotel_check_in_day\x18\x08 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.HotelCheckInDayInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06\x64\x65vice\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v4.common.DeviceInfoB\x03\xe0\x41\x05H\x00\x12V\n\x11preferred_content\x18\x0c \x01(\x0b\x32\x34.google.ads.googleads.v4.common.PreferredContentInfoB\x03\xe0\x41\x05H\x00:r\xea\x41o\n+googleads.googleapis.com/AdGroupBidModifier\x12@customers/{customer}/adGroupBidModifiers/{ad_group_bid_modifier}B\x0b\n\tcriterionB\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17\x41\x64GroupBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bid__modifier__source__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bid__modifier__source__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ADGROUPBIDMODIFIER = _descriptor.Descriptor( name='AdGroupBidModifier', - full_name='google.ads.googleads.v1.resources.AdGroupBidModifier', + full_name='google.ads.googleads.v4.resources.AdGroupBidModifier', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A-\n+googleads.googleapis.com/AdGroupBidModifier'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.ad_group', index=1, + name='ad_group', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.ad_group', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.criterion_id', index=2, + name='criterion_id', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.criterion_id', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.bid_modifier', index=3, + name='bid_modifier', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.bid_modifier', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='base_ad_group', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.base_ad_group', index=4, + name='base_ad_group', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.base_ad_group', index=4, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bid_modifier_source', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.bid_modifier_source', index=5, + name='bid_modifier_source', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.bid_modifier_source', index=5, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_date_selection_type', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.hotel_date_selection_type', index=6, + name='hotel_date_selection_type', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.hotel_date_selection_type', index=6, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_advance_booking_window', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.hotel_advance_booking_window', index=7, + name='hotel_advance_booking_window', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.hotel_advance_booking_window', index=7, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_length_of_stay', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.hotel_length_of_stay', index=8, + name='hotel_length_of_stay', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.hotel_length_of_stay', index=8, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_check_in_day', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.hotel_check_in_day', index=9, + name='hotel_check_in_day', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.hotel_check_in_day', index=9, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.device', index=10, + name='device', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.device', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='preferred_content', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.preferred_content', index=11, + name='preferred_content', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.preferred_content', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Ao\n+googleads.googleapis.com/AdGroupBidModifier\022@customers/{customer}/adGroupBidModifiers/{ad_group_bid_modifier}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v1.resources.AdGroupBidModifier.criterion', + name='criterion', full_name='google.ads.googleads.v4.resources.AdGroupBidModifier.criterion', index=0, containing_type=None, fields=[]), ], - serialized_start=285, - serialized_end=1161, + serialized_start=345, + serialized_end=1514, ) _ADGROUPBIDMODIFIER.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUPBIDMODIFIER.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPBIDMODIFIER.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _ADGROUPBIDMODIFIER.fields_by_name['base_ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPBIDMODIFIER.fields_by_name['bid_modifier_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bid__modifier__source__pb2._BIDMODIFIERSOURCEENUM_BIDMODIFIERSOURCE -_ADGROUPBIDMODIFIER.fields_by_name['hotel_date_selection_type'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._HOTELDATESELECTIONTYPEINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._HOTELADVANCEBOOKINGWINDOWINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._HOTELLENGTHOFSTAYINFO -_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._HOTELCHECKINDAYINFO -_ADGROUPBIDMODIFIER.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PREFERREDCONTENTINFO +_ADGROUPBIDMODIFIER.fields_by_name['bid_modifier_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bid__modifier__source__pb2._BIDMODIFIERSOURCEENUM_BIDMODIFIERSOURCE +_ADGROUPBIDMODIFIER.fields_by_name['hotel_date_selection_type'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._HOTELDATESELECTIONTYPEINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._HOTELADVANCEBOOKINGWINDOWINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._HOTELLENGTHOFSTAYINFO +_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._HOTELCHECKINDAYINFO +_ADGROUPBIDMODIFIER.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_ADGROUPBIDMODIFIER.fields_by_name['preferred_content'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PREFERREDCONTENTINFO _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'].fields.append( _ADGROUPBIDMODIFIER.fields_by_name['hotel_date_selection_type']) _ADGROUPBIDMODIFIER.fields_by_name['hotel_date_selection_type'].containing_oneof = _ADGROUPBIDMODIFIER.oneofs_by_name['criterion'] @@ -175,54 +177,68 @@ AdGroupBidModifier = _reflection.GeneratedProtocolMessageType('AdGroupBidModifier', (_message.Message,), dict( DESCRIPTOR = _ADGROUPBIDMODIFIER, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_bid_modifier_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_bid_modifier_pb2' , __doc__ = """Represents an ad group bid modifier. Attributes: resource_name: - The resource name of the ad group bid modifier. Ad group bid - modifier resource names have the form: ``customers/{customer_ - id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`` + Immutable. The resource name of the ad group bid modifier. Ad + group bid modifier resource names have the form: ``customers/ + {customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id} + `` ad_group: - The ad group to which this criterion belongs. + Immutable. The ad group to which this criterion belongs. criterion_id: - The ID of the criterion to bid modify. This field is ignored - for mutates. + Output only. The ID of the criterion to bid modify. This + field is ignored for mutates. bid_modifier: The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to opt out of a Device type. base_ad_group: - The base ad group from which this draft/trial adgroup bid - modifier was created. If ad\_group is a base ad group then - this field will be equal to ad\_group. If the ad group was - created in the draft or trial and has no corresponding base ad - group, then this field will be null. This field is readonly. + Output only. The base ad group from which this draft/trial + adgroup bid modifier was created. If ad\_group is a base ad + group then this field will be equal to ad\_group. If the ad + group was created in the draft or trial and has no + corresponding base ad group, then this field will be null. + This field is readonly. bid_modifier_source: - Bid modifier source. + Output only. Bid modifier source. criterion: The criterion of this ad group bid modifier. hotel_date_selection_type: - Criterion for hotel date selection (default dates vs. user - selected). + Immutable. Criterion for hotel date selection (default dates + vs. user selected). hotel_advance_booking_window: - Criterion for number of days prior to the stay the booking is - being made. + Immutable. Criterion for number of days prior to the stay the + booking is being made. hotel_length_of_stay: - Criterion for length of hotel stay in nights. + Immutable. Criterion for length of hotel stay in nights. hotel_check_in_day: - Criterion for day of the week the booking is for. + Immutable. Criterion for day of the week the booking is for. device: - A device criterion. + Immutable. A device criterion. preferred_content: - A preferred content criterion. + Immutable. A preferred content criterion. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupBidModifier) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupBidModifier) )) _sym_db.RegisterMessage(AdGroupBidModifier) DESCRIPTOR._options = None +_ADGROUPBIDMODIFIER.fields_by_name['resource_name']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['ad_group']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['criterion_id']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['base_ad_group']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['bid_modifier_source']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['hotel_date_selection_type']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['hotel_advance_booking_window']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['hotel_length_of_stay']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['hotel_check_in_day']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['device']._options = None +_ADGROUPBIDMODIFIER.fields_by_name['preferred_content']._options = None +_ADGROUPBIDMODIFIER._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_client_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_bid_modifier_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_client_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_bid_modifier_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2.py new file mode 100644 index 000000000..6890e9a90 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_criterion_label.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_criterion_label.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\032AdGroupCriterionLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/resources/ad_group_criterion_label.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa5\x03\n\x15\x41\x64GroupCriterionLabel\x12M\n\rresource_name\x18\x01 \x01(\tB6\xe0\x41\x05\xfa\x41\x30\n.googleads.googleapis.com/AdGroupCriterionLabel\x12k\n\x12\x61\x64_group_criterion\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\x12S\n\x05label\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/Label:{\xea\x41x\n.googleads.googleapis.com/AdGroupCriterionLabel\x12\x46\x63ustomers/{customer}/adGroupCriterionLabels/{ad_group_criterion_label}B\x87\x02\n%com.google.ads.googleads.v4.resourcesB\x1a\x41\x64GroupCriterionLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPCRITERIONLABEL = _descriptor.Descriptor( + name='AdGroupCriterionLabel', + full_name='google.ads.googleads.v4.resources.AdGroupCriterionLabel', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupCriterionLabel.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A0\n.googleads.googleapis.com/AdGroupCriterionLabel'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v4.resources.AdGroupCriterionLabel.ad_group_criterion', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A+\n)googleads.googleapis.com/AdGroupCriterion'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='label', full_name='google.ads.googleads.v4.resources.AdGroupCriterionLabel.label', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A \n\036googleads.googleapis.com/Label'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ax\n.googleads.googleapis.com/AdGroupCriterionLabel\022Fcustomers/{customer}/adGroupCriterionLabels/{ad_group_criterion_label}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=232, + serialized_end=653, +) + +_ADGROUPCRITERIONLABEL.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPCRITERIONLABEL.fields_by_name['label'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['AdGroupCriterionLabel'] = _ADGROUPCRITERIONLABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupCriterionLabel = _reflection.GeneratedProtocolMessageType('AdGroupCriterionLabel', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPCRITERIONLABEL, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_criterion_label_pb2' + , + __doc__ = """A relationship between an ad group criterion and a label. + + + Attributes: + resource_name: + Immutable. The resource name of the ad group criterion label. + Ad group criterion label resource names have the form: ``custo + mers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{crite + rion_id}~{label_id}`` + ad_group_criterion: + Immutable. The ad group criterion to which the label is + attached. + label: + Immutable. The label assigned to the ad group criterion. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupCriterionLabel) + )) +_sym_db.RegisterMessage(AdGroupCriterionLabel) + + +DESCRIPTOR._options = None +_ADGROUPCRITERIONLABEL.fields_by_name['resource_name']._options = None +_ADGROUPCRITERIONLABEL.fields_by_name['ad_group_criterion']._options = None +_ADGROUPCRITERIONLABEL.fields_by_name['label']._options = None +_ADGROUPCRITERIONLABEL._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_extension_setting_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_criterion_label_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_pb2.py similarity index 54% rename from google/ads/google_ads/v1/proto/resources/ad_group_criterion_pb2.py rename to google/ads/google_ads/v4/proto/resources/ad_group_criterion_pb2.py index cfff78008..aad7b52ff 100644 --- a/google/ads/google_ads/v1/proto/resources/ad_group_criterion_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_group_criterion.proto +# source: google/ads/googleads_v4/proto/resources/ad_group_criterion.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,65 +13,67 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v1.proto.enums import ad_group_criterion_approval_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2 -from google.ads.google_ads.v1.proto.enums import ad_group_criterion_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2 -from google.ads.google_ads.v1.proto.enums import bidding_source_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_system_serving_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2 -from google.ads.google_ads.v1.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v4.proto.enums import ad_group_criterion_approval_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2 +from google.ads.google_ads.v4.proto.enums import ad_group_criterion_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2 +from google.ads.google_ads.v4.proto.enums import bidding_source_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_system_serving_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v4.proto.enums import quality_score_bucket_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_group_criterion.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/ad_group_criterion.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\025AdGroupCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/resources/ad_group_criterion.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a;google/ads/googleads_v1/proto/common/custom_parameter.proto\x1aLgoogle/ads/googleads_v1/proto/enums/ad_group_criterion_approval_status.proto\x1a\x43google/ads/googleads_v1/proto/enums/ad_group_criterion_status.proto\x1a\x38google/ads/googleads_v1/proto/enums/bidding_source.proto\x1aIgoogle/ads/googleads_v1/proto/enums/criterion_system_serving_status.proto\x1a\x38google/ads/googleads_v1/proto/enums/criterion_type.proto\x1a>google/ads/googleads_v1/proto/enums/quality_score_bucket.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x91 \n\x10\x41\x64GroupCriterion\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x31\n\x0c\x63riterion_id\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12`\n\x06status\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v1.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus\x12U\n\x0cquality_info\x18\x04 \x01(\x0b\x32?.google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo\x12.\n\x08\x61\x64_group\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12L\n\x04type\x18\x19 \x01(\x0e\x32>.google.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType\x12,\n\x08negative\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12{\n\x15system_serving_status\x18\x34 \x01(\x0e\x32\\.google.ads.googleads.v1.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatus\x12y\n\x0f\x61pproval_status\x18\x35 \x01(\x0e\x32`.google.ads.googleads.v1.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatus\x12\x32\n\x0c\x62id_modifier\x18, \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0e\x63pc_bid_micros\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pm_bid_micros\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pv_bid_micros\x18\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16percent_cpc_bid_micros\x18! \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_micros\x18\x12 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_micros\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12=\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_micros\x18\x14 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x45\n effective_percent_cpc_bid_micros\x18\" \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12`\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_source\x18\x15 \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSource\x12`\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_source\x18\x16 \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSource\x12`\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_source\x18\x17 \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSource\x12h\n effective_percent_cpc_bid_source\x18# \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSource\x12\x61\n\x12position_estimates\x18\n \x01(\x0b\x32\x45.google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates\x12\x30\n\nfinal_urls\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x33 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18\x32 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x0e \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12>\n\x07keyword\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v1.common.KeywordInfoH\x00\x12\x42\n\tplacement\x18\x1c \x01(\x0b\x32-.google.ads.googleads.v1.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\x1d \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\x1e \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileApplicationInfoH\x00\x12I\n\rlisting_group\x18 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.ListingGroupInfoH\x00\x12\x41\n\tage_range\x18$ \x01(\x0b\x32,.google.ads.googleads.v1.common.AgeRangeInfoH\x00\x12<\n\x06gender\x18% \x01(\x0b\x32*.google.ads.googleads.v1.common.GenderInfoH\x00\x12G\n\x0cincome_range\x18& \x01(\x0b\x32/.google.ads.googleads.v1.common.IncomeRangeInfoH\x00\x12M\n\x0fparental_status\x18\' \x01(\x0b\x32\x32.google.ads.googleads.v1.common.ParentalStatusInfoH\x00\x12\x41\n\tuser_list\x18* \x01(\x0b\x32,.google.ads.googleads.v1.common.UserListInfoH\x00\x12I\n\ryoutube_video\x18( \x01(\x0b\x32\x30.google.ads.googleads.v1.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18) \x01(\x0b\x32\x32.google.ads.googleads.v1.common.YouTubeChannelInfoH\x00\x12:\n\x05topic\x18+ \x01(\x0b\x32).google.ads.googleads.v1.common.TopicInfoH\x00\x12I\n\ruser_interest\x18- \x01(\x0b\x32\x30.google.ads.googleads.v1.common.UserInterestInfoH\x00\x12>\n\x07webpage\x18. \x01(\x0b\x32+.google.ads.googleads.v1.common.WebpageInfoH\x00\x12P\n\x11\x61pp_payment_model\x18/ \x01(\x0b\x32\x33.google.ads.googleads.v1.common.AppPaymentModelInfoH\x00\x12M\n\x0f\x63ustom_affinity\x18\x30 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.CustomAffinityInfoH\x00\x12I\n\rcustom_intent\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.CustomIntentInfoH\x00\x1a\xff\x02\n\x0bQualityInfo\x12\x32\n\rquality_score\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12h\n\x16\x63reative_quality_score\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x12j\n\x18post_click_quality_score\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x12\x66\n\x14search_predicted_ctr\x18\x04 \x01(\x0e\x32H.google.ads.googleads.v1.enums.QualityScoreBucketEnum.QualityScoreBucket\x1a\xec\x02\n\x11PositionEstimates\x12:\n\x15\x66irst_page_cpc_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x19\x66irst_position_cpc_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16top_of_page_cpc_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12O\n*estimated_add_clicks_at_first_position_cpc\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12M\n(estimated_add_cost_at_first_position_cpc\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x0b\n\tcriterionB\x82\x02\n%com.google.ads.googleads.v1.resourcesB\x15\x41\x64GroupCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025AdGroupCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/resources/ad_group_criterion.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1aLgoogle/ads/googleads_v4/proto/enums/ad_group_criterion_approval_status.proto\x1a\x43google/ads/googleads_v4/proto/enums/ad_group_criterion_status.proto\x1a\x38google/ads/googleads_v4/proto/enums/bidding_source.proto\x1aIgoogle/ads/googleads_v4/proto/enums/criterion_system_serving_status.proto\x1a\x38google/ads/googleads_v4/proto/enums/criterion_type.proto\x1a>google/ads/googleads_v4/proto/enums/quality_score_bucket.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xec#\n\x10\x41\x64GroupCriterion\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\x12\x36\n\x0c\x63riterion_id\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12`\n\x06status\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v4.enums.AdGroupCriterionStatusEnum.AdGroupCriterionStatus\x12Z\n\x0cquality_info\x18\x04 \x01(\x0b\x32?.google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfoB\x03\xe0\x41\x03\x12X\n\x08\x61\x64_group\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12Q\n\x04type\x18\x19 \x01(\x0e\x32>.google.ads.googleads.v4.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x31\n\x08negative\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x05\x12\x80\x01\n\x15system_serving_status\x18\x34 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.CriterionSystemServingStatusEnum.CriterionSystemServingStatusB\x03\xe0\x41\x03\x12~\n\x0f\x61pproval_status\x18\x35 \x01(\x0e\x32`.google.ads.googleads.v4.enums.AdGroupCriterionApprovalStatusEnum.AdGroupCriterionApprovalStatusB\x03\xe0\x41\x03\x12>\n\x13\x64isapproval_reasons\x18\x37 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x32\n\x0c\x62id_modifier\x18, \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\x0e\x63pc_bid_micros\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pm_bid_micros\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pv_bid_micros\x18\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12;\n\x16percent_cpc_bid_micros\x18! \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x42\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_micros\x18\x12 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x42\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_micros\x18\x13 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x42\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_micros\x18\x14 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12J\n effective_percent_cpc_bid_micros\x18\" \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x65\n\x18\x65\x66\x66\x65\x63tive_cpc_bid_source\x18\x15 \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12\x65\n\x18\x65\x66\x66\x65\x63tive_cpm_bid_source\x18\x16 \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12\x65\n\x18\x65\x66\x66\x65\x63tive_cpv_bid_source\x18\x17 \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12m\n effective_percent_cpc_bid_source\x18# \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12\x66\n\x12position_estimates\x18\n \x01(\x0b\x32\x45.google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimatesB\x03\xe0\x41\x03\x12\x30\n\nfinal_urls\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x66inal_mobile_urls\x18\x33 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18\x32 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x0e \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12\x43\n\x07keyword\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\x1c \x01(\x0b\x32-.google.ads.googleads.v4.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\x1d \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\x1e \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12N\n\rlisting_group\x18 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.ListingGroupInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tage_range\x18$ \x01(\x0b\x32,.google.ads.googleads.v4.common.AgeRangeInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06gender\x18% \x01(\x0b\x32*.google.ads.googleads.v4.common.GenderInfoB\x03\xe0\x41\x05H\x00\x12L\n\x0cincome_range\x18& \x01(\x0b\x32/.google.ads.googleads.v4.common.IncomeRangeInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fparental_status\x18\' \x01(\x0b\x32\x32.google.ads.googleads.v4.common.ParentalStatusInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tuser_list\x18* \x01(\x0b\x32,.google.ads.googleads.v4.common.UserListInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18( \x01(\x0b\x32\x30.google.ads.googleads.v4.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18) \x01(\x0b\x32\x32.google.ads.googleads.v4.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12?\n\x05topic\x18+ \x01(\x0b\x32).google.ads.googleads.v4.common.TopicInfoB\x03\xe0\x41\x05H\x00\x12N\n\ruser_interest\x18- \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserInterestInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07webpage\x18. \x01(\x0b\x32+.google.ads.googleads.v4.common.WebpageInfoB\x03\xe0\x41\x05H\x00\x12U\n\x11\x61pp_payment_model\x18/ \x01(\x0b\x32\x33.google.ads.googleads.v4.common.AppPaymentModelInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_affinity\x18\x30 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.CustomAffinityInfoB\x03\xe0\x41\x05H\x00\x12N\n\rcustom_intent\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.CustomIntentInfoB\x03\xe0\x41\x05H\x00\x1a\x93\x03\n\x0bQualityInfo\x12\x37\n\rquality_score\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12m\n\x16\x63reative_quality_score\x18\x02 \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x12o\n\x18post_click_quality_score\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x12k\n\x14search_predicted_ctr\x18\x04 \x01(\x0e\x32H.google.ads.googleads.v4.enums.QualityScoreBucketEnum.QualityScoreBucketB\x03\xe0\x41\x03\x1a\x85\x03\n\x11PositionEstimates\x12?\n\x15\x66irst_page_cpc_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x43\n\x19\x66irst_position_cpc_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12@\n\x16top_of_page_cpc_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12T\n*estimated_add_clicks_at_first_position_cpc\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12R\n(estimated_add_cost_at_first_position_cpc\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:i\xea\x41\x66\n)googleads.googleapis.com/AdGroupCriterion\x12\x39\x63ustomers/{customer}/adGroupCriteria/{ad_group_criterion}B\x0b\n\tcriterionB\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15\x41\x64GroupCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ADGROUPCRITERION_QUALITYINFO = _descriptor.Descriptor( name='QualityInfo', - full_name='google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo', + full_name='google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='quality_score', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo.quality_score', index=0, + name='quality_score', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo.quality_score', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='creative_quality_score', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo.creative_quality_score', index=1, + name='creative_quality_score', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo.creative_quality_score', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='post_click_quality_score', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo.post_click_quality_score', index=2, + name='post_click_quality_score', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo.post_click_quality_score', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_predicted_ctr', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo.search_predicted_ctr', index=3, + name='search_predicted_ctr', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo.search_predicted_ctr', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -84,52 +86,52 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4032, - serialized_end=4415, + serialized_start=4415, + serialized_end=4818, ) _ADGROUPCRITERION_POSITIONESTIMATES = _descriptor.Descriptor( name='PositionEstimates', - full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates', + full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='first_page_cpc_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates.first_page_cpc_micros', index=0, + name='first_page_cpc_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates.first_page_cpc_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='first_position_cpc_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates.first_position_cpc_micros', index=1, + name='first_position_cpc_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates.first_position_cpc_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='top_of_page_cpc_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates.top_of_page_cpc_micros', index=2, + name='top_of_page_cpc_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates.top_of_page_cpc_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='estimated_add_clicks_at_first_position_cpc', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates.estimated_add_clicks_at_first_position_cpc', index=3, + name='estimated_add_clicks_at_first_position_cpc', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates.estimated_add_clicks_at_first_position_cpc', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='estimated_add_cost_at_first_position_cpc', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates.estimated_add_cost_at_first_position_cpc', index=4, + name='estimated_add_cost_at_first_position_cpc', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates.estimated_add_cost_at_first_position_cpc', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -142,362 +144,369 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4418, - serialized_end=4782, + serialized_start=4821, + serialized_end=5210, ) _ADGROUPCRITERION = _descriptor.Descriptor( name='AdGroupCriterion', - full_name='google.ads.googleads.v1.resources.AdGroupCriterion', + full_name='google.ads.googleads.v4.resources.AdGroupCriterion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A+\n)googleads.googleapis.com/AdGroupCriterion'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.criterion_id', index=1, + name='criterion_id', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.criterion_id', index=1, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.status', index=2, + name='status', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.status', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='quality_info', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.quality_info', index=3, + name='quality_info', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.quality_info', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.ad_group', index=4, + name='ad_group', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.ad_group', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.type', index=5, + name='type', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.type', index=5, number=25, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='negative', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.negative', index=6, + name='negative', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.negative', index=6, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='system_serving_status', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.system_serving_status', index=7, + name='system_serving_status', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.system_serving_status', index=7, number=52, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.approval_status', index=8, + name='approval_status', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.approval_status', index=8, number=53, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='disapproval_reasons', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.disapproval_reasons', index=9, + number=55, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.bid_modifier', index=9, + name='bid_modifier', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.bid_modifier', index=10, number=44, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.cpc_bid_micros', index=10, + name='cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.cpc_bid_micros', index=11, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpm_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.cpm_bid_micros', index=11, + name='cpm_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.cpm_bid_micros', index=12, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpv_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.cpv_bid_micros', index=12, + name='cpv_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.cpv_bid_micros', index=13, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.percent_cpc_bid_micros', index=13, + name='percent_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.percent_cpc_bid_micros', index=14, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpc_bid_micros', index=14, + name='effective_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpc_bid_micros', index=15, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpm_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpm_bid_micros', index=15, + name='effective_cpm_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpm_bid_micros', index=16, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpv_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpv_bid_micros', index=16, + name='effective_cpv_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpv_bid_micros', index=17, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_percent_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_percent_cpc_bid_micros', index=17, + name='effective_percent_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_percent_cpc_bid_micros', index=18, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpc_bid_source', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpc_bid_source', index=18, + name='effective_cpc_bid_source', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpc_bid_source', index=19, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpm_bid_source', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpm_bid_source', index=19, + name='effective_cpm_bid_source', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpm_bid_source', index=20, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_cpv_bid_source', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_cpv_bid_source', index=20, + name='effective_cpv_bid_source', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_cpv_bid_source', index=21, number=23, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_percent_cpc_bid_source', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.effective_percent_cpc_bid_source', index=21, + name='effective_percent_cpc_bid_source', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.effective_percent_cpc_bid_source', index=22, number=35, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='position_estimates', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.position_estimates', index=22, + name='position_estimates', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.position_estimates', index=23, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.final_urls', index=23, + name='final_urls', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.final_urls', index=24, number=11, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.final_mobile_urls', index=24, + name='final_mobile_urls', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.final_mobile_urls', index=25, number=51, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.final_url_suffix', index=25, + name='final_url_suffix', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.final_url_suffix', index=26, number=50, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.tracking_url_template', index=26, + name='tracking_url_template', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.tracking_url_template', index=27, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.url_custom_parameters', index=27, + name='url_custom_parameters', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.url_custom_parameters', index=28, number=14, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.keyword', index=28, + name='keyword', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.keyword', index=29, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.placement', index=29, + name='placement', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.placement', index=30, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.mobile_app_category', index=30, + name='mobile_app_category', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.mobile_app_category', index=31, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.mobile_application', index=31, + name='mobile_application', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.mobile_application', index=32, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='listing_group', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.listing_group', index=32, + name='listing_group', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.listing_group', index=33, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='age_range', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.age_range', index=33, + name='age_range', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.age_range', index=34, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gender', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.gender', index=34, + name='gender', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.gender', index=35, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='income_range', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.income_range', index=35, + name='income_range', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.income_range', index=36, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parental_status', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.parental_status', index=36, + name='parental_status', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.parental_status', index=37, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.user_list', index=37, + name='user_list', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.user_list', index=38, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.youtube_video', index=38, + name='youtube_video', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.youtube_video', index=39, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.youtube_channel', index=39, + name='youtube_channel', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.youtube_channel', index=40, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='topic', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.topic', index=40, + name='topic', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.topic', index=41, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_interest', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.user_interest', index=41, + name='user_interest', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.user_interest', index=42, number=45, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='webpage', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.webpage', index=42, + name='webpage', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.webpage', index=43, number=46, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_payment_model', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.app_payment_model', index=43, + name='app_payment_model', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.app_payment_model', index=44, number=47, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_affinity', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.custom_affinity', index=44, + name='custom_affinity', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.custom_affinity', index=45, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_intent', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.custom_intent', index=45, + name='custom_intent', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.custom_intent', index=46, number=49, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[_ADGROUPCRITERION_QUALITYINFO, _ADGROUPCRITERION_POSITIONESTIMATES, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Af\n)googleads.googleapis.com/AdGroupCriterion\0229customers/{customer}/adGroupCriteria/{ad_group_criterion}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v1.resources.AdGroupCriterion.criterion', + name='criterion', full_name='google.ads.googleads.v4.resources.AdGroupCriterion.criterion', index=0, containing_type=None, fields=[]), ], - serialized_start=682, - serialized_end=4795, + serialized_start=742, + serialized_end=5330, ) _ADGROUPCRITERION_QUALITYINFO.fields_by_name['quality_score'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE -_ADGROUPCRITERION_QUALITYINFO.fields_by_name['creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET -_ADGROUPCRITERION_QUALITYINFO.fields_by_name['post_click_quality_score'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET -_ADGROUPCRITERION_QUALITYINFO.fields_by_name['search_predicted_ctr'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['creative_quality_score'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['post_click_quality_score'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['search_predicted_ctr'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_quality__score__bucket__pb2._QUALITYSCOREBUCKETENUM_QUALITYSCOREBUCKET _ADGROUPCRITERION_QUALITYINFO.containing_type = _ADGROUPCRITERION _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_page_cpc_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_position_cpc_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -506,13 +515,14 @@ _ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_cost_at_first_position_cpc'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPCRITERION_POSITIONESTIMATES.containing_type = _ADGROUPCRITERION _ADGROUPCRITERION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2._ADGROUPCRITERIONSTATUSENUM_ADGROUPCRITERIONSTATUS +_ADGROUPCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__status__pb2._ADGROUPCRITERIONSTATUSENUM_ADGROUPCRITERIONSTATUS _ADGROUPCRITERION.fields_by_name['quality_info'].message_type = _ADGROUPCRITERION_QUALITYINFO _ADGROUPCRITERION.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_ADGROUPCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE _ADGROUPCRITERION.fields_by_name['negative'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_ADGROUPCRITERION.fields_by_name['system_serving_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2._CRITERIONSYSTEMSERVINGSTATUSENUM_CRITERIONSYSTEMSERVINGSTATUS -_ADGROUPCRITERION.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2._ADGROUPCRITERIONAPPROVALSTATUSENUM_ADGROUPCRITERIONAPPROVALSTATUS +_ADGROUPCRITERION.fields_by_name['system_serving_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__system__serving__status__pb2._CRITERIONSYSTEMSERVINGSTATUSENUM_CRITERIONSYSTEMSERVINGSTATUS +_ADGROUPCRITERION.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__criterion__approval__status__pb2._ADGROUPCRITERIONAPPROVALSTATUSENUM_ADGROUPCRITERIONAPPROVALSTATUS +_ADGROUPCRITERION.fields_by_name['disapproval_reasons'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUPCRITERION.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _ADGROUPCRITERION.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPCRITERION.fields_by_name['cpm_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -522,34 +532,34 @@ _ADGROUPCRITERION.fields_by_name['effective_cpm_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPCRITERION.fields_by_name['effective_cpv_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE -_ADGROUPCRITERION.fields_by_name['effective_cpm_bid_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE -_ADGROUPCRITERION.fields_by_name['effective_cpv_bid_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE -_ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUPCRITERION.fields_by_name['effective_cpm_bid_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUPCRITERION.fields_by_name['effective_cpv_bid_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE _ADGROUPCRITERION.fields_by_name['position_estimates'].message_type = _ADGROUPCRITERION_POSITIONESTIMATES _ADGROUPCRITERION.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUPCRITERION.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUPCRITERION.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUPCRITERION.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUPCRITERION.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_ADGROUPCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_ADGROUPCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_ADGROUPCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_ADGROUPCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_ADGROUPCRITERION.fields_by_name['listing_group'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._LISTINGGROUPINFO -_ADGROUPCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO -_ADGROUPCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_ADGROUPCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO -_ADGROUPCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO -_ADGROUPCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO -_ADGROUPCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_ADGROUPCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_ADGROUPCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO -_ADGROUPCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO -_ADGROUPCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO -_ADGROUPCRITERION.fields_by_name['app_payment_model'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._APPPAYMENTMODELINFO -_ADGROUPCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO -_ADGROUPCRITERION.fields_by_name['custom_intent'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._CUSTOMINTENTINFO +_ADGROUPCRITERION.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_ADGROUPCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_ADGROUPCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_ADGROUPCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_ADGROUPCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_ADGROUPCRITERION.fields_by_name['listing_group'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._LISTINGGROUPINFO +_ADGROUPCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO +_ADGROUPCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_ADGROUPCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO +_ADGROUPCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO +_ADGROUPCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO +_ADGROUPCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_ADGROUPCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_ADGROUPCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO +_ADGROUPCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO +_ADGROUPCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO +_ADGROUPCRITERION.fields_by_name['app_payment_model'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._APPPAYMENTMODELINFO +_ADGROUPCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO +_ADGROUPCRITERION.fields_by_name['custom_intent'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CUSTOMINTENTINFO _ADGROUPCRITERION.oneofs_by_name['criterion'].fields.append( _ADGROUPCRITERION.fields_by_name['keyword']) _ADGROUPCRITERION.fields_by_name['keyword'].containing_oneof = _ADGROUPCRITERION.oneofs_by_name['criterion'] @@ -611,83 +621,96 @@ QualityInfo = _reflection.GeneratedProtocolMessageType('QualityInfo', (_message.Message,), dict( DESCRIPTOR = _ADGROUPCRITERION_QUALITYINFO, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_criterion_pb2' , __doc__ = """A container for ad group criterion quality information. Attributes: quality_score: - The quality score. This field may not be populated if Google - does not have enough information to determine a value. + Output only. The quality score. This field may not be + populated if Google does not have enough information to + determine a value. creative_quality_score: - The performance of the ad compared to other advertisers. + Output only. The performance of the ad compared to other + advertisers. post_click_quality_score: - The quality score of the landing page. + Output only. The quality score of the landing page. search_predicted_ctr: - The click-through rate compared to that of other advertisers. + Output only. The click-through rate compared to that of other + advertisers. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupCriterion.QualityInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupCriterion.QualityInfo) )) , PositionEstimates = _reflection.GeneratedProtocolMessageType('PositionEstimates', (_message.Message,), dict( DESCRIPTOR = _ADGROUPCRITERION_POSITIONESTIMATES, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_criterion_pb2' , __doc__ = """Estimates for criterion bids at various positions. Attributes: first_page_cpc_micros: - The estimate of the CPC bid required for ad to be shown on - first page of search results. + Output only. The estimate of the CPC bid required for ad to be + shown on first page of search results. first_position_cpc_micros: - The estimate of the CPC bid required for ad to be displayed in - first position, at the top of the first page of search - results. + Output only. The estimate of the CPC bid required for ad to be + displayed in first position, at the top of the first page of + search results. top_of_page_cpc_micros: - The estimate of the CPC bid required for ad to be displayed at - the top of the first page of search results. + Output only. The estimate of the CPC bid required for ad to be + displayed at the top of the first page of search results. estimated_add_clicks_at_first_position_cpc: - Estimate of how many clicks per week you might get by changing - your keyword bid to the value in first\_position\_cpc\_micros. + Output only. Estimate of how many clicks per week you might + get by changing your keyword bid to the value in + first\_position\_cpc\_micros. estimated_add_cost_at_first_position_cpc: - Estimate of how your cost per week might change when changing - your keyword bid to the value in first\_position\_cpc\_micros. + Output only. Estimate of how your cost per week might change + when changing your keyword bid to the value in + first\_position\_cpc\_micros. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupCriterion.PositionEstimates) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupCriterion.PositionEstimates) )) , DESCRIPTOR = _ADGROUPCRITERION, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_criterion_pb2' , __doc__ = """An ad group criterion. Attributes: resource_name: - The resource name of the ad group criterion. Ad group - criterion resource names have the form: ``customers/{customer - _id}/adGroupCriteria/{ad_group_id}~{criterion_id}`` + Immutable. The resource name of the ad group criterion. Ad + group criterion resource names have the form: ``customers/{cu + stomer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}`` criterion_id: - The ID of the criterion. This field is ignored for mutates. + Output only. The ID of the criterion. This field is ignored + for mutates. status: The status of the criterion. quality_info: - Information regarding the quality of the criterion. + Output only. Information regarding the quality of the + criterion. ad_group: - The ad group to which the criterion belongs. + Immutable. The ad group to which the criterion belongs. type: - The type of the criterion. + Output only. The type of the criterion. negative: - Whether to target (``false``) or exclude (``true``) the - criterion. This field is immutable. To switch a criterion + Immutable. Whether to target (``false``) or exclude (``true``) + the criterion. This field is immutable. To switch a criterion from positive to negative, remove then re-add it. system_serving_status: - Serving status of the criterion. + Output only. Serving status of the criterion. approval_status: - Approval status of the criterion. + Output only. Approval status of the criterion. + disapproval_reasons: + Output only. List of disapproval reasons of the criterion. + The different reasons for disapproving a criterion can be + found here: + https://support.google.com/adspolicy/answer/6008942 This + field is read-only. bid_modifier: The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. Most targetable @@ -704,24 +727,25 @@ fraction is [0,1) and the value stored here is 1,000,000 \* [fraction]. effective_cpc_bid_micros: - The effective CPC (cost-per-click) bid. + Output only. The effective CPC (cost-per-click) bid. effective_cpm_bid_micros: - The effective CPM (cost-per-thousand viewable impressions) - bid. + Output only. The effective CPM (cost-per-thousand viewable + impressions) bid. effective_cpv_bid_micros: - The effective CPV (cost-per-view) bid. + Output only. The effective CPV (cost-per-view) bid. effective_percent_cpc_bid_micros: - The effective Percent CPC bid amount. + Output only. The effective Percent CPC bid amount. effective_cpc_bid_source: - Source of the effective CPC bid. + Output only. Source of the effective CPC bid. effective_cpm_bid_source: - Source of the effective CPM bid. + Output only. Source of the effective CPM bid. effective_cpv_bid_source: - Source of the effective CPV bid. + Output only. Source of the effective CPV bid. effective_percent_cpc_bid_source: - Source of the effective Percent CPC bid. + Output only. Source of the effective Percent CPC bid. position_estimates: - Estimates for criterion bids at various positions. + Output only. Estimates for criterion bids at various + positions. final_urls: The list of possible final URLs after all cross-domain redirects for the ad. @@ -739,43 +763,43 @@ criterion: The ad group criterion. Exactly one must be set. keyword: - Keyword. + Immutable. Keyword. placement: - Placement. + Immutable. Placement. mobile_app_category: - Mobile app category. + Immutable. Mobile app category. mobile_application: - Mobile application. + Immutable. Mobile application. listing_group: - Listing group. + Immutable. Listing group. age_range: - Age range. + Immutable. Age range. gender: - Gender. + Immutable. Gender. income_range: - Income range. + Immutable. Income range. parental_status: - Parental status. + Immutable. Parental status. user_list: - User List. + Immutable. User List. youtube_video: - YouTube Video. + Immutable. YouTube Video. youtube_channel: - YouTube Channel. + Immutable. YouTube Channel. topic: - Topic. + Immutable. Topic. user_interest: - User Interest. + Immutable. User Interest. webpage: - Webpage + Immutable. Webpage app_payment_model: - App Payment Model. + Immutable. App Payment Model. custom_affinity: - Custom Affinity. + Immutable. Custom Affinity. custom_intent: - Custom Intent. + Immutable. Custom Intent. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroupCriterion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupCriterion) )) _sym_db.RegisterMessage(AdGroupCriterion) _sym_db.RegisterMessage(AdGroupCriterion.QualityInfo) @@ -783,4 +807,50 @@ DESCRIPTOR._options = None +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['quality_score']._options = None +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['creative_quality_score']._options = None +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['post_click_quality_score']._options = None +_ADGROUPCRITERION_QUALITYINFO.fields_by_name['search_predicted_ctr']._options = None +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_page_cpc_micros']._options = None +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['first_position_cpc_micros']._options = None +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['top_of_page_cpc_micros']._options = None +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_clicks_at_first_position_cpc']._options = None +_ADGROUPCRITERION_POSITIONESTIMATES.fields_by_name['estimated_add_cost_at_first_position_cpc']._options = None +_ADGROUPCRITERION.fields_by_name['resource_name']._options = None +_ADGROUPCRITERION.fields_by_name['criterion_id']._options = None +_ADGROUPCRITERION.fields_by_name['quality_info']._options = None +_ADGROUPCRITERION.fields_by_name['ad_group']._options = None +_ADGROUPCRITERION.fields_by_name['type']._options = None +_ADGROUPCRITERION.fields_by_name['negative']._options = None +_ADGROUPCRITERION.fields_by_name['system_serving_status']._options = None +_ADGROUPCRITERION.fields_by_name['approval_status']._options = None +_ADGROUPCRITERION.fields_by_name['disapproval_reasons']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_micros']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpm_bid_micros']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpv_bid_micros']._options = None +_ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_micros']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpc_bid_source']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpm_bid_source']._options = None +_ADGROUPCRITERION.fields_by_name['effective_cpv_bid_source']._options = None +_ADGROUPCRITERION.fields_by_name['effective_percent_cpc_bid_source']._options = None +_ADGROUPCRITERION.fields_by_name['position_estimates']._options = None +_ADGROUPCRITERION.fields_by_name['keyword']._options = None +_ADGROUPCRITERION.fields_by_name['placement']._options = None +_ADGROUPCRITERION.fields_by_name['mobile_app_category']._options = None +_ADGROUPCRITERION.fields_by_name['mobile_application']._options = None +_ADGROUPCRITERION.fields_by_name['listing_group']._options = None +_ADGROUPCRITERION.fields_by_name['age_range']._options = None +_ADGROUPCRITERION.fields_by_name['gender']._options = None +_ADGROUPCRITERION.fields_by_name['income_range']._options = None +_ADGROUPCRITERION.fields_by_name['parental_status']._options = None +_ADGROUPCRITERION.fields_by_name['user_list']._options = None +_ADGROUPCRITERION.fields_by_name['youtube_video']._options = None +_ADGROUPCRITERION.fields_by_name['youtube_channel']._options = None +_ADGROUPCRITERION.fields_by_name['topic']._options = None +_ADGROUPCRITERION.fields_by_name['user_interest']._options = None +_ADGROUPCRITERION.fields_by_name['webpage']._options = None +_ADGROUPCRITERION.fields_by_name['app_payment_model']._options = None +_ADGROUPCRITERION.fields_by_name['custom_affinity']._options = None +_ADGROUPCRITERION.fields_by_name['custom_intent']._options = None +_ADGROUPCRITERION._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_feed_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_feed_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_criterion_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2.py new file mode 100644 index 000000000..0d8791a65 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2.py @@ -0,0 +1,187 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_criterion_simulation.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_criterion_simulation.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\037AdGroupCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/resources/ad_group_criterion_simulation.proto\x12!google.ads.googleads.v4.resources\x1a\x35google/ads/googleads_v4/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v4/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v4/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9a\x06\n\x1a\x41\x64GroupCriterionSimulation\x12R\n\rresource_name\x18\x01 \x01(\tB;\xe0\x41\x03\xfa\x41\x35\n3googleads.googleapis.com/AdGroupCriterionSimulation\x12\x35\n\x0b\x61\x64_group_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x36\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12S\n\x04type\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v4.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x35\n\nstart_date\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\\\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v4.common.CpcBidSimulationPointListB\x03\xe0\x41\x03H\x00:\x8b\x01\xea\x41\x87\x01\n3googleads.googleapis.com/AdGroupCriterionSimulation\x12Pcustomers/{customer}/adGroupCriterionSimulations/{ad_group_criterion_simulation}B\x0c\n\npoint_listB\x8c\x02\n%com.google.ads.googleads.v4.resourcesB\x1f\x41\x64GroupCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPCRITERIONSIMULATION = _descriptor.Descriptor( + name='AdGroupCriterionSimulation', + full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A5\n3googleads.googleapis.com/AdGroupCriterionSimulation'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_id', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.ad_group_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.criterion_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.type', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.modification_method', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.start_date', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.end_date', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cpc_bid_point_list', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.cpc_bid_point_list', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\207\001\n3googleads.googleapis.com/AdGroupCriterionSimulation\022Pcustomers/{customer}/adGroupCriterionSimulations/{ad_group_criterion_simulation}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v4.resources.AdGroupCriterionSimulation.point_list', + index=0, containing_type=None, fields=[]), + ], + serialized_start=425, + serialized_end=1219, +) + +_ADGROUPCRITERIONSIMULATION.fields_by_name['ad_group_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ADGROUPCRITERIONSIMULATION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ADGROUPCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_ADGROUPCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_ADGROUPCRITERIONSIMULATION.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPCRITERIONSIMULATION.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST +_ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list']) +_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list'].containing_oneof = _ADGROUPCRITERIONSIMULATION.oneofs_by_name['point_list'] +DESCRIPTOR.message_types_by_name['AdGroupCriterionSimulation'] = _ADGROUPCRITERIONSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupCriterionSimulation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionSimulation', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPCRITERIONSIMULATION, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_criterion_simulation_pb2' + , + __doc__ = """An ad group criterion simulation. Supported combinations of advertising + channel type, criterion type, simulation type, and simulation + modification method are detailed below respectively. + + 1. DISPLAY - KEYWORD - CPC\_BID - UNIFORM + 2. SEARCH - KEYWORD - CPC\_BID - UNIFORM + 3. SHOPPING - LISTING\_GROUP - CPC\_BID - UNIFORM + + + Attributes: + resource_name: + Output only. The resource name of the ad group criterion + simulation. Ad group criterion simulation resource names have + the form: ``customers/{customer_id}/adGroupCriterionSimulatio + ns/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{ + start_date}~{end_date}`` + ad_group_id: + Output only. AdGroup ID of the simulation. + criterion_id: + Output only. Criterion ID of the simulation. + type: + Output only. The field that the simulation modifies. + modification_method: + Output only. How the simulation modifies the field. + start_date: + Output only. First day on which the simulation is based, in + YYYY-MM-DD format. + end_date: + Output only. Last day on which the simulation is based, in + YYYY-MM-DD format. + point_list: + List of simulation points. + cpc_bid_point_list: + Output only. Simulation points if the simulation type is + CPC\_BID. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupCriterionSimulation) + )) +_sym_db.RegisterMessage(AdGroupCriterionSimulation) + + +DESCRIPTOR._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['resource_name']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['ad_group_id']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['criterion_id']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['type']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['modification_method']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['start_date']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['end_date']._options = None +_ADGROUPCRITERIONSIMULATION.fields_by_name['cpc_bid_point_list']._options = None +_ADGROUPCRITERIONSIMULATION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_label_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_criterion_simulation_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2.py new file mode 100644 index 000000000..e81fc13a9 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_extension_setting.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2 +from google.ads.google_ads.v4.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_extension_setting.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\034AdGroupExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/resources/ad_group_extension_setting.proto\x12!google.ads.googleads.v4.resources\x1a\x42google/ads/googleads_v4/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v4/proto/enums/extension_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf4\x04\n\x17\x41\x64GroupExtensionSetting\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x05\xfa\x41\x32\n0googleads.googleapis.com/AdGroupExtensionSetting\x12[\n\x0e\x65xtension_type\x18\x02 \x01(\x0e\x32>.google.ads.googleads.v4.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x05\x12X\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12k\n\x14\x65xtension_feed_items\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValueB/\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice:\x81\x01\xea\x41~\n0googleads.googleapis.com/AdGroupExtensionSetting\x12Jcustomers/{customer}/adGroupExtensionSettings/{ad_group_extension_setting}B\x89\x02\n%com.google.ads.googleads.v4.resourcesB\x1c\x41\x64GroupExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPEXTENSIONSETTING = _descriptor.Descriptor( + name='AdGroupExtensionSetting', + full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A2\n0googleads.googleapis.com/AdGroupExtensionSetting'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_type', full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting.extension_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting.ad_group', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_feed_items', full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting.extension_feed_items', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\372A,\n*googleads.googleapis.com/ExtensionFeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v4.resources.AdGroupExtensionSetting.device', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A~\n0googleads.googleapis.com/AdGroupExtensionSetting\022Jcustomers/{customer}/adGroupExtensionSettings/{ad_group_extension_setting}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=360, + serialized_end=988, +) + +_ADGROUPEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_ADGROUPEXTENSIONSETTING.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPEXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE +DESCRIPTOR.message_types_by_name['AdGroupExtensionSetting'] = _ADGROUPEXTENSIONSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupExtensionSetting = _reflection.GeneratedProtocolMessageType('AdGroupExtensionSetting', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPEXTENSIONSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_extension_setting_pb2' + , + __doc__ = """An ad group extension setting. + + + Attributes: + resource_name: + Immutable. The resource name of the ad group extension + setting. AdGroupExtensionSetting resource names have the form: + ``customers/{customer_id}/adGroupExtensionSettings/{ad_group_i + d}~{extension_type}`` + extension_type: + Immutable. The extension type of the ad group extension + setting. + ad_group: + Immutable. The resource name of the ad group. The linked + extension feed items will serve under this ad group. AdGroup + resource names have the form: + ``customers/{customer_id}/adGroups/{ad_group_id}`` + extension_feed_items: + The resource names of the extension feed items to serve under + the ad group. ExtensionFeedItem resource names have the form: + ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` + device: + The device for which the extensions will serve. Optional. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupExtensionSetting) + )) +_sym_db.RegisterMessage(AdGroupExtensionSetting) + + +DESCRIPTOR._options = None +_ADGROUPEXTENSIONSETTING.fields_by_name['resource_name']._options = None +_ADGROUPEXTENSIONSETTING.fields_by_name['extension_type']._options = None +_ADGROUPEXTENSIONSETTING.fields_by_name['ad_group']._options = None +_ADGROUPEXTENSIONSETTING.fields_by_name['extension_feed_items']._options = None +_ADGROUPEXTENSIONSETTING._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/customer_manager_link_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/customer_manager_link_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_extension_setting_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_feed_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_feed_pb2.py new file mode 100644 index 000000000..289404b17 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_feed_pb2.py @@ -0,0 +1,148 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_feed.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_matching__function__pb2 +from google.ads.google_ads.v4.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__link__status__pb2 +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_feed.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020AdGroupFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/ad_group_feed.proto\x12!google.ads.googleads.v4.resources\x1a.google.ads.googleads.v1.enums.AdGroupStatusEnum.AdGroupStatus\x12H\n\x04type\x18\x0c \x01(\x0e\x32:.google.ads.googleads.v1.enums.AdGroupTypeEnum.AdGroupType\x12h\n\x10\x61\x64_rotation_mode\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v1.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode\x12\x33\n\rbase_ad_group\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x06 \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12.\n\x08\x63\x61mpaign\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\x0e\x63pc_bid_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pm_bid_micros\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11target_cpa_micros\x18\x1b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pv_bid_micros\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11target_cpm_micros\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0btarget_roas\x18\x1e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x16percent_cpc_bid_micros\x18\x14 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x65\n\x1f\x65xplorer_auto_optimizer_setting\x18\x15 \x01(\x0b\x32<.google.ads.googleads.v1.common.ExplorerAutoOptimizerSetting\x12n\n\x1c\x64isplay_custom_bid_dimension\x18\x17 \x01(\x0e\x32H.google.ads.googleads.v1.enums.TargetingDimensionEnum.TargetingDimension\x12\x36\n\x10\x66inal_url_suffix\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x11targeting_setting\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.TargetingSetting\x12@\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_micros\x18\x1c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x63\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_source\x18\x1d \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSource\x12;\n\x15\x65\x66\x66\x65\x63tive_target_roas\x18\x1f \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x64\n\x1c\x65\x66\x66\x65\x63tive_target_roas_source\x18 \x01(\x0e\x32>.google.ads.googleads.v1.enums.BiddingSourceEnum.BiddingSourceB\xf9\x01\n%com.google.ads.googleads.v1.resourcesB\x0c\x41\x64GroupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\014AdGroupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/resources/ad_group.proto\x12!google.ads.googleads.v4.resources\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1aJgoogle/ads/googleads_v4/proto/common/explorer_auto_optimizer_setting.proto\x1a.google.ads.googleads.v4.enums.AdGroupStatusEnum.AdGroupStatus\x12M\n\x04type\x18\x0c \x01(\x0e\x32:.google.ads.googleads.v4.enums.AdGroupTypeEnum.AdGroupTypeB\x03\xe0\x41\x05\x12h\n\x10\x61\x64_rotation_mode\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v4.enums.AdGroupAdRotationModeEnum.AdGroupAdRotationMode\x12]\n\rbase_ad_group\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12;\n\x15tracking_url_template\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\x06 \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12Y\n\x08\x63\x61mpaign\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\x33\n\x0e\x63pc_bid_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\x0e\x63pm_bid_micros\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11target_cpa_micros\x18\x1b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x0e\x63pv_bid_micros\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x36\n\x11target_cpm_micros\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0btarget_roas\x18\x1e \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x16percent_cpc_bid_micros\x18\x14 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x65\n\x1f\x65xplorer_auto_optimizer_setting\x18\x15 \x01(\x0b\x32<.google.ads.googleads.v4.common.ExplorerAutoOptimizerSetting\x12n\n\x1c\x64isplay_custom_bid_dimension\x18\x17 \x01(\x0e\x32H.google.ads.googleads.v4.enums.TargetingDimensionEnum.TargetingDimension\x12\x36\n\x10\x66inal_url_suffix\x18\x18 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x11targeting_setting\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.TargetingSetting\x12\x45\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_micros\x18\x1c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12h\n\x1b\x65\x66\x66\x65\x63tive_target_cpa_source\x18\x1d \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12@\n\x15\x65\x66\x66\x65\x63tive_target_roas\x18\x1f \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x03\xe0\x41\x03\x12i\n\x1c\x65\x66\x66\x65\x63tive_target_roas_source\x18 \x01(\x0e\x32>.google.ads.googleads.v4.enums.BiddingSourceEnum.BiddingSourceB\x03\xe0\x41\x03\x12[\n\x06labels\x18! \x03(\x0b\x32\x1c.google.protobuf.StringValueB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/AdGroupLabel:O\xea\x41L\n googleads.googleapis.com/AdGroup\x12(customers/{customer}/adGroups/{ad_group}B\xf9\x01\n%com.google.ads.googleads.v4.resourcesB\x0c\x41\x64GroupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_targeting__dimension__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_targeting__dimension__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ADGROUP = _descriptor.Descriptor( name='AdGroup', - full_name='google.ads.googleads.v1.resources.AdGroup', + full_name='google.ads.googleads.v4.resources.AdGroup', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdGroup.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroup.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.AdGroup.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.AdGroup.id', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.AdGroup.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.AdGroup.name', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.AdGroup.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.AdGroup.status', index=3, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.AdGroup.type', index=4, + name='type', full_name='google.ads.googleads.v4.resources.AdGroup.type', index=4, number=12, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_rotation_mode', full_name='google.ads.googleads.v1.resources.AdGroup.ad_rotation_mode', index=5, + name='ad_rotation_mode', full_name='google.ads.googleads.v4.resources.AdGroup.ad_rotation_mode', index=5, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='base_ad_group', full_name='google.ads.googleads.v1.resources.AdGroup.base_ad_group', index=6, + name='base_ad_group', full_name='google.ads.googleads.v4.resources.AdGroup.base_ad_group', index=6, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.resources.AdGroup.tracking_url_template', index=7, + name='tracking_url_template', full_name='google.ads.googleads.v4.resources.AdGroup.tracking_url_template', index=7, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.resources.AdGroup.url_custom_parameters', index=8, + name='url_custom_parameters', full_name='google.ads.googleads.v4.resources.AdGroup.url_custom_parameters', index=8, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.AdGroup.campaign', index=9, + name='campaign', full_name='google.ads.googleads.v4.resources.AdGroup.campaign', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroup.cpc_bid_micros', index=10, + name='cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroup.cpc_bid_micros', index=10, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpm_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroup.cpm_bid_micros', index=11, + name='cpm_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroup.cpm_bid_micros', index=11, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v1.resources.AdGroup.target_cpa_micros', index=12, + name='target_cpa_micros', full_name='google.ads.googleads.v4.resources.AdGroup.target_cpa_micros', index=12, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpv_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroup.cpv_bid_micros', index=13, + name='cpv_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroup.cpv_bid_micros', index=13, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpm_micros', full_name='google.ads.googleads.v1.resources.AdGroup.target_cpm_micros', index=14, + name='target_cpm_micros', full_name='google.ads.googleads.v4.resources.AdGroup.target_cpm_micros', index=14, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v1.resources.AdGroup.target_roas', index=15, + name='target_roas', full_name='google.ads.googleads.v4.resources.AdGroup.target_roas', index=15, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.AdGroup.percent_cpc_bid_micros', index=16, + name='percent_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.AdGroup.percent_cpc_bid_micros', index=16, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='explorer_auto_optimizer_setting', full_name='google.ads.googleads.v1.resources.AdGroup.explorer_auto_optimizer_setting', index=17, + name='explorer_auto_optimizer_setting', full_name='google.ads.googleads.v4.resources.AdGroup.explorer_auto_optimizer_setting', index=17, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='display_custom_bid_dimension', full_name='google.ads.googleads.v1.resources.AdGroup.display_custom_bid_dimension', index=18, + name='display_custom_bid_dimension', full_name='google.ads.googleads.v4.resources.AdGroup.display_custom_bid_dimension', index=18, number=23, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.resources.AdGroup.final_url_suffix', index=19, + name='final_url_suffix', full_name='google.ads.googleads.v4.resources.AdGroup.final_url_suffix', index=19, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='targeting_setting', full_name='google.ads.googleads.v1.resources.AdGroup.targeting_setting', index=20, + name='targeting_setting', full_name='google.ads.googleads.v4.resources.AdGroup.targeting_setting', index=20, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_target_cpa_micros', full_name='google.ads.googleads.v1.resources.AdGroup.effective_target_cpa_micros', index=21, + name='effective_target_cpa_micros', full_name='google.ads.googleads.v4.resources.AdGroup.effective_target_cpa_micros', index=21, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_target_cpa_source', full_name='google.ads.googleads.v1.resources.AdGroup.effective_target_cpa_source', index=22, + name='effective_target_cpa_source', full_name='google.ads.googleads.v4.resources.AdGroup.effective_target_cpa_source', index=22, number=29, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_target_roas', full_name='google.ads.googleads.v1.resources.AdGroup.effective_target_roas', index=23, + name='effective_target_roas', full_name='google.ads.googleads.v4.resources.AdGroup.effective_target_roas', index=23, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='effective_target_roas_source', full_name='google.ads.googleads.v1.resources.AdGroup.effective_target_roas_source', index=24, + name='effective_target_roas_source', full_name='google.ads.googleads.v4.resources.AdGroup.effective_target_roas_source', index=24, number=32, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='labels', full_name='google.ads.googleads.v4.resources.AdGroup.labels', index=25, + number=33, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/AdGroupLabel'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AL\n googleads.googleapis.com/AdGroup\022(customers/{customer}/adGroups/{ad_group}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=661, - serialized_end=2341, + serialized_start=721, + serialized_end=2737, ) _ADGROUP.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUP.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__status__pb2._ADGROUPSTATUSENUM_ADGROUPSTATUS -_ADGROUP.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__type__pb2._ADGROUPTYPEENUM_ADGROUPTYPE -_ADGROUP.fields_by_name['ad_rotation_mode'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2._ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE +_ADGROUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__status__pb2._ADGROUPSTATUSENUM_ADGROUPSTATUS +_ADGROUP.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__type__pb2._ADGROUPTYPEENUM_ADGROUPTYPE +_ADGROUP.fields_by_name['ad_rotation_mode'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__group__ad__rotation__mode__pb2._ADGROUPADROTATIONMODEENUM_ADGROUPADROTATIONMODE _ADGROUP.fields_by_name['base_ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUP.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUP.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_ADGROUP.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER _ADGROUP.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _ADGROUP.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUP.fields_by_name['cpm_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -251,31 +260,32 @@ _ADGROUP.fields_by_name['target_cpm_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ADGROUP.fields_by_name['target_roas'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _ADGROUP.fields_by_name['percent_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUP.fields_by_name['explorer_auto_optimizer_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2._EXPLORERAUTOOPTIMIZERSETTING -_ADGROUP.fields_by_name['display_custom_bid_dimension'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_targeting__dimension__pb2._TARGETINGDIMENSIONENUM_TARGETINGDIMENSION +_ADGROUP.fields_by_name['explorer_auto_optimizer_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_explorer__auto__optimizer__setting__pb2._EXPLORERAUTOOPTIMIZERSETTING +_ADGROUP.fields_by_name['display_custom_bid_dimension'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_targeting__dimension__pb2._TARGETINGDIMENSIONENUM_TARGETINGDIMENSION _ADGROUP.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_ADGROUP.fields_by_name['targeting_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_targeting__setting__pb2._TARGETINGSETTING +_ADGROUP.fields_by_name['targeting_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_targeting__setting__pb2._TARGETINGSETTING _ADGROUP.fields_by_name['effective_target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ADGROUP.fields_by_name['effective_target_cpa_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUP.fields_by_name['effective_target_cpa_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE _ADGROUP.fields_by_name['effective_target_roas'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_ADGROUP.fields_by_name['effective_target_roas_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUP.fields_by_name['effective_target_roas_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__source__pb2._BIDDINGSOURCEENUM_BIDDINGSOURCE +_ADGROUP.fields_by_name['labels'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE DESCRIPTOR.message_types_by_name['AdGroup'] = _ADGROUP _sym_db.RegisterFileDescriptor(DESCRIPTOR) AdGroup = _reflection.GeneratedProtocolMessageType('AdGroup', (_message.Message,), dict( DESCRIPTOR = _ADGROUP, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_group_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_pb2' , __doc__ = """An ad group. Attributes: resource_name: - The resource name of the ad group. Ad group resource names - have the form: + Immutable. The resource name of the ad group. Ad group + resource names have the form: ``customers/{customer_id}/adGroups/{ad_group_id}`` id: - The ID of the ad group. + Output only. The ID of the ad group. name: The name of the ad group. This field is required and should not be empty when creating new ad groups. It must contain @@ -285,16 +295,16 @@ status: The status of the ad group. type: - The type of the ad group. + Immutable. The type of the ad group. ad_rotation_mode: The ad rotation mode of the ad group. base_ad_group: - For draft or experiment ad groups, this field is the resource - name of the base ad group from which this ad group was - created. If a draft or experiment ad group does not have a - base ad group, then this field is null. For base ad groups, - this field equals the ad group resource name. This field is - read-only. + Output only. For draft or experiment ad groups, this field is + the resource name of the base ad group from which this ad + group was created. If a draft or experiment ad group does not + have a base ad group, then this field is null. For base ad + groups, this field equals the ad group resource name. This + field is read-only. tracking_url_template: The URL template for constructing a tracking URL. url_custom_parameters: @@ -302,7 +312,7 @@ in a ``tracking_url_template``, ``final_urls``, or ``mobile_final_urls``. campaign: - The campaign to which the ad group belongs. + Immutable. The campaign to which the ad group belongs. cpc_bid_micros: The maximum CPC (cost-per-click) bid. cpm_bid_micros: @@ -310,7 +320,7 @@ target_cpa_micros: The target CPA (cost-per-acquisition). cpv_bid_micros: - The CPV (cost-per-view) bid. + Output only. The CPV (cost-per-view) bid. target_cpm_micros: Average amount in micros that the advertiser is willing to pay for every thousand times the ad is shown. @@ -337,20 +347,37 @@ targeting_setting: Setting for targeting related features. effective_target_cpa_micros: - The effective target CPA (cost-per-acquisition). This field is - read-only. + Output only. The effective target CPA (cost-per-acquisition). + This field is read-only. effective_target_cpa_source: - Source of the effective target CPA. This field is read-only. - effective_target_roas: - The effective target ROAS (return-on-ad-spend). This field is + Output only. Source of the effective target CPA. This field is read-only. + effective_target_roas: + Output only. The effective target ROAS (return-on-ad-spend). + This field is read-only. effective_target_roas_source: - Source of the effective target ROAS. This field is read-only. + Output only. Source of the effective target ROAS. This field + is read-only. + labels: + Output only. The resource names of labels attached to this ad + group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdGroup) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroup) )) _sym_db.RegisterMessage(AdGroup) DESCRIPTOR._options = None +_ADGROUP.fields_by_name['resource_name']._options = None +_ADGROUP.fields_by_name['id']._options = None +_ADGROUP.fields_by_name['type']._options = None +_ADGROUP.fields_by_name['base_ad_group']._options = None +_ADGROUP.fields_by_name['campaign']._options = None +_ADGROUP.fields_by_name['cpv_bid_micros']._options = None +_ADGROUP.fields_by_name['effective_target_cpa_micros']._options = None +_ADGROUP.fields_by_name['effective_target_cpa_source']._options = None +_ADGROUP.fields_by_name['effective_target_roas']._options = None +_ADGROUP.fields_by_name['effective_target_roas_source']._options = None +_ADGROUP.fields_by_name['labels']._options = None +_ADGROUP._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/detail_placement_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/detail_placement_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2.py new file mode 100644 index 000000000..30f223407 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_group_simulation.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_group_simulation.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026AdGroupSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/resources/ad_group_simulation.proto\x12!google.ads.googleads.v4.resources\x1a\x35google/ads/googleads_v4/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v4/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v4/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xda\x07\n\x11\x41\x64GroupSimulation\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/AdGroupSimulation\x12\x35\n\x0b\x61\x64_group_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12S\n\x04type\x18\x03 \x01(\x0e\x32@.google.ads.googleads.v4.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x04 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x35\n\nstart_date\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08\x65nd_date\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\\\n\x12\x63pc_bid_point_list\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v4.common.CpcBidSimulationPointListB\x03\xe0\x41\x03H\x00\x12\\\n\x12\x63pv_bid_point_list\x18\n \x01(\x0b\x32\x39.google.ads.googleads.v4.common.CpvBidSimulationPointListB\x03\xe0\x41\x03H\x00\x12\x62\n\x15target_cpa_point_list\x18\t \x01(\x0b\x32<.google.ads.googleads.v4.common.TargetCpaSimulationPointListB\x03\xe0\x41\x03H\x00\x12\x64\n\x16target_roas_point_list\x18\x0b \x01(\x0b\x32=.google.ads.googleads.v4.common.TargetRoasSimulationPointListB\x03\xe0\x41\x03H\x00:n\xea\x41k\n*googleads.googleapis.com/AdGroupSimulation\x12=customers/{customer}/adGroupSimulations/{ad_group_simulation}B\x0c\n\npoint_listB\x83\x02\n%com.google.ads.googleads.v4.resourcesB\x16\x41\x64GroupSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADGROUPSIMULATION = _descriptor.Descriptor( + name='AdGroupSimulation', + full_name='google.ads.googleads.v4.resources.AdGroupSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A,\n*googleads.googleapis.com/AdGroupSimulation'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_id', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.ad_group_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.modification_method', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.start_date', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.end_date', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cpc_bid_point_list', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.cpc_bid_point_list', index=6, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cpv_bid_point_list', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.cpv_bid_point_list', index=7, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_cpa_point_list', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.target_cpa_point_list', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_roas_point_list', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.target_roas_point_list', index=9, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ak\n*googleads.googleapis.com/AdGroupSimulation\022=customers/{customer}/adGroupSimulations/{ad_group_simulation}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v4.resources.AdGroupSimulation.point_list', + index=0, containing_type=None, fields=[]), + ], + serialized_start=415, + serialized_end=1401, +) + +_ADGROUPSIMULATION.fields_by_name['ad_group_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ADGROUPSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_ADGROUPSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_ADGROUPSIMULATION.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPSIMULATION.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_ADGROUPSIMULATION.fields_by_name['cpc_bid_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._CPCBIDSIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._CPVBIDSIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['target_cpa_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._TARGETCPASIMULATIONPOINTLIST +_ADGROUPSIMULATION.fields_by_name['target_roas_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._TARGETROASSIMULATIONPOINTLIST +_ADGROUPSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPSIMULATION.fields_by_name['cpc_bid_point_list']) +_ADGROUPSIMULATION.fields_by_name['cpc_bid_point_list'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['point_list'] +_ADGROUPSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list']) +_ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['point_list'] +_ADGROUPSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPSIMULATION.fields_by_name['target_cpa_point_list']) +_ADGROUPSIMULATION.fields_by_name['target_cpa_point_list'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['point_list'] +_ADGROUPSIMULATION.oneofs_by_name['point_list'].fields.append( + _ADGROUPSIMULATION.fields_by_name['target_roas_point_list']) +_ADGROUPSIMULATION.fields_by_name['target_roas_point_list'].containing_oneof = _ADGROUPSIMULATION.oneofs_by_name['point_list'] +DESCRIPTOR.message_types_by_name['AdGroupSimulation'] = _ADGROUPSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdGroupSimulation = _reflection.GeneratedProtocolMessageType('AdGroupSimulation', (_message.Message,), dict( + DESCRIPTOR = _ADGROUPSIMULATION, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_group_simulation_pb2' + , + __doc__ = """An ad group simulation. Supported combinations of advertising channel + type, simulation type and simulation modification method is detailed + below respectively. + + 1. SEARCH - CPC\_BID - DEFAULT + 2. SEARCH - CPC\_BID - UNIFORM + 3. SEARCH - TARGET\_CPA - UNIFORM + 4. SEARCH - TARGET\_ROAS - UNIFORM + 5. DISPLAY - CPC\_BID - DEFAULT + 6. DISPLAY - CPC\_BID - UNIFORM + 7. DISPLAY - TARGET\_CPA - UNIFORM + 8. VIDEO - CPV\_BID - DEFAULT + 9. VIDEO - CPV\_BID - UNIFORM + + + Attributes: + resource_name: + Output only. The resource name of the ad group simulation. Ad + group simulation resource names have the form: ``customers/{c + ustomer_id}/adGroupSimulations/{ad_group_id}~{type}~{modificat + ion_method}~{start_date}~{end_date}`` + ad_group_id: + Output only. Ad group id of the simulation. + type: + Output only. The field that the simulation modifies. + modification_method: + Output only. How the simulation modifies the field. + start_date: + Output only. First day on which the simulation is based, in + YYYY-MM-DD format. + end_date: + Output only. Last day on which the simulation is based, in + YYYY-MM-DD format + point_list: + List of simulation points. + cpc_bid_point_list: + Output only. Simulation points if the simulation type is + CPC\_BID. + cpv_bid_point_list: + Output only. Simulation points if the simulation type is + CPV\_BID. + target_cpa_point_list: + Output only. Simulation points if the simulation type is + TARGET\_CPA. + target_roas_point_list: + Output only. Simulation points if the simulation type is + TARGET\_ROAS. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdGroupSimulation) + )) +_sym_db.RegisterMessage(AdGroupSimulation) + + +DESCRIPTOR._options = None +_ADGROUPSIMULATION.fields_by_name['resource_name']._options = None +_ADGROUPSIMULATION.fields_by_name['ad_group_id']._options = None +_ADGROUPSIMULATION.fields_by_name['type']._options = None +_ADGROUPSIMULATION.fields_by_name['modification_method']._options = None +_ADGROUPSIMULATION.fields_by_name['start_date']._options = None +_ADGROUPSIMULATION.fields_by_name['end_date']._options = None +_ADGROUPSIMULATION.fields_by_name['cpc_bid_point_list']._options = None +_ADGROUPSIMULATION.fields_by_name['cpv_bid_point_list']._options = None +_ADGROUPSIMULATION.fields_by_name['target_cpa_point_list']._options = None +_ADGROUPSIMULATION.fields_by_name['target_roas_point_list']._options = None +_ADGROUPSIMULATION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/display_keyword_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_group_simulation_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/ad_parameter_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_parameter_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/resources/ad_parameter_pb2.py rename to google/ads/google_ads/v4/proto/resources/ad_parameter_pb2.py index 3a32adfff..58c006287 100644 --- a/google/ads/google_ads/v1/proto/resources/ad_parameter_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/ad_parameter_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad_parameter.proto +# source: google/ads/googleads_v4/proto/resources/ad_parameter.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,52 +13,54 @@ _sym_db = _symbol_database.Default() +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad_parameter.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/ad_parameter.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\020AdParameterProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/resources/ad_parameter.proto\x12!google.ads.googleads.v1.resources\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xca\x01\n\x0b\x41\x64Parameter\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x38\n\x12\x61\x64_group_criterion\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0fparameter_index\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x34\n\x0einsertion_text\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfd\x01\n%com.google.ads.googleads.v1.resourcesB\x10\x41\x64ParameterProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020AdParameterProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/resources/ad_parameter.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8d\x03\n\x0b\x41\x64Parameter\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x05\xfa\x41&\n$googleads.googleapis.com/AdParameter\x12k\n\x12\x61\x64_group_criterion\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\x12\x39\n\x0fparameter_index\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05\x12\x34\n\x0einsertion_text\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue:[\xea\x41X\n$googleads.googleapis.com/AdParameter\x12\x30\x63ustomers/{customer}/adParameters/{ad_parameter}B\xfd\x01\n%com.google.ads.googleads.v4.resourcesB\x10\x41\x64ParameterProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _ADPARAMETER = _descriptor.Descriptor( name='AdParameter', - full_name='google.ads.googleads.v1.resources.AdParameter', + full_name='google.ads.googleads.v4.resources.AdParameter', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.AdParameter.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.AdParameter.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A&\n$googleads.googleapis.com/AdParameter'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v1.resources.AdParameter.ad_group_criterion', index=1, + name='ad_group_criterion', full_name='google.ads.googleads.v4.resources.AdParameter.ad_group_criterion', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A+\n)googleads.googleapis.com/AdGroupCriterion'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parameter_index', full_name='google.ads.googleads.v1.resources.AdParameter.parameter_index', index=2, + name='parameter_index', full_name='google.ads.googleads.v4.resources.AdParameter.parameter_index', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='insertion_text', full_name='google.ads.googleads.v1.resources.AdParameter.insertion_text', index=3, + name='insertion_text', full_name='google.ads.googleads.v4.resources.AdParameter.insertion_text', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -70,14 +72,14 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AX\n$googleads.googleapis.com/AdParameter\0220customers/{customer}/adParameters/{ad_parameter}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=160, - serialized_end=362, + serialized_start=220, + serialized_end=617, ) _ADPARAMETER.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -88,7 +90,7 @@ AdParameter = _reflection.GeneratedProtocolMessageType('AdParameter', (_message.Message,), dict( DESCRIPTOR = _ADPARAMETER, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_parameter_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_parameter_pb2' , __doc__ = """An ad parameter that is used to update numeric values (such as prices or inventory levels) in any text line of an ad (including URLs). There can @@ -100,13 +102,15 @@ Attributes: resource_name: - The resource name of the ad parameter. Ad parameter resource - names have the form: ``customers/{customer_id}/adParameters/{ - ad_group_id}~{criterion_id}~{parameter_index}`` + Immutable. The resource name of the ad parameter. Ad parameter + resource names have the form: ``customers/{customer_id}/adPar + ameters/{ad_group_id}~{criterion_id}~{parameter_index}`` ad_group_criterion: - The ad group criterion that this ad parameter belongs to. + Immutable. The ad group criterion that this ad parameter + belongs to. parameter_index: - The unique index of this ad parameter. Must be either 1 or 2. + Immutable. The unique index of this ad parameter. Must be + either 1 or 2. insertion_text: Numeric value to insert into the ad text. The following restrictions apply: - Can use comma or period as a separator, @@ -120,10 +124,14 @@ use '/' between two numbers. For example 4/1 and 0.95/0.45 are valid. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AdParameter) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdParameter) )) _sym_db.RegisterMessage(AdParameter) DESCRIPTOR._options = None +_ADPARAMETER.fields_by_name['resource_name']._options = None +_ADPARAMETER.fields_by_name['ad_group_criterion']._options = None +_ADPARAMETER.fields_by_name['parameter_index']._options = None +_ADPARAMETER._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/domain_category_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_parameter_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/domain_category_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_parameter_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/ad_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_pb2.py similarity index 56% rename from google/ads/google_ads/v1/proto/resources/ad_pb2.py rename to google/ads/google_ads/v4/proto/resources/ad_pb2.py index 70de5c464..cc600a36b 100644 --- a/google/ads/google_ads/v1/proto/resources/ad_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/ad_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/ad.proto +# source: google/ads/googleads_v4/proto/resources/ad.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,248 +13,271 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import ad_type_infos_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2 -from google.ads.google_ads.v1.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v1.proto.common import final_app_url_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_final__app__url__pb2 -from google.ads.google_ads.v1.proto.common import url_collection_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_url__collection__pb2 -from google.ads.google_ads.v1.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__type__pb2 -from google.ads.google_ads.v1.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2 -from google.ads.google_ads.v1.proto.enums import system_managed_entity_source_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_system__managed__entity__source__pb2 +from google.ads.google_ads.v4.proto.common import ad_type_infos_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2 +from google.ads.google_ads.v4.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v4.proto.common import final_app_url_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_final__app__url__pb2 +from google.ads.google_ads.v4.proto.common import url_collection_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_url__collection__pb2 +from google.ads.google_ads.v4.proto.enums import ad_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__type__pb2 +from google.ads.google_ads.v4.proto.enums import device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2 +from google.ads.google_ads.v4.proto.enums import system_managed_entity_source_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_system__managed__entity__source__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/ad.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/ad.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\007AdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n0google/ads/googleads_v1/proto/resources/ad.proto\x12!google.ads.googleads.v1.resources\x1a\x38google/ads/googleads_v1/proto/common/ad_type_infos.proto\x1a;google/ads/googleads_v1/proto/common/custom_parameter.proto\x1a\x38google/ads/googleads_v1/proto/common/final_app_url.proto\x1a\x39google/ads/googleads_v1/proto/common/url_collection.proto\x1a\x31google/ads/googleads_v1/proto/enums/ad_type.proto\x1a\x30google/ads/googleads_v1/proto/enums/device.proto\x1a\x46google/ads/googleads_v1/proto/enums/system_managed_entity_source.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8b\x12\n\x02\x41\x64\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\nfinal_urls\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x0e\x66inal_app_urls\x18# \x03(\x0b\x32+.google.ads.googleads.v1.common.FinalAppUrl\x12\x37\n\x11\x66inal_mobile_urls\x18\x10 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\n \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12\x31\n\x0b\x64isplay_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12>\n\x04type\x18\x05 \x01(\x0e\x32\x30.google.ads.googleads.v1.enums.AdTypeEnum.AdType\x12\x37\n\x13\x61\x64\x64\x65\x64_by_google_ads\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12K\n\x11\x64\x65vice_preference\x18\x14 \x01(\x0e\x32\x30.google.ads.googleads.v1.enums.DeviceEnum.Device\x12\x46\n\x0furl_collections\x18\x1a \x03(\x0b\x32-.google.ads.googleads.v1.common.UrlCollection\x12*\n\x04name\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x82\x01\n\x1esystem_managed_resource_source\x18\x1b \x01(\x0e\x32Z.google.ads.googleads.v1.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSource\x12=\n\x07text_ad\x18\x06 \x01(\x0b\x32*.google.ads.googleads.v1.common.TextAdInfoH\x00\x12N\n\x10\x65xpanded_text_ad\x18\x07 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.ExpandedTextAdInfoH\x00\x12\x46\n\x0c\x63\x61ll_only_ad\x18\r \x01(\x0b\x32..google.ads.googleads.v1.common.CallOnlyAdInfoH\x00\x12\x61\n\x1a\x65xpanded_dynamic_search_ad\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v1.common.ExpandedDynamicSearchAdInfoH\x00\x12?\n\x08hotel_ad\x18\x0f \x01(\x0b\x32+.google.ads.googleads.v1.common.HotelAdInfoH\x00\x12P\n\x11shopping_smart_ad\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.ShoppingSmartAdInfoH\x00\x12T\n\x13shopping_product_ad\x18\x12 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.ShoppingProductAdInfoH\x00\x12?\n\x08gmail_ad\x18\x15 \x01(\x0b\x32+.google.ads.googleads.v1.common.GmailAdInfoH\x00\x12?\n\x08image_ad\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v1.common.ImageAdInfoH\x00\x12?\n\x08video_ad\x18\x18 \x01(\x0b\x32+.google.ads.googleads.v1.common.VideoAdInfoH\x00\x12V\n\x14responsive_search_ad\x18\x19 \x01(\x0b\x32\x36.google.ads.googleads.v1.common.ResponsiveSearchAdInfoH\x00\x12\x65\n\x1clegacy_responsive_display_ad\x18\x1c \x01(\x0b\x32=.google.ads.googleads.v1.common.LegacyResponsiveDisplayAdInfoH\x00\x12;\n\x06\x61pp_ad\x18\x1d \x01(\x0b\x32).google.ads.googleads.v1.common.AppAdInfoH\x00\x12W\n\x15legacy_app_install_ad\x18\x1e \x01(\x0b\x32\x36.google.ads.googleads.v1.common.LegacyAppInstallAdInfoH\x00\x12X\n\x15responsive_display_ad\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v1.common.ResponsiveDisplayAdInfoH\x00\x12P\n\x11\x64isplay_upload_ad\x18! \x01(\x0b\x32\x33.google.ads.googleads.v1.common.DisplayUploadAdInfoH\x00\x12P\n\x11\x61pp_engagement_ad\x18\" \x01(\x0b\x32\x33.google.ads.googleads.v1.common.AppEngagementAdInfoH\x00\x12i\n\x1eshopping_comparison_listing_ad\x18$ \x01(\x0b\x32?.google.ads.googleads.v1.common.ShoppingComparisonListingAdInfoH\x00\x42\t\n\x07\x61\x64_dataB\xf4\x01\n%com.google.ads.googleads.v1.resourcesB\x07\x41\x64ProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\007AdProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n0google/ads/googleads_v4/proto/resources/ad.proto\x12!google.ads.googleads.v4.resources\x1a\x38google/ads/googleads_v4/proto/common/ad_type_infos.proto\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1a\x38google/ads/googleads_v4/proto/common/final_app_url.proto\x1a\x39google/ads/googleads_v4/proto/common/url_collection.proto\x1a\x31google/ads/googleads_v4/proto/enums/ad_type.proto\x1a\x30google/ads/googleads_v4/proto/enums/device.proto\x1a\x46google/ads/googleads_v4/proto/enums/system_managed_entity_source.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb3\x14\n\x02\x41\x64\x12:\n\rresource_name\x18% \x01(\tB#\xe0\x41\x05\xfa\x41\x1d\n\x1bgoogleads.googleapis.com/Ad\x12,\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x30\n\nfinal_urls\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x0e\x66inal_app_urls\x18# \x03(\x0b\x32+.google.ads.googleads.v4.common.FinalAppUrl\x12\x37\n\x11\x66inal_mobile_urls\x18\x10 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18& \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12N\n\x15url_custom_parameters\x18\n \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12\x31\n\x0b\x64isplay_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x04type\x18\x05 \x01(\x0e\x32\x30.google.ads.googleads.v4.enums.AdTypeEnum.AdTypeB\x03\xe0\x41\x03\x12<\n\x13\x61\x64\x64\x65\x64_by_google_ads\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12K\n\x11\x64\x65vice_preference\x18\x14 \x01(\x0e\x32\x30.google.ads.googleads.v4.enums.DeviceEnum.Device\x12\x46\n\x0furl_collections\x18\x1a \x03(\x0b\x32-.google.ads.googleads.v4.common.UrlCollection\x12/\n\x04name\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x87\x01\n\x1esystem_managed_resource_source\x18\x1b \x01(\x0e\x32Z.google.ads.googleads.v4.enums.SystemManagedResourceSourceEnum.SystemManagedResourceSourceB\x03\xe0\x41\x03\x12\x42\n\x07text_ad\x18\x06 \x01(\x0b\x32*.google.ads.googleads.v4.common.TextAdInfoB\x03\xe0\x41\x05H\x00\x12N\n\x10\x65xpanded_text_ad\x18\x07 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.ExpandedTextAdInfoH\x00\x12\x46\n\x0c\x63\x61ll_only_ad\x18\r \x01(\x0b\x32..google.ads.googleads.v4.common.CallOnlyAdInfoH\x00\x12\x66\n\x1a\x65xpanded_dynamic_search_ad\x18\x0e \x01(\x0b\x32;.google.ads.googleads.v4.common.ExpandedDynamicSearchAdInfoB\x03\xe0\x41\x05H\x00\x12?\n\x08hotel_ad\x18\x0f \x01(\x0b\x32+.google.ads.googleads.v4.common.HotelAdInfoH\x00\x12P\n\x11shopping_smart_ad\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.ShoppingSmartAdInfoH\x00\x12T\n\x13shopping_product_ad\x18\x12 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.ShoppingProductAdInfoH\x00\x12\x44\n\x08gmail_ad\x18\x15 \x01(\x0b\x32+.google.ads.googleads.v4.common.GmailAdInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x08image_ad\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v4.common.ImageAdInfoB\x03\xe0\x41\x05H\x00\x12?\n\x08video_ad\x18\x18 \x01(\x0b\x32+.google.ads.googleads.v4.common.VideoAdInfoH\x00\x12V\n\x14responsive_search_ad\x18\x19 \x01(\x0b\x32\x36.google.ads.googleads.v4.common.ResponsiveSearchAdInfoH\x00\x12\x65\n\x1clegacy_responsive_display_ad\x18\x1c \x01(\x0b\x32=.google.ads.googleads.v4.common.LegacyResponsiveDisplayAdInfoH\x00\x12;\n\x06\x61pp_ad\x18\x1d \x01(\x0b\x32).google.ads.googleads.v4.common.AppAdInfoH\x00\x12\\\n\x15legacy_app_install_ad\x18\x1e \x01(\x0b\x32\x36.google.ads.googleads.v4.common.LegacyAppInstallAdInfoB\x03\xe0\x41\x05H\x00\x12X\n\x15responsive_display_ad\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v4.common.ResponsiveDisplayAdInfoH\x00\x12?\n\x08local_ad\x18 \x01(\x0b\x32+.google.ads.googleads.v4.common.LocalAdInfoH\x00\x12P\n\x11\x64isplay_upload_ad\x18! \x01(\x0b\x32\x33.google.ads.googleads.v4.common.DisplayUploadAdInfoH\x00\x12P\n\x11\x61pp_engagement_ad\x18\" \x01(\x0b\x32\x33.google.ads.googleads.v4.common.AppEngagementAdInfoH\x00\x12i\n\x1eshopping_comparison_listing_ad\x18$ \x01(\x0b\x32?.google.ads.googleads.v4.common.ShoppingComparisonListingAdInfoH\x00:?\xea\x41<\n\x1bgoogleads.googleapis.com/Ad\x12\x1d\x63ustomers/{customer}/ads/{ad}B\t\n\x07\x61\x64_dataB\xf4\x01\n%com.google.ads.googleads.v4.resourcesB\x07\x41\x64ProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_final__app__url__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_url__collection__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_system__managed__entity__source__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_final__app__url__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_url__collection__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_system__managed__entity__source__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _AD = _descriptor.Descriptor( name='Ad', - full_name='google.ads.googleads.v1.resources.Ad', + full_name='google.ads.googleads.v4.resources.Ad', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.Ad.id', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.Ad.resource_name', index=0, + number=37, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A\035\n\033googleads.googleapis.com/Ad'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.Ad.id', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_urls', full_name='google.ads.googleads.v1.resources.Ad.final_urls', index=1, + name='final_urls', full_name='google.ads.googleads.v4.resources.Ad.final_urls', index=2, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_app_urls', full_name='google.ads.googleads.v1.resources.Ad.final_app_urls', index=2, + name='final_app_urls', full_name='google.ads.googleads.v4.resources.Ad.final_app_urls', index=3, number=35, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_mobile_urls', full_name='google.ads.googleads.v1.resources.Ad.final_mobile_urls', index=3, + name='final_mobile_urls', full_name='google.ads.googleads.v4.resources.Ad.final_mobile_urls', index=4, number=16, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.resources.Ad.tracking_url_template', index=4, + name='tracking_url_template', full_name='google.ads.googleads.v4.resources.Ad.tracking_url_template', index=5, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.resources.Ad.url_custom_parameters', index=5, + name='final_url_suffix', full_name='google.ads.googleads.v4.resources.Ad.final_url_suffix', index=6, + number=38, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='url_custom_parameters', full_name='google.ads.googleads.v4.resources.Ad.url_custom_parameters', index=7, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='display_url', full_name='google.ads.googleads.v1.resources.Ad.display_url', index=6, + name='display_url', full_name='google.ads.googleads.v4.resources.Ad.display_url', index=8, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.Ad.type', index=7, + name='type', full_name='google.ads.googleads.v4.resources.Ad.type', index=9, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='added_by_google_ads', full_name='google.ads.googleads.v1.resources.Ad.added_by_google_ads', index=8, + name='added_by_google_ads', full_name='google.ads.googleads.v4.resources.Ad.added_by_google_ads', index=10, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='device_preference', full_name='google.ads.googleads.v1.resources.Ad.device_preference', index=9, + name='device_preference', full_name='google.ads.googleads.v4.resources.Ad.device_preference', index=11, number=20, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_collections', full_name='google.ads.googleads.v1.resources.Ad.url_collections', index=10, + name='url_collections', full_name='google.ads.googleads.v4.resources.Ad.url_collections', index=12, number=26, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.Ad.name', index=11, + name='name', full_name='google.ads.googleads.v4.resources.Ad.name', index=13, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='system_managed_resource_source', full_name='google.ads.googleads.v1.resources.Ad.system_managed_resource_source', index=12, + name='system_managed_resource_source', full_name='google.ads.googleads.v4.resources.Ad.system_managed_resource_source', index=14, number=27, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text_ad', full_name='google.ads.googleads.v1.resources.Ad.text_ad', index=13, + name='text_ad', full_name='google.ads.googleads.v4.resources.Ad.text_ad', index=15, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='expanded_text_ad', full_name='google.ads.googleads.v1.resources.Ad.expanded_text_ad', index=14, + name='expanded_text_ad', full_name='google.ads.googleads.v4.resources.Ad.expanded_text_ad', index=16, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_only_ad', full_name='google.ads.googleads.v1.resources.Ad.call_only_ad', index=15, + name='call_only_ad', full_name='google.ads.googleads.v4.resources.Ad.call_only_ad', index=17, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='expanded_dynamic_search_ad', full_name='google.ads.googleads.v1.resources.Ad.expanded_dynamic_search_ad', index=16, + name='expanded_dynamic_search_ad', full_name='google.ads.googleads.v4.resources.Ad.expanded_dynamic_search_ad', index=18, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_ad', full_name='google.ads.googleads.v1.resources.Ad.hotel_ad', index=17, + name='hotel_ad', full_name='google.ads.googleads.v4.resources.Ad.hotel_ad', index=19, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shopping_smart_ad', full_name='google.ads.googleads.v1.resources.Ad.shopping_smart_ad', index=18, + name='shopping_smart_ad', full_name='google.ads.googleads.v4.resources.Ad.shopping_smart_ad', index=20, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shopping_product_ad', full_name='google.ads.googleads.v1.resources.Ad.shopping_product_ad', index=19, + name='shopping_product_ad', full_name='google.ads.googleads.v4.resources.Ad.shopping_product_ad', index=21, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gmail_ad', full_name='google.ads.googleads.v1.resources.Ad.gmail_ad', index=20, + name='gmail_ad', full_name='google.ads.googleads.v4.resources.Ad.gmail_ad', index=22, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='image_ad', full_name='google.ads.googleads.v1.resources.Ad.image_ad', index=21, + name='image_ad', full_name='google.ads.googleads.v4.resources.Ad.image_ad', index=23, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_ad', full_name='google.ads.googleads.v1.resources.Ad.video_ad', index=22, + name='video_ad', full_name='google.ads.googleads.v4.resources.Ad.video_ad', index=24, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='responsive_search_ad', full_name='google.ads.googleads.v1.resources.Ad.responsive_search_ad', index=23, + name='responsive_search_ad', full_name='google.ads.googleads.v4.resources.Ad.responsive_search_ad', index=25, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='legacy_responsive_display_ad', full_name='google.ads.googleads.v1.resources.Ad.legacy_responsive_display_ad', index=24, + name='legacy_responsive_display_ad', full_name='google.ads.googleads.v4.resources.Ad.legacy_responsive_display_ad', index=26, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_ad', full_name='google.ads.googleads.v1.resources.Ad.app_ad', index=25, + name='app_ad', full_name='google.ads.googleads.v4.resources.Ad.app_ad', index=27, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='legacy_app_install_ad', full_name='google.ads.googleads.v1.resources.Ad.legacy_app_install_ad', index=26, + name='legacy_app_install_ad', full_name='google.ads.googleads.v4.resources.Ad.legacy_app_install_ad', index=28, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='responsive_display_ad', full_name='google.ads.googleads.v1.resources.Ad.responsive_display_ad', index=27, + name='responsive_display_ad', full_name='google.ads.googleads.v4.resources.Ad.responsive_display_ad', index=29, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='display_upload_ad', full_name='google.ads.googleads.v1.resources.Ad.display_upload_ad', index=28, + name='local_ad', full_name='google.ads.googleads.v4.resources.Ad.local_ad', index=30, + number=32, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='display_upload_ad', full_name='google.ads.googleads.v4.resources.Ad.display_upload_ad', index=31, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_engagement_ad', full_name='google.ads.googleads.v1.resources.Ad.app_engagement_ad', index=29, + name='app_engagement_ad', full_name='google.ads.googleads.v4.resources.Ad.app_engagement_ad', index=32, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shopping_comparison_listing_ad', full_name='google.ads.googleads.v1.resources.Ad.shopping_comparison_listing_ad', index=30, + name='shopping_comparison_listing_ad', full_name='google.ads.googleads.v4.resources.Ad.shopping_comparison_listing_ad', index=33, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -266,50 +289,52 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A<\n\033googleads.googleapis.com/Ad\022\035customers/{customer}/ads/{ad}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='ad_data', full_name='google.ads.googleads.v1.resources.Ad.ad_data', + name='ad_data', full_name='google.ads.googleads.v4.resources.Ad.ad_data', index=0, containing_type=None, fields=[]), ], - serialized_start=559, - serialized_end=2874, + serialized_start=619, + serialized_end=3230, ) _AD.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _AD.fields_by_name['final_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AD.fields_by_name['final_app_urls'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_final__app__url__pb2._FINALAPPURL +_AD.fields_by_name['final_app_urls'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_final__app__url__pb2._FINALAPPURL _AD.fields_by_name['final_mobile_urls'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _AD.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AD.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_AD.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_AD.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER _AD.fields_by_name['display_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AD.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__type__pb2._ADTYPEENUM_ADTYPE +_AD.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__type__pb2._ADTYPEENUM_ADTYPE _AD.fields_by_name['added_by_google_ads'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_AD.fields_by_name['device_preference'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE -_AD.fields_by_name['url_collections'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_url__collection__pb2._URLCOLLECTION +_AD.fields_by_name['device_preference'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_device__pb2._DEVICEENUM_DEVICE +_AD.fields_by_name['url_collections'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_url__collection__pb2._URLCOLLECTION _AD.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_AD.fields_by_name['system_managed_resource_source'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_system__managed__entity__source__pb2._SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE -_AD.fields_by_name['text_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._TEXTADINFO -_AD.fields_by_name['expanded_text_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDTEXTADINFO -_AD.fields_by_name['call_only_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._CALLONLYADINFO -_AD.fields_by_name['expanded_dynamic_search_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDDYNAMICSEARCHADINFO -_AD.fields_by_name['hotel_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._HOTELADINFO -_AD.fields_by_name['shopping_smart_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGSMARTADINFO -_AD.fields_by_name['shopping_product_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGPRODUCTADINFO -_AD.fields_by_name['gmail_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._GMAILADINFO -_AD.fields_by_name['image_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._IMAGEADINFO -_AD.fields_by_name['video_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._VIDEOADINFO -_AD.fields_by_name['responsive_search_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVESEARCHADINFO -_AD.fields_by_name['legacy_responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYRESPONSIVEDISPLAYADINFO -_AD.fields_by_name['app_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._APPADINFO -_AD.fields_by_name['legacy_app_install_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYAPPINSTALLADINFO -_AD.fields_by_name['responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVEDISPLAYADINFO -_AD.fields_by_name['display_upload_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._DISPLAYUPLOADADINFO -_AD.fields_by_name['app_engagement_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._APPENGAGEMENTADINFO -_AD.fields_by_name['shopping_comparison_listing_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGCOMPARISONLISTINGADINFO +_AD.fields_by_name['system_managed_resource_source'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_system__managed__entity__source__pb2._SYSTEMMANAGEDRESOURCESOURCEENUM_SYSTEMMANAGEDRESOURCESOURCE +_AD.fields_by_name['text_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._TEXTADINFO +_AD.fields_by_name['expanded_text_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDTEXTADINFO +_AD.fields_by_name['call_only_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._CALLONLYADINFO +_AD.fields_by_name['expanded_dynamic_search_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._EXPANDEDDYNAMICSEARCHADINFO +_AD.fields_by_name['hotel_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._HOTELADINFO +_AD.fields_by_name['shopping_smart_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGSMARTADINFO +_AD.fields_by_name['shopping_product_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGPRODUCTADINFO +_AD.fields_by_name['gmail_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._GMAILADINFO +_AD.fields_by_name['image_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._IMAGEADINFO +_AD.fields_by_name['video_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._VIDEOADINFO +_AD.fields_by_name['responsive_search_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVESEARCHADINFO +_AD.fields_by_name['legacy_responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYRESPONSIVEDISPLAYADINFO +_AD.fields_by_name['app_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._APPADINFO +_AD.fields_by_name['legacy_app_install_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._LEGACYAPPINSTALLADINFO +_AD.fields_by_name['responsive_display_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._RESPONSIVEDISPLAYADINFO +_AD.fields_by_name['local_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._LOCALADINFO +_AD.fields_by_name['display_upload_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._DISPLAYUPLOADADINFO +_AD.fields_by_name['app_engagement_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._APPENGAGEMENTADINFO +_AD.fields_by_name['shopping_comparison_listing_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_ad__type__infos__pb2._SHOPPINGCOMPARISONLISTINGADINFO _AD.oneofs_by_name['ad_data'].fields.append( _AD.fields_by_name['text_ad']) _AD.fields_by_name['text_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] @@ -355,6 +380,9 @@ _AD.oneofs_by_name['ad_data'].fields.append( _AD.fields_by_name['responsive_display_ad']) _AD.fields_by_name['responsive_display_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] +_AD.oneofs_by_name['ad_data'].fields.append( + _AD.fields_by_name['local_ad']) +_AD.fields_by_name['local_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] _AD.oneofs_by_name['ad_data'].fields.append( _AD.fields_by_name['display_upload_ad']) _AD.fields_by_name['display_upload_ad'].containing_oneof = _AD.oneofs_by_name['ad_data'] @@ -369,14 +397,17 @@ Ad = _reflection.GeneratedProtocolMessageType('Ad', (_message.Message,), dict( DESCRIPTOR = _AD, - __module__ = 'google.ads.googleads_v1.proto.resources.ad_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.ad_pb2' , __doc__ = """An ad. Attributes: + resource_name: + Immutable. The resource name of the ad. Ad resource names have + the form: ``customers/{customer_id}/ads/{ad_id}`` id: - The ID of the ad. + Output only. The ID of the ad. final_urls: The list of possible final URLs after all cross-domain redirects for the ad. @@ -388,20 +419,23 @@ redirects for the ad. tracking_url_template: The URL template for constructing a tracking URL. + final_url_suffix: + The suffix to use when constructing a final URL. url_custom_parameters: The list of mappings that can be used to substitute custom parameter tags in a ``tracking_url_template``, ``final_urls``, - or ``mobile_final_urls``. + or ``mobile_final_urls``. For mutates, please use url custom + parameter operations. display_url: The URL that appears in the ad description for some ad formats. type: - The type of ad. + Output only. The type of ad. added_by_google_ads: - Indicates if this ad was automatically added by Google Ads and - not by a user. For example, this could happen when ads are - automatically created as suggestions for new ads based on - knowledge of how existing ads are performing. + Output only. Indicates if this ad was automatically added by + Google Ads and not by a user. For example, this could happen + when ads are automatically created as suggestions for new ads + based on knowledge of how existing ads are performing. device_preference: The device preference for the ad. You can only specify a preference for mobile devices. When this preference is set the @@ -414,27 +448,27 @@ Additional URLs for the ad that are tagged with a unique identifier that can be referenced from other fields in the ad. name: - The name of the ad. This is only used to be able to identify - the ad. It does not need to be unique and does not affect the - served ad. + Immutable. The name of the ad. This is only used to be able to + identify the ad. It does not need to be unique and does not + affect the served ad. system_managed_resource_source: - If this ad is system managed, then this field will indicate - the source. This field is read-only. + Output only. If this ad is system managed, then this field + will indicate the source. This field is read-only. ad_data: Details pertinent to the ad type. Exactly one value must be set. text_ad: - Details pertaining to a text ad. + Immutable. Details pertaining to a text ad. expanded_text_ad: Details pertaining to an expanded text ad. call_only_ad: Details pertaining to a call-only ad. expanded_dynamic_search_ad: - Details pertaining to an Expanded Dynamic Search Ad. This type - of ad has its headline, final URLs, and display URL auto- - generated at serving time according to domain name specific - information provided by ``dynamic_search_ads_setting`` linked - at the campaign level. + Immutable. Details pertaining to an Expanded Dynamic Search + Ad. This type of ad has its headline, final URLs, and display + URL auto-generated at serving time according to domain name + specific information provided by + ``dynamic_search_ads_setting`` linked at the campaign level. hotel_ad: Details pertaining to a hotel ad. shopping_smart_ad: @@ -442,9 +476,9 @@ shopping_product_ad: Details pertaining to a Shopping product ad. gmail_ad: - Details pertaining to a Gmail ad. + Immutable. Details pertaining to a Gmail ad. image_ad: - Details pertaining to an Image ad. + Immutable. Details pertaining to an Image ad. video_ad: Details pertaining to a Video ad. responsive_search_ad: @@ -454,9 +488,11 @@ app_ad: Details pertaining to an app ad. legacy_app_install_ad: - Details pertaining to a legacy app install ad. + Immutable. Details pertaining to a legacy app install ad. responsive_display_ad: Details pertaining to a responsive display ad. + local_ad: + Details pertaining to a local ad. display_upload_ad: Details pertaining to a display upload ad. app_engagement_ad: @@ -464,10 +500,22 @@ shopping_comparison_listing_ad: Details pertaining to a Shopping Comparison Listing ad. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Ad) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Ad) )) _sym_db.RegisterMessage(Ad) DESCRIPTOR._options = None +_AD.fields_by_name['resource_name']._options = None +_AD.fields_by_name['id']._options = None +_AD.fields_by_name['type']._options = None +_AD.fields_by_name['added_by_google_ads']._options = None +_AD.fields_by_name['name']._options = None +_AD.fields_by_name['system_managed_resource_source']._options = None +_AD.fields_by_name['text_ad']._options = None +_AD.fields_by_name['expanded_dynamic_search_ad']._options = None +_AD.fields_by_name['gmail_ad']._options = None +_AD.fields_by_name['image_ad']._options = None +_AD.fields_by_name['legacy_app_install_ad']._options = None +_AD._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2.py b/google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2.py new file mode 100644 index 000000000..d98fe9067 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/ad_schedule_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/ad_schedule_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023AdScheduleViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/ad_schedule_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xbf\x01\n\x0e\x41\x64ScheduleView\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/AdScheduleView:e\xea\x41\x62\n\'googleads.googleapis.com/AdScheduleView\x12\x37\x63ustomers/{customer}/adScheduleViews/{ad_schedule_view}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x41\x64ScheduleViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_ADSCHEDULEVIEW = _descriptor.Descriptor( + name='AdScheduleView', + full_name='google.ads.googleads.v4.resources.AdScheduleView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.AdScheduleView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/AdScheduleView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ab\n\'googleads.googleapis.com/AdScheduleView\0227customers/{customer}/adScheduleViews/{ad_schedule_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=192, + serialized_end=383, +) + +DESCRIPTOR.message_types_by_name['AdScheduleView'] = _ADSCHEDULEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +AdScheduleView = _reflection.GeneratedProtocolMessageType('AdScheduleView', (_message.Message,), dict( + DESCRIPTOR = _ADSCHEDULEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.ad_schedule_view_pb2' + , + __doc__ = """An ad schedule view summarizes the performance of campaigns by + AdSchedule criteria. + + + Attributes: + resource_name: + Output only. The resource name of the ad schedule view. + AdSchedule view resource names have the form: ``customers/{cu + stomer_id}/adScheduleViews/{campaign_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AdScheduleView) + )) +_sym_db.RegisterMessage(AdScheduleView) + + +DESCRIPTOR._options = None +_ADSCHEDULEVIEW.fields_by_name['resource_name']._options = None +_ADSCHEDULEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/expanded_landing_page_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/ad_schedule_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/age_range_view_pb2.py b/google/ads/google_ads/v4/proto/resources/age_range_view_pb2.py new file mode 100644 index 000000000..549fa3a52 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/age_range_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/age_range_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/age_range_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021AgeRangeViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v1.resources\x1a\x32google/ads/googleads_v1/proto/common/bidding.proto\x1a\x41google/ads/googleads_v1/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v1/proto/enums/bidding_strategy_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc1\x07\n\x0f\x42iddingStrategy\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12^\n\x06status\x18\x0f \x01(\x0e\x32N.google.ads.googleads.v1.enums.BiddingStrategyStatusEnum.BiddingStrategyStatus\x12X\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v1.enums.BiddingStrategyTypeEnum.BiddingStrategyType\x12\x33\n\x0e\x63\x61mpaign_count\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12?\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x43\n\x0c\x65nhanced_cpc\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v1.common.EnhancedCpcH\x00\x12L\n\x11page_one_promoted\x18\x08 \x01(\x0b\x32/.google.ads.googleads.v1.common.PageOnePromotedH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v1.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.TargetImpressionShareH\x00\x12R\n\x14target_outrank_share\x18\n \x01(\x0b\x32\x32.google.ads.googleads.v1.common.TargetOutrankShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v1.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v1.common.TargetSpendH\x00\x42\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v1.resourcesB\x14\x42iddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024BiddingStrategyProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/bidding_strategy.proto\x12!google.ads.googleads.v4.resources\x1a\x32google/ads/googleads_v4/proto/common/bidding.proto\x1a\x41google/ads/googleads_v4/proto/enums/bidding_strategy_status.proto\x1a?google/ads/googleads_v4/proto/enums/bidding_strategy_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd4\x07\n\x0f\x42iddingStrategy\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/BiddingStrategy\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x63\n\x06status\x18\x0f \x01(\x0e\x32N.google.ads.googleads.v4.enums.BiddingStrategyStatusEnum.BiddingStrategyStatusB\x03\xe0\x41\x03\x12]\n\x04type\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12\x38\n\x0e\x63\x61mpaign_count\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x44\n\x1anon_removed_campaign_count\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x43\n\x0c\x65nhanced_cpc\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v4.common.EnhancedCpcH\x00\x12?\n\ntarget_cpa\x18\t \x01(\x0b\x32).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v4.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x0c \x01(\x0b\x32+.google.ads.googleads.v4.common.TargetSpendH\x00:h\xea\x41\x65\n(googleads.googleapis.com/BiddingStrategy\x12\x39\x63ustomers/{customer}/biddingStrategies/{bidding_strategy}B\x08\n\x06schemeB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14\x42iddingStrategyProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _BIDDINGSTRATEGY = _descriptor.Descriptor( name='BiddingStrategy', - full_name='google.ads.googleads.v1.resources.BiddingStrategy', + full_name='google.ads.googleads.v4.resources.BiddingStrategy', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.BiddingStrategy.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.BiddingStrategy.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A*\n(googleads.googleapis.com/BiddingStrategy'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.BiddingStrategy.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.BiddingStrategy.id', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.BiddingStrategy.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.BiddingStrategy.name', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.BiddingStrategy.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.BiddingStrategy.status', index=3, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.BiddingStrategy.type', index=4, + name='type', full_name='google.ads.googleads.v4.resources.BiddingStrategy.type', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_count', full_name='google.ads.googleads.v1.resources.BiddingStrategy.campaign_count', index=5, + name='campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.campaign_count', index=5, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='non_removed_campaign_count', full_name='google.ads.googleads.v1.resources.BiddingStrategy.non_removed_campaign_count', index=6, + name='non_removed_campaign_count', full_name='google.ads.googleads.v4.resources.BiddingStrategy.non_removed_campaign_count', index=6, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enhanced_cpc', full_name='google.ads.googleads.v1.resources.BiddingStrategy.enhanced_cpc', index=7, + name='enhanced_cpc', full_name='google.ads.googleads.v4.resources.BiddingStrategy.enhanced_cpc', index=7, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_one_promoted', full_name='google.ads.googleads.v1.resources.BiddingStrategy.page_one_promoted', index=8, - number=8, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_cpa', full_name='google.ads.googleads.v1.resources.BiddingStrategy.target_cpa', index=9, + name='target_cpa', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_cpa', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_impression_share', full_name='google.ads.googleads.v1.resources.BiddingStrategy.target_impression_share', index=10, + name='target_impression_share', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_impression_share', index=9, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_outrank_share', full_name='google.ads.googleads.v1.resources.BiddingStrategy.target_outrank_share', index=11, - number=10, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v1.resources.BiddingStrategy.target_roas', index=12, + name='target_roas', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_roas', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_spend', full_name='google.ads.googleads.v1.resources.BiddingStrategy.target_spend', index=13, + name='target_spend', full_name='google.ads.googleads.v4.resources.BiddingStrategy.target_spend', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -143,47 +131,39 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Ae\n(googleads.googleapis.com/BiddingStrategy\0229customers/{customer}/biddingStrategies/{bidding_strategy}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='scheme', full_name='google.ads.googleads.v1.resources.BiddingStrategy.scheme', + name='scheme', full_name='google.ads.googleads.v4.resources.BiddingStrategy.scheme', index=0, containing_type=None, fields=[]), ], - serialized_start=348, - serialized_end=1309, + serialized_start=408, + serialized_end=1388, ) _BIDDINGSTRATEGY.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _BIDDINGSTRATEGY.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS -_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE +_BIDDINGSTRATEGY.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__status__pb2._BIDDINGSTRATEGYSTATUSENUM_BIDDINGSTRATEGYSTATUS +_BIDDINGSTRATEGY.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE _BIDDINGSTRATEGY.fields_by_name['campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC -_BIDDINGSTRATEGY.fields_by_name['page_one_promoted'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._PAGEONEPROMOTED -_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA -_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE -_BIDDINGSTRATEGY.fields_by_name['target_outrank_share'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETOUTRANKSHARE -_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS -_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND +_BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._ENHANCEDCPC +_BIDDINGSTRATEGY.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA +_BIDDINGSTRATEGY.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE +_BIDDINGSTRATEGY.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS +_BIDDINGSTRATEGY.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND _BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( _BIDDINGSTRATEGY.fields_by_name['enhanced_cpc']) _BIDDINGSTRATEGY.fields_by_name['enhanced_cpc'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] -_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( - _BIDDINGSTRATEGY.fields_by_name['page_one_promoted']) -_BIDDINGSTRATEGY.fields_by_name['page_one_promoted'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] _BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( _BIDDINGSTRATEGY.fields_by_name['target_cpa']) _BIDDINGSTRATEGY.fields_by_name['target_cpa'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] _BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( _BIDDINGSTRATEGY.fields_by_name['target_impression_share']) _BIDDINGSTRATEGY.fields_by_name['target_impression_share'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] -_BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( - _BIDDINGSTRATEGY.fields_by_name['target_outrank_share']) -_BIDDINGSTRATEGY.fields_by_name['target_outrank_share'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] _BIDDINGSTRATEGY.oneofs_by_name['scheme'].fields.append( _BIDDINGSTRATEGY.fields_by_name['target_roas']) _BIDDINGSTRATEGY.fields_by_name['target_roas'].containing_oneof = _BIDDINGSTRATEGY.oneofs_by_name['scheme'] @@ -195,44 +175,42 @@ BiddingStrategy = _reflection.GeneratedProtocolMessageType('BiddingStrategy', (_message.Message,), dict( DESCRIPTOR = _BIDDINGSTRATEGY, - __module__ = 'google.ads.googleads_v1.proto.resources.bidding_strategy_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.bidding_strategy_pb2' , __doc__ = """A bidding strategy. Attributes: resource_name: - The resource name of the bidding strategy. Bidding strategy - resource names have the form: ``customers/{customer_id}/biddi - ngStrategies/{bidding_strategy_id}`` + Immutable. The resource name of the bidding strategy. Bidding + strategy resource names have the form: ``customers/{customer_ + id}/biddingStrategies/{bidding_strategy_id}`` id: - The ID of the bidding strategy. + Output only. The ID of the bidding strategy. name: The name of the bidding strategy. All bidding strategies within an account must be named distinctly. The length of this string should be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed). status: - The status of the bidding strategy. This field is read-only. + Output only. The status of the bidding strategy. This field + is read-only. type: - The type of the bidding strategy. Create a bidding strategy by - setting the bidding scheme. This field is read-only. + Output only. The type of the bidding strategy. Create a + bidding strategy by setting the bidding scheme. This field is + read-only. campaign_count: - The number of campaigns attached to this bidding strategy. - This field is read-only. - non_removed_campaign_count: - The number of non-removed campaigns attached to this bidding + Output only. The number of campaigns attached to this bidding strategy. This field is read-only. + non_removed_campaign_count: + Output only. The number of non-removed campaigns attached to + this bidding strategy. This field is read-only. scheme: The bidding scheme. Only one can be set. enhanced_cpc: A bidding strategy that raises bids for clicks that seem more likely to lead to a conversion and lowers them for clicks where they seem less likely. - page_one_promoted: - A bidding strategy that sets max CPC bids to target - impressions on page one or page one promoted slots on - google.com. target_cpa: A bidding strategy that sets bids to help get as many conversions as possible at the target cost-per-acquisition @@ -240,10 +218,6 @@ target_impression_share: A bidding strategy that automatically optimizes towards a desired percentage of impressions. - target_outrank_share: - A bidding strategy that sets bids based on the target fraction - of auctions where the advertiser should outrank a specific - competitor. target_roas: A bidding strategy that helps you maximize revenue while averaging a specific target Return On Ad Spend (ROAS). @@ -251,10 +225,17 @@ A bid strategy that sets your bids to help get as many clicks as possible within your budget. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.BiddingStrategy) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.BiddingStrategy) )) _sym_db.RegisterMessage(BiddingStrategy) DESCRIPTOR._options = None +_BIDDINGSTRATEGY.fields_by_name['resource_name']._options = None +_BIDDINGSTRATEGY.fields_by_name['id']._options = None +_BIDDINGSTRATEGY.fields_by_name['status']._options = None +_BIDDINGSTRATEGY.fields_by_name['type']._options = None +_BIDDINGSTRATEGY.fields_by_name['campaign_count']._options = None +_BIDDINGSTRATEGY.fields_by_name['non_removed_campaign_count']._options = None +_BIDDINGSTRATEGY._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/feed_mapping_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/bidding_strategy_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/feed_mapping_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/bidding_strategy_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/billing_setup_pb2.py b/google/ads/google_ads/v4/proto/resources/billing_setup_pb2.py similarity index 51% rename from google/ads/google_ads/v1/proto/resources/billing_setup_pb2.py rename to google/ads/google_ads/v4/proto/resources/billing_setup_pb2.py index 23ec77c49..4792dcb7a 100644 --- a/google/ads/google_ads/v1/proto/resources/billing_setup_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/billing_setup_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/billing_setup.proto +# source: google/ads/googleads_v4/proto/resources/billing_setup.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,66 +13,68 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import billing_setup_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_billing__setup__status__pb2 -from google.ads.google_ads.v1.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2 +from google.ads.google_ads.v4.proto.enums import billing_setup_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_billing__setup__status__pb2 +from google.ads.google_ads.v4.proto.enums import time_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/billing_setup.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/billing_setup.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\021BillingSetupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n;google/ads/googleads_v1/proto/resources/billing_setup.proto\x12!google.ads.googleads.v1.resources\x1a>google/ads/googleads_v1/proto/enums/billing_setup_status.proto\x1a\x33google/ads/googleads_v1/proto/enums/time_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xbb\x07\n\x0c\x42illingSetup\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12X\n\x06status\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v1.enums.BillingSetupStatusEnum.BillingSetupStatus\x12\x36\n\x10payments_account\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x15payments_account_info\x18\x0c \x01(\x0b\x32\x43.google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo\x12\x37\n\x0fstart_date_time\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12O\n\x0fstart_time_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x00\x12\x35\n\rend_date_time\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12M\n\rend_time_type\x18\x0e \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.TimeTypeEnum.TimeTypeH\x01\x1a\xca\x02\n\x13PaymentsAccountInfo\x12\x39\n\x13payments_account_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15payments_account_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13payments_profile_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15payments_profile_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x43\n\x1dsecondary_payments_profile_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x0c\n\nstart_timeB\n\n\x08\x65nd_timeB\xfe\x01\n%com.google.ads.googleads.v1.resourcesB\x11\x42illingSetupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021BillingSetupProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/billing_setup.proto\x12!google.ads.googleads.v4.resources\x1a>google/ads/googleads_v4/proto/enums/billing_setup_status.proto\x1a\x33google/ads/googleads_v4/proto/enums/time_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb8\t\n\x0c\x42illingSetup\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x05\xfa\x41\'\n%googleads.googleapis.com/BillingSetup\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12]\n\x06status\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v4.enums.BillingSetupStatusEnum.BillingSetupStatusB\x03\xe0\x41\x03\x12h\n\x10payments_account\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/PaymentsAccount\x12g\n\x15payments_account_info\x18\x0c \x01(\x0b\x32\x43.google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfoB\x03\xe0\x41\x05\x12<\n\x0fstart_date_time\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05H\x00\x12T\n\x0fstart_time_type\x18\n \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x05H\x00\x12:\n\rend_date_time\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03H\x01\x12R\n\rend_time_type\x18\x0e \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.TimeTypeEnum.TimeTypeB\x03\xe0\x41\x03H\x01\x1a\xe3\x02\n\x13PaymentsAccountInfo\x12>\n\x13payments_account_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12@\n\x15payments_account_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12>\n\x13payments_profile_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12@\n\x15payments_profile_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12H\n\x1dsecondary_payments_profile_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:^\xea\x41[\n%googleads.googleapis.com/BillingSetup\x12\x32\x63ustomers/{customer}/billingSetups/{billing_setup}B\x0c\n\nstart_timeB\n\n\x08\x65nd_timeB\xfe\x01\n%com.google.ads.googleads.v4.resourcesB\x11\x42illingSetupProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_billing__setup__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_billing__setup__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _BILLINGSETUP_PAYMENTSACCOUNTINFO = _descriptor.Descriptor( name='PaymentsAccountInfo', - full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo', + full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='payments_account_id', full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo.payments_account_id', index=0, + name='payments_account_id', full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo.payments_account_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payments_account_name', full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo.payments_account_name', index=1, + name='payments_account_name', full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo.payments_account_name', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payments_profile_id', full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo.payments_profile_id', index=2, + name='payments_profile_id', full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo.payments_profile_id', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payments_profile_name', full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo.payments_profile_name', index=3, + name='payments_profile_name', full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo.payments_profile_name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='secondary_payments_profile_id', full_name='google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo.secondary_payments_profile_id', index=4, + name='secondary_payments_profile_id', full_name='google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo.secondary_payments_profile_id', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -85,100 +87,100 @@ extension_ranges=[], oneofs=[ ], - serialized_start=877, - serialized_end=1207, + serialized_start=1069, + serialized_end=1424, ) _BILLINGSETUP = _descriptor.Descriptor( name='BillingSetup', - full_name='google.ads.googleads.v1.resources.BillingSetup', + full_name='google.ads.googleads.v4.resources.BillingSetup', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.BillingSetup.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.BillingSetup.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\'\n%googleads.googleapis.com/BillingSetup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.BillingSetup.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.BillingSetup.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.BillingSetup.status', index=2, + name='status', full_name='google.ads.googleads.v4.resources.BillingSetup.status', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payments_account', full_name='google.ads.googleads.v1.resources.BillingSetup.payments_account', index=3, + name='payments_account', full_name='google.ads.googleads.v4.resources.BillingSetup.payments_account', index=3, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A*\n(googleads.googleapis.com/PaymentsAccount'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payments_account_info', full_name='google.ads.googleads.v1.resources.BillingSetup.payments_account_info', index=4, + name='payments_account_info', full_name='google.ads.googleads.v4.resources.BillingSetup.payments_account_info', index=4, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v1.resources.BillingSetup.start_date_time', index=5, + name='start_date_time', full_name='google.ads.googleads.v4.resources.BillingSetup.start_date_time', index=5, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_time_type', full_name='google.ads.googleads.v1.resources.BillingSetup.start_time_type', index=6, + name='start_time_type', full_name='google.ads.googleads.v4.resources.BillingSetup.start_time_type', index=6, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v1.resources.BillingSetup.end_date_time', index=7, + name='end_date_time', full_name='google.ads.googleads.v4.resources.BillingSetup.end_date_time', index=7, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_time_type', full_name='google.ads.googleads.v1.resources.BillingSetup.end_time_type', index=8, + name='end_time_type', full_name='google.ads.googleads.v4.resources.BillingSetup.end_time_type', index=8, number=14, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[_BILLINGSETUP_PAYMENTSACCOUNTINFO, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A[\n%googleads.googleapis.com/BillingSetup\0222customers/{customer}/billingSetups/{billing_setup}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='start_time', full_name='google.ads.googleads.v1.resources.BillingSetup.start_time', + name='start_time', full_name='google.ads.googleads.v4.resources.BillingSetup.start_time', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='end_time', full_name='google.ads.googleads.v1.resources.BillingSetup.end_time', + name='end_time', full_name='google.ads.googleads.v4.resources.BillingSetup.end_time', index=1, containing_type=None, fields=[]), ], - serialized_start=278, - serialized_end=1233, + serialized_start=338, + serialized_end=1546, ) _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -188,13 +190,13 @@ _BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['secondary_payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _BILLINGSETUP_PAYMENTSACCOUNTINFO.containing_type = _BILLINGSETUP _BILLINGSETUP.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_BILLINGSETUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_billing__setup__status__pb2._BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS +_BILLINGSETUP.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_billing__setup__status__pb2._BILLINGSETUPSTATUSENUM_BILLINGSETUPSTATUS _BILLINGSETUP.fields_by_name['payments_account'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _BILLINGSETUP.fields_by_name['payments_account_info'].message_type = _BILLINGSETUP_PAYMENTSACCOUNTINFO _BILLINGSETUP.fields_by_name['start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BILLINGSETUP.fields_by_name['start_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_BILLINGSETUP.fields_by_name['start_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _BILLINGSETUP.fields_by_name['end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_BILLINGSETUP.fields_by_name['end_time_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE +_BILLINGSETUP.fields_by_name['end_time_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_time__type__pb2._TIMETYPEENUM_TIMETYPE _BILLINGSETUP.oneofs_by_name['start_time'].fields.append( _BILLINGSETUP.fields_by_name['start_date_time']) _BILLINGSETUP.fields_by_name['start_date_time'].containing_oneof = _BILLINGSETUP.oneofs_by_name['start_time'] @@ -214,67 +216,68 @@ PaymentsAccountInfo = _reflection.GeneratedProtocolMessageType('PaymentsAccountInfo', (_message.Message,), dict( DESCRIPTOR = _BILLINGSETUP_PAYMENTSACCOUNTINFO, - __module__ = 'google.ads.googleads_v1.proto.resources.billing_setup_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.billing_setup_pb2' , - __doc__ = """Container of Payments account information for this billing. + __doc__ = """Container of payments account information for this billing. Attributes: payments_account_id: - A 16 digit id used to identify the Payments account associated - with the billing setup. This must be passed as a string with - dashes, e.g. "1234-5678-9012-3456". + Output only. A 16 digit id used to identify the payments + account associated with the billing setup. This must be + passed as a string with dashes, e.g. "1234-5678-9012-3456". payments_account_name: - The name of the Payments account associated with the billing - setup. This enables the user to specify a meaningful name for - a Payments account to aid in reconciling monthly invoices. - This name will be printed in the monthly invoices. + Immutable. The name of the payments account associated with + the billing setup. This enables the user to specify a + meaningful name for a payments account to aid in reconciling + monthly invoices. This name will be printed in the monthly + invoices. payments_profile_id: - A 12 digit id used to identify the Payments profile associated - with the billing setup. This must be passed in as a string - with dashes, e.g. "1234-5678-9012". + Immutable. A 12 digit id used to identify the payments profile + associated with the billing setup. This must be passed in as + a string with dashes, e.g. "1234-5678-9012". payments_profile_name: - The name of the Payments profile associated with the billing - setup. + Output only. The name of the payments profile associated with + the billing setup. secondary_payments_profile_id: - A secondary payments profile id present in uncommon - situations, e.g. when a sequential liability agreement has - been arranged. + Output only. A secondary payments profile id present in + uncommon situations, e.g. when a sequential liability + agreement has been arranged. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.BillingSetup.PaymentsAccountInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.BillingSetup.PaymentsAccountInfo) )) , DESCRIPTOR = _BILLINGSETUP, - __module__ = 'google.ads.googleads_v1.proto.resources.billing_setup_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.billing_setup_pb2' , - __doc__ = """A billing setup across Ads and Payments systems; an association between - a Payments account and an advertiser. A billing setup is specific to one - advertiser. + __doc__ = """A billing setup, which associates a payments account and an advertiser. + A billing setup is specific to one advertiser. Attributes: resource_name: - The resource name of the billing setup. BillingSetup resource - names have the form: + Immutable. The resource name of the billing setup. + BillingSetup resource names have the form: ``customers/{customer_id}/billingSetups/{billing_setup_id}`` id: - The ID of the billing setup. + Output only. The ID of the billing setup. status: - The status of the billing setup. + Output only. The status of the billing setup. payments_account: - The resource name of the Payments account associated with this - billing setup. Payments resource names have the form: ``custo - mers/{customer_id}/paymentsAccounts/{payments_account_id}`` - When setting up billing, this is used to signup with an - existing Payments account (and then payments\_account\_info - should not be set). When getting a billing setup, this and - payments\_account\_info will be populated. + Immutable. The resource name of the payments account + associated with this billing setup. Payments resource names + have the form: ``customers/{customer_id}/paymentsAccounts/{pa + yments_account_id}`` When setting up billing, this is used to + signup with an existing payments account (and then + payments\_account\_info should not be set). When getting a + billing setup, this and payments\_account\_info will be + populated. payments_account_info: - The Payments account information associated with this billing - setup. When setting up billing, this is used to signup with a - new Payments account (and then payments\_account should not be - set). When getting a billing setup, this and payments\_account - will be populated. + Immutable. The payments account information associated with + this billing setup. When setting up billing, this is used to + signup with a new payments account (and then payments\_account + should not be set). When getting a billing setup, this and + payments\_account will be populated. start_time: When creating a new billing setup, this is when the setup should take effect. NOW is the only acceptable start time if @@ -283,23 +286,40 @@ However, if the setup was approved (see status) after the requested start time, then this is the approval time. start_date_time: - The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss - format. Only a future time is allowed. + Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd + HH:mm:ss format. Only a future time is allowed. start_time_type: - The start time as a type. Only NOW is allowed. + Immutable. The start time as a type. Only NOW is allowed. end_time: When the billing setup ends / ended. This is either FOREVER or the start time of the next scheduled billing setup. end_date_time: - The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd + HH:mm:ss format. end_time_type: - The end time as a type. The only possible value is FOREVER. + Output only. The end time as a type. The only possible value + is FOREVER. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.BillingSetup) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.BillingSetup) )) _sym_db.RegisterMessage(BillingSetup) _sym_db.RegisterMessage(BillingSetup.PaymentsAccountInfo) DESCRIPTOR._options = None +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_id']._options = None +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_account_name']._options = None +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_id']._options = None +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['payments_profile_name']._options = None +_BILLINGSETUP_PAYMENTSACCOUNTINFO.fields_by_name['secondary_payments_profile_id']._options = None +_BILLINGSETUP.fields_by_name['resource_name']._options = None +_BILLINGSETUP.fields_by_name['id']._options = None +_BILLINGSETUP.fields_by_name['status']._options = None +_BILLINGSETUP.fields_by_name['payments_account']._options = None +_BILLINGSETUP.fields_by_name['payments_account_info']._options = None +_BILLINGSETUP.fields_by_name['start_date_time']._options = None +_BILLINGSETUP.fields_by_name['start_time_type']._options = None +_BILLINGSETUP.fields_by_name['end_date_time']._options = None +_BILLINGSETUP.fields_by_name['end_time_type']._options = None +_BILLINGSETUP._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/feed_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/billing_setup_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/feed_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/billing_setup_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2.py new file mode 100644 index 000000000..e448683fc --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2.py @@ -0,0 +1,92 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_audience_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_audience_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\031CampaignAudienceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/campaign_audience_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\x01\n\x14\x43\x61mpaignAudienceView\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x03\xfa\x41/\n-googleads.googleapis.com/CampaignAudienceView:w\xea\x41t\n-googleads.googleapis.com/CampaignAudienceView\x12\x43\x63ustomers/{customer}/campaignAudienceViews/{campaign_audience_view}B\x86\x02\n%com.google.ads.googleads.v4.resourcesB\x19\x43\x61mpaignAudienceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNAUDIENCEVIEW = _descriptor.Descriptor( + name='CampaignAudienceView', + full_name='google.ads.googleads.v4.resources.CampaignAudienceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignAudienceView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A/\n-googleads.googleapis.com/CampaignAudienceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352At\n-googleads.googleapis.com/CampaignAudienceView\022Ccustomers/{customer}/campaignAudienceViews/{campaign_audience_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=419, +) + +DESCRIPTOR.message_types_by_name['CampaignAudienceView'] = _CAMPAIGNAUDIENCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignAudienceView = _reflection.GeneratedProtocolMessageType('CampaignAudienceView', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNAUDIENCEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_audience_view_pb2' + , + __doc__ = """A campaign audience view. Includes performance data from interests and + remarketing lists for Display Network and YouTube Network ads, and + remarketing lists for search ads (RLSA), aggregated by campaign and + audience criterion. This view only includes audiences attached at the + campaign level. + + + Attributes: + resource_name: + Output only. The resource name of the campaign audience view. + Campaign audience view resource names have the form: ``custom + ers/{customer_id}/campaignAudienceViews/{campaign_id}~{criteri + on_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignAudienceView) + )) +_sym_db.RegisterMessage(CampaignAudienceView) + + +DESCRIPTOR._options = None +_CAMPAIGNAUDIENCEVIEW.fields_by_name['resource_name']._options = None +_CAMPAIGNAUDIENCEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/feed_placeholder_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_audience_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2.py new file mode 100644 index 000000000..4711c6da6 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2.py @@ -0,0 +1,143 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_bid_modifier.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_bid_modifier.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\030CampaignBidModifierProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/resources/campaign_bid_modifier.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x82\x04\n\x13\x43\x61mpaignBidModifier\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x05\xfa\x41.\n,googleads.googleapis.com/CampaignBidModifier\x12Y\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\x36\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x32\n\x0c\x62id_modifier\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12T\n\x10interaction_type\x18\x05 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.InteractionTypeInfoB\x03\xe0\x41\x05H\x00:t\xea\x41q\n,googleads.googleapis.com/CampaignBidModifier\x12\x41\x63ustomers/{customer}/campaignBidModifiers/{campaign_bid_modifier}B\x0b\n\tcriterionB\x85\x02\n%com.google.ads.googleads.v4.resourcesB\x18\x43\x61mpaignBidModifierProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNBIDMODIFIER = _descriptor.Descriptor( + name='CampaignBidModifier', + full_name='google.ads.googleads.v4.resources.CampaignBidModifier', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A.\n,googleads.googleapis.com/CampaignBidModifier'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.campaign', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.criterion_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='bid_modifier', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.bid_modifier', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='interaction_type', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.interaction_type', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Aq\n,googleads.googleapis.com/CampaignBidModifier\022Acustomers/{customer}/campaignBidModifiers/{campaign_bid_modifier}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='criterion', full_name='google.ads.googleads.v4.resources.CampaignBidModifier.criterion', + index=0, containing_type=None, fields=[]), + ], + serialized_start=282, + serialized_end=796, +) + +_CAMPAIGNBIDMODIFIER.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNBIDMODIFIER.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CAMPAIGNBIDMODIFIER.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_CAMPAIGNBIDMODIFIER.fields_by_name['interaction_type'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._INTERACTIONTYPEINFO +_CAMPAIGNBIDMODIFIER.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNBIDMODIFIER.fields_by_name['interaction_type']) +_CAMPAIGNBIDMODIFIER.fields_by_name['interaction_type'].containing_oneof = _CAMPAIGNBIDMODIFIER.oneofs_by_name['criterion'] +DESCRIPTOR.message_types_by_name['CampaignBidModifier'] = _CAMPAIGNBIDMODIFIER +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignBidModifier = _reflection.GeneratedProtocolMessageType('CampaignBidModifier', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNBIDMODIFIER, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_bid_modifier_pb2' + , + __doc__ = """Represents a bid-modifiable only criterion at the campaign level. + + + Attributes: + resource_name: + Immutable. The resource name of the campaign bid modifier. + Campaign bid modifier resource names have the form: ``custome + rs/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion + _id}`` + campaign: + Output only. The campaign to which this criterion belongs. + criterion_id: + Output only. The ID of the criterion to bid modify. This + field is ignored for mutates. + bid_modifier: + The modifier for the bid when the criterion matches. + criterion: + The criterion of this campaign bid modifier. + interaction_type: + Immutable. Criterion for interaction type. Only supported for + search campaigns. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignBidModifier) + )) +_sym_db.RegisterMessage(CampaignBidModifier) + + +DESCRIPTOR._options = None +_CAMPAIGNBIDMODIFIER.fields_by_name['resource_name']._options = None +_CAMPAIGNBIDMODIFIER.fields_by_name['campaign']._options = None +_CAMPAIGNBIDMODIFIER.fields_by_name['criterion_id']._options = None +_CAMPAIGNBIDMODIFIER.fields_by_name['interaction_type']._options = None +_CAMPAIGNBIDMODIFIER._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/gender_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/gender_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_bid_modifier_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/campaign_budget_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_budget_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/resources/campaign_budget_pb2.py rename to google/ads/google_ads/v4/proto/resources/campaign_budget_pb2.py index f5c561a05..579c91add 100644 --- a/google/ads/google_ads/v1/proto/resources/campaign_budget_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/campaign_budget_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/campaign_budget.proto +# source: google/ads/googleads_v4/proto/resources/campaign_budget.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,203 +13,205 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import budget_delivery_method_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__delivery__method__pb2 -from google.ads.google_ads.v1.proto.enums import budget_period_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__period__pb2 -from google.ads.google_ads.v1.proto.enums import budget_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__status__pb2 -from google.ads.google_ads.v1.proto.enums import budget_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__type__pb2 +from google.ads.google_ads.v4.proto.enums import budget_delivery_method_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2 +from google.ads.google_ads.v4.proto.enums import budget_period_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2 +from google.ads.google_ads.v4.proto.enums import budget_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2 +from google.ads.google_ads.v4.proto.enums import budget_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/campaign_budget.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/campaign_budget.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023CampaignBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/resources/campaign_budget.proto\x12!google.ads.googleads.v1.resources\x1a@google/ads/googleads_v1/proto/enums/budget_delivery_method.proto\x1a\x37google/ads/googleads_v1/proto/enums/budget_period.proto\x1a\x37google/ads/googleads_v1/proto/enums/budget_status.proto\x1a\x35google/ads/googleads_v1/proto/enums/budget_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8f\t\n\x0e\x43\x61mpaignBudget\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\ramount_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13total_amount_micros\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x06status\x18\x06 \x01(\x0e\x32<.google.ads.googleads.v1.enums.BudgetStatusEnum.BudgetStatus\x12\x65\n\x0f\x64\x65livery_method\x18\x07 \x01(\x0e\x32L.google.ads.googleads.v1.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod\x12\x35\n\x11\x65xplicitly_shared\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x34\n\x0freference_count\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x16has_recommended_budget\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x45\n recommended_budget_amount_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x06period\x18\r \x01(\x0e\x32<.google.ads.googleads.v1.enums.BudgetPeriodEnum.BudgetPeriod\x12V\n1recommended_budget_estimated_change_weekly_clicks\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12[\n6recommended_budget_estimated_change_weekly_cost_micros\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\\\n7recommended_budget_estimated_change_weekly_interactions\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12U\n0recommended_budget_estimated_change_weekly_views\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x46\n\x04type\x18\x12 \x01(\x0e\x32\x38.google.ads.googleads.v1.enums.BudgetTypeEnum.BudgetTypeB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x43\x61mpaignBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023CampaignBudgetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/campaign_budget.proto\x12!google.ads.googleads.v4.resources\x1a@google/ads/googleads_v4/proto/enums/budget_delivery_method.proto\x1a\x37google/ads/googleads_v4/proto/enums/budget_period.proto\x1a\x37google/ads/googleads_v4/proto/enums/budget_status.proto\x1a\x35google/ads/googleads_v4/proto/enums/budget_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\n\n\x0e\x43\x61mpaignBudget\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/CampaignBudget\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\ramount_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x38\n\x13total_amount_micros\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Q\n\x06status\x18\x06 \x01(\x0e\x32<.google.ads.googleads.v4.enums.BudgetStatusEnum.BudgetStatusB\x03\xe0\x41\x03\x12\x65\n\x0f\x64\x65livery_method\x18\x07 \x01(\x0e\x32L.google.ads.googleads.v4.enums.BudgetDeliveryMethodEnum.BudgetDeliveryMethod\x12\x35\n\x11\x65xplicitly_shared\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x0freference_count\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12?\n\x16has_recommended_budget\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12J\n recommended_budget_amount_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Q\n\x06period\x18\r \x01(\x0e\x32<.google.ads.googleads.v4.enums.BudgetPeriodEnum.BudgetPeriodB\x03\xe0\x41\x05\x12[\n1recommended_budget_estimated_change_weekly_clicks\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12`\n6recommended_budget_estimated_change_weekly_cost_micros\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x61\n7recommended_budget_estimated_change_weekly_interactions\x18\x10 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Z\n0recommended_budget_estimated_change_weekly_views\x18\x11 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12K\n\x04type\x18\x12 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.BudgetTypeEnum.BudgetTypeB\x03\xe0\x41\x05:d\xea\x41\x61\n\'googleads.googleapis.com/CampaignBudget\x12\x36\x63ustomers/{customer}/campaignBudgets/{campaign_budget}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x43\x61mpaignBudgetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__delivery__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__period__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CAMPAIGNBUDGET = _descriptor.Descriptor( name='CampaignBudget', - full_name='google.ads.googleads.v1.resources.CampaignBudget', + full_name='google.ads.googleads.v4.resources.CampaignBudget', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CampaignBudget.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignBudget.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/CampaignBudget'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.CampaignBudget.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.CampaignBudget.id', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.CampaignBudget.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.CampaignBudget.name', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='amount_micros', full_name='google.ads.googleads.v1.resources.CampaignBudget.amount_micros', index=3, + name='amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.amount_micros', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='total_amount_micros', full_name='google.ads.googleads.v1.resources.CampaignBudget.total_amount_micros', index=4, + name='total_amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.total_amount_micros', index=4, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.CampaignBudget.status', index=5, + name='status', full_name='google.ads.googleads.v4.resources.CampaignBudget.status', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='delivery_method', full_name='google.ads.googleads.v1.resources.CampaignBudget.delivery_method', index=6, + name='delivery_method', full_name='google.ads.googleads.v4.resources.CampaignBudget.delivery_method', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='explicitly_shared', full_name='google.ads.googleads.v1.resources.CampaignBudget.explicitly_shared', index=7, + name='explicitly_shared', full_name='google.ads.googleads.v4.resources.CampaignBudget.explicitly_shared', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='reference_count', full_name='google.ads.googleads.v1.resources.CampaignBudget.reference_count', index=8, + name='reference_count', full_name='google.ads.googleads.v4.resources.CampaignBudget.reference_count', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='has_recommended_budget', full_name='google.ads.googleads.v1.resources.CampaignBudget.has_recommended_budget', index=9, + name='has_recommended_budget', full_name='google.ads.googleads.v4.resources.CampaignBudget.has_recommended_budget', index=9, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_amount_micros', full_name='google.ads.googleads.v1.resources.CampaignBudget.recommended_budget_amount_micros', index=10, + name='recommended_budget_amount_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_amount_micros', index=10, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='period', full_name='google.ads.googleads.v1.resources.CampaignBudget.period', index=11, + name='period', full_name='google.ads.googleads.v4.resources.CampaignBudget.period', index=11, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_clicks', full_name='google.ads.googleads.v1.resources.CampaignBudget.recommended_budget_estimated_change_weekly_clicks', index=12, + name='recommended_budget_estimated_change_weekly_clicks', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_clicks', index=12, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_cost_micros', full_name='google.ads.googleads.v1.resources.CampaignBudget.recommended_budget_estimated_change_weekly_cost_micros', index=13, + name='recommended_budget_estimated_change_weekly_cost_micros', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_cost_micros', index=13, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_interactions', full_name='google.ads.googleads.v1.resources.CampaignBudget.recommended_budget_estimated_change_weekly_interactions', index=14, + name='recommended_budget_estimated_change_weekly_interactions', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_interactions', index=14, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_estimated_change_weekly_views', full_name='google.ads.googleads.v1.resources.CampaignBudget.recommended_budget_estimated_change_weekly_views', index=15, + name='recommended_budget_estimated_change_weekly_views', full_name='google.ads.googleads.v4.resources.CampaignBudget.recommended_budget_estimated_change_weekly_views', index=15, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.CampaignBudget.type', index=16, + name='type', full_name='google.ads.googleads.v4.resources.CampaignBudget.type', index=16, number=18, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Aa\n\'googleads.googleapis.com/CampaignBudget\0226customers/{customer}/campaignBudgets/{campaign_budget}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=398, - serialized_end=1565, + serialized_start=458, + serialized_end=1831, ) _CAMPAIGNBUDGET.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNBUDGET.fields_by_name['amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['total_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNBUDGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__status__pb2._BUDGETSTATUSENUM_BUDGETSTATUS -_CAMPAIGNBUDGET.fields_by_name['delivery_method'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__delivery__method__pb2._BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD +_CAMPAIGNBUDGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__status__pb2._BUDGETSTATUSENUM_BUDGETSTATUS +_CAMPAIGNBUDGET.fields_by_name['delivery_method'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__delivery__method__pb2._BUDGETDELIVERYMETHODENUM_BUDGETDELIVERYMETHOD _CAMPAIGNBUDGET.fields_by_name['explicitly_shared'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CAMPAIGNBUDGET.fields_by_name['reference_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['has_recommended_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CAMPAIGNBUDGET.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNBUDGET.fields_by_name['period'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__period__pb2._BUDGETPERIODENUM_BUDGETPERIOD +_CAMPAIGNBUDGET.fields_by_name['period'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__period__pb2._BUDGETPERIODENUM_BUDGETPERIOD _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_clicks'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_interactions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_views'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNBUDGET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_budget__type__pb2._BUDGETTYPEENUM_BUDGETTYPE +_CAMPAIGNBUDGET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_budget__type__pb2._BUDGETTYPEENUM_BUDGETTYPE DESCRIPTOR.message_types_by_name['CampaignBudget'] = _CAMPAIGNBUDGET _sym_db.RegisterFileDescriptor(DESCRIPTOR) CampaignBudget = _reflection.GeneratedProtocolMessageType('CampaignBudget', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNBUDGET, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_budget_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_budget_pb2' , __doc__ = """A campaign budget. Attributes: resource_name: - The resource name of the campaign budget. Campaign budget - resource names have the form: + Immutable. The resource name of the campaign budget. Campaign + budget resource names have the form: ``customers/{customer_id}/campaignBudgets/{budget_id}`` id: - The ID of the campaign budget. A campaign budget is created - using the CampaignBudgetService create operation and is - assigned a budget ID. A budget ID can be shared across + Output only. The ID of the campaign budget. A campaign budget + is created using the CampaignBudgetService create operation + and is assigned a budget ID. A budget ID can be shared across different campaigns; the system will then allocate the campaign budget among different campaigns to get optimum results. @@ -230,7 +232,8 @@ the account. Amount is specified in micros, where one million is equivalent to one currency unit. status: - The status of this campaign budget. This field is read-only. + Output only. The status of this campaign budget. This field is + read-only. delivery_method: The delivery method that determines the rate at which the campaign budget is spent. Defaults to STANDARD if unspecified @@ -248,39 +251,52 @@ assign the budget a name. A shared campaign budget can never become non-shared. reference_count: - The number of campaigns actively using the budget. This field - is read-only. + Output only. The number of campaigns actively using the + budget. This field is read-only. has_recommended_budget: - Indicates whether there is a recommended budget for this - campaign budget. This field is read-only. + Output only. Indicates whether there is a recommended budget + for this campaign budget. This field is read-only. recommended_budget_amount_micros: - The recommended budget amount. If no recommendation is - available, this will be set to the budget amount. Amount is - specified in micros, where one million is equivalent to one - currency unit. This field is read-only. + Output only. The recommended budget amount. If no + recommendation is available, this will be set to the budget + amount. Amount is specified in micros, where one million is + equivalent to one currency unit. This field is read-only. period: - Period over which to spend the budget. Defaults to DAILY if - not specified. + Immutable. Period over which to spend the budget. Defaults to + DAILY if not specified. recommended_budget_estimated_change_weekly_clicks: - The estimated change in weekly clicks if the recommended - budget is applied. This field is read-only. + Output only. The estimated change in weekly clicks if the + recommended budget is applied. This field is read-only. recommended_budget_estimated_change_weekly_cost_micros: - The estimated change in weekly cost in micros if the - recommended budget is applied. One million is equivalent to - one currency unit. This field is read-only. + Output only. The estimated change in weekly cost in micros if + the recommended budget is applied. One million is equivalent + to one currency unit. This field is read-only. recommended_budget_estimated_change_weekly_interactions: - The estimated change in weekly interactions if the recommended - budget is applied. This field is read-only. + Output only. The estimated change in weekly interactions if + the recommended budget is applied. This field is read-only. recommended_budget_estimated_change_weekly_views: - The estimated change in weekly views if the recommended budget - is applied. This field is read-only. + Output only. The estimated change in weekly views if the + recommended budget is applied. This field is read-only. type: - The type of the campaign budget. + Immutable. The type of the campaign budget. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CampaignBudget) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignBudget) )) _sym_db.RegisterMessage(CampaignBudget) DESCRIPTOR._options = None +_CAMPAIGNBUDGET.fields_by_name['resource_name']._options = None +_CAMPAIGNBUDGET.fields_by_name['id']._options = None +_CAMPAIGNBUDGET.fields_by_name['status']._options = None +_CAMPAIGNBUDGET.fields_by_name['reference_count']._options = None +_CAMPAIGNBUDGET.fields_by_name['has_recommended_budget']._options = None +_CAMPAIGNBUDGET.fields_by_name['recommended_budget_amount_micros']._options = None +_CAMPAIGNBUDGET.fields_by_name['period']._options = None +_CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_clicks']._options = None +_CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_cost_micros']._options = None +_CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_interactions']._options = None +_CAMPAIGNBUDGET.fields_by_name['recommended_budget_estimated_change_weekly_views']._options = None +_CAMPAIGNBUDGET.fields_by_name['type']._options = None +_CAMPAIGNBUDGET._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_budget_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/geo_target_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_budget_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/campaign_criterion_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_criterion_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/resources/campaign_criterion_pb2.py rename to google/ads/google_ads/v4/proto/resources/campaign_criterion_pb2.py index 55012cbd0..da783e03e 100644 --- a/google/ads/google_ads/v1/proto/resources/campaign_criterion_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/campaign_criterion_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/campaign_criterion.proto +# source: google/ads/googleads_v4/proto/resources/campaign_criterion.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,314 +13,324 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.enums import campaign_criterion_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__criterion__status__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.enums import campaign_criterion_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__criterion__status__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/campaign_criterion.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/campaign_criterion.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\026CampaignCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/resources/campaign_criterion.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a\x43google/ads/googleads_v1/proto/enums/campaign_criterion_status.proto\x1a\x38google/ads/googleads_v1/proto/enums/criterion_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf5\x11\n\x11\x43\x61mpaignCriterion\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12.\n\x08\x63\x61mpaign\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0c\x63riterion_id\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0c\x62id_modifier\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12,\n\x08negative\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12L\n\x04type\x18\x06 \x01(\x0e\x32>.google.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType\x12\x62\n\x06status\x18# \x01(\x0e\x32R.google.ads.googleads.v1.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus\x12>\n\x07keyword\x18\x08 \x01(\x0b\x32+.google.ads.googleads.v1.common.KeywordInfoH\x00\x12\x42\n\tplacement\x18\t \x01(\x0b\x32-.google.ads.googleads.v1.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\n \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\x0b \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileApplicationInfoH\x00\x12@\n\x08location\x18\x0c \x01(\x0b\x32,.google.ads.googleads.v1.common.LocationInfoH\x00\x12<\n\x06\x64\x65vice\x18\r \x01(\x0b\x32*.google.ads.googleads.v1.common.DeviceInfoH\x00\x12\x45\n\x0b\x61\x64_schedule\x18\x0f \x01(\x0b\x32..google.ads.googleads.v1.common.AdScheduleInfoH\x00\x12\x41\n\tage_range\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v1.common.AgeRangeInfoH\x00\x12<\n\x06gender\x18\x11 \x01(\x0b\x32*.google.ads.googleads.v1.common.GenderInfoH\x00\x12G\n\x0cincome_range\x18\x12 \x01(\x0b\x32/.google.ads.googleads.v1.common.IncomeRangeInfoH\x00\x12M\n\x0fparental_status\x18\x13 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.ParentalStatusInfoH\x00\x12\x41\n\tuser_list\x18\x16 \x01(\x0b\x32,.google.ads.googleads.v1.common.UserListInfoH\x00\x12I\n\ryoutube_video\x18\x14 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\x15 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.YouTubeChannelInfoH\x00\x12\x42\n\tproximity\x18\x17 \x01(\x0b\x32-.google.ads.googleads.v1.common.ProximityInfoH\x00\x12:\n\x05topic\x18\x18 \x01(\x0b\x32).google.ads.googleads.v1.common.TopicInfoH\x00\x12I\n\rlisting_scope\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.ListingScopeInfoH\x00\x12@\n\x08language\x18\x1a \x01(\x0b\x32,.google.ads.googleads.v1.common.LanguageInfoH\x00\x12?\n\x08ip_block\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v1.common.IpBlockInfoH\x00\x12I\n\rcontent_label\x18\x1c \x01(\x0b\x32\x30.google.ads.googleads.v1.common.ContentLabelInfoH\x00\x12>\n\x07\x63\x61rrier\x18\x1d \x01(\x0b\x32+.google.ads.googleads.v1.common.CarrierInfoH\x00\x12I\n\ruser_interest\x18\x1e \x01(\x0b\x32\x30.google.ads.googleads.v1.common.UserInterestInfoH\x00\x12>\n\x07webpage\x18\x1f \x01(\x0b\x32+.google.ads.googleads.v1.common.WebpageInfoH\x00\x12^\n\x18operating_system_version\x18 \x01(\x0b\x32:.google.ads.googleads.v1.common.OperatingSystemVersionInfoH\x00\x12I\n\rmobile_device\x18! \x01(\x0b\x32\x30.google.ads.googleads.v1.common.MobileDeviceInfoH\x00\x12K\n\x0elocation_group\x18\" \x01(\x0b\x32\x31.google.ads.googleads.v1.common.LocationGroupInfoH\x00\x42\x0b\n\tcriterionB\x83\x02\n%com.google.ads.googleads.v1.resourcesB\x16\x43\x61mpaignCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026CampaignCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/resources/campaign_criterion.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x43google/ads/googleads_v4/proto/enums/campaign_criterion_status.proto\x1a\x38google/ads/googleads_v4/proto/enums/criterion_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa6\x15\n\x11\x43\x61mpaignCriterion\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/CampaignCriterion\x12Y\n\x08\x63\x61mpaign\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\x36\n\x0c\x63riterion_id\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x31\n\x0c\x62id_modifier\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.FloatValue\x12\x31\n\x08negative\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x05\x12Q\n\x04type\x18\x06 \x01(\x0e\x32>.google.ads.googleads.v4.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x62\n\x06status\x18# \x01(\x0e\x32R.google.ads.googleads.v4.enums.CampaignCriterionStatusEnum.CampaignCriterionStatus\x12\x43\n\x07keyword\x18\x08 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\t \x01(\x0b\x32-.google.ads.googleads.v4.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\n \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\x0b \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12\x45\n\x08location\x18\x0c \x01(\x0b\x32,.google.ads.googleads.v4.common.LocationInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06\x64\x65vice\x18\r \x01(\x0b\x32*.google.ads.googleads.v4.common.DeviceInfoB\x03\xe0\x41\x05H\x00\x12J\n\x0b\x61\x64_schedule\x18\x0f \x01(\x0b\x32..google.ads.googleads.v4.common.AdScheduleInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tage_range\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v4.common.AgeRangeInfoB\x03\xe0\x41\x05H\x00\x12\x41\n\x06gender\x18\x11 \x01(\x0b\x32*.google.ads.googleads.v4.common.GenderInfoB\x03\xe0\x41\x05H\x00\x12L\n\x0cincome_range\x18\x12 \x01(\x0b\x32/.google.ads.googleads.v4.common.IncomeRangeInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fparental_status\x18\x13 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.ParentalStatusInfoB\x03\xe0\x41\x05H\x00\x12\x46\n\tuser_list\x18\x16 \x01(\x0b\x32,.google.ads.googleads.v4.common.UserListInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18\x14 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18\x15 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12G\n\tproximity\x18\x17 \x01(\x0b\x32-.google.ads.googleads.v4.common.ProximityInfoB\x03\xe0\x41\x05H\x00\x12?\n\x05topic\x18\x18 \x01(\x0b\x32).google.ads.googleads.v4.common.TopicInfoB\x03\xe0\x41\x05H\x00\x12N\n\rlisting_scope\x18\x19 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.ListingScopeInfoB\x03\xe0\x41\x05H\x00\x12\x45\n\x08language\x18\x1a \x01(\x0b\x32,.google.ads.googleads.v4.common.LanguageInfoB\x03\xe0\x41\x05H\x00\x12\x44\n\x08ip_block\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v4.common.IpBlockInfoB\x03\xe0\x41\x05H\x00\x12N\n\rcontent_label\x18\x1c \x01(\x0b\x32\x30.google.ads.googleads.v4.common.ContentLabelInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07\x63\x61rrier\x18\x1d \x01(\x0b\x32+.google.ads.googleads.v4.common.CarrierInfoB\x03\xe0\x41\x05H\x00\x12N\n\ruser_interest\x18\x1e \x01(\x0b\x32\x30.google.ads.googleads.v4.common.UserInterestInfoB\x03\xe0\x41\x05H\x00\x12\x43\n\x07webpage\x18\x1f \x01(\x0b\x32+.google.ads.googleads.v4.common.WebpageInfoB\x03\xe0\x41\x05H\x00\x12\x63\n\x18operating_system_version\x18 \x01(\x0b\x32:.google.ads.googleads.v4.common.OperatingSystemVersionInfoB\x03\xe0\x41\x05H\x00\x12N\n\rmobile_device\x18! \x01(\x0b\x32\x30.google.ads.googleads.v4.common.MobileDeviceInfoB\x03\xe0\x41\x05H\x00\x12P\n\x0elocation_group\x18\" \x01(\x0b\x32\x31.google.ads.googleads.v4.common.LocationGroupInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0f\x63ustom_affinity\x18$ \x01(\x0b\x32\x32.google.ads.googleads.v4.common.CustomAffinityInfoB\x03\xe0\x41\x05H\x00:k\xea\x41h\n*googleads.googleapis.com/CampaignCriterion\x12:customers/{customer}/campaignCriteria/{campaign_criterion}B\x0b\n\tcriterionB\x83\x02\n%com.google.ads.googleads.v4.resourcesB\x16\x43\x61mpaignCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__criterion__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CAMPAIGNCRITERION = _descriptor.Descriptor( name='CampaignCriterion', - full_name='google.ads.googleads.v1.resources.CampaignCriterion', + full_name='google.ads.googleads.v4.resources.CampaignCriterion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CampaignCriterion.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignCriterion.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A,\n*googleads.googleapis.com/CampaignCriterion'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.CampaignCriterion.campaign', index=1, + name='campaign', full_name='google.ads.googleads.v4.resources.CampaignCriterion.campaign', index=1, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.CampaignCriterion.criterion_id', index=2, + name='criterion_id', full_name='google.ads.googleads.v4.resources.CampaignCriterion.criterion_id', index=2, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bid_modifier', full_name='google.ads.googleads.v1.resources.CampaignCriterion.bid_modifier', index=3, + name='bid_modifier', full_name='google.ads.googleads.v4.resources.CampaignCriterion.bid_modifier', index=3, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='negative', full_name='google.ads.googleads.v1.resources.CampaignCriterion.negative', index=4, + name='negative', full_name='google.ads.googleads.v4.resources.CampaignCriterion.negative', index=4, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.CampaignCriterion.type', index=5, + name='type', full_name='google.ads.googleads.v4.resources.CampaignCriterion.type', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.CampaignCriterion.status', index=6, + name='status', full_name='google.ads.googleads.v4.resources.CampaignCriterion.status', index=6, number=35, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.CampaignCriterion.keyword', index=7, + name='keyword', full_name='google.ads.googleads.v4.resources.CampaignCriterion.keyword', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.CampaignCriterion.placement', index=8, + name='placement', full_name='google.ads.googleads.v4.resources.CampaignCriterion.placement', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v1.resources.CampaignCriterion.mobile_app_category', index=9, + name='mobile_app_category', full_name='google.ads.googleads.v4.resources.CampaignCriterion.mobile_app_category', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v1.resources.CampaignCriterion.mobile_application', index=10, + name='mobile_application', full_name='google.ads.googleads.v4.resources.CampaignCriterion.mobile_application', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location', full_name='google.ads.googleads.v1.resources.CampaignCriterion.location', index=11, + name='location', full_name='google.ads.googleads.v4.resources.CampaignCriterion.location', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.CampaignCriterion.device', index=12, + name='device', full_name='google.ads.googleads.v4.resources.CampaignCriterion.device', index=12, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_schedule', full_name='google.ads.googleads.v1.resources.CampaignCriterion.ad_schedule', index=13, + name='ad_schedule', full_name='google.ads.googleads.v4.resources.CampaignCriterion.ad_schedule', index=13, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='age_range', full_name='google.ads.googleads.v1.resources.CampaignCriterion.age_range', index=14, + name='age_range', full_name='google.ads.googleads.v4.resources.CampaignCriterion.age_range', index=14, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gender', full_name='google.ads.googleads.v1.resources.CampaignCriterion.gender', index=15, + name='gender', full_name='google.ads.googleads.v4.resources.CampaignCriterion.gender', index=15, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='income_range', full_name='google.ads.googleads.v1.resources.CampaignCriterion.income_range', index=16, + name='income_range', full_name='google.ads.googleads.v4.resources.CampaignCriterion.income_range', index=16, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parental_status', full_name='google.ads.googleads.v1.resources.CampaignCriterion.parental_status', index=17, + name='parental_status', full_name='google.ads.googleads.v4.resources.CampaignCriterion.parental_status', index=17, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v1.resources.CampaignCriterion.user_list', index=18, + name='user_list', full_name='google.ads.googleads.v4.resources.CampaignCriterion.user_list', index=18, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v1.resources.CampaignCriterion.youtube_video', index=19, + name='youtube_video', full_name='google.ads.googleads.v4.resources.CampaignCriterion.youtube_video', index=19, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v1.resources.CampaignCriterion.youtube_channel', index=20, + name='youtube_channel', full_name='google.ads.googleads.v4.resources.CampaignCriterion.youtube_channel', index=20, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='proximity', full_name='google.ads.googleads.v1.resources.CampaignCriterion.proximity', index=21, + name='proximity', full_name='google.ads.googleads.v4.resources.CampaignCriterion.proximity', index=21, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='topic', full_name='google.ads.googleads.v1.resources.CampaignCriterion.topic', index=22, + name='topic', full_name='google.ads.googleads.v4.resources.CampaignCriterion.topic', index=22, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='listing_scope', full_name='google.ads.googleads.v1.resources.CampaignCriterion.listing_scope', index=23, + name='listing_scope', full_name='google.ads.googleads.v4.resources.CampaignCriterion.listing_scope', index=23, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language', full_name='google.ads.googleads.v1.resources.CampaignCriterion.language', index=24, + name='language', full_name='google.ads.googleads.v4.resources.CampaignCriterion.language', index=24, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ip_block', full_name='google.ads.googleads.v1.resources.CampaignCriterion.ip_block', index=25, + name='ip_block', full_name='google.ads.googleads.v4.resources.CampaignCriterion.ip_block', index=25, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='content_label', full_name='google.ads.googleads.v1.resources.CampaignCriterion.content_label', index=26, + name='content_label', full_name='google.ads.googleads.v4.resources.CampaignCriterion.content_label', index=26, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='carrier', full_name='google.ads.googleads.v1.resources.CampaignCriterion.carrier', index=27, + name='carrier', full_name='google.ads.googleads.v4.resources.CampaignCriterion.carrier', index=27, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_interest', full_name='google.ads.googleads.v1.resources.CampaignCriterion.user_interest', index=28, + name='user_interest', full_name='google.ads.googleads.v4.resources.CampaignCriterion.user_interest', index=28, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='webpage', full_name='google.ads.googleads.v1.resources.CampaignCriterion.webpage', index=29, + name='webpage', full_name='google.ads.googleads.v4.resources.CampaignCriterion.webpage', index=29, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operating_system_version', full_name='google.ads.googleads.v1.resources.CampaignCriterion.operating_system_version', index=30, + name='operating_system_version', full_name='google.ads.googleads.v4.resources.CampaignCriterion.operating_system_version', index=30, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_device', full_name='google.ads.googleads.v1.resources.CampaignCriterion.mobile_device', index=31, + name='mobile_device', full_name='google.ads.googleads.v4.resources.CampaignCriterion.mobile_device', index=31, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_group', full_name='google.ads.googleads.v1.resources.CampaignCriterion.location_group', index=32, + name='location_group', full_name='google.ads.googleads.v4.resources.CampaignCriterion.location_group', index=32, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='custom_affinity', full_name='google.ads.googleads.v4.resources.CampaignCriterion.custom_affinity', index=33, + number=36, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Ah\n*googleads.googleapis.com/CampaignCriterion\022:customers/{customer}/campaignCriteria/{campaign_criterion}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v1.resources.CampaignCriterion.criterion', + name='criterion', full_name='google.ads.googleads.v4.resources.CampaignCriterion.criterion', index=0, containing_type=None, fields=[]), ], - serialized_start=346, - serialized_end=2639, + serialized_start=406, + serialized_end=3132, ) _CAMPAIGNCRITERION.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNCRITERION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGNCRITERION.fields_by_name['bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._FLOATVALUE _CAMPAIGNCRITERION.fields_by_name['negative'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_CAMPAIGNCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_CAMPAIGNCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__criterion__status__pb2._CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS -_CAMPAIGNCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_CAMPAIGNCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_CAMPAIGNCRITERION.fields_by_name['location'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._LOCATIONINFO -_CAMPAIGNCRITERION.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO -_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO -_CAMPAIGNCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO -_CAMPAIGNCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO -_CAMPAIGNCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO -_CAMPAIGNCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO -_CAMPAIGNCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO -_CAMPAIGNCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_CAMPAIGNCRITERION.fields_by_name['proximity'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PROXIMITYINFO -_CAMPAIGNCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO -_CAMPAIGNCRITERION.fields_by_name['listing_scope'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._LISTINGSCOPEINFO -_CAMPAIGNCRITERION.fields_by_name['language'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._LANGUAGEINFO -_CAMPAIGNCRITERION.fields_by_name['ip_block'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._IPBLOCKINFO -_CAMPAIGNCRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO -_CAMPAIGNCRITERION.fields_by_name['carrier'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._CARRIERINFO -_CAMPAIGNCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO -_CAMPAIGNCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO -_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._OPERATINGSYSTEMVERSIONINFO -_CAMPAIGNCRITERION.fields_by_name['mobile_device'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEDEVICEINFO -_CAMPAIGNCRITERION.fields_by_name['location_group'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._LOCATIONGROUPINFO +_CAMPAIGNCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_CAMPAIGNCRITERION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__criterion__status__pb2._CAMPAIGNCRITERIONSTATUSENUM_CAMPAIGNCRITERIONSTATUS +_CAMPAIGNCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_CAMPAIGNCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_CAMPAIGNCRITERION.fields_by_name['location'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._LOCATIONINFO +_CAMPAIGNCRITERION.fields_by_name['device'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_CAMPAIGNCRITERION.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO +_CAMPAIGNCRITERION.fields_by_name['age_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._AGERANGEINFO +_CAMPAIGNCRITERION.fields_by_name['gender'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_CAMPAIGNCRITERION.fields_by_name['income_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._INCOMERANGEINFO +_CAMPAIGNCRITERION.fields_by_name['parental_status'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PARENTALSTATUSINFO +_CAMPAIGNCRITERION.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._USERLISTINFO +_CAMPAIGNCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_CAMPAIGNCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_CAMPAIGNCRITERION.fields_by_name['proximity'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PROXIMITYINFO +_CAMPAIGNCRITERION.fields_by_name['topic'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._TOPICINFO +_CAMPAIGNCRITERION.fields_by_name['listing_scope'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._LISTINGSCOPEINFO +_CAMPAIGNCRITERION.fields_by_name['language'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._LANGUAGEINFO +_CAMPAIGNCRITERION.fields_by_name['ip_block'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._IPBLOCKINFO +_CAMPAIGNCRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO +_CAMPAIGNCRITERION.fields_by_name['carrier'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CARRIERINFO +_CAMPAIGNCRITERION.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._USERINTERESTINFO +_CAMPAIGNCRITERION.fields_by_name['webpage'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._WEBPAGEINFO +_CAMPAIGNCRITERION.fields_by_name['operating_system_version'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._OPERATINGSYSTEMVERSIONINFO +_CAMPAIGNCRITERION.fields_by_name['mobile_device'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEDEVICEINFO +_CAMPAIGNCRITERION.fields_by_name['location_group'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._LOCATIONGROUPINFO +_CAMPAIGNCRITERION.fields_by_name['custom_affinity'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CUSTOMAFFINITYINFO _CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( _CAMPAIGNCRITERION.fields_by_name['keyword']) _CAMPAIGNCRITERION.fields_by_name['keyword'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] @@ -399,96 +409,135 @@ _CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( _CAMPAIGNCRITERION.fields_by_name['location_group']) _CAMPAIGNCRITERION.fields_by_name['location_group'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] +_CAMPAIGNCRITERION.oneofs_by_name['criterion'].fields.append( + _CAMPAIGNCRITERION.fields_by_name['custom_affinity']) +_CAMPAIGNCRITERION.fields_by_name['custom_affinity'].containing_oneof = _CAMPAIGNCRITERION.oneofs_by_name['criterion'] DESCRIPTOR.message_types_by_name['CampaignCriterion'] = _CAMPAIGNCRITERION _sym_db.RegisterFileDescriptor(DESCRIPTOR) CampaignCriterion = _reflection.GeneratedProtocolMessageType('CampaignCriterion', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNCRITERION, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_criterion_pb2' , __doc__ = """A campaign criterion. Attributes: resource_name: - The resource name of the campaign criterion. Campaign - criterion resource names have the form: ``customers/{customer - _id}/campaignCriteria/{campaign_id}~{criterion_id}`` + Immutable. The resource name of the campaign criterion. + Campaign criterion resource names have the form: ``customers/ + {customer_id}/campaignCriteria/{campaign_id}~{criterion_id}`` campaign: - The campaign to which the criterion belongs. + Immutable. The campaign to which the criterion belongs. criterion_id: - The ID of the criterion. This field is ignored during mutate. + Output only. The ID of the criterion. This field is ignored + during mutate. bid_modifier: The modifier for the bids when the criterion matches. The modifier must be in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. Use 0 to opt out of a Device type. negative: - Whether to target (``false``) or exclude (``true``) the - criterion. + Immutable. Whether to target (``false``) or exclude (``true``) + the criterion. type: - The type of the criterion. + Output only. The type of the criterion. status: The status of the criterion. criterion: The campaign criterion. Exactly one must be set. keyword: - Keyword. + Immutable. Keyword. placement: - Placement. + Immutable. Placement. mobile_app_category: - Mobile app category. + Immutable. Mobile app category. mobile_application: - Mobile application. + Immutable. Mobile application. location: - Location. + Immutable. Location. device: - Device. + Immutable. Device. ad_schedule: - Ad Schedule. + Immutable. Ad Schedule. age_range: - Age range. + Immutable. Age range. gender: - Gender. + Immutable. Gender. income_range: - Income range. + Immutable. Income range. parental_status: - Parental status. + Immutable. Parental status. user_list: - User List. + Immutable. User List. youtube_video: - YouTube Video. + Immutable. YouTube Video. youtube_channel: - YouTube Channel. + Immutable. YouTube Channel. proximity: - Proximity. + Immutable. Proximity. topic: - Topic. + Immutable. Topic. listing_scope: - Listing scope. + Immutable. Listing scope. language: - Language. + Immutable. Language. ip_block: - IpBlock. + Immutable. IpBlock. content_label: - ContentLabel. + Immutable. ContentLabel. carrier: - Carrier. + Immutable. Carrier. user_interest: - User Interest. + Immutable. User Interest. webpage: - Webpage. + Immutable. Webpage. operating_system_version: - Operating system version. + Immutable. Operating system version. mobile_device: - Mobile Device. + Immutable. Mobile Device. location_group: - Location Group + Immutable. Location Group + custom_affinity: + Immutable. Custom Affinity. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CampaignCriterion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignCriterion) )) _sym_db.RegisterMessage(CampaignCriterion) DESCRIPTOR._options = None +_CAMPAIGNCRITERION.fields_by_name['resource_name']._options = None +_CAMPAIGNCRITERION.fields_by_name['campaign']._options = None +_CAMPAIGNCRITERION.fields_by_name['criterion_id']._options = None +_CAMPAIGNCRITERION.fields_by_name['negative']._options = None +_CAMPAIGNCRITERION.fields_by_name['type']._options = None +_CAMPAIGNCRITERION.fields_by_name['keyword']._options = None +_CAMPAIGNCRITERION.fields_by_name['placement']._options = None +_CAMPAIGNCRITERION.fields_by_name['mobile_app_category']._options = None +_CAMPAIGNCRITERION.fields_by_name['mobile_application']._options = None +_CAMPAIGNCRITERION.fields_by_name['location']._options = None +_CAMPAIGNCRITERION.fields_by_name['device']._options = None +_CAMPAIGNCRITERION.fields_by_name['ad_schedule']._options = None +_CAMPAIGNCRITERION.fields_by_name['age_range']._options = None +_CAMPAIGNCRITERION.fields_by_name['gender']._options = None +_CAMPAIGNCRITERION.fields_by_name['income_range']._options = None +_CAMPAIGNCRITERION.fields_by_name['parental_status']._options = None +_CAMPAIGNCRITERION.fields_by_name['user_list']._options = None +_CAMPAIGNCRITERION.fields_by_name['youtube_video']._options = None +_CAMPAIGNCRITERION.fields_by_name['youtube_channel']._options = None +_CAMPAIGNCRITERION.fields_by_name['proximity']._options = None +_CAMPAIGNCRITERION.fields_by_name['topic']._options = None +_CAMPAIGNCRITERION.fields_by_name['listing_scope']._options = None +_CAMPAIGNCRITERION.fields_by_name['language']._options = None +_CAMPAIGNCRITERION.fields_by_name['ip_block']._options = None +_CAMPAIGNCRITERION.fields_by_name['content_label']._options = None +_CAMPAIGNCRITERION.fields_by_name['carrier']._options = None +_CAMPAIGNCRITERION.fields_by_name['user_interest']._options = None +_CAMPAIGNCRITERION.fields_by_name['webpage']._options = None +_CAMPAIGNCRITERION.fields_by_name['operating_system_version']._options = None +_CAMPAIGNCRITERION.fields_by_name['mobile_device']._options = None +_CAMPAIGNCRITERION.fields_by_name['location_group']._options = None +_CAMPAIGNCRITERION.fields_by_name['custom_affinity']._options = None +_CAMPAIGNCRITERION._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/geographic_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_criterion_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/geographic_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_criterion_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2.py new file mode 100644 index 000000000..c90095b1e --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2.py @@ -0,0 +1,187 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_criterion_simulation.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_modification_method_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2 +from google.ads.google_ads.v4.proto.enums import simulation_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_criterion_simulation.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB CampaignCriterionSimulationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/resources/campaign_criterion_simulation.proto\x12!google.ads.googleads.v4.resources\x1a\x35google/ads/googleads_v4/proto/common/simulation.proto\x1aHgoogle/ads/googleads_v4/proto/enums/simulation_modification_method.proto\x1a\x39google/ads/googleads_v4/proto/enums/simulation_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa8\x06\n\x1b\x43\x61mpaignCriterionSimulation\x12S\n\rresource_name\x18\x01 \x01(\tB<\xe0\x41\x03\xfa\x41\x36\n4googleads.googleapis.com/CampaignCriterionSimulation\x12\x35\n\x0b\x63\x61mpaign_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x36\n\x0c\x63riterion_id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12S\n\x04type\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v4.enums.SimulationTypeEnum.SimulationTypeB\x03\xe0\x41\x03\x12~\n\x13modification_method\x18\x05 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.SimulationModificationMethodEnum.SimulationModificationMethodB\x03\xe0\x41\x03\x12\x35\n\nstart_date\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x66\n\x17\x62id_modifier_point_list\x18\x08 \x01(\x0b\x32>.google.ads.googleads.v4.common.BidModifierSimulationPointListB\x03\xe0\x41\x03H\x00:\x8d\x01\xea\x41\x89\x01\n4googleads.googleapis.com/CampaignCriterionSimulation\x12Qcustomers/{customer}/campaignCriterionSimulations/{campaign_criterion_simulation}B\x0c\n\npoint_listB\x8d\x02\n%com.google.ads.googleads.v4.resourcesB CampaignCriterionSimulationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNCRITERIONSIMULATION = _descriptor.Descriptor( + name='CampaignCriterionSimulation', + full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A6\n4googleads.googleapis.com/CampaignCriterionSimulation'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign_id', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.campaign_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='criterion_id', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.criterion_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.type', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='modification_method', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.modification_method', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='start_date', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.start_date', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='end_date', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.end_date', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='bid_modifier_point_list', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.bid_modifier_point_list', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\211\001\n4googleads.googleapis.com/CampaignCriterionSimulation\022Qcustomers/{customer}/campaignCriterionSimulations/{campaign_criterion_simulation}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='point_list', full_name='google.ads.googleads.v4.resources.CampaignCriterionSimulation.point_list', + index=0, containing_type=None, fields=[]), + ], + serialized_start=425, + serialized_end=1233, +) + +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['campaign_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__type__pb2._SIMULATIONTYPEENUM_SIMULATIONTYPE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['modification_method'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_simulation__modification__method__pb2._SIMULATIONMODIFICATIONMETHODENUM_SIMULATIONMODIFICATIONMETHOD +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_simulation__pb2._BIDMODIFIERSIMULATIONPOINTLIST +_CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['point_list'].fields.append( + _CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list']) +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list'].containing_oneof = _CAMPAIGNCRITERIONSIMULATION.oneofs_by_name['point_list'] +DESCRIPTOR.message_types_by_name['CampaignCriterionSimulation'] = _CAMPAIGNCRITERIONSIMULATION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignCriterionSimulation = _reflection.GeneratedProtocolMessageType('CampaignCriterionSimulation', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNCRITERIONSIMULATION, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_criterion_simulation_pb2' + , + __doc__ = """A campaign criterion simulation. Supported combinations of advertising + channel type, criterion ids, simulation type and simulation modification + method is detailed below respectively. + + 1. SEARCH - 30000,30001,30002 - BID\_MODIFIER - UNIFORM + 2. SHOPPING - 30000,30001,30002 - BID\_MODIFIER - UNIFORM + 3. DISPLAY - 30001 - BID\_MODIFIER - UNIFORM + + + Attributes: + resource_name: + Output only. The resource name of the campaign criterion + simulation. Campaign criterion simulation resource names have + the form: ``customers/{customer_id}/campaignCriterionSimulati + ons/{campaign_id}~{criterion_id}~{type}~{modification_method}~ + {start_date}~{end_date}`` + campaign_id: + Output only. Campaign ID of the simulation. + criterion_id: + Output only. Criterion ID of the simulation. + type: + Output only. The field that the simulation modifies. + modification_method: + Output only. How the simulation modifies the field. + start_date: + Output only. First day on which the simulation is based, in + YYYY-MM-DD format. + end_date: + Output only. Last day on which the simulation is based, in + YYYY-MM-DD format. + point_list: + List of simulation points. + bid_modifier_point_list: + Output only. Simulation points if the simulation type is + BID\_MODIFIER. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignCriterionSimulation) + )) +_sym_db.RegisterMessage(CampaignCriterionSimulation) + + +DESCRIPTOR._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['resource_name']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['campaign_id']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['criterion_id']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['type']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['modification_method']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['start_date']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['end_date']._options = None +_CAMPAIGNCRITERIONSIMULATION.fields_by_name['bid_modifier_point_list']._options = None +_CAMPAIGNCRITERIONSIMULATION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/google_ads_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/google_ads_field_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_criterion_simulation_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_draft_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_draft_pb2.py new file mode 100644 index 000000000..a941f82fd --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_draft_pb2.py @@ -0,0 +1,176 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_draft.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import campaign_draft_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__draft__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_draft.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\022CampaignDraftProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\ncustomers/{customer}/campaignExperiments/{campaign_experiment}B\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17\x43\x61mpaignExperimentProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__traffic__split__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__traffic__split__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CAMPAIGNEXPERIMENT = _descriptor.Descriptor( name='CampaignExperiment', - full_name='google.ads.googleads.v1.resources.CampaignExperiment', + full_name='google.ads.googleads.v4.resources.CampaignExperiment', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CampaignExperiment.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignExperiment.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A-\n+googleads.googleapis.com/CampaignExperiment'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.CampaignExperiment.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.CampaignExperiment.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_draft', full_name='google.ads.googleads.v1.resources.CampaignExperiment.campaign_draft', index=2, + name='campaign_draft', full_name='google.ads.googleads.v4.resources.CampaignExperiment.campaign_draft', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A(\n&googleads.googleapis.com/CampaignDraft'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.CampaignExperiment.name', index=3, + name='name', full_name='google.ads.googleads.v4.resources.CampaignExperiment.name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.resources.CampaignExperiment.description', index=4, + name='description', full_name='google.ads.googleads.v4.resources.CampaignExperiment.description', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='traffic_split_percent', full_name='google.ads.googleads.v1.resources.CampaignExperiment.traffic_split_percent', index=5, + name='traffic_split_percent', full_name='google.ads.googleads.v4.resources.CampaignExperiment.traffic_split_percent', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='traffic_split_type', full_name='google.ads.googleads.v1.resources.CampaignExperiment.traffic_split_type', index=6, + name='traffic_split_type', full_name='google.ads.googleads.v4.resources.CampaignExperiment.traffic_split_type', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='experiment_campaign', full_name='google.ads.googleads.v1.resources.CampaignExperiment.experiment_campaign', index=7, + name='experiment_campaign', full_name='google.ads.googleads.v4.resources.CampaignExperiment.experiment_campaign', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.CampaignExperiment.status', index=8, + name='status', full_name='google.ads.googleads.v4.resources.CampaignExperiment.status', index=8, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='long_running_operation', full_name='google.ads.googleads.v1.resources.CampaignExperiment.long_running_operation', index=9, + name='long_running_operation', full_name='google.ads.googleads.v4.resources.CampaignExperiment.long_running_operation', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.resources.CampaignExperiment.start_date', index=10, + name='start_date', full_name='google.ads.googleads.v4.resources.CampaignExperiment.start_date', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.resources.CampaignExperiment.end_date', index=11, + name='end_date', full_name='google.ads.googleads.v4.resources.CampaignExperiment.end_date', index=11, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -128,14 +130,14 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Am\n+googleads.googleapis.com/CampaignExperiment\022>customers/{customer}/campaignExperiments/{campaign_experiment}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=319, - serialized_end=1068, + serialized_start=379, + serialized_end=1411, ) _CAMPAIGNEXPERIMENT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -143,9 +145,9 @@ _CAMPAIGNEXPERIMENT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNEXPERIMENT.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNEXPERIMENT.fields_by_name['traffic_split_percent'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CAMPAIGNEXPERIMENT.fields_by_name['traffic_split_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__traffic__split__type__pb2._CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE +_CAMPAIGNEXPERIMENT.fields_by_name['traffic_split_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__traffic__split__type__pb2._CAMPAIGNEXPERIMENTTRAFFICSPLITTYPEENUM_CAMPAIGNEXPERIMENTTRAFFICSPLITTYPE _CAMPAIGNEXPERIMENT.fields_by_name['experiment_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGNEXPERIMENT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__status__pb2._CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS +_CAMPAIGNEXPERIMENT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__status__pb2._CAMPAIGNEXPERIMENTSTATUSENUM_CAMPAIGNEXPERIMENTSTATUS _CAMPAIGNEXPERIMENT.fields_by_name['long_running_operation'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNEXPERIMENT.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGNEXPERIMENT.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -154,7 +156,7 @@ CampaignExperiment = _reflection.GeneratedProtocolMessageType('CampaignExperiment', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENT, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_experiment_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_experiment_pb2' , __doc__ = """An A/B experiment that compares the performance of the base campaign (the control) and a variation of that campaign (the experiment). @@ -162,13 +164,15 @@ Attributes: resource_name: - The resource name of the campaign experiment. Campaign - experiment resource names have the form: ``customers/{custome - r_id}/campaignExperiments/{campaign_experiment_id}`` + Immutable. The resource name of the campaign experiment. + Campaign experiment resource names have the form: ``customers + /{customer_id}/campaignExperiments/{campaign_experiment_id}`` id: - The ID of the campaign experiment. This field is read-only. + Output only. The ID of the campaign experiment. This field is + read-only. campaign_draft: - The campaign draft with staged changes to the base campaign. + Immutable. The campaign draft with staged changes to the base + campaign. name: The name of the campaign experiment. This field is required when creating new campaign experiments and must not conflict @@ -179,21 +183,23 @@ description: The description of the experiment. traffic_split_percent: - Share of traffic directed to experiment as a percent (must be - between 1 and 99 inclusive. Base campaign receives the - remainder of the traffic (100 - traffic\_split\_percent). - Required for create. + Immutable. Share of traffic directed to experiment as a + percent (must be between 1 and 99 inclusive. Base campaign + receives the remainder of the traffic (100 - + traffic\_split\_percent). Required for create. traffic_split_type: - Determines the behavior of the traffic split. + Immutable. Determines the behavior of the traffic split. experiment_campaign: - The experiment campaign, as opposed to the base campaign. + Output only. The experiment campaign, as opposed to the base + campaign. status: - The status of the campaign experiment. This field is read- - only. + Output only. The status of the campaign experiment. This field + is read-only. long_running_operation: - The resource name of the long-running operation that can be - used to poll for completion of experiment create or promote. - The most recent long running operation is returned. + Output only. The resource name of the long-running operation + that can be used to poll for completion of experiment create + or promote. The most recent long running operation is + returned. start_date: Date when the campaign experiment starts. By default, the experiment starts now or on the campaign's start date, @@ -208,10 +214,19 @@ in the customer's time zone. Format: YYYY-MM-DD Example: 2019-04-18 """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CampaignExperiment) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignExperiment) )) _sym_db.RegisterMessage(CampaignExperiment) DESCRIPTOR._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['resource_name']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['id']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['campaign_draft']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['traffic_split_percent']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['traffic_split_type']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['experiment_campaign']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['status']._options = None +_CAMPAIGNEXPERIMENT.fields_by_name['long_running_operation']._options = None +_CAMPAIGNEXPERIMENT._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_experiment_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/hotel_group_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_experiment_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2.py new file mode 100644 index 000000000..6657f32a3 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2.py @@ -0,0 +1,140 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_extension_setting.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2 +from google.ads.google_ads.v4.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_extension_setting.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\035CampaignExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/resources/campaign_extension_setting.proto\x12!google.ads.googleads.v4.resources\x1a\x42google/ads/googleads_v4/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v4/proto/enums/extension_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfa\x04\n\x18\x43\x61mpaignExtensionSetting\x12P\n\rresource_name\x18\x01 \x01(\tB9\xe0\x41\x05\xfa\x41\x33\n1googleads.googleapis.com/CampaignExtensionSetting\x12[\n\x0e\x65xtension_type\x18\x02 \x01(\x0e\x32>.google.ads.googleads.v4.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x05\x12Y\n\x08\x63\x61mpaign\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/Campaign\x12k\n\x14\x65xtension_feed_items\x18\x04 \x03(\x0b\x32\x1c.google.protobuf.StringValueB/\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12`\n\x06\x64\x65vice\x18\x05 \x01(\x0e\x32P.google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice:\x84\x01\xea\x41\x80\x01\n1googleads.googleapis.com/CampaignExtensionSetting\x12Kcustomers/{customer}/campaignExtensionSettings/{campaign_extension_setting}B\x8a\x02\n%com.google.ads.googleads.v4.resourcesB\x1d\x43\x61mpaignExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNEXTENSIONSETTING = _descriptor.Descriptor( + name='CampaignExtensionSetting', + full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A3\n1googleads.googleapis.com/CampaignExtensionSetting'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_type', full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting.extension_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting.campaign', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_feed_items', full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting.extension_feed_items', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\372A,\n*googleads.googleapis.com/ExtensionFeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v4.resources.CampaignExtensionSetting.device', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\200\001\n1googleads.googleapis.com/CampaignExtensionSetting\022Kcustomers/{customer}/campaignExtensionSettings/{campaign_extension_setting}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=360, + serialized_end=994, +) + +_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_CAMPAIGNEXTENSIONSETTING.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNEXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE +DESCRIPTOR.message_types_by_name['CampaignExtensionSetting'] = _CAMPAIGNEXTENSIONSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignExtensionSetting = _reflection.GeneratedProtocolMessageType('CampaignExtensionSetting', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNEXTENSIONSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_extension_setting_pb2' + , + __doc__ = """A campaign extension setting. + + + Attributes: + resource_name: + Immutable. The resource name of the campaign extension + setting. CampaignExtensionSetting resource names have the + form: ``customers/{customer_id}/campaignExtensionSettings/{ca + mpaign_id}~{extension_type}`` + extension_type: + Immutable. The extension type of the customer extension + setting. + campaign: + Immutable. The resource name of the campaign. The linked + extension feed items will serve under this campaign. Campaign + resource names have the form: + ``customers/{customer_id}/campaigns/{campaign_id}`` + extension_feed_items: + The resource names of the extension feed items to serve under + the campaign. ExtensionFeedItem resource names have the form: + ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` + device: + The device for which the extensions will serve. Optional. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignExtensionSetting) + )) +_sym_db.RegisterMessage(CampaignExtensionSetting) + + +DESCRIPTOR._options = None +_CAMPAIGNEXTENSIONSETTING.fields_by_name['resource_name']._options = None +_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_type']._options = None +_CAMPAIGNEXTENSIONSETTING.fields_by_name['campaign']._options = None +_CAMPAIGNEXTENSIONSETTING.fields_by_name['extension_feed_items']._options = None +_CAMPAIGNEXTENSIONSETTING._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/hotel_performance_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_extension_setting_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_feed_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_feed_pb2.py new file mode 100644 index 000000000..eb8d1eb61 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_feed_pb2.py @@ -0,0 +1,148 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_feed.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_matching__function__pb2 +from google.ads.google_ads.v4.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__link__status__pb2 +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_feed.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021CampaignFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/campaign_feed.proto\x12!google.ads.googleads.v4.resources\x1a.google.ads.googleads.v1.resources.Campaign.AppCampaignSetting\x12,\n\x06labels\x18\x35 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x0f\x65xperiment_type\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v1.enums.CampaignExperimentTypeEnum.CampaignExperimentType\x12\x33\n\rbase_campaign\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x35\n\x0f\x63\x61mpaign_budget\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12i\n\x15\x62idding_strategy_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v1.enums.BiddingStrategyTypeEnum.BiddingStrategyType\x12\x30\n\nstart_date\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18& \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12I\n\x0e\x66requency_caps\x18( \x03(\x0b\x32\x31.google.ads.googleads.v1.common.FrequencyCapEntry\x12x\n\x1evideo_brand_safety_suitability\x18* \x01(\x0e\x32P.google.ads.googleads.v1.enums.BrandSafetySuitabilityEnum.BrandSafetySuitability\x12O\n\rvanity_pharma\x18, \x01(\x0b\x32\x38.google.ads.googleads.v1.resources.Campaign.VanityPharma\x12\x61\n\x16selective_optimization\x18- \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.Campaign.SelectiveOptimization\x12U\n\x10tracking_setting\x18. \x01(\x0b\x32;.google.ads.googleads.v1.resources.Campaign.TrackingSetting\x12P\n\x0cpayment_mode\x18\x34 \x01(\x0e\x32:.google.ads.googleads.v1.enums.PaymentModeEnum.PaymentMode\x12\x38\n\x10\x62idding_strategy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x12@\n\ncommission\x18\x31 \x01(\x0b\x32*.google.ads.googleads.v1.common.CommissionH\x00\x12?\n\nmanual_cpc\x18\x18 \x01(\x0b\x32).google.ads.googleads.v1.common.ManualCpcH\x00\x12?\n\nmanual_cpm\x18\x19 \x01(\x0b\x32).google.ads.googleads.v1.common.ManualCpmH\x00\x12?\n\nmanual_cpv\x18% \x01(\x0b\x32).google.ads.googleads.v1.common.ManualCpvH\x00\x12S\n\x14maximize_conversions\x18\x1e \x01(\x0b\x32\x33.google.ads.googleads.v1.common.MaximizeConversionsH\x00\x12\\\n\x19maximize_conversion_value\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v1.common.MaximizeConversionValueH\x00\x12?\n\ntarget_cpa\x18\x1a \x01(\x0b\x32).google.ads.googleads.v1.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x1d \x01(\x0b\x32*.google.ads.googleads.v1.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v1.common.TargetSpendH\x00\x12\x41\n\x0bpercent_cpc\x18\" \x01(\x0b\x32*.google.ads.googleads.v1.common.PercentCpcH\x00\x12?\n\ntarget_cpm\x18) \x01(\x0b\x32).google.ads.googleads.v1.common.TargetCpmH\x00\x1a\x85\x02\n\x0fNetworkSettings\x12\x38\n\x14target_google_search\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x15target_search_network\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12:\n\x16target_content_network\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x41\n\x1dtarget_partner_search_network\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aH\n\x10HotelSettingInfo\x12\x34\n\x0fhotel_center_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xf3\x01\n\x0cVanityPharma\x12\x80\x01\n\x1evanity_pharma_display_url_mode\x18\x01 \x01(\x0e\x32X.google.ads.googleads.v1.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode\x12`\n\x12vanity_pharma_text\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.VanityPharmaTextEnum.VanityPharmaText\x1a\xea\x01\n\x17\x44ynamicSearchAdsSetting\x12\x31\n\x0b\x64omain_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x16use_supplied_urls_only\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x05\x66\x65\x65\x64s\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xe2\x01\n\x0fShoppingSetting\x12\x30\n\x0bmerchant_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x33\n\rsales_country\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x11\x63\x61mpaign_priority\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x30\n\x0c\x65nable_local\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1a\x45\n\x0fTrackingSetting\x12\x32\n\x0ctracking_url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1aQ\n\x15SelectiveOptimization\x12\x38\n\x12\x63onversion_actions\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xb0\x02\n\x12\x41ppCampaignSetting\x12\x8c\x01\n\x1a\x62idding_strategy_goal_type\x18\x01 \x01(\x0e\x32h.google.ads.googleads.v1.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType\x12,\n\x06\x61pp_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12]\n\tapp_store\x18\x03 \x01(\x0e\x32J.google.ads.googleads.v1.enums.AppCampaignAppStoreEnum.AppCampaignAppStore\x1a\xfa\x01\n\x14GeoTargetTypeSetting\x12p\n\x18positive_geo_target_type\x18\x01 \x01(\x0e\x32N.google.ads.googleads.v1.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType\x12p\n\x18negative_geo_target_type\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v1.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetTypeB\x1b\n\x19\x63\x61mpaign_bidding_strategyB\xfa\x01\n%com.google.ads.googleads.v1.resourcesB\rCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\rCampaignProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/resources/campaign.proto\x12!google.ads.googleads.v4.resources\x1a\x32google/ads/googleads_v4/proto/common/bidding.proto\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1a\x38google/ads/googleads_v4/proto/common/frequency_cap.proto\x1a\x44google/ads/googleads_v4/proto/common/real_time_bidding_setting.proto\x1agoogle/ads/googleads_v4/proto/enums/location_source_type.proto\x1a\x42google/ads/googleads_v4/proto/enums/negative_geo_target_type.proto\x1a@google/ads/googleads_v4/proto/enums/optimization_goal_type.proto\x1a\x36google/ads/googleads_v4/proto/enums/payment_mode.proto\x1a\x42google/ads/googleads_v4/proto/enums/positive_geo_target_type.proto\x1aHgoogle/ads/googleads_v4/proto/enums/vanity_pharma_display_url_mode.proto\x1a.google.ads.googleads.v4.resources.Campaign.AppCampaignSetting\x12\\\n\x06labels\x18\x35 \x03(\x0b\x32\x1c.google.protobuf.StringValueB.\xe0\x41\x03\xfa\x41(\n&googleads.googleapis.com/CampaignLabel\x12n\n\x0f\x65xperiment_type\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v4.enums.CampaignExperimentTypeEnum.CampaignExperimentTypeB\x03\xe0\x41\x03\x12^\n\rbase_campaign\x18\x1c \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\x63\n\x0f\x63\x61mpaign_budget\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB,\xfa\x41)\n\'googleads.googleapis.com/CampaignBudget\x12n\n\x15\x62idding_strategy_type\x18\x16 \x01(\x0e\x32J.google.ads.googleads.v4.enums.BiddingStrategyTypeEnum.BiddingStrategyTypeB\x03\xe0\x41\x03\x12\x30\n\nstart_date\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08\x65nd_date\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18& \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12I\n\x0e\x66requency_caps\x18( \x03(\x0b\x32\x31.google.ads.googleads.v4.common.FrequencyCapEntry\x12}\n\x1evideo_brand_safety_suitability\x18* \x01(\x0e\x32P.google.ads.googleads.v4.enums.BrandSafetySuitabilityEnum.BrandSafetySuitabilityB\x03\xe0\x41\x03\x12O\n\rvanity_pharma\x18, \x01(\x0b\x32\x38.google.ads.googleads.v4.resources.Campaign.VanityPharma\x12\x61\n\x16selective_optimization\x18- \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.Campaign.SelectiveOptimization\x12\x66\n\x19optimization_goal_setting\x18\x36 \x01(\x0b\x32\x43.google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting\x12Z\n\x10tracking_setting\x18. \x01(\x0b\x32;.google.ads.googleads.v4.resources.Campaign.TrackingSettingB\x03\xe0\x41\x03\x12P\n\x0cpayment_mode\x18\x34 \x01(\x0e\x32:.google.ads.googleads.v4.enums.PaymentModeEnum.PaymentMode\x12=\n\x12optimization_score\x18\x37 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x03\xe0\x41\x03\x12g\n\x10\x62idding_strategy\x18\x17 \x01(\x0b\x32\x1c.google.protobuf.StringValueB-\xfa\x41*\n(googleads.googleapis.com/BiddingStrategyH\x00\x12@\n\ncommission\x18\x31 \x01(\x0b\x32*.google.ads.googleads.v4.common.CommissionH\x00\x12?\n\nmanual_cpc\x18\x18 \x01(\x0b\x32).google.ads.googleads.v4.common.ManualCpcH\x00\x12?\n\nmanual_cpm\x18\x19 \x01(\x0b\x32).google.ads.googleads.v4.common.ManualCpmH\x00\x12\x44\n\nmanual_cpv\x18% \x01(\x0b\x32).google.ads.googleads.v4.common.ManualCpvB\x03\xe0\x41\x03H\x00\x12S\n\x14maximize_conversions\x18\x1e \x01(\x0b\x32\x33.google.ads.googleads.v4.common.MaximizeConversionsH\x00\x12\\\n\x19maximize_conversion_value\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v4.common.MaximizeConversionValueH\x00\x12?\n\ntarget_cpa\x18\x1a \x01(\x0b\x32).google.ads.googleads.v4.common.TargetCpaH\x00\x12X\n\x17target_impression_share\x18\x30 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.TargetImpressionShareH\x00\x12\x41\n\x0btarget_roas\x18\x1d \x01(\x0b\x32*.google.ads.googleads.v4.common.TargetRoasH\x00\x12\x43\n\x0ctarget_spend\x18\x1b \x01(\x0b\x32+.google.ads.googleads.v4.common.TargetSpendH\x00\x12\x41\n\x0bpercent_cpc\x18\" \x01(\x0b\x32*.google.ads.googleads.v4.common.PercentCpcH\x00\x12?\n\ntarget_cpm\x18) \x01(\x0b\x32).google.ads.googleads.v4.common.TargetCpmH\x00\x1a\x85\x02\n\x0fNetworkSettings\x12\x38\n\x14target_google_search\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x39\n\x15target_search_network\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12:\n\x16target_content_network\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x41\n\x1dtarget_partner_search_network\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aM\n\x10HotelSettingInfo\x12\x39\n\x0fhotel_center_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05\x1a~\n\x14LocalCampaignSetting\x12\x66\n\x14location_source_type\x18\x01 \x01(\x0e\x32H.google.ads.googleads.v4.enums.LocationSourceTypeEnum.LocationSourceType\x1a\xba\x02\n\x12\x41ppCampaignSetting\x12\x8c\x01\n\x1a\x62idding_strategy_goal_type\x18\x01 \x01(\x0e\x32h.google.ads.googleads.v4.enums.AppCampaignBiddingStrategyGoalTypeEnum.AppCampaignBiddingStrategyGoalType\x12\x31\n\x06\x61pp_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x62\n\tapp_store\x18\x03 \x01(\x0e\x32J.google.ads.googleads.v4.enums.AppCampaignAppStoreEnum.AppCampaignAppStoreB\x03\xe0\x41\x05\x1a\x91\x02\n\x17\x44ynamicSearchAdsSetting\x12\x31\n\x0b\x64omain_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlanguage_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x16use_supplied_urls_only\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12R\n\x05\x66\x65\x65\x64s\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValueB%\xe0\x41\x03\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\x1a\x81\x01\n\x15SelectiveOptimization\x12h\n\x12\x63onversion_actions\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValueB.\xfa\x41+\n)googleads.googleapis.com/ConversionAction\x1a\xec\x01\n\x0fShoppingSetting\x12\x35\n\x0bmerchant_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05\x12\x38\n\rsales_country\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x36\n\x11\x63\x61mpaign_priority\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12\x30\n\x0c\x65nable_local\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aJ\n\x0fTrackingSetting\x12\x37\n\x0ctracking_url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x1a\xfa\x01\n\x14GeoTargetTypeSetting\x12p\n\x18positive_geo_target_type\x18\x01 \x01(\x0e\x32N.google.ads.googleads.v4.enums.PositiveGeoTargetTypeEnum.PositiveGeoTargetType\x12p\n\x18negative_geo_target_type\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v4.enums.NegativeGeoTargetTypeEnum.NegativeGeoTargetType\x1a\x88\x01\n\x17OptimizationGoalSetting\x12m\n\x17optimization_goal_types\x18\x01 \x03(\x0e\x32L.google.ads.googleads.v4.enums.OptimizationGoalTypeEnum.OptimizationGoalType\x1a\xf3\x01\n\x0cVanityPharma\x12\x80\x01\n\x1evanity_pharma_display_url_mode\x18\x01 \x01(\x0e\x32X.google.ads.googleads.v4.enums.VanityPharmaDisplayUrlModeEnum.VanityPharmaDisplayUrlMode\x12`\n\x12vanity_pharma_text\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.VanityPharmaTextEnum.VanityPharmaText:Q\xea\x41N\n!googleads.googleapis.com/Campaign\x12)customers/{customer}/campaigns/{campaign}B\x1b\n\x19\x63\x61mpaign_bidding_strategyB\xfa\x01\n%com.google.ads.googleads.v4.resourcesB\rCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_frequency__cap__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_real__time__bidding__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__campaign__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_brand__safety__suitability__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_negative__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_payment__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_positive__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_vanity__pharma__text__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_frequency__cap__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_real__time__bidding__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_targeting__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__campaign__app__store__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_brand__safety__suitability__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__serving__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__source__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_negative__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_optimization__goal__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_payment__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_positive__geo__target__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_vanity__pharma__text__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CAMPAIGN_NETWORKSETTINGS = _descriptor.Descriptor( name='NetworkSettings', - full_name='google.ads.googleads.v1.resources.Campaign.NetworkSettings', + full_name='google.ads.googleads.v4.resources.Campaign.NetworkSettings', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_google_search', full_name='google.ads.googleads.v1.resources.Campaign.NetworkSettings.target_google_search', index=0, + name='target_google_search', full_name='google.ads.googleads.v4.resources.Campaign.NetworkSettings.target_google_search', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_search_network', full_name='google.ads.googleads.v1.resources.Campaign.NetworkSettings.target_search_network', index=1, + name='target_search_network', full_name='google.ads.googleads.v4.resources.Campaign.NetworkSettings.target_search_network', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_content_network', full_name='google.ads.googleads.v1.resources.Campaign.NetworkSettings.target_content_network', index=2, + name='target_content_network', full_name='google.ads.googleads.v4.resources.Campaign.NetworkSettings.target_content_network', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_partner_search_network', full_name='google.ads.googleads.v1.resources.Campaign.NetworkSettings.target_partner_search_network', index=3, + name='target_partner_search_network', full_name='google.ads.googleads.v4.resources.Campaign.NetworkSettings.target_partner_search_network', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -96,24 +100,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5014, - serialized_end=5275, + serialized_start=5747, + serialized_end=6008, ) _CAMPAIGN_HOTELSETTINGINFO = _descriptor.Descriptor( name='HotelSettingInfo', - full_name='google.ads.googleads.v1.resources.Campaign.HotelSettingInfo', + full_name='google.ads.googleads.v4.resources.Campaign.HotelSettingInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='hotel_center_id', full_name='google.ads.googleads.v1.resources.Campaign.HotelSettingInfo.hotel_center_id', index=0, + name='hotel_center_id', full_name='google.ads.googleads.v4.resources.Campaign.HotelSettingInfo.hotel_center_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], @@ -126,31 +130,68 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5277, - serialized_end=5349, + serialized_start=6010, + serialized_end=6087, ) -_CAMPAIGN_VANITYPHARMA = _descriptor.Descriptor( - name='VanityPharma', - full_name='google.ads.googleads.v1.resources.Campaign.VanityPharma', +_CAMPAIGN_LOCALCAMPAIGNSETTING = _descriptor.Descriptor( + name='LocalCampaignSetting', + full_name='google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='vanity_pharma_display_url_mode', full_name='google.ads.googleads.v1.resources.Campaign.VanityPharma.vanity_pharma_display_url_mode', index=0, + name='location_source_type', full_name='google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting.location_source_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6089, + serialized_end=6215, +) + +_CAMPAIGN_APPCAMPAIGNSETTING = _descriptor.Descriptor( + name='AppCampaignSetting', + full_name='google.ads.googleads.v4.resources.Campaign.AppCampaignSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ _descriptor.FieldDescriptor( - name='vanity_pharma_text', full_name='google.ads.googleads.v1.resources.Campaign.VanityPharma.vanity_pharma_text', index=1, - number=2, type=14, cpp_type=8, label=1, + name='bidding_strategy_goal_type', full_name='google.ads.googleads.v4.resources.Campaign.AppCampaignSetting.bidding_strategy_goal_type', index=0, + number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v4.resources.Campaign.AppCampaignSetting.app_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_store', full_name='google.ads.googleads.v4.resources.Campaign.AppCampaignSetting.app_store', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], @@ -163,45 +204,75 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5352, - serialized_end=5595, + serialized_start=6218, + serialized_end=6532, ) _CAMPAIGN_DYNAMICSEARCHADSSETTING = _descriptor.Descriptor( name='DynamicSearchAdsSetting', - full_name='google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting', + full_name='google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='domain_name', full_name='google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting.domain_name', index=0, + name='domain_name', full_name='google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting.domain_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_code', full_name='google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting.language_code', index=1, + name='language_code', full_name='google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting.language_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='use_supplied_urls_only', full_name='google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting.use_supplied_urls_only', index=2, + name='use_supplied_urls_only', full_name='google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting.use_supplied_urls_only', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feeds', full_name='google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting.feeds', index=3, + name='feeds', full_name='google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting.feeds', index=3, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=6535, + serialized_end=6808, +) + +_CAMPAIGN_SELECTIVEOPTIMIZATION = _descriptor.Descriptor( + name='SelectiveOptimization', + full_name='google.ads.googleads.v4.resources.Campaign.SelectiveOptimization', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='conversion_actions', full_name='google.ads.googleads.v4.resources.Campaign.SelectiveOptimization.conversion_actions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\372A+\n)googleads.googleapis.com/ConversionAction'), file=DESCRIPTOR), ], extensions=[ ], @@ -214,40 +285,40 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5598, - serialized_end=5832, + serialized_start=6811, + serialized_end=6940, ) _CAMPAIGN_SHOPPINGSETTING = _descriptor.Descriptor( name='ShoppingSetting', - full_name='google.ads.googleads.v1.resources.Campaign.ShoppingSetting', + full_name='google.ads.googleads.v4.resources.Campaign.ShoppingSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='merchant_id', full_name='google.ads.googleads.v1.resources.Campaign.ShoppingSetting.merchant_id', index=0, + name='merchant_id', full_name='google.ads.googleads.v4.resources.Campaign.ShoppingSetting.merchant_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sales_country', full_name='google.ads.googleads.v1.resources.Campaign.ShoppingSetting.sales_country', index=1, + name='sales_country', full_name='google.ads.googleads.v4.resources.Campaign.ShoppingSetting.sales_country', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_priority', full_name='google.ads.googleads.v1.resources.Campaign.ShoppingSetting.campaign_priority', index=2, + name='campaign_priority', full_name='google.ads.googleads.v4.resources.Campaign.ShoppingSetting.campaign_priority', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enable_local', full_name='google.ads.googleads.v1.resources.Campaign.ShoppingSetting.enable_local', index=3, + name='enable_local', full_name='google.ads.googleads.v4.resources.Campaign.ShoppingSetting.enable_local', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -265,24 +336,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5835, - serialized_end=6061, + serialized_start=6943, + serialized_end=7179, ) _CAMPAIGN_TRACKINGSETTING = _descriptor.Descriptor( name='TrackingSetting', - full_name='google.ads.googleads.v1.resources.Campaign.TrackingSetting', + full_name='google.ads.googleads.v4.resources.Campaign.TrackingSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='tracking_url', full_name='google.ads.googleads.v1.resources.Campaign.TrackingSetting.tracking_url', index=0, + name='tracking_url', full_name='google.ads.googleads.v4.resources.Campaign.TrackingSetting.tracking_url', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -295,21 +366,28 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6063, - serialized_end=6132, + serialized_start=7181, + serialized_end=7255, ) -_CAMPAIGN_SELECTIVEOPTIMIZATION = _descriptor.Descriptor( - name='SelectiveOptimization', - full_name='google.ads.googleads.v1.resources.Campaign.SelectiveOptimization', +_CAMPAIGN_GEOTARGETTYPESETTING = _descriptor.Descriptor( + name='GeoTargetTypeSetting', + full_name='google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='conversion_actions', full_name='google.ads.googleads.v1.resources.Campaign.SelectiveOptimization.conversion_actions', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], + name='positive_geo_target_type', full_name='google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting.positive_geo_target_type', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='negative_geo_target_type', full_name='google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting.negative_geo_target_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), @@ -325,35 +403,21 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6134, - serialized_end=6215, + serialized_start=7258, + serialized_end=7508, ) -_CAMPAIGN_APPCAMPAIGNSETTING = _descriptor.Descriptor( - name='AppCampaignSetting', - full_name='google.ads.googleads.v1.resources.Campaign.AppCampaignSetting', +_CAMPAIGN_OPTIMIZATIONGOALSETTING = _descriptor.Descriptor( + name='OptimizationGoalSetting', + full_name='google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='bidding_strategy_goal_type', full_name='google.ads.googleads.v1.resources.Campaign.AppCampaignSetting.bidding_strategy_goal_type', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='app_id', full_name='google.ads.googleads.v1.resources.Campaign.AppCampaignSetting.app_id', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='app_store', full_name='google.ads.googleads.v1.resources.Campaign.AppCampaignSetting.app_store', index=2, - number=3, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, + name='optimization_goal_types', full_name='google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting.optimization_goal_types', index=0, + number=1, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), @@ -369,26 +433,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6218, - serialized_end=6522, + serialized_start=7511, + serialized_end=7647, ) -_CAMPAIGN_GEOTARGETTYPESETTING = _descriptor.Descriptor( - name='GeoTargetTypeSetting', - full_name='google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting', +_CAMPAIGN_VANITYPHARMA = _descriptor.Descriptor( + name='VanityPharma', + full_name='google.ads.googleads.v4.resources.Campaign.VanityPharma', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='positive_geo_target_type', full_name='google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting.positive_geo_target_type', index=0, + name='vanity_pharma_display_url_mode', full_name='google.ads.googleads.v4.resources.Campaign.VanityPharma.vanity_pharma_display_url_mode', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='negative_geo_target_type', full_name='google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting.negative_geo_target_type', index=1, + name='vanity_pharma_text', full_name='google.ads.googleads.v4.resources.Campaign.VanityPharma.vanity_pharma_text', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -406,327 +470,348 @@ extension_ranges=[], oneofs=[ ], - serialized_start=6525, - serialized_end=6775, + serialized_start=7650, + serialized_end=7893, ) _CAMPAIGN = _descriptor.Descriptor( name='Campaign', - full_name='google.ads.googleads.v1.resources.Campaign', + full_name='google.ads.googleads.v4.resources.Campaign', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.Campaign.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.Campaign.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.Campaign.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.Campaign.id', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.Campaign.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.Campaign.name', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.Campaign.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.Campaign.status', index=3, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='serving_status', full_name='google.ads.googleads.v1.resources.Campaign.serving_status', index=4, + name='serving_status', full_name='google.ads.googleads.v4.resources.Campaign.serving_status', index=4, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_serving_optimization_status', full_name='google.ads.googleads.v1.resources.Campaign.ad_serving_optimization_status', index=5, + name='ad_serving_optimization_status', full_name='google.ads.googleads.v4.resources.Campaign.ad_serving_optimization_status', index=5, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='advertising_channel_type', full_name='google.ads.googleads.v1.resources.Campaign.advertising_channel_type', index=6, + name='advertising_channel_type', full_name='google.ads.googleads.v4.resources.Campaign.advertising_channel_type', index=6, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='advertising_channel_sub_type', full_name='google.ads.googleads.v1.resources.Campaign.advertising_channel_sub_type', index=7, + name='advertising_channel_sub_type', full_name='google.ads.googleads.v4.resources.Campaign.advertising_channel_sub_type', index=7, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.resources.Campaign.tracking_url_template', index=8, + name='tracking_url_template', full_name='google.ads.googleads.v4.resources.Campaign.tracking_url_template', index=8, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.resources.Campaign.url_custom_parameters', index=9, + name='url_custom_parameters', full_name='google.ads.googleads.v4.resources.Campaign.url_custom_parameters', index=9, number=12, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='real_time_bidding_setting', full_name='google.ads.googleads.v1.resources.Campaign.real_time_bidding_setting', index=10, + name='real_time_bidding_setting', full_name='google.ads.googleads.v4.resources.Campaign.real_time_bidding_setting', index=10, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='network_settings', full_name='google.ads.googleads.v1.resources.Campaign.network_settings', index=11, + name='network_settings', full_name='google.ads.googleads.v4.resources.Campaign.network_settings', index=11, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_setting', full_name='google.ads.googleads.v1.resources.Campaign.hotel_setting', index=12, + name='hotel_setting', full_name='google.ads.googleads.v4.resources.Campaign.hotel_setting', index=12, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dynamic_search_ads_setting', full_name='google.ads.googleads.v1.resources.Campaign.dynamic_search_ads_setting', index=13, + name='dynamic_search_ads_setting', full_name='google.ads.googleads.v4.resources.Campaign.dynamic_search_ads_setting', index=13, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shopping_setting', full_name='google.ads.googleads.v1.resources.Campaign.shopping_setting', index=14, + name='shopping_setting', full_name='google.ads.googleads.v4.resources.Campaign.shopping_setting', index=14, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='targeting_setting', full_name='google.ads.googleads.v1.resources.Campaign.targeting_setting', index=15, + name='targeting_setting', full_name='google.ads.googleads.v4.resources.Campaign.targeting_setting', index=15, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_type_setting', full_name='google.ads.googleads.v1.resources.Campaign.geo_target_type_setting', index=16, + name='geo_target_type_setting', full_name='google.ads.googleads.v4.resources.Campaign.geo_target_type_setting', index=16, number=47, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_campaign_setting', full_name='google.ads.googleads.v1.resources.Campaign.app_campaign_setting', index=17, + name='local_campaign_setting', full_name='google.ads.googleads.v4.resources.Campaign.local_campaign_setting', index=17, + number=50, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_campaign_setting', full_name='google.ads.googleads.v4.resources.Campaign.app_campaign_setting', index=18, number=51, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='labels', full_name='google.ads.googleads.v1.resources.Campaign.labels', index=18, + name='labels', full_name='google.ads.googleads.v4.resources.Campaign.labels', index=19, number=53, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A(\n&googleads.googleapis.com/CampaignLabel'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='experiment_type', full_name='google.ads.googleads.v1.resources.Campaign.experiment_type', index=19, + name='experiment_type', full_name='google.ads.googleads.v4.resources.Campaign.experiment_type', index=20, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='base_campaign', full_name='google.ads.googleads.v1.resources.Campaign.base_campaign', index=20, + name='base_campaign', full_name='google.ads.googleads.v4.resources.Campaign.base_campaign', index=21, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v1.resources.Campaign.campaign_budget', index=21, + name='campaign_budget', full_name='google.ads.googleads.v4.resources.Campaign.campaign_budget', index=22, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A)\n\'googleads.googleapis.com/CampaignBudget'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy_type', full_name='google.ads.googleads.v1.resources.Campaign.bidding_strategy_type', index=22, + name='bidding_strategy_type', full_name='google.ads.googleads.v4.resources.Campaign.bidding_strategy_type', index=23, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date', full_name='google.ads.googleads.v1.resources.Campaign.start_date', index=23, + name='start_date', full_name='google.ads.googleads.v4.resources.Campaign.start_date', index=24, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date', full_name='google.ads.googleads.v1.resources.Campaign.end_date', index=24, + name='end_date', full_name='google.ads.googleads.v4.resources.Campaign.end_date', index=25, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.resources.Campaign.final_url_suffix', index=25, + name='final_url_suffix', full_name='google.ads.googleads.v4.resources.Campaign.final_url_suffix', index=26, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='frequency_caps', full_name='google.ads.googleads.v1.resources.Campaign.frequency_caps', index=26, + name='frequency_caps', full_name='google.ads.googleads.v4.resources.Campaign.frequency_caps', index=27, number=40, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_brand_safety_suitability', full_name='google.ads.googleads.v1.resources.Campaign.video_brand_safety_suitability', index=27, + name='video_brand_safety_suitability', full_name='google.ads.googleads.v4.resources.Campaign.video_brand_safety_suitability', index=28, number=42, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='vanity_pharma', full_name='google.ads.googleads.v1.resources.Campaign.vanity_pharma', index=28, + name='vanity_pharma', full_name='google.ads.googleads.v4.resources.Campaign.vanity_pharma', index=29, number=44, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='selective_optimization', full_name='google.ads.googleads.v1.resources.Campaign.selective_optimization', index=29, + name='selective_optimization', full_name='google.ads.googleads.v4.resources.Campaign.selective_optimization', index=30, number=45, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_setting', full_name='google.ads.googleads.v1.resources.Campaign.tracking_setting', index=30, - number=46, type=11, cpp_type=10, label=1, + name='optimization_goal_setting', full_name='google.ads.googleads.v4.resources.Campaign.optimization_goal_setting', index=31, + number=54, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='payment_mode', full_name='google.ads.googleads.v1.resources.Campaign.payment_mode', index=31, + name='tracking_setting', full_name='google.ads.googleads.v4.resources.Campaign.tracking_setting', index=32, + number=46, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payment_mode', full_name='google.ads.googleads.v4.resources.Campaign.payment_mode', index=33, number=52, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy', full_name='google.ads.googleads.v1.resources.Campaign.bidding_strategy', index=32, + name='optimization_score', full_name='google.ads.googleads.v4.resources.Campaign.optimization_score', index=34, + number=55, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='bidding_strategy', full_name='google.ads.googleads.v4.resources.Campaign.bidding_strategy', index=35, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A*\n(googleads.googleapis.com/BiddingStrategy'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='commission', full_name='google.ads.googleads.v1.resources.Campaign.commission', index=33, + name='commission', full_name='google.ads.googleads.v4.resources.Campaign.commission', index=36, number=49, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manual_cpc', full_name='google.ads.googleads.v1.resources.Campaign.manual_cpc', index=34, + name='manual_cpc', full_name='google.ads.googleads.v4.resources.Campaign.manual_cpc', index=37, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manual_cpm', full_name='google.ads.googleads.v1.resources.Campaign.manual_cpm', index=35, + name='manual_cpm', full_name='google.ads.googleads.v4.resources.Campaign.manual_cpm', index=38, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manual_cpv', full_name='google.ads.googleads.v1.resources.Campaign.manual_cpv', index=36, + name='manual_cpv', full_name='google.ads.googleads.v4.resources.Campaign.manual_cpv', index=39, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='maximize_conversions', full_name='google.ads.googleads.v1.resources.Campaign.maximize_conversions', index=37, + name='maximize_conversions', full_name='google.ads.googleads.v4.resources.Campaign.maximize_conversions', index=40, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='maximize_conversion_value', full_name='google.ads.googleads.v1.resources.Campaign.maximize_conversion_value', index=38, + name='maximize_conversion_value', full_name='google.ads.googleads.v4.resources.Campaign.maximize_conversion_value', index=41, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpa', full_name='google.ads.googleads.v1.resources.Campaign.target_cpa', index=39, + name='target_cpa', full_name='google.ads.googleads.v4.resources.Campaign.target_cpa', index=42, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_impression_share', full_name='google.ads.googleads.v1.resources.Campaign.target_impression_share', index=40, + name='target_impression_share', full_name='google.ads.googleads.v4.resources.Campaign.target_impression_share', index=43, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_roas', full_name='google.ads.googleads.v1.resources.Campaign.target_roas', index=41, + name='target_roas', full_name='google.ads.googleads.v4.resources.Campaign.target_roas', index=44, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_spend', full_name='google.ads.googleads.v1.resources.Campaign.target_spend', index=42, + name='target_spend', full_name='google.ads.googleads.v4.resources.Campaign.target_spend', index=45, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='percent_cpc', full_name='google.ads.googleads.v1.resources.Campaign.percent_cpc', index=43, + name='percent_cpc', full_name='google.ads.googleads.v4.resources.Campaign.percent_cpc', index=46, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpm', full_name='google.ads.googleads.v1.resources.Campaign.target_cpm', index=44, + name='target_cpm', full_name='google.ads.googleads.v4.resources.Campaign.target_cpm', index=47, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -735,20 +820,20 @@ ], extensions=[ ], - nested_types=[_CAMPAIGN_NETWORKSETTINGS, _CAMPAIGN_HOTELSETTINGINFO, _CAMPAIGN_VANITYPHARMA, _CAMPAIGN_DYNAMICSEARCHADSSETTING, _CAMPAIGN_SHOPPINGSETTING, _CAMPAIGN_TRACKINGSETTING, _CAMPAIGN_SELECTIVEOPTIMIZATION, _CAMPAIGN_APPCAMPAIGNSETTING, _CAMPAIGN_GEOTARGETTYPESETTING, ], + nested_types=[_CAMPAIGN_NETWORKSETTINGS, _CAMPAIGN_HOTELSETTINGINFO, _CAMPAIGN_LOCALCAMPAIGNSETTING, _CAMPAIGN_APPCAMPAIGNSETTING, _CAMPAIGN_DYNAMICSEARCHADSSETTING, _CAMPAIGN_SELECTIVEOPTIMIZATION, _CAMPAIGN_SHOPPINGSETTING, _CAMPAIGN_TRACKINGSETTING, _CAMPAIGN_GEOTARGETTYPESETTING, _CAMPAIGN_OPTIMIZATIONGOALSETTING, _CAMPAIGN_VANITYPHARMA, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AN\n!googleads.googleapis.com/Campaign\022)customers/{customer}/campaigns/{campaign}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='campaign_bidding_strategy', full_name='google.ads.googleads.v1.resources.Campaign.campaign_bidding_strategy', + name='campaign_bidding_strategy', full_name='google.ads.googleads.v4.resources.Campaign.campaign_bidding_strategy', index=0, containing_type=None, fields=[]), ], - serialized_start=1477, - serialized_end=6804, + serialized_start=1667, + serialized_end=8005, ) _CAMPAIGN_NETWORKSETTINGS.fields_by_name['target_google_search'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE @@ -758,14 +843,19 @@ _CAMPAIGN_NETWORKSETTINGS.containing_type = _CAMPAIGN _CAMPAIGN_HOTELSETTINGINFO.fields_by_name['hotel_center_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGN_HOTELSETTINGINFO.containing_type = _CAMPAIGN -_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_display_url_mode'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2._VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE -_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_text'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_vanity__pharma__text__pb2._VANITYPHARMATEXTENUM_VANITYPHARMATEXT -_CAMPAIGN_VANITYPHARMA.containing_type = _CAMPAIGN +_CAMPAIGN_LOCALCAMPAIGNSETTING.fields_by_name['location_source_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__source__type__pb2._LOCATIONSOURCETYPEENUM_LOCATIONSOURCETYPE +_CAMPAIGN_LOCALCAMPAIGNSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['bidding_strategy_goal_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2._APPCAMPAIGNBIDDINGSTRATEGYGOALTYPEENUM_APPCAMPAIGNBIDDINGSTRATEGYGOALTYPE +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__campaign__app__store__pb2._APPCAMPAIGNAPPSTOREENUM_APPCAMPAIGNAPPSTORE +_CAMPAIGN_APPCAMPAIGNSETTING.containing_type = _CAMPAIGN _CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['domain_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['use_supplied_urls_only'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['feeds'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN_DYNAMICSEARCHADSSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_SELECTIVEOPTIMIZATION.fields_by_name['conversion_actions'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGN_SELECTIVEOPTIMIZATION.containing_type = _CAMPAIGN _CAMPAIGN_SHOPPINGSETTING.fields_by_name['merchant_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGN_SHOPPINGSETTING.fields_by_name['sales_country'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN_SHOPPINGSETTING.fields_by_name['campaign_priority'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE @@ -773,59 +863,61 @@ _CAMPAIGN_SHOPPINGSETTING.containing_type = _CAMPAIGN _CAMPAIGN_TRACKINGSETTING.fields_by_name['tracking_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN_TRACKINGSETTING.containing_type = _CAMPAIGN -_CAMPAIGN_SELECTIVEOPTIMIZATION.fields_by_name['conversion_actions'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN_SELECTIVEOPTIMIZATION.containing_type = _CAMPAIGN -_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['bidding_strategy_goal_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__campaign__bidding__strategy__goal__type__pb2._APPCAMPAIGNBIDDINGSTRATEGYGOALTYPEENUM_APPCAMPAIGNBIDDINGSTRATEGYGOALTYPE -_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_store'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__campaign__app__store__pb2._APPCAMPAIGNAPPSTOREENUM_APPCAMPAIGNAPPSTORE -_CAMPAIGN_APPCAMPAIGNSETTING.containing_type = _CAMPAIGN -_CAMPAIGN_GEOTARGETTYPESETTING.fields_by_name['positive_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_positive__geo__target__type__pb2._POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE -_CAMPAIGN_GEOTARGETTYPESETTING.fields_by_name['negative_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_negative__geo__target__type__pb2._NEGATIVEGEOTARGETTYPEENUM_NEGATIVEGEOTARGETTYPE +_CAMPAIGN_GEOTARGETTYPESETTING.fields_by_name['positive_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_positive__geo__target__type__pb2._POSITIVEGEOTARGETTYPEENUM_POSITIVEGEOTARGETTYPE +_CAMPAIGN_GEOTARGETTYPESETTING.fields_by_name['negative_geo_target_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_negative__geo__target__type__pb2._NEGATIVEGEOTARGETTYPEENUM_NEGATIVEGEOTARGETTYPE _CAMPAIGN_GEOTARGETTYPESETTING.containing_type = _CAMPAIGN +_CAMPAIGN_OPTIMIZATIONGOALSETTING.fields_by_name['optimization_goal_types'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_optimization__goal__type__pb2._OPTIMIZATIONGOALTYPEENUM_OPTIMIZATIONGOALTYPE +_CAMPAIGN_OPTIMIZATIONGOALSETTING.containing_type = _CAMPAIGN +_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_display_url_mode'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_vanity__pharma__display__url__mode__pb2._VANITYPHARMADISPLAYURLMODEENUM_VANITYPHARMADISPLAYURLMODE +_CAMPAIGN_VANITYPHARMA.fields_by_name['vanity_pharma_text'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_vanity__pharma__text__pb2._VANITYPHARMATEXTENUM_VANITYPHARMATEXT +_CAMPAIGN_VANITYPHARMA.containing_type = _CAMPAIGN _CAMPAIGN.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _CAMPAIGN.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__status__pb2._CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS -_CAMPAIGN.fields_by_name['serving_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__serving__status__pb2._CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS -_CAMPAIGN.fields_by_name['ad_serving_optimization_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2._ADSERVINGOPTIMIZATIONSTATUSENUM_ADSERVINGOPTIMIZATIONSTATUS -_CAMPAIGN.fields_by_name['advertising_channel_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__type__pb2._ADVERTISINGCHANNELTYPEENUM_ADVERTISINGCHANNELTYPE -_CAMPAIGN.fields_by_name['advertising_channel_sub_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE +_CAMPAIGN.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__status__pb2._CAMPAIGNSTATUSENUM_CAMPAIGNSTATUS +_CAMPAIGN.fields_by_name['serving_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__serving__status__pb2._CAMPAIGNSERVINGSTATUSENUM_CAMPAIGNSERVINGSTATUS +_CAMPAIGN.fields_by_name['ad_serving_optimization_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__serving__optimization__status__pb2._ADSERVINGOPTIMIZATIONSTATUSENUM_ADSERVINGOPTIMIZATIONSTATUS +_CAMPAIGN.fields_by_name['advertising_channel_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__type__pb2._ADVERTISINGCHANNELTYPEENUM_ADVERTISINGCHANNELTYPE +_CAMPAIGN.fields_by_name['advertising_channel_sub_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_advertising__channel__sub__type__pb2._ADVERTISINGCHANNELSUBTYPEENUM_ADVERTISINGCHANNELSUBTYPE _CAMPAIGN.fields_by_name['tracking_url_template'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_CAMPAIGN.fields_by_name['real_time_bidding_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_real__time__bidding__setting__pb2._REALTIMEBIDDINGSETTING +_CAMPAIGN.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_CAMPAIGN.fields_by_name['real_time_bidding_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_real__time__bidding__setting__pb2._REALTIMEBIDDINGSETTING _CAMPAIGN.fields_by_name['network_settings'].message_type = _CAMPAIGN_NETWORKSETTINGS _CAMPAIGN.fields_by_name['hotel_setting'].message_type = _CAMPAIGN_HOTELSETTINGINFO _CAMPAIGN.fields_by_name['dynamic_search_ads_setting'].message_type = _CAMPAIGN_DYNAMICSEARCHADSSETTING _CAMPAIGN.fields_by_name['shopping_setting'].message_type = _CAMPAIGN_SHOPPINGSETTING -_CAMPAIGN.fields_by_name['targeting_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_targeting__setting__pb2._TARGETINGSETTING +_CAMPAIGN.fields_by_name['targeting_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_targeting__setting__pb2._TARGETINGSETTING _CAMPAIGN.fields_by_name['geo_target_type_setting'].message_type = _CAMPAIGN_GEOTARGETTYPESETTING +_CAMPAIGN.fields_by_name['local_campaign_setting'].message_type = _CAMPAIGN_LOCALCAMPAIGNSETTING _CAMPAIGN.fields_by_name['app_campaign_setting'].message_type = _CAMPAIGN_APPCAMPAIGNSETTING _CAMPAIGN.fields_by_name['labels'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['experiment_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_campaign__experiment__type__pb2._CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE +_CAMPAIGN.fields_by_name['experiment_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__experiment__type__pb2._CAMPAIGNEXPERIMENTTYPEENUM_CAMPAIGNEXPERIMENTTYPE _CAMPAIGN.fields_by_name['base_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN.fields_by_name['campaign_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['bidding_strategy_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE +_CAMPAIGN.fields_by_name['bidding_strategy_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_bidding__strategy__type__pb2._BIDDINGSTRATEGYTYPEENUM_BIDDINGSTRATEGYTYPE _CAMPAIGN.fields_by_name['start_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN.fields_by_name['end_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CAMPAIGN.fields_by_name['final_url_suffix'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['frequency_caps'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_frequency__cap__pb2._FREQUENCYCAPENTRY -_CAMPAIGN.fields_by_name['video_brand_safety_suitability'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_brand__safety__suitability__pb2._BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY +_CAMPAIGN.fields_by_name['frequency_caps'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_frequency__cap__pb2._FREQUENCYCAPENTRY +_CAMPAIGN.fields_by_name['video_brand_safety_suitability'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_brand__safety__suitability__pb2._BRANDSAFETYSUITABILITYENUM_BRANDSAFETYSUITABILITY _CAMPAIGN.fields_by_name['vanity_pharma'].message_type = _CAMPAIGN_VANITYPHARMA _CAMPAIGN.fields_by_name['selective_optimization'].message_type = _CAMPAIGN_SELECTIVEOPTIMIZATION +_CAMPAIGN.fields_by_name['optimization_goal_setting'].message_type = _CAMPAIGN_OPTIMIZATIONGOALSETTING _CAMPAIGN.fields_by_name['tracking_setting'].message_type = _CAMPAIGN_TRACKINGSETTING -_CAMPAIGN.fields_by_name['payment_mode'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_payment__mode__pb2._PAYMENTMODEENUM_PAYMENTMODE +_CAMPAIGN.fields_by_name['payment_mode'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_payment__mode__pb2._PAYMENTMODEENUM_PAYMENTMODE +_CAMPAIGN.fields_by_name['optimization_score'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _CAMPAIGN.fields_by_name['bidding_strategy'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CAMPAIGN.fields_by_name['commission'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._COMMISSION -_CAMPAIGN.fields_by_name['manual_cpc'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._MANUALCPC -_CAMPAIGN.fields_by_name['manual_cpm'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._MANUALCPM -_CAMPAIGN.fields_by_name['manual_cpv'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._MANUALCPV -_CAMPAIGN.fields_by_name['maximize_conversions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONS -_CAMPAIGN.fields_by_name['maximize_conversion_value'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONVALUE -_CAMPAIGN.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA -_CAMPAIGN.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE -_CAMPAIGN.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS -_CAMPAIGN.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND -_CAMPAIGN.fields_by_name['percent_cpc'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._PERCENTCPC -_CAMPAIGN.fields_by_name['target_cpm'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_bidding__pb2._TARGETCPM +_CAMPAIGN.fields_by_name['commission'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._COMMISSION +_CAMPAIGN.fields_by_name['manual_cpc'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._MANUALCPC +_CAMPAIGN.fields_by_name['manual_cpm'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._MANUALCPM +_CAMPAIGN.fields_by_name['manual_cpv'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._MANUALCPV +_CAMPAIGN.fields_by_name['maximize_conversions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONS +_CAMPAIGN.fields_by_name['maximize_conversion_value'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._MAXIMIZECONVERSIONVALUE +_CAMPAIGN.fields_by_name['target_cpa'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETCPA +_CAMPAIGN.fields_by_name['target_impression_share'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETIMPRESSIONSHARE +_CAMPAIGN.fields_by_name['target_roas'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETROAS +_CAMPAIGN.fields_by_name['target_spend'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETSPEND +_CAMPAIGN.fields_by_name['percent_cpc'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._PERCENTCPC +_CAMPAIGN.fields_by_name['target_cpm'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_bidding__pb2._TARGETCPM _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'].fields.append( _CAMPAIGN.fields_by_name['bidding_strategy']) _CAMPAIGN.fields_by_name['bidding_strategy'].containing_oneof = _CAMPAIGN.oneofs_by_name['campaign_bidding_strategy'] @@ -872,7 +964,7 @@ NetworkSettings = _reflection.GeneratedProtocolMessageType('NetworkSettings', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGN_NETWORKSETTINGS, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , __doc__ = """The network settings for the campaign. @@ -892,47 +984,65 @@ Whether ads will be served on the Google Partner Network. This is available only to some select Google partner accounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.NetworkSettings) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.NetworkSettings) )) , HotelSettingInfo = _reflection.GeneratedProtocolMessageType('HotelSettingInfo', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGN_HOTELSETTINGINFO, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , __doc__ = """Campaign-level settings for hotel ads. Attributes: hotel_center_id: - The linked Hotel Center account. + Immutable. The linked Hotel Center account. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.HotelSettingInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.HotelSettingInfo) )) , - VanityPharma = _reflection.GeneratedProtocolMessageType('VanityPharma', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_VANITYPHARMA, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + LocalCampaignSetting = _reflection.GeneratedProtocolMessageType('LocalCampaignSetting', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_LOCALCAMPAIGNSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , - __doc__ = """Describes how unbranded pharma ads will be displayed. + __doc__ = """Campaign setting for local campaigns. Attributes: - vanity_pharma_display_url_mode: - The display mode for vanity pharma URLs. - vanity_pharma_text: - The text that will be displayed in display URL of the text ad - when website description is the selected display mode for - vanity pharma URLs. + location_source_type: + The location source type for this local campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.VanityPharma) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.LocalCampaignSetting) + )) + , + + AppCampaignSetting = _reflection.GeneratedProtocolMessageType('AppCampaignSetting', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_APPCAMPAIGNSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' + , + __doc__ = """Campaign-level settings for App Campaigns. + + + Attributes: + bidding_strategy_goal_type: + Represents the goal which the bidding strategy of this app + campaign should optimize towards. + app_id: + Immutable. A string that uniquely identifies a mobile + application. + app_store: + Immutable. The application store that distributes this + specific app. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.AppCampaignSetting) )) , DynamicSearchAdsSetting = _reflection.GeneratedProtocolMessageType('DynamicSearchAdsSetting', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGN_DYNAMICSEARCHADSSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , __doc__ = """The setting for controlling Dynamic Search Ads (DSA). @@ -948,15 +1058,33 @@ Whether the campaign uses advertiser supplied URLs exclusively. feeds: - The list of page feeds associated with the campaign. + Output only. The list of page feeds associated with the + campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.DynamicSearchAdsSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.DynamicSearchAdsSetting) + )) + , + + SelectiveOptimization = _reflection.GeneratedProtocolMessageType('SelectiveOptimization', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_SELECTIVEOPTIMIZATION, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' + , + __doc__ = """Selective optimization setting for this campaign, which includes a set + of conversion actions to optimize this campaign towards. + + + Attributes: + conversion_actions: + The selected set of conversion actions for optimizing this + campaign. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.SelectiveOptimization) )) , ShoppingSetting = _reflection.GeneratedProtocolMessageType('ShoppingSetting', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGN_SHOPPINGSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , __doc__ = """The setting for Shopping campaigns. Defines the universe of products that can be advertised by the campaign, and how this campaign interacts @@ -965,14 +1093,14 @@ Attributes: merchant_id: - ID of the Merchant Center account. This field is required for - create operations. This field is immutable for Shopping - campaigns. + Immutable. ID of the Merchant Center account. This field is + required for create operations. This field is immutable for + Shopping campaigns. sales_country: - Sales country of products to include in the campaign. This - field is required for Shopping campaigns. This field is - immutable. This field is optional for non-Shopping campaigns, - but it must be equal to 'ZZ' if set. + Immutable. Sales country of products to include in the + campaign. This field is required for Shopping campaigns. This + field is immutable. This field is optional for non-Shopping + campaigns, but it must be equal to 'ZZ' if set. campaign_priority: Priority of the campaign. Campaigns with numerically higher priorities take precedence over those with lower priorities. @@ -982,93 +1110,91 @@ enable_local: Whether to include local products. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.ShoppingSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.ShoppingSetting) )) , TrackingSetting = _reflection.GeneratedProtocolMessageType('TrackingSetting', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGN_TRACKINGSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , - __doc__ = """Campaign level settings for tracking information. + __doc__ = """Campaign-level settings for tracking information. Attributes: tracking_url: - The url used for dynamic tracking. + Output only. The url used for dynamic tracking. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.TrackingSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.TrackingSetting) )) , - SelectiveOptimization = _reflection.GeneratedProtocolMessageType('SelectiveOptimization', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_SELECTIVEOPTIMIZATION, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + GeoTargetTypeSetting = _reflection.GeneratedProtocolMessageType('GeoTargetTypeSetting', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_GEOTARGETTYPESETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , - __doc__ = """Selective optimization setting for this campaign, which includes a set - of conversion actions to optimize this campaign towards. + __doc__ = """Represents a collection of settings related to ads geotargeting. Attributes: - conversion_actions: - The selected set of conversion actions for optimizing this + positive_geo_target_type: + The setting used for positive geotargeting in this particular + campaign. + negative_geo_target_type: + The setting used for negative geotargeting in this particular campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.SelectiveOptimization) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.GeoTargetTypeSetting) )) , - AppCampaignSetting = _reflection.GeneratedProtocolMessageType('AppCampaignSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_APPCAMPAIGNSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + OptimizationGoalSetting = _reflection.GeneratedProtocolMessageType('OptimizationGoalSetting', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_OPTIMIZATIONGOALSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , - __doc__ = """Campaign level settings for App Campaigns. + __doc__ = """Optimization goal setting for this campaign, which includes a set of + optimization goal types. Attributes: - bidding_strategy_goal_type: - Represents the goal which the bidding strategy of this app - campaign should optimize towards. - app_id: - A string that uniquely identifies a mobile application. - app_store: - The application store that distributes this specific app. + optimization_goal_types: + The list of optimization goal types. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.AppCampaignSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.OptimizationGoalSetting) )) , - GeoTargetTypeSetting = _reflection.GeneratedProtocolMessageType('GeoTargetTypeSetting', (_message.Message,), dict( - DESCRIPTOR = _CAMPAIGN_GEOTARGETTYPESETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + VanityPharma = _reflection.GeneratedProtocolMessageType('VanityPharma', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGN_VANITYPHARMA, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , - __doc__ = """Represents a collection of settings related to ads geotargeting. + __doc__ = """Describes how unbranded pharma ads will be displayed. Attributes: - positive_geo_target_type: - The setting used for positive geotargeting in this particular - campaign. - negative_geo_target_type: - The setting used for negative geotargeting in this particular - campaign. + vanity_pharma_display_url_mode: + The display mode for vanity pharma URLs. + vanity_pharma_text: + The text that will be displayed in display URL of the text ad + when website description is the selected display mode for + vanity pharma URLs. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign.GeoTargetTypeSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign.VanityPharma) )) , DESCRIPTOR = _CAMPAIGN, - __module__ = 'google.ads.googleads_v1.proto.resources.campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_pb2' , __doc__ = """A campaign. Attributes: resource_name: - The resource name of the campaign. Campaign resource names - have the form: + Immutable. The resource name of the campaign. Campaign + resource names have the form: ``customers/{customer_id}/campaigns/{campaign_id}`` id: - The ID of the campaign. + Output only. The ID of the campaign. name: The name of the campaign. This field is required and should not be empty when creating new campaigns. It must not contain @@ -1078,20 +1204,21 @@ The status of the campaign. When a new campaign is added, the status defaults to ENABLED. serving_status: - The ad serving status of the campaign. + Output only. The ad serving status of the campaign. ad_serving_optimization_status: The ad serving optimization status of the campaign. advertising_channel_type: - The primary serving target for ads within the campaign. The - targeting options can be refined in ``network_settings``. - This field is required and should not be empty when creating - new campaigns. Can be set only when creating campaigns. After - the campaign is created, the field can not be changed. - advertising_channel_sub_type: - Optional refinement to ``advertising_channel_type``. Must be a - valid sub-type of the parent channel type. Can be set only - when creating campaigns. After campaign is created, the field + Immutable. The primary serving target for ads within the + campaign. The targeting options can be refined in + ``network_settings``. This field is required and should not + be empty when creating new campaigns. Can be set only when + creating campaigns. After the campaign is created, the field can not be changed. + advertising_channel_sub_type: + Immutable. Optional refinement to + ``advertising_channel_type``. Must be a valid sub-type of the + parent channel type. Can be set only when creating campaigns. + After campaign is created, the field can not be changed. tracking_url_template: The URL template for constructing a tracking URL. url_custom_parameters: @@ -1104,7 +1231,7 @@ network_settings: The network settings for the campaign. hotel_setting: - The hotel setting for the campaign. + Immutable. The hotel setting for the campaign. dynamic_search_ads_setting: The setting for controlling Dynamic Search Ads (DSA). shopping_setting: @@ -1113,28 +1240,33 @@ Setting for targeting related features. geo_target_type_setting: The setting for ads geotargeting. + local_campaign_setting: + The setting for local campaign. app_campaign_setting: The setting related to App Campaign. labels: - The resource names of labels attached to this campaign. + Output only. The resource names of labels attached to this + campaign. experiment_type: - The type of campaign: normal, draft, or experiment. + Output only. The type of campaign: normal, draft, or + experiment. base_campaign: - The resource name of the base campaign of a draft or - experiment campaign. For base campaigns, this is equal to + Output only. The resource name of the base campaign of a draft + or experiment campaign. For base campaigns, this is equal to ``resource_name``. This field is read-only. campaign_budget: The budget of the campaign. bidding_strategy_type: - The type of bidding strategy. A bidding strategy can be - created by setting either the bidding scheme to create a - standard bidding strategy or the ``bidding_strategy`` field to - create a portfolio bidding strategy. This field is read-only. + Output only. The type of bidding strategy. A bidding strategy + can be created by setting either the bidding scheme to create + a standard bidding strategy or the ``bidding_strategy`` field + to create a portfolio bidding strategy. This field is read- + only. start_date: - The date when campaign started. This field must not be used - in WHERE clauses. + The date when campaign started. This field must not be used in + WHERE clauses. end_date: - The date when campaign ended. This field must not be used in + The date when campaign ended. This field must not be used in WHERE clauses. final_url_suffix: Suffix used to append query parameters to landing pages that @@ -1143,17 +1275,27 @@ A list that limits how often each user will see this campaign's ads. video_brand_safety_suitability: - 3-Tier Brand Safety setting for the campaign. + Output only. 3-Tier Brand Safety setting for the campaign. vanity_pharma: Describes how unbranded pharma ads will be displayed. selective_optimization: Selective optimization setting for this campaign, which includes a set of conversion actions to optimize this campaign towards. + optimization_goal_setting: + Optimization goal setting for this campaign, which includes a + set of optimization goal types. tracking_setting: - Campaign level settings for tracking information. + Output only. Campaign-level settings for tracking information. payment_mode: Payment mode for the campaign. + optimization_score: + Output only. Optimization score of the campaign. Optimization + score is an estimate of how well a campaign is set to perform. + It ranges from 0% (0.0) to 100% (1.0), with 100% indicating + that the campaign is performing at full potential. See "About + optimization score" at https://support.google.com/google- + ads/answer/9061546. This field is read-only. campaign_bidding_strategy: The bidding strategy for the campaign. Must be either portfolio (created via BiddingStrategy service) or standard, @@ -1170,8 +1312,8 @@ Standard Manual CPM bidding strategy. Manual impression-based bidding where user pays per thousand impressions. manual_cpv: - A bidding strategy that pays a configurable amount per video - view. + Output only. A bidding strategy that pays a configurable + amount per video view. maximize_conversions: Standard Maximize Conversions bidding strategy that automatically maximizes number of conversions given a daily @@ -1203,19 +1345,46 @@ A bidding strategy that automatically optimizes cost per thousand impressions. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Campaign) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Campaign) )) _sym_db.RegisterMessage(Campaign) _sym_db.RegisterMessage(Campaign.NetworkSettings) _sym_db.RegisterMessage(Campaign.HotelSettingInfo) -_sym_db.RegisterMessage(Campaign.VanityPharma) +_sym_db.RegisterMessage(Campaign.LocalCampaignSetting) +_sym_db.RegisterMessage(Campaign.AppCampaignSetting) _sym_db.RegisterMessage(Campaign.DynamicSearchAdsSetting) +_sym_db.RegisterMessage(Campaign.SelectiveOptimization) _sym_db.RegisterMessage(Campaign.ShoppingSetting) _sym_db.RegisterMessage(Campaign.TrackingSetting) -_sym_db.RegisterMessage(Campaign.SelectiveOptimization) -_sym_db.RegisterMessage(Campaign.AppCampaignSetting) _sym_db.RegisterMessage(Campaign.GeoTargetTypeSetting) +_sym_db.RegisterMessage(Campaign.OptimizationGoalSetting) +_sym_db.RegisterMessage(Campaign.VanityPharma) DESCRIPTOR._options = None +_CAMPAIGN_HOTELSETTINGINFO.fields_by_name['hotel_center_id']._options = None +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_id']._options = None +_CAMPAIGN_APPCAMPAIGNSETTING.fields_by_name['app_store']._options = None +_CAMPAIGN_DYNAMICSEARCHADSSETTING.fields_by_name['feeds']._options = None +_CAMPAIGN_SELECTIVEOPTIMIZATION.fields_by_name['conversion_actions']._options = None +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['merchant_id']._options = None +_CAMPAIGN_SHOPPINGSETTING.fields_by_name['sales_country']._options = None +_CAMPAIGN_TRACKINGSETTING.fields_by_name['tracking_url']._options = None +_CAMPAIGN.fields_by_name['resource_name']._options = None +_CAMPAIGN.fields_by_name['id']._options = None +_CAMPAIGN.fields_by_name['serving_status']._options = None +_CAMPAIGN.fields_by_name['advertising_channel_type']._options = None +_CAMPAIGN.fields_by_name['advertising_channel_sub_type']._options = None +_CAMPAIGN.fields_by_name['hotel_setting']._options = None +_CAMPAIGN.fields_by_name['labels']._options = None +_CAMPAIGN.fields_by_name['experiment_type']._options = None +_CAMPAIGN.fields_by_name['base_campaign']._options = None +_CAMPAIGN.fields_by_name['campaign_budget']._options = None +_CAMPAIGN.fields_by_name['bidding_strategy_type']._options = None +_CAMPAIGN.fields_by_name['video_brand_safety_suitability']._options = None +_CAMPAIGN.fields_by_name['tracking_setting']._options = None +_CAMPAIGN.fields_by_name['optimization_score']._options = None +_CAMPAIGN.fields_by_name['bidding_strategy']._options = None +_CAMPAIGN.fields_by_name['manual_cpv']._options = None +_CAMPAIGN._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/keyword_plan_keyword_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2.py b/google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2.py new file mode 100644 index 000000000..dff4d6d44 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2.py @@ -0,0 +1,132 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/campaign_shared_set.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import campaign_shared_set_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__shared__set__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/campaign_shared_set.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026CampaignSharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/resources/campaign_shared_set.proto\x12!google.ads.googleads.v4.resources\x1a\x44google/ads/googleads_v4/proto/enums/campaign_shared_set_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf0\x03\n\x11\x43\x61mpaignSharedSet\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/CampaignSharedSet\x12Y\n\x08\x63\x61mpaign\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\\\n\nshared_set\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/SharedSet\x12g\n\x06status\x18\x02 \x01(\x0e\x32R.google.ads.googleads.v4.enums.CampaignSharedSetStatusEnum.CampaignSharedSetStatusB\x03\xe0\x41\x03:n\xea\x41k\n*googleads.googleapis.com/CampaignSharedSet\x12=customers/{customer}/campaignSharedSets/{campaign_shared_set}B\x83\x02\n%com.google.ads.googleads.v4.resourcesB\x16\x43\x61mpaignSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__shared__set__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CAMPAIGNSHAREDSET = _descriptor.Descriptor( + name='CampaignSharedSet', + full_name='google.ads.googleads.v4.resources.CampaignSharedSet', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CampaignSharedSet.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A,\n*googleads.googleapis.com/CampaignSharedSet'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.CampaignSharedSet.campaign', index=1, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='shared_set', full_name='google.ads.googleads.v4.resources.CampaignSharedSet.shared_set', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/SharedSet'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.CampaignSharedSet.status', index=3, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ak\n*googleads.googleapis.com/CampaignSharedSet\022=customers/{customer}/campaignSharedSets/{campaign_shared_set}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=297, + serialized_end=793, +) + +_CAMPAIGNSHAREDSET.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNSHAREDSET.fields_by_name['shared_set'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CAMPAIGNSHAREDSET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_campaign__shared__set__status__pb2._CAMPAIGNSHAREDSETSTATUSENUM_CAMPAIGNSHAREDSETSTATUS +DESCRIPTOR.message_types_by_name['CampaignSharedSet'] = _CAMPAIGNSHAREDSET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CampaignSharedSet = _reflection.GeneratedProtocolMessageType('CampaignSharedSet', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNSHAREDSET, + __module__ = 'google.ads.googleads_v4.proto.resources.campaign_shared_set_pb2' + , + __doc__ = """CampaignSharedSets are used for managing the shared sets associated with + a campaign. + + + Attributes: + resource_name: + Immutable. The resource name of the campaign shared set. + Campaign shared set resource names have the form: ``customers + /{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id + }`` + campaign: + Immutable. The campaign to which the campaign shared set + belongs. + shared_set: + Immutable. The shared set associated with the campaign. This + may be a negative keyword shared set of another customer. This + customer should be a manager of the other customer, otherwise + the campaign shared set will exist but have no serving effect. + Only negative keyword shared sets can be associated with + Shopping campaigns. Only negative placement shared sets can be + associated with Display mobile app campaigns. + status: + Output only. The status of this campaign shared set. Read + only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CampaignSharedSet) + )) +_sym_db.RegisterMessage(CampaignSharedSet) + + +DESCRIPTOR._options = None +_CAMPAIGNSHAREDSET.fields_by_name['resource_name']._options = None +_CAMPAIGNSHAREDSET.fields_by_name['campaign']._options = None +_CAMPAIGNSHAREDSET.fields_by_name['shared_set']._options = None +_CAMPAIGNSHAREDSET.fields_by_name['status']._options = None +_CAMPAIGNSHAREDSET._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/keyword_plan_negative_keyword_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/keyword_plan_negative_keyword_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/campaign_shared_set_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/carrier_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/carrier_constant_pb2.py new file mode 100644 index 000000000..1e2953f35 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/carrier_constant_pb2.py @@ -0,0 +1,122 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/carrier_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/carrier_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024CarrierConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/carrier_constant.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc6\x02\n\x0f\x43\x61rrierConstant\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(googleads.googleapis.com/CarrierConstant\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x37\n\x0c\x63ountry_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:R\xea\x41O\n(googleads.googleapis.com/CarrierConstant\x12#carrierConstants/{carrier_constant}B\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14\x43\x61rrierConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CARRIERCONSTANT = _descriptor.Descriptor( + name='CarrierConstant', + full_name='google.ads.googleads.v4.resources.CarrierConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CarrierConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A*\n(googleads.googleapis.com/CarrierConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.CarrierConstant.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.CarrierConstant.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v4.resources.CarrierConstant.country_code', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AO\n(googleads.googleapis.com/CarrierConstant\022#carrierConstants/{carrier_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=224, + serialized_end=550, +) + +_CARRIERCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CARRIERCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CARRIERCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['CarrierConstant'] = _CARRIERCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CarrierConstant = _reflection.GeneratedProtocolMessageType('CarrierConstant', (_message.Message,), dict( + DESCRIPTOR = _CARRIERCONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.carrier_constant_pb2' + , + __doc__ = """A carrier criterion that can be used in campaign targeting. + + + Attributes: + resource_name: + Output only. The resource name of the carrier criterion. + Carrier criterion resource names have the form: + ``carrierConstants/{criterion_id}`` + id: + Output only. The ID of the carrier criterion. + name: + Output only. The full name of the carrier in English. + country_code: + Output only. The country code of the country where the carrier + is located, e.g., "AR", "FR", etc. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CarrierConstant) + )) +_sym_db.RegisterMessage(CarrierConstant) + + +DESCRIPTOR._options = None +_CARRIERCONSTANT.fields_by_name['resource_name']._options = None +_CARRIERCONSTANT.fields_by_name['id']._options = None +_CARRIERCONSTANT.fields_by_name['name']._options = None +_CARRIERCONSTANT.fields_by_name['country_code']._options = None +_CARRIERCONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/keyword_plan_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/carrier_constant_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/keyword_plan_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/carrier_constant_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/change_status_pb2.py b/google/ads/google_ads/v4/proto/resources/change_status_pb2.py new file mode 100644 index 000000000..73f9d1e2b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/change_status_pb2.py @@ -0,0 +1,236 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/change_status.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import change_status_operation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__operation__pb2 +from google.ads.google_ads.v4.proto.enums import change_status_resource_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__resource__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/change_status.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021ChangeStatusProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/change_status.proto\x12!google.ads.googleads.v4.resources\x1a\x41google/ads/googleads_v4/proto/enums/change_status_operation.proto\x1a\x45google/ads/googleads_v4/proto/enums/change_status_resource_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xac\x0b\n\x0c\x43hangeStatus\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/ChangeStatus\x12@\n\x15last_change_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12p\n\rresource_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ChangeStatusResourceTypeEnum.ChangeStatusResourceTypeB\x03\xe0\x41\x03\x12Y\n\x08\x63\x61mpaign\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/Campaign\x12X\n\x08\x61\x64_group\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12l\n\x0fresource_status\x18\x08 \x01(\x0e\x32N.google.ads.googleads.v4.enums.ChangeStatusOperationEnum.ChangeStatusOperationB\x03\xe0\x41\x03\x12]\n\x0b\x61\x64_group_ad\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd\x12k\n\x12\x61\x64_group_criterion\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\x12l\n\x12\x63\x61mpaign_criterion\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValueB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/CampaignCriterion\x12Q\n\x04\x66\x65\x65\x64\x18\x0c \x01(\x0b\x32\x1c.google.protobuf.StringValueB%\xe0\x41\x03\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\x12Z\n\tfeed_item\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/FeedItem\x12\x61\n\rad_group_feed\x18\x0e \x01(\x0b\x32\x1c.google.protobuf.StringValueB,\xe0\x41\x03\xfa\x41&\n$googleads.googleapis.com/AdGroupFeed\x12\x62\n\rcampaign_feed\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValueB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/CampaignFeed\x12p\n\x15\x61\x64_group_bid_modifier\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValueB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/AdGroupBidModifier:]\xea\x41Z\n%googleads.googleapis.com/ChangeStatus\x12\x31\x63ustomers/{customer}/changeStatus/{change_status}B\xfe\x01\n%com.google.ads.googleads.v4.resourcesB\x11\x43hangeStatusProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__operation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__resource__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CHANGESTATUS = _descriptor.Descriptor( + name='ChangeStatus', + full_name='google.ads.googleads.v4.resources.ChangeStatus', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ChangeStatus.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/ChangeStatus'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='last_change_date_time', full_name='google.ads.googleads.v4.resources.ChangeStatus.last_change_date_time', index=1, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resource_type', full_name='google.ads.googleads.v4.resources.ChangeStatus.resource_type', index=2, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.ChangeStatus.campaign', index=3, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.resources.ChangeStatus.ad_group', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='resource_status', full_name='google.ads.googleads.v4.resources.ChangeStatus.resource_status', index=5, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v4.resources.ChangeStatus.ad_group_ad', index=6, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_criterion', full_name='google.ads.googleads.v4.resources.ChangeStatus.ad_group_criterion', index=7, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A+\n)googleads.googleapis.com/AdGroupCriterion'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign_criterion', full_name='google.ads.googleads.v4.resources.ChangeStatus.campaign_criterion', index=8, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A,\n*googleads.googleapis.com/CampaignCriterion'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='feed', full_name='google.ads.googleads.v4.resources.ChangeStatus.feed', index=9, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='feed_item', full_name='google.ads.googleads.v4.resources.ChangeStatus.feed_item', index=10, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/FeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_feed', full_name='google.ads.googleads.v4.resources.ChangeStatus.ad_group_feed', index=11, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A&\n$googleads.googleapis.com/AdGroupFeed'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign_feed', full_name='google.ads.googleads.v4.resources.ChangeStatus.campaign_feed', index=12, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/CampaignFeed'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_bid_modifier', full_name='google.ads.googleads.v4.resources.ChangeStatus.ad_group_bid_modifier', index=13, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A-\n+googleads.googleapis.com/AdGroupBidModifier'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AZ\n%googleads.googleapis.com/ChangeStatus\0221customers/{customer}/changeStatus/{change_status}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=359, + serialized_end=1811, +) + +_CHANGESTATUS.fields_by_name['last_change_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['resource_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__resource__type__pb2._CHANGESTATUSRESOURCETYPEENUM_CHANGESTATUSRESOURCETYPE +_CHANGESTATUS.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['resource_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_change__status__operation__pb2._CHANGESTATUSOPERATIONENUM_CHANGESTATUSOPERATION +_CHANGESTATUS.fields_by_name['ad_group_ad'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['ad_group_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['campaign_criterion'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['feed_item'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['ad_group_feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['campaign_feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CHANGESTATUS.fields_by_name['ad_group_bid_modifier'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['ChangeStatus'] = _CHANGESTATUS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ChangeStatus = _reflection.GeneratedProtocolMessageType('ChangeStatus', (_message.Message,), dict( + DESCRIPTOR = _CHANGESTATUS, + __module__ = 'google.ads.googleads_v4.proto.resources.change_status_pb2' + , + __doc__ = """Describes the status of returned resource. + + + Attributes: + resource_name: + Output only. The resource name of the change status. Change + status resource names have the form: + ``customers/{customer_id}/changeStatus/{change_status_id}`` + last_change_date_time: + Output only. Time at which the most recent change has occurred + on this resource. + resource_type: + Output only. Represents the type of the changed resource. This + dictates what fields will be set. For example, for AD\_GROUP, + campaign and ad\_group fields will be set. + campaign: + Output only. The Campaign affected by this change. + ad_group: + Output only. The AdGroup affected by this change. + resource_status: + Output only. Represents the status of the changed resource. + ad_group_ad: + Output only. The AdGroupAd affected by this change. + ad_group_criterion: + Output only. The AdGroupCriterion affected by this change. + campaign_criterion: + Output only. The CampaignCriterion affected by this change. + feed: + Output only. The Feed affected by this change. + feed_item: + Output only. The FeedItem affected by this change. + ad_group_feed: + Output only. The AdGroupFeed affected by this change. + campaign_feed: + Output only. The CampaignFeed affected by this change. + ad_group_bid_modifier: + Output only. The AdGroupBidModifier affected by this change. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ChangeStatus) + )) +_sym_db.RegisterMessage(ChangeStatus) + + +DESCRIPTOR._options = None +_CHANGESTATUS.fields_by_name['resource_name']._options = None +_CHANGESTATUS.fields_by_name['last_change_date_time']._options = None +_CHANGESTATUS.fields_by_name['resource_type']._options = None +_CHANGESTATUS.fields_by_name['campaign']._options = None +_CHANGESTATUS.fields_by_name['ad_group']._options = None +_CHANGESTATUS.fields_by_name['resource_status']._options = None +_CHANGESTATUS.fields_by_name['ad_group_ad']._options = None +_CHANGESTATUS.fields_by_name['ad_group_criterion']._options = None +_CHANGESTATUS.fields_by_name['campaign_criterion']._options = None +_CHANGESTATUS.fields_by_name['feed']._options = None +_CHANGESTATUS.fields_by_name['feed_item']._options = None +_CHANGESTATUS.fields_by_name['ad_group_feed']._options = None +_CHANGESTATUS.fields_by_name['campaign_feed']._options = None +_CHANGESTATUS.fields_by_name['ad_group_bid_modifier']._options = None +_CHANGESTATUS._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/keyword_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/change_status_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/keyword_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/change_status_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/click_view_pb2.py b/google/ads/google_ads/v4/proto/resources/click_view_pb2.py new file mode 100644 index 000000000..b4f54d1eb --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/click_view_pb2.py @@ -0,0 +1,153 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/click_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import click_location_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_click__location__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/click_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\016ClickViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/resources/click_view.proto\x12!google.ads.googleads.v4.resources\x1a\x39google/ads/googleads_v4/proto/common/click_location.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8d\x04\n\tClickView\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/ClickView\x12\x30\n\x05gclid\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12L\n\x10\x61rea_of_interest\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v4.common.ClickLocationB\x03\xe0\x41\x03\x12P\n\x14location_of_presence\x18\x04 \x01(\x0b\x32-.google.ads.googleads.v4.common.ClickLocationB\x03\xe0\x41\x03\x12\x35\n\x0bpage_number\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12]\n\x0b\x61\x64_group_ad\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x03\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd:U\xea\x41R\n\"googleads.googleapis.com/ClickView\x12,customers/{customer}/clickViews/{click_view}B\xfb\x01\n%com.google.ads.googleads.v4.resourcesB\x0e\x43lickViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_click__location__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CLICKVIEW = _descriptor.Descriptor( + name='ClickView', + full_name='google.ads.googleads.v4.resources.ClickView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ClickView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A$\n\"googleads.googleapis.com/ClickView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='gclid', full_name='google.ads.googleads.v4.resources.ClickView.gclid', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='area_of_interest', full_name='google.ads.googleads.v4.resources.ClickView.area_of_interest', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='location_of_presence', full_name='google.ads.googleads.v4.resources.ClickView.location_of_presence', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_number', full_name='google.ads.googleads.v4.resources.ClickView.page_number', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_ad', full_name='google.ads.googleads.v4.resources.ClickView.ad_group_ad', index=5, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AR\n\"googleads.googleapis.com/ClickView\022,customers/{customer}/clickViews/{click_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=277, + serialized_end=802, +) + +_CLICKVIEW.fields_by_name['gclid'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CLICKVIEW.fields_by_name['area_of_interest'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION +_CLICKVIEW.fields_by_name['location_of_presence'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_click__location__pb2._CLICKLOCATION +_CLICKVIEW.fields_by_name['page_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CLICKVIEW.fields_by_name['ad_group_ad'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['ClickView'] = _CLICKVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ClickView = _reflection.GeneratedProtocolMessageType('ClickView', (_message.Message,), dict( + DESCRIPTOR = _CLICKVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.click_view_pb2' + , + __doc__ = """A click view with metrics aggregated at each click level, including both + valid and invalid clicks. For non-Search campaigns, metrics.clicks + represents the number of valid and invalid interactions. Queries + including ClickView must have a filter limiting the results to one day + and can be requested for dates back to 90 days before the time of the + request. + + + Attributes: + resource_name: + Output only. The resource name of the click view. Click view + resource names have the form: + ``customers/{customer_id}/clickViews/{date (yyyy-MM- + dd)}~{gclid}`` + gclid: + Output only. The Google Click ID. + area_of_interest: + Output only. The location criteria matching the area of + interest associated with the impression. + location_of_presence: + Output only. The location criteria matching the location of + presence associated with the impression. + page_number: + Output only. Page number in search results where the ad was + shown. + ad_group_ad: + Output only. The associated ad. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ClickView) + )) +_sym_db.RegisterMessage(ClickView) + + +DESCRIPTOR._options = None +_CLICKVIEW.fields_by_name['resource_name']._options = None +_CLICKVIEW.fields_by_name['gclid']._options = None +_CLICKVIEW.fields_by_name['area_of_interest']._options = None +_CLICKVIEW.fields_by_name['location_of_presence']._options = None +_CLICKVIEW.fields_by_name['page_number']._options = None +_CLICKVIEW.fields_by_name['ad_group_ad']._options = None +_CLICKVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/label_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/click_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/label_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/click_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/conversion_action_pb2.py b/google/ads/google_ads/v4/proto/resources/conversion_action_pb2.py new file mode 100644 index 000000000..8961f7a5a --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/conversion_action_pb2.py @@ -0,0 +1,543 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/conversion_action.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_tag__snippet__pb2 +from google.ads.google_ads.v4.proto.enums import attribution_model_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_attribution__model__pb2 +from google.ads.google_ads.v4.proto.enums import conversion_action_category_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__category__pb2 +from google.ads.google_ads.v4.proto.enums import conversion_action_counting_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2 +from google.ads.google_ads.v4.proto.enums import conversion_action_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__status__pb2 +from google.ads.google_ads.v4.proto.enums import conversion_action_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__type__pb2 +from google.ads.google_ads.v4.proto.enums import data_driven_model_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_data__driven__model__status__pb2 +from google.ads.google_ads.v4.proto.enums import mobile_app_vendor_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/conversion_action.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025ConversionActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/conversion_action.proto\x12!google.ads.googleads.v4.resources\x1a\x36google/ads/googleads_v4/proto/common/tag_snippet.proto\x1a;google/ads/googleads_v4/proto/enums/attribution_model.proto\x1a\x44google/ads/googleads_v4/proto/enums/conversion_action_category.proto\x1aIgoogle/ads/googleads_v4/proto/enums/conversion_action_counting_type.proto\x1a\x42google/ads/googleads_v4/proto/enums/conversion_action_status.proto\x1a@google/ads/googleads_v4/proto/enums/conversion_action_type.proto\x1a\x42google/ads/googleads_v4/proto/enums/data_driven_model_status.proto\x1a;google/ads/googleads_v4/proto/enums/mobile_app_vendor.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb8\x12\n\x10\x43onversionAction\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x05\xfa\x41+\n)googleads.googleapis.com/ConversionAction\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12`\n\x06status\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v4.enums.ConversionActionStatusEnum.ConversionActionStatus\x12_\n\x04type\x18\x05 \x01(\x0e\x32L.google.ads.googleads.v4.enums.ConversionActionTypeEnum.ConversionActionTypeB\x03\xe0\x41\x05\x12\x66\n\x08\x63\x61tegory\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ConversionActionCategoryEnum.ConversionActionCategory\x12\x39\n\x0eowner_customer\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x41\n\x1dinclude_in_conversions_metric\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12G\n\"click_through_lookback_window_days\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x46\n!view_through_lookback_window_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12Y\n\x0evalue_settings\x18\x0b \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.ConversionAction.ValueSettings\x12s\n\rcounting_type\x18\x0c \x01(\x0e\x32\\.google.ads.googleads.v4.enums.ConversionActionCountingTypeEnum.ConversionActionCountingType\x12p\n\x1a\x61ttribution_model_settings\x18\r \x01(\x0b\x32L.google.ads.googleads.v4.resources.ConversionAction.AttributionModelSettings\x12\x45\n\x0ctag_snippets\x18\x0e \x03(\x0b\x32*.google.ads.googleads.v4.common.TagSnippetB\x03\xe0\x41\x03\x12@\n\x1bphone_call_duration_seconds\x18\x0f \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12,\n\x06\x61pp_id\x18\x10 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x62\n\x11mobile_app_vendor\x18\x11 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.MobileAppVendorEnum.MobileAppVendorB\x03\xe0\x41\x03\x12\x64\n\x11\x66irebase_settings\x18\x12 \x01(\x0b\x32\x44.google.ads.googleads.v4.resources.ConversionAction.FirebaseSettingsB\x03\xe0\x41\x03\x12\x83\x01\n\"third_party_app_analytics_settings\x18\x13 \x01(\x0b\x32R.google.ads.googleads.v4.resources.ConversionAction.ThirdPartyAppAnalyticsSettingsB\x03\xe0\x41\x03\x1a\xf2\x01\n\x18\x41ttributionModelSettings\x12_\n\x11\x61ttribution_model\x18\x01 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.AttributionModelEnum.AttributionModel\x12u\n\x18\x64\x61ta_driven_model_status\x18\x02 \x01(\x0e\x32N.google.ads.googleads.v4.enums.DataDrivenModelStatusEnum.DataDrivenModelStatusB\x03\xe0\x41\x03\x1a\xbf\x01\n\rValueSettings\x12\x33\n\rdefault_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12;\n\x15\x64\x65\x66\x61ult_currency_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12<\n\x18\x61lways_use_default_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x1aW\n\x1eThirdPartyAppAnalyticsSettings\x12\x35\n\nevent_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x1a\x80\x01\n\x10\x46irebaseSettings\x12\x35\n\nevent_name\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\nproject_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:j\xea\x41g\n)googleads.googleapis.com/ConversionAction\x12:customers/{customer}/conversionActions/{conversion_action}B\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15\x43onversionActionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_tag__snippet__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_attribution__model__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_data__driven__model__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS = _descriptor.Descriptor( + name='AttributionModelSettings', + full_name='google.ads.googleads.v4.resources.ConversionAction.AttributionModelSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='attribution_model', full_name='google.ads.googleads.v4.resources.ConversionAction.AttributionModelSettings.attribution_model', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='data_driven_model_status', full_name='google.ads.googleads.v4.resources.ConversionAction.AttributionModelSettings.data_driven_model_status', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2346, + serialized_end=2588, +) + +_CONVERSIONACTION_VALUESETTINGS = _descriptor.Descriptor( + name='ValueSettings', + full_name='google.ads.googleads.v4.resources.ConversionAction.ValueSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='default_value', full_name='google.ads.googleads.v4.resources.ConversionAction.ValueSettings.default_value', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='default_currency_code', full_name='google.ads.googleads.v4.resources.ConversionAction.ValueSettings.default_currency_code', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='always_use_default_value', full_name='google.ads.googleads.v4.resources.ConversionAction.ValueSettings.always_use_default_value', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2591, + serialized_end=2782, +) + +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS = _descriptor.Descriptor( + name='ThirdPartyAppAnalyticsSettings', + full_name='google.ads.googleads.v4.resources.ConversionAction.ThirdPartyAppAnalyticsSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='event_name', full_name='google.ads.googleads.v4.resources.ConversionAction.ThirdPartyAppAnalyticsSettings.event_name', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2784, + serialized_end=2871, +) + +_CONVERSIONACTION_FIREBASESETTINGS = _descriptor.Descriptor( + name='FirebaseSettings', + full_name='google.ads.googleads.v4.resources.ConversionAction.FirebaseSettings', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='event_name', full_name='google.ads.googleads.v4.resources.ConversionAction.FirebaseSettings.event_name', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='project_id', full_name='google.ads.googleads.v4.resources.ConversionAction.FirebaseSettings.project_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2874, + serialized_end=3002, +) + +_CONVERSIONACTION = _descriptor.Descriptor( + name='ConversionAction', + full_name='google.ads.googleads.v4.resources.ConversionAction', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ConversionAction.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A+\n)googleads.googleapis.com/ConversionAction'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.ConversionAction.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.ConversionAction.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.ConversionAction.status', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.ConversionAction.type', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='category', full_name='google.ads.googleads.v4.resources.ConversionAction.category', index=5, + number=6, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='owner_customer', full_name='google.ads.googleads.v4.resources.ConversionAction.owner_customer', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='include_in_conversions_metric', full_name='google.ads.googleads.v4.resources.ConversionAction.include_in_conversions_metric', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='click_through_lookback_window_days', full_name='google.ads.googleads.v4.resources.ConversionAction.click_through_lookback_window_days', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='view_through_lookback_window_days', full_name='google.ads.googleads.v4.resources.ConversionAction.view_through_lookback_window_days', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='value_settings', full_name='google.ads.googleads.v4.resources.ConversionAction.value_settings', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='counting_type', full_name='google.ads.googleads.v4.resources.ConversionAction.counting_type', index=11, + number=12, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='attribution_model_settings', full_name='google.ads.googleads.v4.resources.ConversionAction.attribution_model_settings', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tag_snippets', full_name='google.ads.googleads.v4.resources.ConversionAction.tag_snippets', index=13, + number=14, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='phone_call_duration_seconds', full_name='google.ads.googleads.v4.resources.ConversionAction.phone_call_duration_seconds', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='app_id', full_name='google.ads.googleads.v4.resources.ConversionAction.app_id', index=15, + number=16, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mobile_app_vendor', full_name='google.ads.googleads.v4.resources.ConversionAction.mobile_app_vendor', index=16, + number=17, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='firebase_settings', full_name='google.ads.googleads.v4.resources.ConversionAction.firebase_settings', index=17, + number=18, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='third_party_app_analytics_settings', full_name='google.ads.googleads.v4.resources.ConversionAction.third_party_app_analytics_settings', index=18, + number=19, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, _CONVERSIONACTION_VALUESETTINGS, _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS, _CONVERSIONACTION_FIREBASESETTINGS, ], + enum_types=[ + ], + serialized_options=_b('\352Ag\n)googleads.googleapis.com/ConversionAction\022:customers/{customer}/conversionActions/{conversion_action}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=750, + serialized_end=3110, +) + +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['attribution_model'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_attribution__model__pb2._ATTRIBUTIONMODELENUM_ATTRIBUTIONMODEL +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['data_driven_model_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_data__driven__model__status__pb2._DATADRIVENMODELSTATUSENUM_DATADRIVENMODELSTATUS +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['default_currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION_VALUESETTINGS.fields_by_name['always_use_default_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_CONVERSIONACTION_VALUESETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.fields_by_name['event_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['event_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['project_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION_FIREBASESETTINGS.containing_type = _CONVERSIONACTION +_CONVERSIONACTION.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CONVERSIONACTION.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__status__pb2._CONVERSIONACTIONSTATUSENUM_CONVERSIONACTIONSTATUS +_CONVERSIONACTION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__type__pb2._CONVERSIONACTIONTYPEENUM_CONVERSIONACTIONTYPE +_CONVERSIONACTION.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__category__pb2._CONVERSIONACTIONCATEGORYENUM_CONVERSIONACTIONCATEGORY +_CONVERSIONACTION.fields_by_name['owner_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION.fields_by_name['include_in_conversions_metric'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_CONVERSIONACTION.fields_by_name['click_through_lookback_window_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CONVERSIONACTION.fields_by_name['view_through_lookback_window_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CONVERSIONACTION.fields_by_name['value_settings'].message_type = _CONVERSIONACTION_VALUESETTINGS +_CONVERSIONACTION.fields_by_name['counting_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__action__counting__type__pb2._CONVERSIONACTIONCOUNTINGTYPEENUM_CONVERSIONACTIONCOUNTINGTYPE +_CONVERSIONACTION.fields_by_name['attribution_model_settings'].message_type = _CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS +_CONVERSIONACTION.fields_by_name['tag_snippets'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_tag__snippet__pb2._TAGSNIPPET +_CONVERSIONACTION.fields_by_name['phone_call_duration_seconds'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CONVERSIONACTION.fields_by_name['app_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CONVERSIONACTION.fields_by_name['mobile_app_vendor'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__app__vendor__pb2._MOBILEAPPVENDORENUM_MOBILEAPPVENDOR +_CONVERSIONACTION.fields_by_name['firebase_settings'].message_type = _CONVERSIONACTION_FIREBASESETTINGS +_CONVERSIONACTION.fields_by_name['third_party_app_analytics_settings'].message_type = _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS +DESCRIPTOR.message_types_by_name['ConversionAction'] = _CONVERSIONACTION +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ConversionAction = _reflection.GeneratedProtocolMessageType('ConversionAction', (_message.Message,), dict( + + AttributionModelSettings = _reflection.GeneratedProtocolMessageType('AttributionModelSettings', (_message.Message,), dict( + DESCRIPTOR = _CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS, + __module__ = 'google.ads.googleads_v4.proto.resources.conversion_action_pb2' + , + __doc__ = """Settings related to this conversion action's attribution model. + + + Attributes: + attribution_model: + The attribution model type of this conversion action. + data_driven_model_status: + Output only. The status of the data-driven attribution model + for the conversion action. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionAction.AttributionModelSettings) + )) + , + + ValueSettings = _reflection.GeneratedProtocolMessageType('ValueSettings', (_message.Message,), dict( + DESCRIPTOR = _CONVERSIONACTION_VALUESETTINGS, + __module__ = 'google.ads.googleads_v4.proto.resources.conversion_action_pb2' + , + __doc__ = """Settings related to the value for conversion events associated with this + conversion action. + + + Attributes: + default_value: + The value to use when conversion events for this conversion + action are sent with an invalid, disallowed or missing value, + or when this conversion action is configured to always use the + default value. + default_currency_code: + The currency code to use when conversion events for this + conversion action are sent with an invalid or missing currency + code, or when this conversion action is configured to always + use the default value. + always_use_default_value: + Controls whether the default value and default currency code + are used in place of the value and currency code specified in + conversion events for this conversion action. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionAction.ValueSettings) + )) + , + + ThirdPartyAppAnalyticsSettings = _reflection.GeneratedProtocolMessageType('ThirdPartyAppAnalyticsSettings', (_message.Message,), dict( + DESCRIPTOR = _CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS, + __module__ = 'google.ads.googleads_v4.proto.resources.conversion_action_pb2' + , + __doc__ = """Settings related to a third party app analytics conversion action. + + + Attributes: + event_name: + Output only. The event name of a third-party app analytics + conversion. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionAction.ThirdPartyAppAnalyticsSettings) + )) + , + + FirebaseSettings = _reflection.GeneratedProtocolMessageType('FirebaseSettings', (_message.Message,), dict( + DESCRIPTOR = _CONVERSIONACTION_FIREBASESETTINGS, + __module__ = 'google.ads.googleads_v4.proto.resources.conversion_action_pb2' + , + __doc__ = """Settings related to a Firebase conversion action. + + + Attributes: + event_name: + Output only. The event name of a Firebase conversion. + project_id: + Output only. The Firebase project ID of the conversion. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionAction.FirebaseSettings) + )) + , + DESCRIPTOR = _CONVERSIONACTION, + __module__ = 'google.ads.googleads_v4.proto.resources.conversion_action_pb2' + , + __doc__ = """A conversion action. + + + Attributes: + resource_name: + Immutable. The resource name of the conversion action. + Conversion action resource names have the form: ``customers/{ + customer_id}/conversionActions/{conversion_action_id}`` + id: + Output only. The ID of the conversion action. + name: + The name of the conversion action. This field is required and + should not be empty when creating new conversion actions. + status: + The status of this conversion action for conversion event + accrual. + type: + Immutable. The type of this conversion action. + category: + The category of conversions reported for this conversion + action. + owner_customer: + Output only. The resource name of the conversion action owner + customer, or null if this is a system-defined conversion + action. + include_in_conversions_metric: + Whether this conversion action should be included in the + "conversions" metric. + click_through_lookback_window_days: + The maximum number of days that may elapse between an + interaction (e.g., a click) and a conversion event. + view_through_lookback_window_days: + The maximum number of days which may elapse between an + impression and a conversion without an interaction. + value_settings: + Settings related to the value for conversion events associated + with this conversion action. + counting_type: + How to count conversion events for the conversion action. + attribution_model_settings: + Settings related to this conversion action's attribution + model. + tag_snippets: + Output only. The snippets used for tracking conversions. + phone_call_duration_seconds: + The phone call duration in seconds after which a conversion + should be reported for this conversion action. The value must + be between 0 and 10000, inclusive. + app_id: + App ID for an app conversion action. + mobile_app_vendor: + Output only. Mobile app vendor for an app conversion action. + firebase_settings: + Output only. Firebase settings for Firebase conversion types. + third_party_app_analytics_settings: + Output only. Third Party App Analytics settings for third + party conversion types. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionAction) + )) +_sym_db.RegisterMessage(ConversionAction) +_sym_db.RegisterMessage(ConversionAction.AttributionModelSettings) +_sym_db.RegisterMessage(ConversionAction.ValueSettings) +_sym_db.RegisterMessage(ConversionAction.ThirdPartyAppAnalyticsSettings) +_sym_db.RegisterMessage(ConversionAction.FirebaseSettings) + + +DESCRIPTOR._options = None +_CONVERSIONACTION_ATTRIBUTIONMODELSETTINGS.fields_by_name['data_driven_model_status']._options = None +_CONVERSIONACTION_THIRDPARTYAPPANALYTICSSETTINGS.fields_by_name['event_name']._options = None +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['event_name']._options = None +_CONVERSIONACTION_FIREBASESETTINGS.fields_by_name['project_id']._options = None +_CONVERSIONACTION.fields_by_name['resource_name']._options = None +_CONVERSIONACTION.fields_by_name['id']._options = None +_CONVERSIONACTION.fields_by_name['type']._options = None +_CONVERSIONACTION.fields_by_name['owner_customer']._options = None +_CONVERSIONACTION.fields_by_name['tag_snippets']._options = None +_CONVERSIONACTION.fields_by_name['mobile_app_vendor']._options = None +_CONVERSIONACTION.fields_by_name['firebase_settings']._options = None +_CONVERSIONACTION.fields_by_name['third_party_app_analytics_settings']._options = None +_CONVERSIONACTION._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/landing_page_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/conversion_action_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/landing_page_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/conversion_action_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/currency_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/currency_constant_pb2.py new file mode 100644 index 000000000..f36c33860 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/currency_constant_pb2.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/currency_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/currency_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025CurrencyConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/currency_constant.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x88\x03\n\x10\x43urrencyConstant\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/CurrencyConstant\x12/\n\x04\x63ode\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x31\n\x06symbol\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x14\x62illable_unit_micros\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:U\xea\x41R\n)googleads.googleapis.com/CurrencyConstant\x12%currencyConstants/{currency_constant}B\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15\x43urrencyConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CURRENCYCONSTANT = _descriptor.Descriptor( + name='CurrencyConstant', + full_name='google.ads.googleads.v4.resources.CurrencyConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CurrencyConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A+\n)googleads.googleapis.com/CurrencyConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='code', full_name='google.ads.googleads.v4.resources.CurrencyConstant.code', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.CurrencyConstant.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='symbol', full_name='google.ads.googleads.v4.resources.CurrencyConstant.symbol', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='billable_unit_micros', full_name='google.ads.googleads.v4.resources.CurrencyConstant.billable_unit_micros', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AR\n)googleads.googleapis.com/CurrencyConstant\022%currencyConstants/{currency_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=225, + serialized_end=617, +) + +_CURRENCYCONSTANT.fields_by_name['code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CURRENCYCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CURRENCYCONSTANT.fields_by_name['symbol'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CURRENCYCONSTANT.fields_by_name['billable_unit_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['CurrencyConstant'] = _CURRENCYCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CurrencyConstant = _reflection.GeneratedProtocolMessageType('CurrencyConstant', (_message.Message,), dict( + DESCRIPTOR = _CURRENCYCONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.currency_constant_pb2' + , + __doc__ = """A currency constant. + + + Attributes: + resource_name: + Output only. The resource name of the currency constant. + Currency constant resource names have the form: + ``currencyConstants/{currency_code}`` + code: + Output only. ISO 4217 three-letter currency code, e.g. "USD" + name: + Output only. Full English name of the currency. + symbol: + Output only. Standard symbol for describing this currency, + e.g. '$' for US Dollars. + billable_unit_micros: + Output only. The billable unit for this currency. Billed + amounts should be multiples of this value. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CurrencyConstant) + )) +_sym_db.RegisterMessage(CurrencyConstant) + + +DESCRIPTOR._options = None +_CURRENCYCONSTANT.fields_by_name['resource_name']._options = None +_CURRENCYCONSTANT.fields_by_name['code']._options = None +_CURRENCYCONSTANT.fields_by_name['name']._options = None +_CURRENCYCONSTANT.fields_by_name['symbol']._options = None +_CURRENCYCONSTANT.fields_by_name['billable_unit_micros']._options = None +_CURRENCYCONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/language_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/currency_constant_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/language_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/currency_constant_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/custom_interest_pb2.py b/google/ads/google_ads/v4/proto/resources/custom_interest_pb2.py similarity index 59% rename from google/ads/google_ads/v1/proto/resources/custom_interest_pb2.py rename to google/ads/google_ads/v4/proto/resources/custom_interest_pb2.py index feef5c2d3..6d301df74 100644 --- a/google/ads/google_ads/v1/proto/resources/custom_interest_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/custom_interest_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/custom_interest.proto +# source: google/ads/googleads_v4/proto/resources/custom_interest.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,76 +13,78 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import custom_interest_member_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__member__type__pb2 -from google.ads.google_ads.v1.proto.enums import custom_interest_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__status__pb2 -from google.ads.google_ads.v1.proto.enums import custom_interest_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__type__pb2 +from google.ads.google_ads.v4.proto.enums import custom_interest_member_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__member__type__pb2 +from google.ads.google_ads.v4.proto.enums import custom_interest_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__status__pb2 +from google.ads.google_ads.v4.proto.enums import custom_interest_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/custom_interest.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/custom_interest.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023CustomInterestProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/resources/custom_interest.proto\x12!google.ads.googleads.v1.resources\x1a\x45google/ads/googleads_v1/proto/enums/custom_interest_member_type.proto\x1a@google/ads/googleads_v1/proto/enums/custom_interest_status.proto\x1a>google/ads/googleads_v1/proto/enums/custom_interest_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xaf\x03\n\x0e\x43ustomInterest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\\\n\x06status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v1.enums.CustomInterestStatusEnum.CustomInterestStatus\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12V\n\x04type\x18\x05 \x01(\x0e\x32H.google.ads.googleads.v1.enums.CustomInterestTypeEnum.CustomInterestType\x12\x31\n\x0b\x64\x65scription\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\x07members\x18\x07 \x03(\x0b\x32\x37.google.ads.googleads.v1.resources.CustomInterestMember\"\xb2\x01\n\x14\x43ustomInterestMember\x12i\n\x0bmember_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v1.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType\x12/\n\tparameter\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x80\x02\n%com.google.ads.googleads.v1.resourcesB\x13\x43ustomInterestProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023CustomInterestProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/custom_interest.proto\x12!google.ads.googleads.v4.resources\x1a\x45google/ads/googleads_v4/proto/enums/custom_interest_member_type.proto\x1a@google/ads/googleads_v4/proto/enums/custom_interest_status.proto\x1a>google/ads/googleads_v4/proto/enums/custom_interest_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcb\x04\n\x0e\x43ustomInterest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/CustomInterest\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\\\n\x06status\x18\x03 \x01(\x0e\x32L.google.ads.googleads.v4.enums.CustomInterestStatusEnum.CustomInterestStatus\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12V\n\x04type\x18\x05 \x01(\x0e\x32H.google.ads.googleads.v4.enums.CustomInterestTypeEnum.CustomInterestType\x12\x31\n\x0b\x64\x65scription\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12H\n\x07members\x18\x07 \x03(\x0b\x32\x37.google.ads.googleads.v4.resources.CustomInterestMember:d\xea\x41\x61\n\'googleads.googleapis.com/CustomInterest\x12\x36\x63ustomers/{customer}/customInterests/{custom_interest}\"\xb2\x01\n\x14\x43ustomInterestMember\x12i\n\x0bmember_type\x18\x01 \x01(\x0e\x32T.google.ads.googleads.v4.enums.CustomInterestMemberTypeEnum.CustomInterestMemberType\x12/\n\tparameter\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x43ustomInterestProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__member__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__member__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CUSTOMINTEREST = _descriptor.Descriptor( name='CustomInterest', - full_name='google.ads.googleads.v1.resources.CustomInterest', + full_name='google.ads.googleads.v4.resources.CustomInterest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CustomInterest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CustomInterest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/CustomInterest'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.CustomInterest.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.CustomInterest.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.CustomInterest.status', index=2, + name='status', full_name='google.ads.googleads.v4.resources.CustomInterest.status', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.CustomInterest.name', index=3, + name='name', full_name='google.ads.googleads.v4.resources.CustomInterest.name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.CustomInterest.type', index=4, + name='type', full_name='google.ads.googleads.v4.resources.CustomInterest.type', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.resources.CustomInterest.description', index=5, + name='description', full_name='google.ads.googleads.v4.resources.CustomInterest.description', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='members', full_name='google.ads.googleads.v1.resources.CustomInterest.members', index=6, + name='members', full_name='google.ads.googleads.v4.resources.CustomInterest.members', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -94,33 +96,33 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Aa\n\'googleads.googleapis.com/CustomInterest\0226customers/{customer}/customInterests/{custom_interest}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=364, - serialized_end=795, + serialized_start=424, + serialized_end=1011, ) _CUSTOMINTERESTMEMBER = _descriptor.Descriptor( name='CustomInterestMember', - full_name='google.ads.googleads.v1.resources.CustomInterestMember', + full_name='google.ads.googleads.v4.resources.CustomInterestMember', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='member_type', full_name='google.ads.googleads.v1.resources.CustomInterestMember.member_type', index=0, + name='member_type', full_name='google.ads.googleads.v4.resources.CustomInterestMember.member_type', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parameter', full_name='google.ads.googleads.v1.resources.CustomInterestMember.parameter', index=1, + name='parameter', full_name='google.ads.googleads.v4.resources.CustomInterestMember.parameter', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -138,17 +140,17 @@ extension_ranges=[], oneofs=[ ], - serialized_start=798, - serialized_end=976, + serialized_start=1014, + serialized_end=1192, ) _CUSTOMINTEREST.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CUSTOMINTEREST.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__status__pb2._CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS +_CUSTOMINTEREST.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__status__pb2._CUSTOMINTERESTSTATUSENUM_CUSTOMINTERESTSTATUS _CUSTOMINTEREST.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CUSTOMINTEREST.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__type__pb2._CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE +_CUSTOMINTEREST.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__type__pb2._CUSTOMINTERESTTYPEENUM_CUSTOMINTERESTTYPE _CUSTOMINTEREST.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CUSTOMINTEREST.fields_by_name['members'].message_type = _CUSTOMINTERESTMEMBER -_CUSTOMINTERESTMEMBER.fields_by_name['member_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__interest__member__type__pb2._CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE +_CUSTOMINTERESTMEMBER.fields_by_name['member_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__interest__member__type__pb2._CUSTOMINTERESTMEMBERTYPEENUM_CUSTOMINTERESTMEMBERTYPE _CUSTOMINTERESTMEMBER.fields_by_name['parameter'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE DESCRIPTOR.message_types_by_name['CustomInterest'] = _CUSTOMINTEREST DESCRIPTOR.message_types_by_name['CustomInterestMember'] = _CUSTOMINTERESTMEMBER @@ -156,18 +158,18 @@ CustomInterest = _reflection.GeneratedProtocolMessageType('CustomInterest', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTEREST, - __module__ = 'google.ads.googleads_v1.proto.resources.custom_interest_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.custom_interest_pb2' , __doc__ = """A custom interest. This is a list of users by interest. Attributes: resource_name: - The resource name of the custom interest. Custom interest - resource names have the form: ``customers/{customer_id}/custo - mInterests/{custom_interest_id}`` + Immutable. The resource name of the custom interest. Custom + interest resource names have the form: ``customers/{customer_ + id}/customInterests/{custom_interest_id}`` id: - Id of the custom interest. + Output only. Id of the custom interest. status: Status of this custom interest. Indicates whether the custom interest is enabled or removed. @@ -187,13 +189,13 @@ creation. If members are presented in UPDATE operation, existing members will be overridden. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomInterest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomInterest) )) _sym_db.RegisterMessage(CustomInterest) CustomInterestMember = _reflection.GeneratedProtocolMessageType('CustomInterestMember', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTERESTMEMBER, - __module__ = 'google.ads.googleads_v1.proto.resources.custom_interest_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.custom_interest_pb2' , __doc__ = """A member of custom interest audience. A member can be a keyword or url. It is immutable, that is, it can only be created or removed but not @@ -207,10 +209,13 @@ Keyword text when member\_type is KEYWORD or URL string when member\_type is URL. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomInterestMember) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomInterestMember) )) _sym_db.RegisterMessage(CustomInterestMember) DESCRIPTOR._options = None +_CUSTOMINTEREST.fields_by_name['resource_name']._options = None +_CUSTOMINTEREST.fields_by_name['id']._options = None +_CUSTOMINTEREST._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/location_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/custom_interest_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/location_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/custom_interest_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/customer_client_link_pb2.py b/google/ads/google_ads/v4/proto/resources/customer_client_link_pb2.py similarity index 50% rename from google/ads/google_ads/v1/proto/resources/customer_client_link_pb2.py rename to google/ads/google_ads/v4/proto/resources/customer_client_link_pb2.py index 110449d16..d1ef46096 100644 --- a/google/ads/google_ads/v1/proto/resources/customer_client_link_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/customer_client_link_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/customer_client_link.proto +# source: google/ads/googleads_v4/proto/resources/customer_client_link.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,60 +13,62 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import manager_link_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_manager__link__status__pb2 +from google.ads.google_ads.v4.proto.enums import manager_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_manager__link__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/customer_client_link.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/customer_client_link.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\027CustomerClientLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/resources/customer_client_link.proto\x12!google.ads.googleads.v1.resources\x1a=google/ads/googleads_v1/proto/enums/manager_link_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9c\x02\n\x12\x43ustomerClientLink\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x35\n\x0f\x63lient_customer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x34\n\x0fmanager_link_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12V\n\x06status\x18\x05 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.ManagerLinkStatusEnum.ManagerLinkStatus\x12*\n\x06hidden\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x84\x02\n%com.google.ads.googleads.v1.resourcesB\x17\x43ustomerClientLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027CustomerClientLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/resources/customer_client_link.proto\x12!google.ads.googleads.v4.resources\x1a=google/ads/googleads_v4/proto/enums/manager_link_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xce\x03\n\x12\x43ustomerClientLink\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x05\xfa\x41-\n+googleads.googleapis.com/CustomerClientLink\x12:\n\x0f\x63lient_customer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x39\n\x0fmanager_link_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12V\n\x06status\x18\x05 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.ManagerLinkStatusEnum.ManagerLinkStatus\x12*\n\x06hidden\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue:q\xea\x41n\n+googleads.googleapis.com/CustomerClientLink\x12?customers/{customer}/customerClientLinks/{customer_client_link}B\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17\x43ustomerClientLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_manager__link__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_manager__link__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CUSTOMERCLIENTLINK = _descriptor.Descriptor( name='CustomerClientLink', - full_name='google.ads.googleads.v1.resources.CustomerClientLink', + full_name='google.ads.googleads.v4.resources.CustomerClientLink', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CustomerClientLink.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CustomerClientLink.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A-\n+googleads.googleapis.com/CustomerClientLink'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='client_customer', full_name='google.ads.googleads.v1.resources.CustomerClientLink.client_customer', index=1, + name='client_customer', full_name='google.ads.googleads.v4.resources.CustomerClientLink.client_customer', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manager_link_id', full_name='google.ads.googleads.v1.resources.CustomerClientLink.manager_link_id', index=2, + name='manager_link_id', full_name='google.ads.googleads.v4.resources.CustomerClientLink.manager_link_id', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.CustomerClientLink.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.CustomerClientLink.status', index=3, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hidden', full_name='google.ads.googleads.v1.resources.CustomerClientLink.hidden', index=4, + name='hidden', full_name='google.ads.googleads.v4.resources.CustomerClientLink.hidden', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -78,49 +80,54 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352An\n+googleads.googleapis.com/CustomerClientLink\022?customers/{customer}/customerClientLinks/{customer_client_link}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=231, - serialized_end=515, + serialized_start=291, + serialized_end=753, ) _CUSTOMERCLIENTLINK.fields_by_name['client_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CUSTOMERCLIENTLINK.fields_by_name['manager_link_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CUSTOMERCLIENTLINK.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_manager__link__status__pb2._MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS +_CUSTOMERCLIENTLINK.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_manager__link__status__pb2._MANAGERLINKSTATUSENUM_MANAGERLINKSTATUS _CUSTOMERCLIENTLINK.fields_by_name['hidden'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE DESCRIPTOR.message_types_by_name['CustomerClientLink'] = _CUSTOMERCLIENTLINK _sym_db.RegisterFileDescriptor(DESCRIPTOR) CustomerClientLink = _reflection.GeneratedProtocolMessageType('CustomerClientLink', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERCLIENTLINK, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_client_link_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_client_link_pb2' , __doc__ = """Represents customer client link relationship. Attributes: resource_name: - Name of the resource. CustomerClientLink resource names have - the form: ``customers/{customer_id}/customerClientLinks/{clie - nt_customer_id}~{manager_link_id}`` + Immutable. Name of the resource. CustomerClientLink resource + names have the form: ``customers/{customer_id}/customerClientL + inks/{client_customer_id}~{manager_link_id}`` client_customer: - The client customer linked to this customer. + Immutable. The client customer linked to this customer. manager_link_id: - This is uniquely identifies a customer client link. Read only. + Output only. This is uniquely identifies a customer client + link. Read only. status: This is the status of the link between client and manager. hidden: The visibility of the link. Users can choose whether or not to see hidden links in the AdWords UI. Default value is false """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomerClientLink) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomerClientLink) )) _sym_db.RegisterMessage(CustomerClientLink) DESCRIPTOR._options = None +_CUSTOMERCLIENTLINK.fields_by_name['resource_name']._options = None +_CUSTOMERCLIENTLINK.fields_by_name['client_customer']._options = None +_CUSTOMERCLIENTLINK.fields_by_name['manager_link_id']._options = None +_CUSTOMERCLIENTLINK._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/managed_placement_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/customer_client_link_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/managed_placement_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/customer_client_link_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/customer_client_pb2.py b/google/ads/google_ads/v4/proto/resources/customer_client_pb2.py new file mode 100644 index 000000000..86dc2cf09 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/customer_client_pb2.py @@ -0,0 +1,197 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/customer_client.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/customer_client.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023CustomerClientProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/customer_client.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa0\x05\n\x0e\x43ustomerClient\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/CustomerClient\x12:\n\x0f\x63lient_customer\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12/\n\x06hidden\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12/\n\x05level\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x34\n\ttime_zone\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\x0ctest_account\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x30\n\x07manager\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12;\n\x10\x64\x65scriptive_name\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x38\n\rcurrency_code\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12,\n\x02id\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:d\xea\x41\x61\n\'googleads.googleapis.com/CustomerClient\x12\x36\x63ustomers/{customer}/customerClients/{customer_client}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x43ustomerClientProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CUSTOMERCLIENT = _descriptor.Descriptor( + name='CustomerClient', + full_name='google.ads.googleads.v4.resources.CustomerClient', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CustomerClient.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/CustomerClient'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='client_customer', full_name='google.ads.googleads.v4.resources.CustomerClient.client_customer', index=1, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='hidden', full_name='google.ads.googleads.v4.resources.CustomerClient.hidden', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v4.resources.CustomerClient.level', index=3, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='time_zone', full_name='google.ads.googleads.v4.resources.CustomerClient.time_zone', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='test_account', full_name='google.ads.googleads.v4.resources.CustomerClient.test_account', index=5, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='manager', full_name='google.ads.googleads.v4.resources.CustomerClient.manager', index=6, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='descriptive_name', full_name='google.ads.googleads.v4.resources.CustomerClient.descriptive_name', index=7, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v4.resources.CustomerClient.currency_code', index=8, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.CustomerClient.id', index=9, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Aa\n\'googleads.googleapis.com/CustomerClient\0226customers/{customer}/customerClients/{customer_client}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=223, + serialized_end=895, +) + +_CUSTOMERCLIENT.fields_by_name['client_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CUSTOMERCLIENT.fields_by_name['hidden'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_CUSTOMERCLIENT.fields_by_name['level'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_CUSTOMERCLIENT.fields_by_name['time_zone'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CUSTOMERCLIENT.fields_by_name['test_account'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_CUSTOMERCLIENT.fields_by_name['manager'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_CUSTOMERCLIENT.fields_by_name['descriptive_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CUSTOMERCLIENT.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CUSTOMERCLIENT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['CustomerClient'] = _CUSTOMERCLIENT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerClient = _reflection.GeneratedProtocolMessageType('CustomerClient', (_message.Message,), dict( + DESCRIPTOR = _CUSTOMERCLIENT, + __module__ = 'google.ads.googleads_v4.proto.resources.customer_client_pb2' + , + __doc__ = """A link between the given customer and a client customer. CustomerClients + only exist for manager customers. All direct and indirect client + customers are included, as well as the manager itself. + + + Attributes: + resource_name: + Output only. The resource name of the customer client. + CustomerClient resource names have the form: ``customers/{cust + omer_id}/customerClients/{client_customer_id}`` + client_customer: + Output only. The resource name of the client-customer which is + linked to the given customer. Read only. + hidden: + Output only. Specifies whether this is a `hidden account + `__. + Read only. + level: + Output only. Distance between given customer and client. For + self link, the level value will be 0. Read only. + time_zone: + Output only. Common Locale Data Repository (CLDR) string + representation of the time zone of the client, e.g. + America/Los\_Angeles. Read only. + test_account: + Output only. Identifies if the client is a test account. Read + only. + manager: + Output only. Identifies if the client is a manager. Read only. + descriptive_name: + Output only. Descriptive name for the client. Read only. + currency_code: + Output only. Currency code (e.g. 'USD', 'EUR') for the client. + Read only. + id: + Output only. The ID of the client customer. Read only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomerClient) + )) +_sym_db.RegisterMessage(CustomerClient) + + +DESCRIPTOR._options = None +_CUSTOMERCLIENT.fields_by_name['resource_name']._options = None +_CUSTOMERCLIENT.fields_by_name['client_customer']._options = None +_CUSTOMERCLIENT.fields_by_name['hidden']._options = None +_CUSTOMERCLIENT.fields_by_name['level']._options = None +_CUSTOMERCLIENT.fields_by_name['time_zone']._options = None +_CUSTOMERCLIENT.fields_by_name['test_account']._options = None +_CUSTOMERCLIENT.fields_by_name['manager']._options = None +_CUSTOMERCLIENT.fields_by_name['descriptive_name']._options = None +_CUSTOMERCLIENT.fields_by_name['currency_code']._options = None +_CUSTOMERCLIENT.fields_by_name['id']._options = None +_CUSTOMERCLIENT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/media_file_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/customer_client_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/media_file_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/customer_client_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2.py b/google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2.py new file mode 100644 index 000000000..97694a514 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/customer_extension_setting.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import extension_setting_device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2 +from google.ads.google_ads.v4.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/customer_extension_setting.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\035CustomerExtensionSettingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/resources/customer_extension_setting.proto\x12!google.ads.googleads.v4.resources\x1a\x42google/ads/googleads_v4/proto/enums/extension_setting_device.proto\x1a\x38google/ads/googleads_v4/proto/enums/extension_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9f\x04\n\x18\x43ustomerExtensionSetting\x12P\n\rresource_name\x18\x01 \x01(\tB9\xe0\x41\x05\xfa\x41\x33\n1googleads.googleapis.com/CustomerExtensionSetting\x12[\n\x0e\x65xtension_type\x18\x02 \x01(\x0e\x32>.google.ads.googleads.v4.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x05\x12k\n\x14\x65xtension_feed_items\x18\x03 \x03(\x0b\x32\x1c.google.protobuf.StringValueB/\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12`\n\x06\x64\x65vice\x18\x04 \x01(\x0e\x32P.google.ads.googleads.v4.enums.ExtensionSettingDeviceEnum.ExtensionSettingDevice:\x84\x01\xea\x41\x80\x01\n1googleads.googleapis.com/CustomerExtensionSetting\x12Kcustomers/{customer}/customerExtensionSettings/{customer_extension_setting}B\x8a\x02\n%com.google.ads.googleads.v4.resourcesB\x1d\x43ustomerExtensionSettingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_CUSTOMEREXTENSIONSETTING = _descriptor.Descriptor( + name='CustomerExtensionSetting', + full_name='google.ads.googleads.v4.resources.CustomerExtensionSetting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.CustomerExtensionSetting.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A3\n1googleads.googleapis.com/CustomerExtensionSetting'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_type', full_name='google.ads.googleads.v4.resources.CustomerExtensionSetting.extension_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='extension_feed_items', full_name='google.ads.googleads.v4.resources.CustomerExtensionSetting.extension_feed_items', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\372A,\n*googleads.googleapis.com/ExtensionFeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v4.resources.CustomerExtensionSetting.device', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\200\001\n1googleads.googleapis.com/CustomerExtensionSetting\022Kcustomers/{customer}/customerExtensionSettings/{customer_extension_setting}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=360, + serialized_end=903, +) + +_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_feed_items'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CUSTOMEREXTENSIONSETTING.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__setting__device__pb2._EXTENSIONSETTINGDEVICEENUM_EXTENSIONSETTINGDEVICE +DESCRIPTOR.message_types_by_name['CustomerExtensionSetting'] = _CUSTOMEREXTENSIONSETTING +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CustomerExtensionSetting = _reflection.GeneratedProtocolMessageType('CustomerExtensionSetting', (_message.Message,), dict( + DESCRIPTOR = _CUSTOMEREXTENSIONSETTING, + __module__ = 'google.ads.googleads_v4.proto.resources.customer_extension_setting_pb2' + , + __doc__ = """A customer extension setting. + + + Attributes: + resource_name: + Immutable. The resource name of the customer extension + setting. CustomerExtensionSetting resource names have the + form: ``customers/{customer_id}/customerExtensionSettings/{ex + tension_type}`` + extension_type: + Immutable. The extension type of the customer extension + setting. + extension_feed_items: + The resource names of the extension feed items to serve under + the customer. ExtensionFeedItem resource names have the form: + ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` + device: + The device for which the extensions will serve. Optional. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomerExtensionSetting) + )) +_sym_db.RegisterMessage(CustomerExtensionSetting) + + +DESCRIPTOR._options = None +_CUSTOMEREXTENSIONSETTING.fields_by_name['resource_name']._options = None +_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_type']._options = None +_CUSTOMEREXTENSIONSETTING.fields_by_name['extension_feed_items']._options = None +_CUSTOMEREXTENSIONSETTING._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/merchant_center_link_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/merchant_center_link_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/customer_extension_setting_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/customer_feed_pb2.py b/google/ads/google_ads/v4/proto/resources/customer_feed_pb2.py new file mode 100644 index 000000000..14d530d0b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/customer_feed_pb2.py @@ -0,0 +1,137 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/customer_feed.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import matching_function_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_matching__function__pb2 +from google.ads.google_ads.v4.proto.enums import feed_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__link__status__pb2 +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/customer_feed.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021CustomerFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/customer_feed.proto\x12!google.ads.googleads.v4.resources\x1a.google.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType\x12I\n\rcontent_label\x18\x04 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.ContentLabelInfoH\x00\x12S\n\x12mobile_application\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileApplicationInfoH\x00\x12T\n\x13mobile_app_category\x18\x06 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileAppCategoryInfoH\x00\x12\x42\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v1.common.PlacementInfoH\x00\x12I\n\ryoutube_video\x18\x08 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\t \x01(\x0b\x32\x32.google.ads.googleads.v1.common.YouTubeChannelInfoH\x00\x42\x0b\n\tcriterionB\x8b\x02\n%com.google.ads.googleads.v1.resourcesB\x1e\x43ustomerNegativeCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\036CustomerNegativeCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/resources/customer_negative_criterion.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x38google/ads/googleads_v4/proto/enums/criterion_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf6\x06\n\x19\x43ustomerNegativeCriterion\x12Q\n\rresource_name\x18\x01 \x01(\tB:\xe0\x41\x05\xfa\x41\x34\n2googleads.googleapis.com/CustomerNegativeCriterion\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Q\n\x04type\x18\x03 \x01(\x0e\x32>.google.ads.googleads.v4.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12N\n\rcontent_label\x18\x04 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.ContentLabelInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\x06 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v4.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18\x08 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18\t \x01(\x0b\x32\x32.google.ads.googleads.v4.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00:\x85\x01\xea\x41\x81\x01\n2googleads.googleapis.com/CustomerNegativeCriterion\x12Kcustomers/{customer}/customerNegativeCriteria/{customer_negative_criterion}B\x0b\n\tcriterionB\x8b\x02\n%com.google.ads.googleads.v4.resourcesB\x1e\x43ustomerNegativeCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CUSTOMERNEGATIVECRITERION = _descriptor.Descriptor( name='CustomerNegativeCriterion', - full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion', + full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A4\n2googleads.googleapis.com/CustomerNegativeCriterion'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.type', index=2, + name='type', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='content_label', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.content_label', index=3, + name='content_label', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.content_label', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.mobile_application', index=4, + name='mobile_application', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.mobile_application', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.mobile_app_category', index=5, + name='mobile_app_category', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.mobile_app_category', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.placement', index=6, + name='placement', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.placement', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.youtube_video', index=7, + name='youtube_video', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.youtube_video', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.youtube_channel', index=8, + name='youtube_channel', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.youtube_channel', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A\201\001\n2googleads.googleapis.com/CustomerNegativeCriterion\022Kcustomers/{customer}/customerNegativeCriteria/{customer_negative_criterion}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v1.resources.CustomerNegativeCriterion.criterion', + name='criterion', full_name='google.ads.googleads.v4.resources.CustomerNegativeCriterion.criterion', index=0, containing_type=None, fields=[]), ], - serialized_start=286, - serialized_end=936, + serialized_start=346, + serialized_end=1232, ) _CUSTOMERNEGATIVECRITERION.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_CUSTOMERNEGATIVECRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_CUSTOMERNEGATIVECRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_CUSTOMERNEGATIVECRITERION.fields_by_name['content_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._CONTENTLABELINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'].fields.append( _CUSTOMERNEGATIVECRITERION.fields_by_name['content_label']) _CUSTOMERNEGATIVECRITERION.fields_by_name['content_label'].containing_oneof = _CUSTOMERNEGATIVECRITERION.oneofs_by_name['criterion'] @@ -151,39 +153,50 @@ CustomerNegativeCriterion = _reflection.GeneratedProtocolMessageType('CustomerNegativeCriterion', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERNEGATIVECRITERION, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_negative_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_negative_criterion_pb2' , __doc__ = """A negative criterion for exclusions at the customer level. Attributes: resource_name: - The resource name of the customer negative criterion. Customer - negative criterion resource names have the form: ``customers/ - {customer_id}/customerNegativeCriteria/{criterion_id}`` + Immutable. The resource name of the customer negative + criterion. Customer negative criterion resource names have the + form: ``customers/{customer_id}/customerNegativeCriteria/{cri + terion_id}`` id: - The ID of the criterion. + Output only. The ID of the criterion. type: - The type of the criterion. + Output only. The type of the criterion. criterion: The customer negative criterion. Exactly one must be set. content_label: - ContentLabel. + Immutable. ContentLabel. mobile_application: - MobileApplication. + Immutable. MobileApplication. mobile_app_category: - MobileAppCategory. + Immutable. MobileAppCategory. placement: - Placement. + Immutable. Placement. youtube_video: - YouTube Video. + Immutable. YouTube Video. youtube_channel: - YouTube Channel. + Immutable. YouTube Channel. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CustomerNegativeCriterion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CustomerNegativeCriterion) )) _sym_db.RegisterMessage(CustomerNegativeCriterion) DESCRIPTOR._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['resource_name']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['id']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['type']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['content_label']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_application']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['mobile_app_category']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['placement']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_video']._options = None +_CUSTOMERNEGATIVECRITERION.fields_by_name['youtube_channel']._options = None +_CUSTOMERNEGATIVECRITERION._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/customer_negative_criterion_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/operating_system_version_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/customer_negative_criterion_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/customer_pb2.py b/google/ads/google_ads/v4/proto/resources/customer_pb2.py similarity index 56% rename from google/ads/google_ads/v1/proto/resources/customer_pb2.py rename to google/ads/google_ads/v4/proto/resources/customer_pb2.py index cb8c2f930..8aaaf018f 100644 --- a/google/ads/google_ads/v1/proto/resources/customer_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/customer_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/customer.proto +# source: google/ads/googleads_v4/proto/resources/customer.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,180 +13,189 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import customer_pay_per_conversion_eligibility_failure_reason_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2 +from google.ads.google_ads.v4.proto.enums import customer_pay_per_conversion_eligibility_failure_reason_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/customer.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/customer.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\rCustomerProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n6google/ads/googleads_v1/proto/resources/customer.proto\x12!google.ads.googleads.v1.resources\x1a`google/ads/googleads_v1/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfe\x07\n\x08\x43ustomer\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x10\x64\x65scriptive_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rcurrency_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\ttime_zone\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12;\n\x15tracking_url_template\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61uto_tagging_enabled\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x36\n\x12has_partners_badge\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12+\n\x07manager\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x30\n\x0ctest_account\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12W\n\x16\x63\x61ll_reporting_setting\x18\n \x01(\x0b\x32\x37.google.ads.googleads.v1.resources.CallReportingSetting\x12\x61\n\x1b\x63onversion_tracking_setting\x18\x0e \x01(\x0b\x32<.google.ads.googleads.v1.resources.ConversionTrackingSetting\x12R\n\x13remarketing_setting\x18\x0f \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.RemarketingSetting\x12\xbd\x01\n.pay_per_conversion_eligibility_failure_reasons\x18\x10 \x03(\x0e\x32\x84\x01.google.ads.googleads.v1.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReason\"\xd7\x01\n\x14\x43\x61llReportingSetting\x12:\n\x16\x63\x61ll_reporting_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x45\n!call_conversion_reporting_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12<\n\x16\x63\x61ll_conversion_action\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa3\x01\n\x19\x43onversionTrackingSetting\x12;\n\x16\x63onversion_tracking_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12I\n$cross_account_conversion_tracking_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"R\n\x12RemarketingSetting\x12<\n\x16google_global_site_tag\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfa\x01\n%com.google.ads.googleads.v1.resourcesB\rCustomerProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\rCustomerProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n6google/ads/googleads_v4/proto/resources/customer.proto\x12!google.ads.googleads.v4.resources\x1a`google/ads/googleads_v4/proto/enums/customer_pay_per_conversion_eligibility_failure_reason.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd3\t\n\x08\x43ustomer\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/Customer\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x36\n\x10\x64\x65scriptive_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\rcurrency_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x34\n\ttime_zone\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12;\n\x15tracking_url_template\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x66inal_url_suffix\x18\x0b \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x14\x61uto_tagging_enabled\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12;\n\x12has_partners_badge\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x30\n\x07manager\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x35\n\x0ctest_account\x18\r \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12W\n\x16\x63\x61ll_reporting_setting\x18\n \x01(\x0b\x32\x37.google.ads.googleads.v4.resources.CallReportingSetting\x12\x66\n\x1b\x63onversion_tracking_setting\x18\x0e \x01(\x0b\x32<.google.ads.googleads.v4.resources.ConversionTrackingSettingB\x03\xe0\x41\x03\x12W\n\x13remarketing_setting\x18\x0f \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.RemarketingSettingB\x03\xe0\x41\x03\x12\xc2\x01\n.pay_per_conversion_eligibility_failure_reasons\x18\x10 \x03(\x0e\x32\x84\x01.google.ads.googleads.v4.enums.CustomerPayPerConversionEligibilityFailureReasonEnum.CustomerPayPerConversionEligibilityFailureReasonB\x03\xe0\x41\x03\x12=\n\x12optimization_score\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x03\xe0\x41\x03:<\xea\x41\x39\n!googleads.googleapis.com/Customer\x12\x14\x63ustomers/{customer}\"\x87\x02\n\x14\x43\x61llReportingSetting\x12:\n\x16\x63\x61ll_reporting_enabled\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x45\n!call_conversion_reporting_enabled\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12l\n\x16\x63\x61ll_conversion_action\x18\t \x01(\x0b\x32\x1c.google.protobuf.StringValueB.\xfa\x41+\n)googleads.googleapis.com/ConversionAction\"\xad\x01\n\x19\x43onversionTrackingSetting\x12@\n\x16\x63onversion_tracking_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12N\n$cross_account_conversion_tracking_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\"W\n\x12RemarketingSetting\x12\x41\n\x16google_global_site_tag\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x42\xfa\x01\n%com.google.ads.googleads.v4.resourcesB\rCustomerProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _CUSTOMER = _descriptor.Descriptor( name='Customer', - full_name='google.ads.googleads.v1.resources.Customer', + full_name='google.ads.googleads.v4.resources.Customer', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.Customer.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.Customer.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Customer'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.Customer.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.Customer.id', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='descriptive_name', full_name='google.ads.googleads.v1.resources.Customer.descriptive_name', index=2, + name='descriptive_name', full_name='google.ads.googleads.v4.resources.Customer.descriptive_name', index=2, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.resources.Customer.currency_code', index=3, + name='currency_code', full_name='google.ads.googleads.v4.resources.Customer.currency_code', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='time_zone', full_name='google.ads.googleads.v1.resources.Customer.time_zone', index=4, + name='time_zone', full_name='google.ads.googleads.v4.resources.Customer.time_zone', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='tracking_url_template', full_name='google.ads.googleads.v1.resources.Customer.tracking_url_template', index=5, + name='tracking_url_template', full_name='google.ads.googleads.v4.resources.Customer.tracking_url_template', index=5, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='final_url_suffix', full_name='google.ads.googleads.v1.resources.Customer.final_url_suffix', index=6, + name='final_url_suffix', full_name='google.ads.googleads.v4.resources.Customer.final_url_suffix', index=6, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='auto_tagging_enabled', full_name='google.ads.googleads.v1.resources.Customer.auto_tagging_enabled', index=7, + name='auto_tagging_enabled', full_name='google.ads.googleads.v4.resources.Customer.auto_tagging_enabled', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='has_partners_badge', full_name='google.ads.googleads.v1.resources.Customer.has_partners_badge', index=8, + name='has_partners_badge', full_name='google.ads.googleads.v4.resources.Customer.has_partners_badge', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='manager', full_name='google.ads.googleads.v1.resources.Customer.manager', index=9, + name='manager', full_name='google.ads.googleads.v4.resources.Customer.manager', index=9, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='test_account', full_name='google.ads.googleads.v1.resources.Customer.test_account', index=10, + name='test_account', full_name='google.ads.googleads.v4.resources.Customer.test_account', index=10, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_reporting_setting', full_name='google.ads.googleads.v1.resources.Customer.call_reporting_setting', index=11, + name='call_reporting_setting', full_name='google.ads.googleads.v4.resources.Customer.call_reporting_setting', index=11, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_tracking_setting', full_name='google.ads.googleads.v1.resources.Customer.conversion_tracking_setting', index=12, + name='conversion_tracking_setting', full_name='google.ads.googleads.v4.resources.Customer.conversion_tracking_setting', index=12, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remarketing_setting', full_name='google.ads.googleads.v1.resources.Customer.remarketing_setting', index=13, + name='remarketing_setting', full_name='google.ads.googleads.v4.resources.Customer.remarketing_setting', index=13, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='pay_per_conversion_eligibility_failure_reasons', full_name='google.ads.googleads.v1.resources.Customer.pay_per_conversion_eligibility_failure_reasons', index=14, + name='pay_per_conversion_eligibility_failure_reasons', full_name='google.ads.googleads.v4.resources.Customer.pay_per_conversion_eligibility_failure_reasons', index=14, number=16, type=14, cpp_type=8, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='optimization_score', full_name='google.ads.googleads.v4.resources.Customer.optimization_score', index=15, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A9\n!googleads.googleapis.com/Customer\022\024customers/{customer}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=254, - serialized_end=1276, + serialized_start=314, + serialized_end=1549, ) _CALLREPORTINGSETTING = _descriptor.Descriptor( name='CallReportingSetting', - full_name='google.ads.googleads.v1.resources.CallReportingSetting', + full_name='google.ads.googleads.v4.resources.CallReportingSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='call_reporting_enabled', full_name='google.ads.googleads.v1.resources.CallReportingSetting.call_reporting_enabled', index=0, + name='call_reporting_enabled', full_name='google.ads.googleads.v4.resources.CallReportingSetting.call_reporting_enabled', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_conversion_reporting_enabled', full_name='google.ads.googleads.v1.resources.CallReportingSetting.call_conversion_reporting_enabled', index=1, + name='call_conversion_reporting_enabled', full_name='google.ads.googleads.v4.resources.CallReportingSetting.call_conversion_reporting_enabled', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_conversion_action', full_name='google.ads.googleads.v1.resources.CallReportingSetting.call_conversion_action', index=2, + name='call_conversion_action', full_name='google.ads.googleads.v4.resources.CallReportingSetting.call_conversion_action', index=2, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A+\n)googleads.googleapis.com/ConversionAction'), file=DESCRIPTOR), ], extensions=[ ], @@ -199,32 +208,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1279, - serialized_end=1494, + serialized_start=1552, + serialized_end=1815, ) _CONVERSIONTRACKINGSETTING = _descriptor.Descriptor( name='ConversionTrackingSetting', - full_name='google.ads.googleads.v1.resources.ConversionTrackingSetting', + full_name='google.ads.googleads.v4.resources.ConversionTrackingSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='conversion_tracking_id', full_name='google.ads.googleads.v1.resources.ConversionTrackingSetting.conversion_tracking_id', index=0, + name='conversion_tracking_id', full_name='google.ads.googleads.v4.resources.ConversionTrackingSetting.conversion_tracking_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cross_account_conversion_tracking_id', full_name='google.ads.googleads.v1.resources.ConversionTrackingSetting.cross_account_conversion_tracking_id', index=1, + name='cross_account_conversion_tracking_id', full_name='google.ads.googleads.v4.resources.ConversionTrackingSetting.cross_account_conversion_tracking_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -237,25 +246,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1497, - serialized_end=1660, + serialized_start=1818, + serialized_end=1991, ) _REMARKETINGSETTING = _descriptor.Descriptor( name='RemarketingSetting', - full_name='google.ads.googleads.v1.resources.RemarketingSetting', + full_name='google.ads.googleads.v4.resources.RemarketingSetting', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='google_global_site_tag', full_name='google.ads.googleads.v1.resources.RemarketingSetting.google_global_site_tag', index=0, + name='google_global_site_tag', full_name='google.ads.googleads.v4.resources.RemarketingSetting.google_global_site_tag', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -268,8 +277,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1662, - serialized_end=1744, + serialized_start=1993, + serialized_end=2080, ) _CUSTOMER.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -285,7 +294,8 @@ _CUSTOMER.fields_by_name['call_reporting_setting'].message_type = _CALLREPORTINGSETTING _CUSTOMER.fields_by_name['conversion_tracking_setting'].message_type = _CONVERSIONTRACKINGSETTING _CUSTOMER.fields_by_name['remarketing_setting'].message_type = _REMARKETINGSETTING -_CUSTOMER.fields_by_name['pay_per_conversion_eligibility_failure_reasons'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2._CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON +_CUSTOMER.fields_by_name['pay_per_conversion_eligibility_failure_reasons'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_customer__pay__per__conversion__eligibility__failure__reason__pb2._CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASONENUM_CUSTOMERPAYPERCONVERSIONELIGIBILITYFAILUREREASON +_CUSTOMER.fields_by_name['optimization_score'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _CALLREPORTINGSETTING.fields_by_name['call_reporting_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CALLREPORTINGSETTING.fields_by_name['call_conversion_reporting_enabled'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _CALLREPORTINGSETTING.fields_by_name['call_conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -300,24 +310,25 @@ Customer = _reflection.GeneratedProtocolMessageType('Customer', (_message.Message,), dict( DESCRIPTOR = _CUSTOMER, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_pb2' , __doc__ = """A customer. Attributes: resource_name: - The resource name of the customer. Customer resource names - have the form: ``customers/{customer_id}`` + Immutable. The resource name of the customer. Customer + resource names have the form: ``customers/{customer_id}`` id: - The ID of the customer. + Output only. The ID of the customer. descriptive_name: Optional, non-unique descriptive name of the customer. currency_code: - The currency in which the account operates. A subset of the - currency codes from the ISO 4217 standard is supported. + Immutable. The currency in which the account operates. A + subset of the currency codes from the ISO 4217 standard is + supported. time_zone: - The local timezone ID of the customer. + Immutable. The local timezone ID of the customer. tracking_url_template: The URL template for constructing a tracking URL out of parameters. @@ -326,32 +337,39 @@ auto_tagging_enabled: Whether auto-tagging is enabled for the customer. has_partners_badge: - Whether the Customer has a Partners program badge. If the - Customer is not associated with the Partners program, this - will be false. For more information, see + Output only. Whether the Customer has a Partners program + badge. If the Customer is not associated with the Partners + program, this will be false. For more information, see https://support.google.com/partners/answer/3125774. manager: - Whether the customer is a manager. + Output only. Whether the customer is a manager. test_account: - Whether the customer is a test account. + Output only. Whether the customer is a test account. call_reporting_setting: Call reporting setting for a customer. conversion_tracking_setting: - Conversion tracking setting for a customer. + Output only. Conversion tracking setting for a customer. remarketing_setting: - Remarketing setting for a customer. + Output only. Remarketing setting for a customer. pay_per_conversion_eligibility_failure_reasons: - Reasons why the customer is not eligible to use + Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If the list is empty, the customer is eligible. This field is read-only. + optimization_score: + Output only. Optimization score of the customer. Optimization + score is an estimate of how well a customer's campaigns are + set to perform. It ranges from 0% (0.0) to 100% (1.0). See + "About optimization score" at + https://support.google.com/google-ads/answer/9061546. This + field is read-only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Customer) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Customer) )) _sym_db.RegisterMessage(Customer) CallReportingSetting = _reflection.GeneratedProtocolMessageType('CallReportingSetting', (_message.Message,), dict( DESCRIPTOR = _CALLREPORTINGSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_pb2' , __doc__ = """Call reporting setting for a customer. @@ -368,13 +386,13 @@ Only in effect when call\_conversion\_reporting\_enabled is set to true. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.CallReportingSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.CallReportingSetting) )) _sym_db.RegisterMessage(CallReportingSetting) ConversionTrackingSetting = _reflection.GeneratedProtocolMessageType('ConversionTrackingSetting', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONTRACKINGSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_pb2' , __doc__ = """A collection of customer-wide settings related to Google Ads Conversion Tracking. @@ -382,36 +400,52 @@ Attributes: conversion_tracking_id: - The conversion tracking id used for this account. This id is - automatically assigned after any conversion tracking feature - is used. If the customer doesn't use conversion tracking, this - is 0. This field is read-only. + Output only. The conversion tracking id used for this account. + This id is automatically assigned after any conversion + tracking feature is used. If the customer doesn't use + conversion tracking, this is 0. This field is read-only. cross_account_conversion_tracking_id: - The conversion tracking id of the customer's manager. This is - set when the customer is opted into cross account conversion - tracking, and it overrides conversion\_tracking\_id. This - field can only be managed through the Google Ads UI. This - field is read-only. + Output only. The conversion tracking id of the customer's + manager. This is set when the customer is opted into cross + account conversion tracking, and it overrides + conversion\_tracking\_id. This field can only be managed + through the Google Ads UI. This field is read-only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ConversionTrackingSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ConversionTrackingSetting) )) _sym_db.RegisterMessage(ConversionTrackingSetting) RemarketingSetting = _reflection.GeneratedProtocolMessageType('RemarketingSetting', (_message.Message,), dict( DESCRIPTOR = _REMARKETINGSETTING, - __module__ = 'google.ads.googleads_v1.proto.resources.customer_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.customer_pb2' , __doc__ = """Remarketing setting for a customer. Attributes: google_global_site_tag: - The Google global site tag. + Output only. The Google global site tag. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.RemarketingSetting) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.RemarketingSetting) )) _sym_db.RegisterMessage(RemarketingSetting) DESCRIPTOR._options = None +_CUSTOMER.fields_by_name['resource_name']._options = None +_CUSTOMER.fields_by_name['id']._options = None +_CUSTOMER.fields_by_name['currency_code']._options = None +_CUSTOMER.fields_by_name['time_zone']._options = None +_CUSTOMER.fields_by_name['has_partners_badge']._options = None +_CUSTOMER.fields_by_name['manager']._options = None +_CUSTOMER.fields_by_name['test_account']._options = None +_CUSTOMER.fields_by_name['conversion_tracking_setting']._options = None +_CUSTOMER.fields_by_name['remarketing_setting']._options = None +_CUSTOMER.fields_by_name['pay_per_conversion_eligibility_failure_reasons']._options = None +_CUSTOMER.fields_by_name['optimization_score']._options = None +_CUSTOMER._options = None +_CALLREPORTINGSETTING.fields_by_name['call_conversion_action']._options = None +_CONVERSIONTRACKINGSETTING.fields_by_name['conversion_tracking_id']._options = None +_CONVERSIONTRACKINGSETTING.fields_by_name['cross_account_conversion_tracking_id']._options = None +_REMARKETINGSETTING.fields_by_name['google_global_site_tag']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/paid_organic_search_term_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/customer_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/paid_organic_search_term_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/customer_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2.py b/google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2.py new file mode 100644 index 000000000..7790a8698 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2.py @@ -0,0 +1,152 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/detail_placement_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import placement_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/detail_placement_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\030DetailPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/resources/detail_placement_view.proto\x12!google.ads.googleads.v4.resources\x1a\x38google/ads/googleads_v4/proto/enums/placement_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa2\x04\n\x13\x44\x65tailPlacementView\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x03\xfa\x41.\n,googleads.googleapis.com/DetailPlacementView\x12\x34\n\tplacement\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x37\n\x0c\x64isplay_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x45\n\x1agroup_placement_target_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\ntarget_url\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12[\n\x0eplacement_type\x18\x06 \x01(\x0e\x32>.google.ads.googleads.v4.enums.PlacementTypeEnum.PlacementTypeB\x03\xe0\x41\x03:t\xea\x41q\n,googleads.googleapis.com/DetailPlacementView\x12\x41\x63ustomers/{customer}/detailPlacementViews/{detail_placement_view}B\x85\x02\n%com.google.ads.googleads.v4.resourcesB\x18\x44\x65tailPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DETAILPLACEMENTVIEW = _descriptor.Descriptor( + name='DetailPlacementView', + full_name='google.ads.googleads.v4.resources.DetailPlacementView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.DetailPlacementView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A.\n,googleads.googleapis.com/DetailPlacementView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='placement', full_name='google.ads.googleads.v4.resources.DetailPlacementView.placement', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='display_name', full_name='google.ads.googleads.v4.resources.DetailPlacementView.display_name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='group_placement_target_url', full_name='google.ads.googleads.v4.resources.DetailPlacementView.group_placement_target_url', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_url', full_name='google.ads.googleads.v4.resources.DetailPlacementView.target_url', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='placement_type', full_name='google.ads.googleads.v4.resources.DetailPlacementView.placement_type', index=5, + number=6, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Aq\n,googleads.googleapis.com/DetailPlacementView\022Acustomers/{customer}/detailPlacementViews/{detail_placement_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=287, + serialized_end=833, +) + +_DETAILPLACEMENTVIEW.fields_by_name['placement'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DETAILPLACEMENTVIEW.fields_by_name['display_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DETAILPLACEMENTVIEW.fields_by_name['group_placement_target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DETAILPLACEMENTVIEW.fields_by_name['target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DETAILPLACEMENTVIEW.fields_by_name['placement_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2._PLACEMENTTYPEENUM_PLACEMENTTYPE +DESCRIPTOR.message_types_by_name['DetailPlacementView'] = _DETAILPLACEMENTVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DetailPlacementView = _reflection.GeneratedProtocolMessageType('DetailPlacementView', (_message.Message,), dict( + DESCRIPTOR = _DETAILPLACEMENTVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.detail_placement_view_pb2' + , + __doc__ = """A view with metrics aggregated by ad group and URL or YouTube video. + + + Attributes: + resource_name: + Output only. The resource name of the detail placement view. + Detail placement view resource names have the form: ``custome + rs/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_pl + acement}`` + placement: + Output only. The automatic placement string at detail level, + e. g. website URL, mobile application ID, or a YouTube video + ID. + display_name: + Output only. The display name is URL name for websites, + YouTube video name for YouTube videos, and translated mobile + app name for mobile apps. + group_placement_target_url: + Output only. URL of the group placement, e.g. domain, link to + the mobile application in app store, or a YouTube channel URL. + target_url: + Output only. URL of the placement, e.g. website, link to the + mobile application in app store, or a YouTube video URL. + placement_type: + Output only. Type of the placement, e.g. Website, YouTube + Video, and Mobile Application. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.DetailPlacementView) + )) +_sym_db.RegisterMessage(DetailPlacementView) + + +DESCRIPTOR._options = None +_DETAILPLACEMENTVIEW.fields_by_name['resource_name']._options = None +_DETAILPLACEMENTVIEW.fields_by_name['placement']._options = None +_DETAILPLACEMENTVIEW.fields_by_name['display_name']._options = None +_DETAILPLACEMENTVIEW.fields_by_name['group_placement_target_url']._options = None +_DETAILPLACEMENTVIEW.fields_by_name['target_url']._options = None +_DETAILPLACEMENTVIEW.fields_by_name['placement_type']._options = None +_DETAILPLACEMENTVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/parental_status_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/parental_status_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/detail_placement_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2.py b/google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2.py new file mode 100644 index 000000000..b9534203c --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/display_keyword_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/display_keyword_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027DisplayKeywordViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/resources/display_keyword_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xd3\x01\n\x12\x44isplayKeywordView\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/DisplayKeywordView:q\xea\x41n\n+googleads.googleapis.com/DisplayKeywordView\x12?customers/{customer}/displayKeywordViews/{display_keyword_view}B\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17\x44isplayKeywordViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DISPLAYKEYWORDVIEW = _descriptor.Descriptor( + name='DisplayKeywordView', + full_name='google.ads.googleads.v4.resources.DisplayKeywordView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.DisplayKeywordView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A-\n+googleads.googleapis.com/DisplayKeywordView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352An\n+googleads.googleapis.com/DisplayKeywordView\022?customers/{customer}/displayKeywordViews/{display_keyword_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=196, + serialized_end=407, +) + +DESCRIPTOR.message_types_by_name['DisplayKeywordView'] = _DISPLAYKEYWORDVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DisplayKeywordView = _reflection.GeneratedProtocolMessageType('DisplayKeywordView', (_message.Message,), dict( + DESCRIPTOR = _DISPLAYKEYWORDVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.display_keyword_view_pb2' + , + __doc__ = """A display keyword view. + + + Attributes: + resource_name: + Output only. The resource name of the display keyword view. + Display Keyword view resource names have the form: ``customer + s/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_i + d}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.DisplayKeywordView) + )) +_sym_db.RegisterMessage(DisplayKeywordView) + + +DESCRIPTOR._options = None +_DISPLAYKEYWORDVIEW.fields_by_name['resource_name']._options = None +_DISPLAYKEYWORDVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/payments_account_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/payments_account_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/display_keyword_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/distance_view_pb2.py b/google/ads/google_ads/v4/proto/resources/distance_view_pb2.py new file mode 100644 index 000000000..6d3397517 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/distance_view_pb2.py @@ -0,0 +1,117 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/distance_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import distance_bucket_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_distance__bucket__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/distance_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021DistanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/distance_view.proto\x12!google.ads.googleads.v4.resources\x1a\x39google/ads/googleads_v4/proto/enums/distance_bucket.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcc\x02\n\x0c\x44istanceView\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/DistanceView\x12^\n\x0f\x64istance_bucket\x18\x02 \x01(\x0e\x32@.google.ads.googleads.v4.enums.DistanceBucketEnum.DistanceBucketB\x03\xe0\x41\x03\x12\x36\n\rmetric_system\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03:^\xea\x41[\n%googleads.googleapis.com/DistanceView\x12\x32\x63ustomers/{customer}/distanceViews/{distance_view}B\xfe\x01\n%com.google.ads.googleads.v4.resourcesB\x11\x44istanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_distance__bucket__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DISTANCEVIEW = _descriptor.Descriptor( + name='DistanceView', + full_name='google.ads.googleads.v4.resources.DistanceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.DistanceView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/DistanceView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='distance_bucket', full_name='google.ads.googleads.v4.resources.DistanceView.distance_bucket', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='metric_system', full_name='google.ads.googleads.v4.resources.DistanceView.metric_system', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A[\n%googleads.googleapis.com/DistanceView\0222customers/{customer}/distanceViews/{distance_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=280, + serialized_end=612, +) + +_DISTANCEVIEW.fields_by_name['distance_bucket'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_distance__bucket__pb2._DISTANCEBUCKETENUM_DISTANCEBUCKET +_DISTANCEVIEW.fields_by_name['metric_system'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +DESCRIPTOR.message_types_by_name['DistanceView'] = _DISTANCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DistanceView = _reflection.GeneratedProtocolMessageType('DistanceView', (_message.Message,), dict( + DESCRIPTOR = _DISTANCEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.distance_view_pb2' + , + __doc__ = """A distance view with metrics aggregated by the user's distance from an + advertiser's location extensions. Each DistanceBucket includes all + impressions that fall within its distance and a single impression will + contribute to the metrics for all DistanceBuckets that include the + user's distance. + + + Attributes: + resource_name: + Output only. The resource name of the distance view. Distance + view resource names have the form: + ``customers/{customer_id}/distanceViews/1~{distance_bucket}`` + distance_bucket: + Output only. Grouping of user distance from location + extensions. + metric_system: + Output only. True if the DistanceBucket is using the metric + system, false otherwise. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.DistanceView) + )) +_sym_db.RegisterMessage(DistanceView) + + +DESCRIPTOR._options = None +_DISTANCEVIEW.fields_by_name['resource_name']._options = None +_DISTANCEVIEW.fields_by_name['distance_bucket']._options = None +_DISTANCEVIEW.fields_by_name['metric_system']._options = None +_DISTANCEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/distance_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/product_bidding_category_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/distance_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/domain_category_pb2.py b/google/ads/google_ads/v4/proto/resources/domain_category_pb2.py new file mode 100644 index 000000000..e6965fbca --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/domain_category_pb2.py @@ -0,0 +1,194 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/domain_category.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/domain_category.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023DomainCategoryProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/domain_category.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb0\x05\n\x0e\x44omainCategory\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/DomainCategory\x12Y\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x03\xfa\x41#\n!googleads.googleapis.com/Campaign\x12\x33\n\x08\x63\x61tegory\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x38\n\rlanguage_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x31\n\x06\x64omain\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12<\n\x11\x63overage_fraction\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x03\xe0\x41\x03\x12\x37\n\rcategory_rank\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x35\n\x0chas_children\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x44\n\x1arecommended_cpc_bid_micros\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:e\xea\x41\x62\n\'googleads.googleapis.com/DomainCategory\x12\x37\x63ustomers/{customer}/domainCategories/{domain_category}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x44omainCategoryProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DOMAINCATEGORY = _descriptor.Descriptor( + name='DomainCategory', + full_name='google.ads.googleads.v4.resources.DomainCategory', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.DomainCategory.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/DomainCategory'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.DomainCategory.campaign', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='category', full_name='google.ads.googleads.v4.resources.DomainCategory.category', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v4.resources.DomainCategory.language_code', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='domain', full_name='google.ads.googleads.v4.resources.DomainCategory.domain', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='coverage_fraction', full_name='google.ads.googleads.v4.resources.DomainCategory.coverage_fraction', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='category_rank', full_name='google.ads.googleads.v4.resources.DomainCategory.category_rank', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='has_children', full_name='google.ads.googleads.v4.resources.DomainCategory.has_children', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='recommended_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.DomainCategory.recommended_cpc_bid_micros', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ab\n\'googleads.googleapis.com/DomainCategory\0227customers/{customer}/domainCategories/{domain_category}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=223, + serialized_end=911, +) + +_DOMAINCATEGORY.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DOMAINCATEGORY.fields_by_name['category'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DOMAINCATEGORY.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DOMAINCATEGORY.fields_by_name['domain'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DOMAINCATEGORY.fields_by_name['coverage_fraction'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE +_DOMAINCATEGORY.fields_by_name['category_rank'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_DOMAINCATEGORY.fields_by_name['has_children'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_DOMAINCATEGORY.fields_by_name['recommended_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['DomainCategory'] = _DOMAINCATEGORY +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DomainCategory = _reflection.GeneratedProtocolMessageType('DomainCategory', (_message.Message,), dict( + DESCRIPTOR = _DOMAINCATEGORY, + __module__ = 'google.ads.googleads_v4.proto.resources.domain_category_pb2' + , + __doc__ = """A category generated automatically by crawling a domain. If a campaign + uses the DynamicSearchAdsSetting, then domain categories will be + generated for the domain. The categories can be targeted using + WebpageConditionInfo. See: + https://support.google.com/google-ads/answer/2471185 + + + Attributes: + resource_name: + Output only. The resource name of the domain category. Domain + category resource names have the form: ``customers/{customer_ + id}/domainCategories/{campaign_id}~{category_base64}~{language + _code}`` + campaign: + Output only. The campaign this category is recommended for. + category: + Output only. Recommended category for the website domain. e.g. + if you have a website about electronics, the categories could + be "cameras", "televisions", etc. + language_code: + Output only. The language code specifying the language of the + website. e.g. "en" for English. The language can be specified + in the DynamicSearchAdsSetting required for dynamic search + ads. This is the language of the pages from your website that + you want Google Ads to find, create ads for, and match + searches with. + domain: + Output only. The domain for the website. The domain can be + specified in the DynamicSearchAdsSetting required for dynamic + search ads. + coverage_fraction: + Output only. Fraction of pages on your site that this category + matches. + category_rank: + Output only. The position of this category in the set of + categories. Lower numbers indicate a better match for the + domain. null indicates not recommended. + has_children: + Output only. Indicates whether this category has sub- + categories. + recommended_cpc_bid_micros: + Output only. The recommended cost per click for the category. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.DomainCategory) + )) +_sym_db.RegisterMessage(DomainCategory) + + +DESCRIPTOR._options = None +_DOMAINCATEGORY.fields_by_name['resource_name']._options = None +_DOMAINCATEGORY.fields_by_name['campaign']._options = None +_DOMAINCATEGORY.fields_by_name['category']._options = None +_DOMAINCATEGORY.fields_by_name['language_code']._options = None +_DOMAINCATEGORY.fields_by_name['domain']._options = None +_DOMAINCATEGORY.fields_by_name['coverage_fraction']._options = None +_DOMAINCATEGORY.fields_by_name['category_rank']._options = None +_DOMAINCATEGORY.fields_by_name['has_children']._options = None +_DOMAINCATEGORY.fields_by_name['recommended_cpc_bid_micros']._options = None +_DOMAINCATEGORY._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/product_group_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/domain_category_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/product_group_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/domain_category_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2.py b/google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2.py new file mode 100644 index 000000000..d0d02e2ba --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2.py @@ -0,0 +1,173 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/dynamic_search_ads_search_term_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/dynamic_search_ads_search_term_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB#DynamicSearchAdsSearchTermViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nQgoogle/ads/googleads_v4/proto/resources/dynamic_search_ads_search_term_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa8\x05\n\x1e\x44ynamicSearchAdsSearchTermView\x12V\n\rresource_name\x18\x01 \x01(\tB?\xe0\x41\x03\xfa\x41\x39\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView\x12\x36\n\x0bsearch_term\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08headline\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x37\n\x0clanding_page\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08page_url\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12=\n\x14has_negative_keyword\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12=\n\x14has_matching_keyword\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x39\n\x10has_negative_url\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03:\x99\x01\xea\x41\x95\x01\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView\x12Zcustomers/{customer}/dynamicSearchAdsSearchTermViews/{dynamic_search_ads_search_term_view}B\x90\x02\n%com.google.ads.googleads.v4.resourcesB#DynamicSearchAdsSearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_DYNAMICSEARCHADSSEARCHTERMVIEW = _descriptor.Descriptor( + name='DynamicSearchAdsSearchTermView', + full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A9\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='search_term', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.search_term', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='headline', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.headline', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='landing_page', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.landing_page', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_url', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.page_url', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='has_negative_keyword', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.has_negative_keyword', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='has_matching_keyword', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.has_matching_keyword', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='has_negative_url', full_name='google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView.has_negative_url', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\225\001\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView\022Zcustomers/{customer}/dynamicSearchAdsSearchTermViews/{dynamic_search_ads_search_term_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=243, + serialized_end=923, +) + +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['headline'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['landing_page'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['page_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_negative_keyword'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_matching_keyword'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_negative_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +DESCRIPTOR.message_types_by_name['DynamicSearchAdsSearchTermView'] = _DYNAMICSEARCHADSSEARCHTERMVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +DynamicSearchAdsSearchTermView = _reflection.GeneratedProtocolMessageType('DynamicSearchAdsSearchTermView', (_message.Message,), dict( + DESCRIPTOR = _DYNAMICSEARCHADSSEARCHTERMVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.dynamic_search_ads_search_term_view_pb2' + , + __doc__ = """A dynamic search ads search term view. + + + Attributes: + resource_name: + Output only. The resource name of the dynamic search ads + search term view. Dynamic search ads search term view resource + names have the form: ``customers/{customer_id}/dynamicSearchA + dsSearchTermViews/{ad_group_id}~{search_term_fp}~{headline_fp} + ~{landing_page_fp}~{page_url_fp}`` + search_term: + Output only. Search term This field is read-only. + headline: + Output only. The dynamically generated headline of the Dynamic + Search Ad. This field is read-only. + landing_page: + Output only. The dynamically selected landing page URL of the + impression. This field is read-only. + page_url: + Output only. The URL of page feed item served for the + impression. This field is read-only. + has_negative_keyword: + Output only. True if query matches a negative keyword. This + field is read-only. + has_matching_keyword: + Output only. True if query is added to targeted keywords. + This field is read-only. + has_negative_url: + Output only. True if query matches a negative url. This field + is read-only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView) + )) +_sym_db.RegisterMessage(DynamicSearchAdsSearchTermView) + + +DESCRIPTOR._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['resource_name']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['search_term']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['headline']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['landing_page']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['page_url']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_negative_keyword']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_matching_keyword']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW.fields_by_name['has_negative_url']._options = None +_DYNAMICSEARCHADSSEARCHTERMVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/recommendation_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/recommendation_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/dynamic_search_ads_search_term_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2.py b/google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2.py new file mode 100644 index 000000000..8ef58e0f5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/expanded_landing_page_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/expanded_landing_page_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\034ExpandedLandingPageViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/resources/expanded_landing_page_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xad\x02\n\x17\x45xpandedLandingPageView\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x03\xfa\x41\x32\n0googleads.googleapis.com/ExpandedLandingPageView\x12=\n\x12\x65xpanded_final_url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n0googleads.googleapis.com/ExpandedLandingPageView\x12Jcustomers/{customer}/expandedLandingPageViews/{expanded_landing_page_view}B\x89\x02\n%com.google.ads.googleads.v4.resourcesB\x1c\x45xpandedLandingPageViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_EXPANDEDLANDINGPAGEVIEW = _descriptor.Descriptor( + name='ExpandedLandingPageView', + full_name='google.ads.googleads.v4.resources.ExpandedLandingPageView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ExpandedLandingPageView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A2\n0googleads.googleapis.com/ExpandedLandingPageView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='expanded_final_url', full_name='google.ads.googleads.v4.resources.ExpandedLandingPageView.expanded_final_url', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A~\n0googleads.googleapis.com/ExpandedLandingPageView\022Jcustomers/{customer}/expandedLandingPageViews/{expanded_landing_page_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=234, + serialized_end=535, +) + +_EXPANDEDLANDINGPAGEVIEW.fields_by_name['expanded_final_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['ExpandedLandingPageView'] = _EXPANDEDLANDINGPAGEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ExpandedLandingPageView = _reflection.GeneratedProtocolMessageType('ExpandedLandingPageView', (_message.Message,), dict( + DESCRIPTOR = _EXPANDEDLANDINGPAGEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.expanded_landing_page_view_pb2' + , + __doc__ = """A landing page view with metrics aggregated at the expanded final URL + level. + + + Attributes: + resource_name: + Output only. The resource name of the expanded landing page + view. Expanded landing page view resource names have the form: + ``customers/{customer_id}/expandedLandingPageViews/{expanded_f + inal_url_fingerprint}`` + expanded_final_url: + Output only. The final URL that clicks are directed to. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ExpandedLandingPageView) + )) +_sym_db.RegisterMessage(ExpandedLandingPageView) + + +DESCRIPTOR._options = None +_EXPANDEDLANDINGPAGEVIEW.fields_by_name['resource_name']._options = None +_EXPANDEDLANDINGPAGEVIEW.fields_by_name['expanded_final_url']._options = None +_EXPANDEDLANDINGPAGEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/remarketing_action_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/remarketing_action_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/expanded_landing_page_view_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/extension_feed_item_pb2.py b/google/ads/google_ads/v4/proto/resources/extension_feed_item_pb2.py similarity index 53% rename from google/ads/google_ads/v1/proto/resources/extension_feed_item_pb2.py rename to google/ads/google_ads/v4/proto/resources/extension_feed_item_pb2.py index 1dd8b9c38..36eb325e2 100644 --- a/google/ads/google_ads/v1/proto/resources/extension_feed_item_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/extension_feed_item_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/extension_feed_item.proto +# source: google/ads/googleads_v4/proto/resources/extension_feed_item.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,213 +13,239 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v1.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2 +from google.ads.google_ads.v4.proto.enums import extension_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/extension_feed_item.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/extension_feed_item.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\026ExtensionFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/resources/extension_feed_item.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a\x35google/ads/googleads_v1/proto/common/extensions.proto\x1a\x38google/ads/googleads_v1/proto/enums/extension_type.proto\x1a:google/ads/googleads_v1/proto/enums/feed_item_status.proto\x1a\x41google/ads/googleads_v1/proto/enums/feed_item_target_device.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfe\x0b\n\x11\x45xtensionFeedItem\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12V\n\x0e\x65xtension_type\x18\r \x01(\x0e\x32>.google.ads.googleads.v1.enums.ExtensionTypeEnum.ExtensionType\x12\x35\n\x0fstart_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rend_date_time\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x44\n\x0c\x61\x64_schedules\x18\x10 \x03(\x0b\x32..google.ads.googleads.v1.common.AdScheduleInfo\x12\\\n\x06\x64\x65vice\x18\x11 \x01(\x0e\x32L.google.ads.googleads.v1.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice\x12\x42\n\x1ctargeted_geo_target_constant\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12P\n\x06status\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v1.enums.FeedItemStatusEnum.FeedItemStatus\x12N\n\x12sitelink_feed_item\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.SitelinkFeedItemH\x00\x12\x61\n\x1cstructured_snippet_feed_item\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v1.common.StructuredSnippetFeedItemH\x00\x12\x44\n\rapp_feed_item\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v1.common.AppFeedItemH\x00\x12\x46\n\x0e\x63\x61ll_feed_item\x18\x08 \x01(\x0b\x32,.google.ads.googleads.v1.common.CallFeedItemH\x00\x12L\n\x11\x63\x61llout_feed_item\x18\t \x01(\x0b\x32/.google.ads.googleads.v1.common.CalloutFeedItemH\x00\x12U\n\x16text_message_feed_item\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v1.common.TextMessageFeedItemH\x00\x12H\n\x0fprice_feed_item\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v1.common.PriceFeedItemH\x00\x12P\n\x13promotion_feed_item\x18\x0c \x01(\x0b\x32\x31.google.ads.googleads.v1.common.PromotionFeedItemH\x00\x12N\n\x12location_feed_item\x18\x0e \x01(\x0b\x32\x30.google.ads.googleads.v1.common.LocationFeedItemH\x00\x12\x61\n\x1c\x61\x66\x66iliate_location_feed_item\x18\x0f \x01(\x0b\x32\x39.google.ads.googleads.v1.common.AffiliateLocationFeedItemH\x00\x12\x39\n\x11targeted_campaign\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x12\x39\n\x11targeted_ad_group\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x01\x42\x0b\n\textensionB\x1c\n\x1aserving_resource_targetingB\x83\x02\n%com.google.ads.googleads.v1.resourcesB\x16\x45xtensionFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026ExtensionFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/resources/extension_feed_item.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x35google/ads/googleads_v4/proto/common/extensions.proto\x1a\x38google/ads/googleads_v4/proto/enums/extension_type.proto\x1a:google/ads/googleads_v4/proto/enums/feed_item_status.proto\x1a\x41google/ads/googleads_v4/proto/enums/feed_item_target_device.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x84\x10\n\x11\x45xtensionFeedItem\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\x12,\n\x02id\x18\x18 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12[\n\x0e\x65xtension_type\x18\r \x01(\x0e\x32>.google.ads.googleads.v4.enums.ExtensionTypeEnum.ExtensionTypeB\x03\xe0\x41\x03\x12\x35\n\x0fstart_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rend_date_time\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x44\n\x0c\x61\x64_schedules\x18\x10 \x03(\x0b\x32..google.ads.googleads.v4.common.AdScheduleInfo\x12\\\n\x06\x64\x65vice\x18\x11 \x01(\x0e\x32L.google.ads.googleads.v4.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice\x12s\n\x1ctargeted_geo_target_constant\x18\x14 \x01(\x0b\x32\x1c.google.protobuf.StringValueB/\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstant\x12\x45\n\x10targeted_keyword\x18\x16 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfo\x12U\n\x06status\x18\x04 \x01(\x0e\x32@.google.ads.googleads.v4.enums.FeedItemStatusEnum.FeedItemStatusB\x03\xe0\x41\x03\x12N\n\x12sitelink_feed_item\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.SitelinkFeedItemH\x00\x12\x61\n\x1cstructured_snippet_feed_item\x18\x03 \x01(\x0b\x32\x39.google.ads.googleads.v4.common.StructuredSnippetFeedItemH\x00\x12\x44\n\rapp_feed_item\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v4.common.AppFeedItemH\x00\x12\x46\n\x0e\x63\x61ll_feed_item\x18\x08 \x01(\x0b\x32,.google.ads.googleads.v4.common.CallFeedItemH\x00\x12L\n\x11\x63\x61llout_feed_item\x18\t \x01(\x0b\x32/.google.ads.googleads.v4.common.CalloutFeedItemH\x00\x12U\n\x16text_message_feed_item\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v4.common.TextMessageFeedItemH\x00\x12H\n\x0fprice_feed_item\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v4.common.PriceFeedItemH\x00\x12P\n\x13promotion_feed_item\x18\x0c \x01(\x0b\x32\x31.google.ads.googleads.v4.common.PromotionFeedItemH\x00\x12S\n\x12location_feed_item\x18\x0e \x01(\x0b\x32\x30.google.ads.googleads.v4.common.LocationFeedItemB\x03\xe0\x41\x03H\x00\x12\x66\n\x1c\x61\x66\x66iliate_location_feed_item\x18\x0f \x01(\x0b\x32\x39.google.ads.googleads.v4.common.AffiliateLocationFeedItemB\x03\xe0\x41\x03H\x00\x12W\n\x17hotel_callout_feed_item\x18\x17 \x01(\x0b\x32\x34.google.ads.googleads.v4.common.HotelCalloutFeedItemH\x00\x12\x61\n\x11targeted_campaign\x18\x12 \x01(\x0b\x32\x1c.google.protobuf.StringValueB&\xfa\x41#\n!googleads.googleapis.com/CampaignH\x01\x12`\n\x11targeted_ad_group\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValueB%\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x01:n\xea\x41k\n*googleads.googleapis.com/ExtensionFeedItem\x12=customers/{customer}/extensionFeedItems/{extension_feed_item}B\x0b\n\textensionB\x1c\n\x1aserving_resource_targetingB\x83\x02\n%com.google.ads.googleads.v4.resourcesB\x16\x45xtensionFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _EXTENSIONFEEDITEM = _descriptor.Descriptor( name='ExtensionFeedItem', - full_name='google.ads.googleads.v1.resources.ExtensionFeedItem', + full_name='google.ads.googleads.v4.resources.ExtensionFeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A,\n*googleads.googleapis.com/ExtensionFeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.id', index=1, + number=24, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_type', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.extension_type', index=1, + name='extension_type', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.extension_type', index=2, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.start_date_time', index=2, + name='start_date_time', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.start_date_time', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.end_date_time', index=3, + name='end_date_time', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.end_date_time', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_schedules', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.ad_schedules', index=4, + name='ad_schedules', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.ad_schedules', index=5, number=16, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='device', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.device', index=5, + name='device', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.device', index=6, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='targeted_geo_target_constant', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.targeted_geo_target_constant', index=6, + name='targeted_geo_target_constant', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.targeted_geo_target_constant', index=7, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, + serialized_options=_b('\372A,\n*googleads.googleapis.com/GeoTargetConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='targeted_keyword', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.targeted_keyword', index=8, + number=22, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.status', index=7, + name='status', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.status', index=9, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sitelink_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.sitelink_feed_item', index=8, + name='sitelink_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.sitelink_feed_item', index=10, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='structured_snippet_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.structured_snippet_feed_item', index=9, + name='structured_snippet_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.structured_snippet_feed_item', index=11, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.app_feed_item', index=10, + name='app_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.app_feed_item', index=12, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.call_feed_item', index=11, + name='call_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.call_feed_item', index=13, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='callout_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.callout_feed_item', index=12, + name='callout_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.callout_feed_item', index=14, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text_message_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.text_message_feed_item', index=13, + name='text_message_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.text_message_feed_item', index=15, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.price_feed_item', index=14, + name='price_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.price_feed_item', index=16, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promotion_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.promotion_feed_item', index=15, + name='promotion_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.promotion_feed_item', index=17, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.location_feed_item', index=16, + name='location_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.location_feed_item', index=18, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='affiliate_location_feed_item', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.affiliate_location_feed_item', index=17, + name='affiliate_location_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.affiliate_location_feed_item', index=19, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='hotel_callout_feed_item', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.hotel_callout_feed_item', index=20, + number=23, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='targeted_campaign', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.targeted_campaign', index=18, + name='targeted_campaign', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.targeted_campaign', index=21, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='targeted_ad_group', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.targeted_ad_group', index=19, + name='targeted_ad_group', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.targeted_ad_group', index=22, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Ak\n*googleads.googleapis.com/ExtensionFeedItem\022=customers/{customer}/extensionFeedItems/{extension_feed_item}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='extension', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.extension', + name='extension', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.extension', index=0, containing_type=None, fields=[]), _descriptor.OneofDescriptor( - name='serving_resource_targeting', full_name='google.ads.googleads.v1.resources.ExtensionFeedItem.serving_resource_targeting', + name='serving_resource_targeting', full_name='google.ads.googleads.v4.resources.ExtensionFeedItem.serving_resource_targeting', index=1, containing_type=None, fields=[]), ], - serialized_start=460, - serialized_end=1994, + serialized_start=520, + serialized_end=2572, ) -_EXTENSIONFEEDITEM.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE +_EXTENSIONFEEDITEM.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_EXTENSIONFEEDITEM.fields_by_name['extension_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_extension__type__pb2._EXTENSIONTYPEENUM_EXTENSIONTYPE _EXTENSIONFEEDITEM.fields_by_name['start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _EXTENSIONFEEDITEM.fields_by_name['end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXTENSIONFEEDITEM.fields_by_name['ad_schedules'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO -_EXTENSIONFEEDITEM.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__target__device__pb2._FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE +_EXTENSIONFEEDITEM.fields_by_name['ad_schedules'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO +_EXTENSIONFEEDITEM.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2._FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE _EXTENSIONFEEDITEM.fields_by_name['targeted_geo_target_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_EXTENSIONFEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2._FEEDITEMSTATUSENUM_FEEDITEMSTATUS -_EXTENSIONFEEDITEM.fields_by_name['sitelink_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['structured_snippet_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._STRUCTUREDSNIPPETFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['app_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._APPFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['call_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['callout_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['text_message_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._TEXTMESSAGEFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['price_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._PRICEFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['promotion_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._PROMOTIONFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['location_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._LOCATIONFEEDITEM -_EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._AFFILIATELOCATIONFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['targeted_keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_EXTENSIONFEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2._FEEDITEMSTATUSENUM_FEEDITEMSTATUS +_EXTENSIONFEEDITEM.fields_by_name['sitelink_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['structured_snippet_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._STRUCTUREDSNIPPETFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['app_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._APPFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['call_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['callout_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['text_message_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._TEXTMESSAGEFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['price_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._PRICEFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['promotion_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._PROMOTIONFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['location_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._LOCATIONFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._AFFILIATELOCATIONFEEDITEM +_EXTENSIONFEEDITEM.fields_by_name['hotel_callout_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._HOTELCALLOUTFEEDITEM _EXTENSIONFEEDITEM.fields_by_name['targeted_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _EXTENSIONFEEDITEM.fields_by_name['targeted_ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( @@ -252,6 +278,9 @@ _EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( _EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item']) _EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] +_EXTENSIONFEEDITEM.oneofs_by_name['extension'].fields.append( + _EXTENSIONFEEDITEM.fields_by_name['hotel_callout_feed_item']) +_EXTENSIONFEEDITEM.fields_by_name['hotel_callout_feed_item'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['extension'] _EXTENSIONFEEDITEM.oneofs_by_name['serving_resource_targeting'].fields.append( _EXTENSIONFEEDITEM.fields_by_name['targeted_campaign']) _EXTENSIONFEEDITEM.fields_by_name['targeted_campaign'].containing_oneof = _EXTENSIONFEEDITEM.oneofs_by_name['serving_resource_targeting'] @@ -263,27 +292,31 @@ ExtensionFeedItem = _reflection.GeneratedProtocolMessageType('ExtensionFeedItem', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONFEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.resources.extension_feed_item_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.extension_feed_item_pb2' , __doc__ = """An extension feed item. Attributes: resource_name: - The resource name of the extension feed item. Extension feed - item resource names have the form: + Immutable. The resource name of the extension feed item. + Extension feed item resource names have the form: ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` + id: + Output only. The ID of this feed item. Read-only. extension_type: - The extension type of the extension feed item. This field is - read-only. + Output only. The extension type of the extension feed item. + This field is read-only. start_date_time: Start time in which this feed item is effective and can begin - serving. The format is "YYYY-MM-DD HH:MM:SS". Examples: - "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + serving. The time is in the customer's time zone. The format + is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or + "2018-02-01 14:34:30" end_date_time: End time in which this feed item is no longer effective and - will stop serving. The format is "YYYY-MM-DD HH:MM:SS". - Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + will stop serving. The time is in the customer's time zone. + The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 + 09:15:00" or "2018-02-01 14:34:30" ad_schedules: List of non-overlapping schedules specifying all time intervals for which the feed item may serve. There can be a @@ -292,8 +325,10 @@ The targeted device. targeted_geo_target_constant: The targeted geo target constant. + targeted_keyword: + The targeted keyword. status: - Status of the feed item. This field is read-only. + Output only. Status of the feed item. This field is read-only. extension: Extension type. sitelink_feed_item: @@ -313,11 +348,14 @@ promotion_feed_item: Promotion extension. location_feed_item: - Location extension. Locations are synced from a GMB account - into a feed. This field is read-only. + Output only. Location extension. Locations are synced from a + GMB account into a feed. This field is read-only. affiliate_location_feed_item: - Affiliate location extension. Feed locations are populated by - Google Ads based on a chain ID. This field is read-only. + Output only. Affiliate location extension. Feed locations are + populated by Google Ads based on a chain ID. This field is + read-only. + hotel_callout_feed_item: + Hotel Callout extension. serving_resource_targeting: Targeting at either the campaign or ad group level. Feed items that target a campaign or ad group will only serve with that @@ -327,10 +365,20 @@ targeted_ad_group: The targeted ad group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.ExtensionFeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ExtensionFeedItem) )) _sym_db.RegisterMessage(ExtensionFeedItem) DESCRIPTOR._options = None +_EXTENSIONFEEDITEM.fields_by_name['resource_name']._options = None +_EXTENSIONFEEDITEM.fields_by_name['id']._options = None +_EXTENSIONFEEDITEM.fields_by_name['extension_type']._options = None +_EXTENSIONFEEDITEM.fields_by_name['targeted_geo_target_constant']._options = None +_EXTENSIONFEEDITEM.fields_by_name['status']._options = None +_EXTENSIONFEEDITEM.fields_by_name['location_feed_item']._options = None +_EXTENSIONFEEDITEM.fields_by_name['affiliate_location_feed_item']._options = None +_EXTENSIONFEEDITEM.fields_by_name['targeted_campaign']._options = None +_EXTENSIONFEEDITEM.fields_by_name['targeted_ad_group']._options = None +_EXTENSIONFEEDITEM._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/search_term_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/extension_feed_item_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/search_term_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/extension_feed_item_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/feed_item_pb2.py b/google/ads/google_ads/v4/proto/resources/feed_item_pb2.py similarity index 54% rename from google/ads/google_ads/v1/proto/resources/feed_item_pb2.py rename to google/ads/google_ads/v4/proto/resources/feed_item_pb2.py index 083befa59..755526bc3 100644 --- a/google/ads/google_ads/v1/proto/resources/feed_item_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/feed_item_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/feed_item.proto +# source: google/ads/googleads_v4/proto/resources/feed_item.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,199 +13,202 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2 -from google.ads.google_ads.v1.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2 -from google.ads.google_ads.v1.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_quality_approval_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_quality_disapproval_reason_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2 -from google.ads.google_ads.v1.proto.enums import feed_item_validation_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__validation__status__pb2 -from google.ads.google_ads.v1.proto.enums import geo_targeting_restriction_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2 -from google.ads.google_ads.v1.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__approval__status__pb2 -from google.ads.google_ads.v1.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__review__status__pb2 -from google.ads.google_ads.v1.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 +from google.ads.google_ads.v4.proto.common import custom_parameter_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2 +from google.ads.google_ads.v4.proto.common import feed_common_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2 +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_quality_approval_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_quality_disapproval_reason_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_validation_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__validation__status__pb2 +from google.ads.google_ads.v4.proto.enums import geo_targeting_restriction_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2 +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.ads.google_ads.v4.proto.enums import policy_approval_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2 +from google.ads.google_ads.v4.proto.enums import policy_review_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2 +from google.ads.google_ads.v4.proto.errors import feed_item_validation_error_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/feed_item.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/feed_item.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\rFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n7google/ads/googleads_v1/proto/resources/feed_item.proto\x12!google.ads.googleads.v1.resources\x1a;google/ads/googleads_v1/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v1/proto/common/feed_common.proto\x1a\x31google/ads/googleads_v1/proto/common/policy.proto\x1aKgoogle/ads/googleads_v1/proto/enums/feed_item_quality_approval_status.proto\x1aNgoogle/ads/googleads_v1/proto/enums/feed_item_quality_disapproval_reason.proto\x1a:google/ads/googleads_v1/proto/enums/feed_item_status.proto\x1a\x45google/ads/googleads_v1/proto/enums/feed_item_validation_status.proto\x1a\x43google/ads/googleads_v1/proto/enums/geo_targeting_restriction.proto\x1a@google/ads/googleads_v1/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v1/proto/enums/policy_review_status.proto\x1a\x45google/ads/googleads_v1/proto/errors/feed_item_validation_error.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa8\x05\n\x08\x46\x65\x65\x64Item\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12*\n\x04\x66\x65\x65\x64\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x35\n\x0fstart_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rend_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x10\x61ttribute_values\x18\x06 \x03(\x0b\x32\x39.google.ads.googleads.v1.resources.FeedItemAttributeValue\x12u\n\x19geo_targeting_restriction\x18\x07 \x01(\x0e\x32R.google.ads.googleads.v1.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction\x12N\n\x15url_custom_parameters\x18\x08 \x03(\x0b\x32/.google.ads.googleads.v1.common.CustomParameter\x12P\n\x06status\x18\t \x01(\x0e\x32@.google.ads.googleads.v1.enums.FeedItemStatusEnum.FeedItemStatus\x12V\n\x0cpolicy_infos\x18\n \x03(\x0b\x32@.google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo\"\xae\x04\n\x16\x46\x65\x65\x64ItemAttributeValue\x12\x36\n\x11\x66\x65\x65\x64_attribute_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\rinteger_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\rboolean_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0cstring_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64ouble_value\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x0bprice_value\x18\x06 \x01(\x0b\x32%.google.ads.googleads.v1.common.Money\x12\x33\n\x0einteger_values\x18\x07 \x03(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0e\x62oolean_values\x18\x08 \x03(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\rstring_values\x18\t \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rdouble_values\x18\n \x03(\x0b\x32\x1c.google.protobuf.DoubleValue\"\x85\x07\n\x1d\x46\x65\x65\x64ItemPlaceholderPolicyInfo\x12\x35\n\x10placeholder_type\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12@\n\x1a\x66\x65\x65\x64_mapping_resource_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12_\n\rreview_status\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v1.enums.PolicyReviewStatusEnum.PolicyReviewStatus\x12\x65\n\x0f\x61pproval_status\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v1.enums.PolicyApprovalStatusEnum.PolicyApprovalStatus\x12N\n\x14policy_topic_entries\x18\x05 \x03(\x0b\x32\x30.google.ads.googleads.v1.common.PolicyTopicEntry\x12o\n\x11validation_status\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v1.enums.FeedItemValidationStatusEnum.FeedItemValidationStatus\x12U\n\x11validation_errors\x18\x07 \x03(\x0b\x32:.google.ads.googleads.v1.resources.FeedItemValidationError\x12\x7f\n\x17quality_approval_status\x18\x08 \x01(\x0e\x32^.google.ads.googleads.v1.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatus\x12\x89\x01\n\x1bquality_disapproval_reasons\x18\t \x03(\x0e\x32\x64.google.ads.googleads.v1.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReason\"\xa6\x02\n\x17\x46\x65\x65\x64ItemValidationError\x12m\n\x10validation_error\x18\x01 \x01(\x0e\x32S.google.ads.googleads.v1.errors.FeedItemValidationErrorEnum.FeedItemValidationError\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x12\x66\x65\x65\x64_attribute_ids\x18\x03 \x03(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\nextra_info\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfa\x01\n%com.google.ads.googleads.v1.resourcesB\rFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\rFeedItemProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/resources/feed_item.proto\x12!google.ads.googleads.v4.resources\x1a;google/ads/googleads_v4/proto/common/custom_parameter.proto\x1a\x36google/ads/googleads_v4/proto/common/feed_common.proto\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1aKgoogle/ads/googleads_v4/proto/enums/feed_item_quality_approval_status.proto\x1aNgoogle/ads/googleads_v4/proto/enums/feed_item_quality_disapproval_reason.proto\x1a:google/ads/googleads_v4/proto/enums/feed_item_status.proto\x1a\x45google/ads/googleads_v4/proto/enums/feed_item_validation_status.proto\x1a\x43google/ads/googleads_v4/proto/enums/geo_targeting_restriction.proto\x1a:google/ads/googleads_v4/proto/enums/placeholder_type.proto\x1a@google/ads/googleads_v4/proto/enums/policy_approval_status.proto\x1a>google/ads/googleads_v4/proto/enums/policy_review_status.proto\x1a\x45google/ads/googleads_v4/proto/errors/feed_item_validation_error.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\x06\n\x08\x46\x65\x65\x64Item\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/FeedItem\x12Q\n\x04\x66\x65\x65\x64\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB%\xe0\x41\x05\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x35\n\x0fstart_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rend_date_time\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12S\n\x10\x61ttribute_values\x18\x06 \x03(\x0b\x32\x39.google.ads.googleads.v4.resources.FeedItemAttributeValue\x12u\n\x19geo_targeting_restriction\x18\x07 \x01(\x0e\x32R.google.ads.googleads.v4.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction\x12N\n\x15url_custom_parameters\x18\x08 \x03(\x0b\x32/.google.ads.googleads.v4.common.CustomParameter\x12U\n\x06status\x18\t \x01(\x0e\x32@.google.ads.googleads.v4.enums.FeedItemStatusEnum.FeedItemStatusB\x03\xe0\x41\x03\x12[\n\x0cpolicy_infos\x18\n \x03(\x0b\x32@.google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfoB\x03\xe0\x41\x03:R\xea\x41O\n!googleads.googleapis.com/FeedItem\x12*customers/{customer}/feedItems/{feed_item}\"\xae\x04\n\x16\x46\x65\x65\x64ItemAttributeValue\x12\x36\n\x11\x66\x65\x65\x64_attribute_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\rinteger_value\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\rboolean_value\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0cstring_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x64ouble_value\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12:\n\x0bprice_value\x18\x06 \x01(\x0b\x32%.google.ads.googleads.v4.common.Money\x12\x33\n\x0einteger_values\x18\x07 \x03(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x32\n\x0e\x62oolean_values\x18\x08 \x03(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\rstring_values\x18\t \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rdouble_values\x18\n \x03(\x0b\x32\x1c.google.protobuf.DoubleValue\"\xdf\x07\n\x1d\x46\x65\x65\x64ItemPlaceholderPolicyInfo\x12\x66\n\x15placeholder_type_enum\x18\n \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.PlaceholderTypeEnum.PlaceholderTypeB\x03\xe0\x41\x03\x12\x45\n\x1a\x66\x65\x65\x64_mapping_resource_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x64\n\rreview_status\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v4.enums.PolicyReviewStatusEnum.PolicyReviewStatusB\x03\xe0\x41\x03\x12j\n\x0f\x61pproval_status\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v4.enums.PolicyApprovalStatusEnum.PolicyApprovalStatusB\x03\xe0\x41\x03\x12S\n\x14policy_topic_entries\x18\x05 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.PolicyTopicEntryB\x03\xe0\x41\x03\x12t\n\x11validation_status\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v4.enums.FeedItemValidationStatusEnum.FeedItemValidationStatusB\x03\xe0\x41\x03\x12Z\n\x11validation_errors\x18\x07 \x03(\x0b\x32:.google.ads.googleads.v4.resources.FeedItemValidationErrorB\x03\xe0\x41\x03\x12\x84\x01\n\x17quality_approval_status\x18\x08 \x01(\x0e\x32^.google.ads.googleads.v4.enums.FeedItemQualityApprovalStatusEnum.FeedItemQualityApprovalStatusB\x03\xe0\x41\x03\x12\x8e\x01\n\x1bquality_disapproval_reasons\x18\t \x03(\x0e\x32\x64.google.ads.googleads.v4.enums.FeedItemQualityDisapprovalReasonEnum.FeedItemQualityDisapprovalReasonB\x03\xe0\x41\x03\"\xba\x02\n\x17\x46\x65\x65\x64ItemValidationError\x12r\n\x10validation_error\x18\x01 \x01(\x0e\x32S.google.ads.googleads.v4.errors.FeedItemValidationErrorEnum.FeedItemValidationErrorB\x03\xe0\x41\x03\x12\x36\n\x0b\x64\x65scription\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12<\n\x12\x66\x65\x65\x64_attribute_ids\x18\x03 \x03(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x35\n\nextra_info\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x42\xfa\x01\n%com.google.ads.googleads.v4.resourcesB\rFeedItemProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__validation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__validation__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _FEEDITEM = _descriptor.Descriptor( name='FeedItem', - full_name='google.ads.googleads.v1.resources.FeedItem', + full_name='google.ads.googleads.v4.resources.FeedItem', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.FeedItem.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.FeedItem.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/FeedItem'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v1.resources.FeedItem.feed', index=1, + name='feed', full_name='google.ads.googleads.v4.resources.FeedItem.feed', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.FeedItem.id', index=2, + name='id', full_name='google.ads.googleads.v4.resources.FeedItem.id', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='start_date_time', full_name='google.ads.googleads.v1.resources.FeedItem.start_date_time', index=3, + name='start_date_time', full_name='google.ads.googleads.v4.resources.FeedItem.start_date_time', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='end_date_time', full_name='google.ads.googleads.v1.resources.FeedItem.end_date_time', index=4, + name='end_date_time', full_name='google.ads.googleads.v4.resources.FeedItem.end_date_time', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='attribute_values', full_name='google.ads.googleads.v1.resources.FeedItem.attribute_values', index=5, + name='attribute_values', full_name='google.ads.googleads.v4.resources.FeedItem.attribute_values', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_targeting_restriction', full_name='google.ads.googleads.v1.resources.FeedItem.geo_targeting_restriction', index=6, + name='geo_targeting_restriction', full_name='google.ads.googleads.v4.resources.FeedItem.geo_targeting_restriction', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_custom_parameters', full_name='google.ads.googleads.v1.resources.FeedItem.url_custom_parameters', index=7, + name='url_custom_parameters', full_name='google.ads.googleads.v4.resources.FeedItem.url_custom_parameters', index=7, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.FeedItem.status', index=8, + name='status', full_name='google.ads.googleads.v4.resources.FeedItem.status', index=8, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_infos', full_name='google.ads.googleads.v1.resources.FeedItem.policy_infos', index=9, + name='policy_infos', full_name='google.ads.googleads.v4.resources.FeedItem.policy_infos', index=9, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AO\n!googleads.googleapis.com/FeedItem\022*customers/{customer}/feedItems/{feed_item}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=883, - serialized_end=1563, + serialized_start=1003, + serialized_end=1864, ) _FEEDITEMATTRIBUTEVALUE = _descriptor.Descriptor( name='FeedItemAttributeValue', - full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue', + full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='feed_attribute_id', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.feed_attribute_id', index=0, + name='feed_attribute_id', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.feed_attribute_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='integer_value', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.integer_value', index=1, + name='integer_value', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.integer_value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='boolean_value', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.boolean_value', index=2, + name='boolean_value', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.boolean_value', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_value', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.string_value', index=3, + name='string_value', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.string_value', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='double_value', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.double_value', index=4, + name='double_value', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.double_value', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_value', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.price_value', index=5, + name='price_value', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.price_value', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='integer_values', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.integer_values', index=6, + name='integer_values', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.integer_values', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='boolean_values', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.boolean_values', index=7, + name='boolean_values', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.boolean_values', index=7, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='string_values', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.string_values', index=8, + name='string_values', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.string_values', index=8, number=9, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='double_values', full_name='google.ads.googleads.v1.resources.FeedItemAttributeValue.double_values', index=9, + name='double_values', full_name='google.ads.googleads.v4.resources.FeedItemAttributeValue.double_values', index=9, number=10, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -223,81 +226,81 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1566, - serialized_end=2124, + serialized_start=1867, + serialized_end=2425, ) _FEEDITEMPLACEHOLDERPOLICYINFO = _descriptor.Descriptor( name='FeedItemPlaceholderPolicyInfo', - full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo', + full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='placeholder_type', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.placeholder_type', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, + name='placeholder_type_enum', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.placeholder_type_enum', index=0, + number=10, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_mapping_resource_name', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.feed_mapping_resource_name', index=1, + name='feed_mapping_resource_name', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.feed_mapping_resource_name', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='review_status', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.review_status', index=2, + name='review_status', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.review_status', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='approval_status', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.approval_status', index=3, + name='approval_status', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.approval_status', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_topic_entries', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.policy_topic_entries', index=4, + name='policy_topic_entries', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.policy_topic_entries', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validation_status', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.validation_status', index=5, + name='validation_status', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.validation_status', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validation_errors', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.validation_errors', index=6, + name='validation_errors', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.validation_errors', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='quality_approval_status', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.quality_approval_status', index=7, + name='quality_approval_status', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.quality_approval_status', index=7, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='quality_disapproval_reasons', full_name='google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo.quality_disapproval_reasons', index=8, + name='quality_disapproval_reasons', full_name='google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo.quality_disapproval_reasons', index=8, number=9, type=14, cpp_type=8, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -310,46 +313,46 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2127, - serialized_end=3028, + serialized_start=2428, + serialized_end=3419, ) _FEEDITEMVALIDATIONERROR = _descriptor.Descriptor( name='FeedItemValidationError', - full_name='google.ads.googleads.v1.resources.FeedItemValidationError', + full_name='google.ads.googleads.v4.resources.FeedItemValidationError', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='validation_error', full_name='google.ads.googleads.v1.resources.FeedItemValidationError.validation_error', index=0, + name='validation_error', full_name='google.ads.googleads.v4.resources.FeedItemValidationError.validation_error', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.resources.FeedItemValidationError.description', index=1, + name='description', full_name='google.ads.googleads.v4.resources.FeedItemValidationError.description', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_attribute_ids', full_name='google.ads.googleads.v1.resources.FeedItemValidationError.feed_attribute_ids', index=2, + name='feed_attribute_ids', full_name='google.ads.googleads.v4.resources.FeedItemValidationError.feed_attribute_ids', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extra_info', full_name='google.ads.googleads.v1.resources.FeedItemValidationError.extra_info', index=3, + name='extra_info', full_name='google.ads.googleads.v4.resources.FeedItemValidationError.extra_info', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -362,8 +365,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3031, - serialized_end=3325, + serialized_start=3422, + serialized_end=3736, ) _FEEDITEM.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -371,30 +374,30 @@ _FEEDITEM.fields_by_name['start_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDITEM.fields_by_name['end_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDITEM.fields_by_name['attribute_values'].message_type = _FEEDITEMATTRIBUTEVALUE -_FEEDITEM.fields_by_name['geo_targeting_restriction'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2._GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION -_FEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER -_FEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__status__pb2._FEEDITEMSTATUSENUM_FEEDITEMSTATUS +_FEEDITEM.fields_by_name['geo_targeting_restriction'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__restriction__pb2._GEOTARGETINGRESTRICTIONENUM_GEOTARGETINGRESTRICTION +_FEEDITEM.fields_by_name['url_custom_parameters'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_custom__parameter__pb2._CUSTOMPARAMETER +_FEEDITEM.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__status__pb2._FEEDITEMSTATUSENUM_FEEDITEMSTATUS _FEEDITEM.fields_by_name['policy_infos'].message_type = _FEEDITEMPLACEHOLDERPOLICYINFO _FEEDITEMATTRIBUTEVALUE.fields_by_name['feed_attribute_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['integer_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['boolean_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['string_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['double_value'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_FEEDITEMATTRIBUTEVALUE.fields_by_name['price_value'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_feed__common__pb2._MONEY +_FEEDITEMATTRIBUTEVALUE.fields_by_name['price_value'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_feed__common__pb2._MONEY _FEEDITEMATTRIBUTEVALUE.fields_by_name['integer_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['boolean_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['string_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDITEMATTRIBUTEVALUE.fields_by_name['double_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['placeholder_type'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['placeholder_type_enum'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE _FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['feed_mapping_resource_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__validation__status__pb2._FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['review_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__review__status__pb2._POLICYREVIEWSTATUSENUM_POLICYREVIEWSTATUS +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['approval_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_policy__approval__status__pb2._POLICYAPPROVALSTATUSENUM_POLICYAPPROVALSTATUS +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['policy_topic_entries'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYTOPICENTRY +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__validation__status__pb2._FEEDITEMVALIDATIONSTATUSENUM_FEEDITEMVALIDATIONSTATUS _FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_errors'].message_type = _FEEDITEMVALIDATIONERROR -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_approval_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2._FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS -_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_disapproval_reasons'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2._FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON -_FEEDITEMVALIDATIONERROR.fields_by_name['validation_error'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_errors_dot_feed__item__validation__error__pb2._FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_approval_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__approval__status__pb2._FEEDITEMQUALITYAPPROVALSTATUSENUM_FEEDITEMQUALITYAPPROVALSTATUS +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_disapproval_reasons'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__quality__disapproval__reason__pb2._FEEDITEMQUALITYDISAPPROVALREASONENUM_FEEDITEMQUALITYDISAPPROVALREASON +_FEEDITEMVALIDATIONERROR.fields_by_name['validation_error'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_errors_dot_feed__item__validation__error__pb2._FEEDITEMVALIDATIONERRORENUM_FEEDITEMVALIDATIONERROR _FEEDITEMVALIDATIONERROR.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDITEMVALIDATIONERROR.fields_by_name['feed_attribute_ids'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEEDITEMVALIDATIONERROR.fields_by_name['extra_info'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -406,28 +409,30 @@ FeedItem = _reflection.GeneratedProtocolMessageType('FeedItem', (_message.Message,), dict( DESCRIPTOR = _FEEDITEM, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_item_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_item_pb2' , __doc__ = """A feed item. Attributes: resource_name: - The resource name of the feed item. Feed item resource names - have the form: + Immutable. The resource name of the feed item. Feed item + resource names have the form: ``customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`` feed: - The feed to which this feed item belongs. + Immutable. The feed to which this feed item belongs. id: - The ID of this feed item. + Output only. The ID of this feed item. start_date_time: Start time in which this feed item is effective and can begin - serving. The format is "YYYY-MM-DD HH:MM:SS". Examples: - "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + serving. The time is in the customer's time zone. The format + is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 09:15:00" or + "2018-02-01 14:34:30" end_date_time: End time in which this feed item is no longer effective and - will stop serving. The format is "YYYY-MM-DD HH:MM:SS". - Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + will stop serving. The time is in the customer's time zone. + The format is "YYYY-MM-DD HH:MM:SS". Examples: "2018-03-05 + 09:15:00" or "2018-02-01 14:34:30" attribute_values: The feed item's attribute values. geo_targeting_restriction: @@ -438,22 +443,23 @@ in a ``tracking_url_template``, ``final_urls``, or ``mobile_final_urls``. status: - Status of the feed item. This field is read-only. + Output only. Status of the feed item. This field is read-only. policy_infos: - List of info about a feed item's validation and approval state - for active feed mappings. There will be an entry in the list - for each type of feed mapping associated with the feed, e.g. a - feed with a sitelink and a call feed mapping would cause every - feed item associated with that feed to have an entry in this - list for both sitelink and call. This field is read-only. + Output only. List of info about a feed item's validation and + approval state for active feed mappings. There will be an + entry in the list for each type of feed mapping associated + with the feed, e.g. a feed with a sitelink and a call feed + mapping would cause every feed item associated with that feed + to have an entry in this list for both sitelink and call. This + field is read-only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedItem) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedItem) )) _sym_db.RegisterMessage(FeedItem) FeedItemAttributeValue = _reflection.GeneratedProtocolMessageType('FeedItemAttributeValue', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMATTRIBUTEVALUE, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_item_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_item_pb2' , __doc__ = """A feed item attribute value. @@ -472,9 +478,8 @@ String value. Should be set if feed\_attribute\_id refers to a feed attribute of type STRING, URL or DATE\_TIME. For STRING the maximum length is 1500 characters. For URL the maximum - length is 2076 characters. For DATE\_TIME the format of the - string must be the same as start and end time for the feed - item. + length is 2076 characters. For DATE\_TIME the string must be + in the format "YYYYMMDD HHMMSS". double_value: Double value. Should be set if feed\_attribute\_id refers to a feed attribute of type DOUBLE. @@ -501,48 +506,52 @@ Repeated double value. Should be set if feed\_attribute\_id refers to a feed attribute of type DOUBLE\_LIST. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedItemAttributeValue) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedItemAttributeValue) )) _sym_db.RegisterMessage(FeedItemAttributeValue) FeedItemPlaceholderPolicyInfo = _reflection.GeneratedProtocolMessageType('FeedItemPlaceholderPolicyInfo', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMPLACEHOLDERPOLICYINFO, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_item_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_item_pb2' , __doc__ = """Policy, validation, and quality approval info for a feed item for the specified placeholder type. Attributes: - placeholder_type: - The placeholder type. + placeholder_type_enum: + Output only. The placeholder type. feed_mapping_resource_name: - The FeedMapping that contains the placeholder type. + Output only. The FeedMapping that contains the placeholder + type. review_status: - Where the placeholder type is in the review process. + Output only. Where the placeholder type is in the review + process. approval_status: - The overall approval status of the placeholder type, - calculated based on the status of its individual policy topic - entries. + Output only. The overall approval status of the placeholder + type, calculated based on the status of its individual policy + topic entries. policy_topic_entries: - The list of policy findings for the placeholder type. + Output only. The list of policy findings for the placeholder + type. validation_status: - The validation status of the palceholder type. + Output only. The validation status of the palceholder type. validation_errors: - List of placeholder type validation errors. + Output only. List of placeholder type validation errors. quality_approval_status: - Placeholder type quality evaluation approval status. + Output only. Placeholder type quality evaluation approval + status. quality_disapproval_reasons: - List of placeholder type quality evaluation disapproval - reasons. + Output only. List of placeholder type quality evaluation + disapproval reasons. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedItemPlaceholderPolicyInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedItemPlaceholderPolicyInfo) )) _sym_db.RegisterMessage(FeedItemPlaceholderPolicyInfo) FeedItemValidationError = _reflection.GeneratedProtocolMessageType('FeedItemValidationError', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMVALIDATIONERROR, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_item_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_item_pb2' , __doc__ = """Stores a validation error and the set of offending feed attributes which together are responsible for causing a feed item validation error. @@ -550,26 +559,45 @@ Attributes: validation_error: - Error code indicating what validation error was triggered. The - description of the error can be found in the 'description' - field. + Output only. Error code indicating what validation error was + triggered. The description of the error can be found in the + 'description' field. description: - The description of the validation error. + Output only. The description of the validation error. feed_attribute_ids: - Set of feed attributes in the feed item flagged during - validation. If empty, no specific feed attributes can be - associated with the error (e.g. error across the entire feed - item). + Output only. Set of feed attributes in the feed item flagged + during validation. If empty, no specific feed attributes can + be associated with the error (e.g. error across the entire + feed item). extra_info: - Any extra information related to this error which is not - captured by validation\_error and feed\_attribute\_id (e.g. - placeholder field IDs when feed\_attribute\_id is not mapped). - Note that extra\_info is not localized. + Output only. Any extra information related to this error which + is not captured by validation\_error and feed\_attribute\_id + (e.g. placeholder field IDs when feed\_attribute\_id is not + mapped). Note that extra\_info is not localized. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedItemValidationError) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedItemValidationError) )) _sym_db.RegisterMessage(FeedItemValidationError) DESCRIPTOR._options = None +_FEEDITEM.fields_by_name['resource_name']._options = None +_FEEDITEM.fields_by_name['feed']._options = None +_FEEDITEM.fields_by_name['id']._options = None +_FEEDITEM.fields_by_name['status']._options = None +_FEEDITEM.fields_by_name['policy_infos']._options = None +_FEEDITEM._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['placeholder_type_enum']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['feed_mapping_resource_name']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['review_status']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['approval_status']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['policy_topic_entries']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_status']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['validation_errors']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_approval_status']._options = None +_FEEDITEMPLACEHOLDERPOLICYINFO.fields_by_name['quality_disapproval_reasons']._options = None +_FEEDITEMVALIDATIONERROR.fields_by_name['validation_error']._options = None +_FEEDITEMVALIDATIONERROR.fields_by_name['description']._options = None +_FEEDITEMVALIDATIONERROR.fields_by_name['feed_attribute_ids']._options = None +_FEEDITEMVALIDATIONERROR.fields_by_name['extra_info']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/shared_criterion_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/feed_item_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/shared_criterion_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/feed_item_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/feed_item_target_pb2.py b/google/ads/google_ads/v4/proto/resources/feed_item_target_pb2.py new file mode 100644 index 000000000..d28b28771 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/feed_item_target_pb2.py @@ -0,0 +1,230 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/feed_item_target.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_target_device_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_target_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__status__pb2 +from google.ads.google_ads.v4.proto.enums import feed_item_target_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/feed_item_target.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023FeedItemTargetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/feed_item_target.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x41google/ads/googleads_v4/proto/enums/feed_item_target_device.proto\x1a\x41google/ads/googleads_v4/proto/enums/feed_item_target_status.proto\x1a?google/ads/googleads_v4/proto/enums/feed_item_target_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd5\x08\n\x0e\x46\x65\x65\x64ItemTarget\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x05\xfa\x41)\n\'googleads.googleapis.com/FeedItemTarget\x12Z\n\tfeed_item\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/FeedItem\x12l\n\x15\x66\x65\x65\x64_item_target_type\x18\x03 \x01(\x0e\x32H.google.ads.googleads.v4.enums.FeedItemTargetTypeEnum.FeedItemTargetTypeB\x03\xe0\x41\x03\x12=\n\x13\x66\x65\x65\x64_item_target_id\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x61\n\x06status\x18\x0b \x01(\x0e\x32L.google.ads.googleads.v4.enums.FeedItemTargetStatusEnum.FeedItemTargetStatusB\x03\xe0\x41\x03\x12[\n\x08\x63\x61mpaign\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/CampaignH\x00\x12Z\n\x08\x61\x64_group\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x05\xfa\x41\"\n googleads.googleapis.com/AdGroupH\x00\x12\x43\n\x07keyword\x18\x07 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12o\n\x13geo_target_constant\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstantH\x00\x12\x63\n\x06\x64\x65vice\x18\t \x01(\x0e\x32L.google.ads.googleads.v4.enums.FeedItemTargetDeviceEnum.FeedItemTargetDeviceB\x03\xe0\x41\x05H\x00\x12J\n\x0b\x61\x64_schedule\x18\n \x01(\x0b\x32..google.ads.googleads.v4.common.AdScheduleInfoB\x03\xe0\x41\x05H\x00:e\xea\x41\x62\n\'googleads.googleapis.com/FeedItemTarget\x12\x37\x63ustomers/{customer}/feedItemTargets/{feed_item_target}B\x08\n\x06targetB\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13\x46\x65\x65\x64ItemTargetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_FEEDITEMTARGET = _descriptor.Descriptor( + name='FeedItemTarget', + full_name='google.ads.googleads.v4.resources.FeedItemTarget', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.FeedItemTarget.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/FeedItemTarget'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='feed_item', full_name='google.ads.googleads.v4.resources.FeedItemTarget.feed_item', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/FeedItem'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='feed_item_target_type', full_name='google.ads.googleads.v4.resources.FeedItemTarget.feed_item_target_type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='feed_item_target_id', full_name='google.ads.googleads.v4.resources.FeedItemTarget.feed_item_target_id', index=3, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.FeedItemTarget.status', index=4, + number=11, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign', full_name='google.ads.googleads.v4.resources.FeedItemTarget.campaign', index=5, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.resources.FeedItemTarget.ad_group', index=6, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword', full_name='google.ads.googleads.v4.resources.FeedItemTarget.keyword', index=7, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='geo_target_constant', full_name='google.ads.googleads.v4.resources.FeedItemTarget.geo_target_constant', index=8, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A,\n*googleads.googleapis.com/GeoTargetConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='device', full_name='google.ads.googleads.v4.resources.FeedItemTarget.device', index=9, + number=9, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_schedule', full_name='google.ads.googleads.v4.resources.FeedItemTarget.ad_schedule', index=10, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ab\n\'googleads.googleapis.com/FeedItemTarget\0227customers/{customer}/feedItemTargets/{feed_item_target}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='target', full_name='google.ads.googleads.v4.resources.FeedItemTarget.target', + index=0, containing_type=None, fields=[]), + ], + serialized_start=476, + serialized_end=1585, +) + +_FEEDITEMTARGET.fields_by_name['feed_item'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_FEEDITEMTARGET.fields_by_name['feed_item_target_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__type__pb2._FEEDITEMTARGETTYPEENUM_FEEDITEMTARGETTYPE +_FEEDITEMTARGET.fields_by_name['feed_item_target_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_FEEDITEMTARGET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__status__pb2._FEEDITEMTARGETSTATUSENUM_FEEDITEMTARGETSTATUS +_FEEDITEMTARGET.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_FEEDITEMTARGET.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_FEEDITEMTARGET.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_FEEDITEMTARGET.fields_by_name['geo_target_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_FEEDITEMTARGET.fields_by_name['device'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__item__target__device__pb2._FEEDITEMTARGETDEVICEENUM_FEEDITEMTARGETDEVICE +_FEEDITEMTARGET.fields_by_name['ad_schedule'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._ADSCHEDULEINFO +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['campaign']) +_FEEDITEMTARGET.fields_by_name['campaign'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['ad_group']) +_FEEDITEMTARGET.fields_by_name['ad_group'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['keyword']) +_FEEDITEMTARGET.fields_by_name['keyword'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['geo_target_constant']) +_FEEDITEMTARGET.fields_by_name['geo_target_constant'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['device']) +_FEEDITEMTARGET.fields_by_name['device'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +_FEEDITEMTARGET.oneofs_by_name['target'].fields.append( + _FEEDITEMTARGET.fields_by_name['ad_schedule']) +_FEEDITEMTARGET.fields_by_name['ad_schedule'].containing_oneof = _FEEDITEMTARGET.oneofs_by_name['target'] +DESCRIPTOR.message_types_by_name['FeedItemTarget'] = _FEEDITEMTARGET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedItemTarget = _reflection.GeneratedProtocolMessageType('FeedItemTarget', (_message.Message,), dict( + DESCRIPTOR = _FEEDITEMTARGET, + __module__ = 'google.ads.googleads_v4.proto.resources.feed_item_target_pb2' + , + __doc__ = """A feed item target. + + + Attributes: + resource_name: + Immutable. The resource name of the feed item target. Feed + item target resource names have the form: ``customers/{custome + r_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_targ + et_type}~{feed_item_target_id}`` + feed_item: + Immutable. The feed item to which this feed item target + belongs. + feed_item_target_type: + Output only. The target type of this feed item target. This + field is read-only. + feed_item_target_id: + Output only. The ID of the targeted resource. This field is + read-only. + status: + Output only. Status of the feed item target. This field is + read-only. + target: + The targeted resource. + campaign: + Immutable. The targeted campaign. + ad_group: + Immutable. The targeted ad group. + keyword: + Immutable. The targeted keyword. + geo_target_constant: + Immutable. The targeted geo target constant resource name. + device: + Immutable. The targeted device. + ad_schedule: + Immutable. The targeted schedule. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedItemTarget) + )) +_sym_db.RegisterMessage(FeedItemTarget) + + +DESCRIPTOR._options = None +_FEEDITEMTARGET.fields_by_name['resource_name']._options = None +_FEEDITEMTARGET.fields_by_name['feed_item']._options = None +_FEEDITEMTARGET.fields_by_name['feed_item_target_type']._options = None +_FEEDITEMTARGET.fields_by_name['feed_item_target_id']._options = None +_FEEDITEMTARGET.fields_by_name['status']._options = None +_FEEDITEMTARGET.fields_by_name['campaign']._options = None +_FEEDITEMTARGET.fields_by_name['ad_group']._options = None +_FEEDITEMTARGET.fields_by_name['keyword']._options = None +_FEEDITEMTARGET.fields_by_name['geo_target_constant']._options = None +_FEEDITEMTARGET.fields_by_name['device']._options = None +_FEEDITEMTARGET.fields_by_name['ad_schedule']._options = None +_FEEDITEMTARGET._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/shared_set_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/feed_item_target_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/shared_set_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/feed_item_target_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/feed_mapping_pb2.py b/google/ads/google_ads/v4/proto/resources/feed_mapping_pb2.py similarity index 51% rename from google/ads/google_ads/v1/proto/resources/feed_mapping_pb2.py rename to google/ads/google_ads/v4/proto/resources/feed_mapping_pb2.py index 8e33ccc6a..33977fbaf 100644 --- a/google/ads/google_ads/v1/proto/resources/feed_mapping_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/feed_mapping_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/feed_mapping.proto +# source: google/ads/googleads_v4/proto/resources/feed_mapping.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,283 +13,285 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import ad_customizer_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import affiliate_location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import app_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import call_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import callout_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_callout__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import custom_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import dsa_page_feed_criterion_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2 -from google.ads.google_ads.v1.proto.enums import education_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_education__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import feed_mapping_criterion_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2 -from google.ads.google_ads.v1.proto.enums import feed_mapping_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__status__pb2 -from google.ads.google_ads.v1.proto.enums import flight_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_flight__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import hotel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import job_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_job__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import local_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_local__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import location_extension_targeting_criterion_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2 -from google.ads.google_ads.v1.proto.enums import location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import message_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_message__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2 -from google.ads.google_ads.v1.proto.enums import price_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import promotion_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import real_estate_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import sitelink_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import structured_snippet_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2 -from google.ads.google_ads.v1.proto.enums import travel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_travel__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import ad_customizer_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import affiliate_location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import app_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import call_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import callout_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_callout__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import custom_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import dsa_page_feed_criterion_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2 +from google.ads.google_ads.v4.proto.enums import education_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_education__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import feed_mapping_criterion_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2 +from google.ads.google_ads.v4.proto.enums import feed_mapping_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__status__pb2 +from google.ads.google_ads.v4.proto.enums import flight_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_flight__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import hotel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import job_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_job__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import local_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_local__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import location_extension_targeting_criterion_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2 +from google.ads.google_ads.v4.proto.enums import location_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import message_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_message__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.ads.google_ads.v4.proto.enums import price_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import promotion_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import real_estate_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import sitelink_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import structured_snippet_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2 +from google.ads.google_ads.v4.proto.enums import travel_placeholder_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_travel__placeholder__field__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/feed_mapping.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/feed_mapping.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\020FeedMappingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/resources/feed_mapping.proto\x12!google.ads.googleads.v1.resources\x1aIgoogle/ads/googleads_v1/proto/enums/ad_customizer_placeholder_field.proto\x1aNgoogle/ads/googleads_v1/proto/enums/affiliate_location_placeholder_field.proto\x1a?google/ads/googleads_v1/proto/enums/app_placeholder_field.proto\x1a@google/ads/googleads_v1/proto/enums/call_placeholder_field.proto\x1a\x43google/ads/googleads_v1/proto/enums/callout_placeholder_field.proto\x1a\x42google/ads/googleads_v1/proto/enums/custom_placeholder_field.proto\x1aGgoogle/ads/googleads_v1/proto/enums/dsa_page_feed_criterion_field.proto\x1a\x45google/ads/googleads_v1/proto/enums/education_placeholder_field.proto\x1a\x45google/ads/googleads_v1/proto/enums/feed_mapping_criterion_type.proto\x1a=google/ads/googleads_v1/proto/enums/feed_mapping_status.proto\x1a\x42google/ads/googleads_v1/proto/enums/flight_placeholder_field.proto\x1a\x41google/ads/googleads_v1/proto/enums/hotel_placeholder_field.proto\x1a?google/ads/googleads_v1/proto/enums/job_placeholder_field.proto\x1a\x41google/ads/googleads_v1/proto/enums/local_placeholder_field.proto\x1aVgoogle/ads/googleads_v1/proto/enums/location_extension_targeting_criterion_field.proto\x1a\x44google/ads/googleads_v1/proto/enums/location_placeholder_field.proto\x1a\x43google/ads/googleads_v1/proto/enums/message_placeholder_field.proto\x1a:google/ads/googleads_v1/proto/enums/placeholder_type.proto\x1a\x41google/ads/googleads_v1/proto/enums/price_placeholder_field.proto\x1a\x45google/ads/googleads_v1/proto/enums/promotion_placeholder_field.proto\x1aGgoogle/ads/googleads_v1/proto/enums/real_estate_placeholder_field.proto\x1a\x44google/ads/googleads_v1/proto/enums/sitelink_placeholder_field.proto\x1aNgoogle/ads/googleads_v1/proto/enums/structured_snippet_placeholder_field.proto\x1a\x42google/ads/googleads_v1/proto/enums/travel_placeholder_field.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xde\x03\n\x0b\x46\x65\x65\x64Mapping\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12*\n\x04\x66\x65\x65\x64\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x18\x61ttribute_field_mappings\x18\x05 \x03(\x0b\x32\x38.google.ads.googleads.v1.resources.AttributeFieldMapping\x12V\n\x06status\x18\x06 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.FeedMappingStatusEnum.FeedMappingStatus\x12^\n\x10placeholder_type\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v1.enums.PlaceholderTypeEnum.PlaceholderTypeH\x00\x12n\n\x0e\x63riterion_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v1.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionTypeH\x00\x42\x08\n\x06target\"\xea\x13\n\x15\x41ttributeFieldMapping\x12\x36\n\x11\x66\x65\x65\x64_attribute_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\x08\x66ield_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12n\n\x0esitelink_field\x18\x03 \x01(\x0e\x32T.google.ads.googleads.v1.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderFieldH\x00\x12\x62\n\ncall_field\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v1.enums.CallPlaceholderFieldEnum.CallPlaceholderFieldH\x00\x12_\n\tapp_field\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v1.enums.AppPlaceholderFieldEnum.AppPlaceholderFieldH\x00\x12n\n\x0elocation_field\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v1.enums.LocationPlaceholderFieldEnum.LocationPlaceholderFieldH\x00\x12\x8a\x01\n\x18\x61\x66\x66iliate_location_field\x18\x07 \x01(\x0e\x32\x66.google.ads.googleads.v1.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderFieldH\x00\x12k\n\rcallout_field\x18\x08 \x01(\x0e\x32R.google.ads.googleads.v1.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderFieldH\x00\x12\x8a\x01\n\x18structured_snippet_field\x18\t \x01(\x0e\x32\x66.google.ads.googleads.v1.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderFieldH\x00\x12k\n\rmessage_field\x18\n \x01(\x0e\x32R.google.ads.googleads.v1.enums.MessagePlaceholderFieldEnum.MessagePlaceholderFieldH\x00\x12\x65\n\x0bprice_field\x18\x0b \x01(\x0e\x32N.google.ads.googleads.v1.enums.PricePlaceholderFieldEnum.PricePlaceholderFieldH\x00\x12q\n\x0fpromotion_field\x18\x0c \x01(\x0e\x32V.google.ads.googleads.v1.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderFieldH\x00\x12{\n\x13\x61\x64_customizer_field\x18\r \x01(\x0e\x32\\.google.ads.googleads.v1.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderFieldH\x00\x12u\n\x13\x64sa_page_feed_field\x18\x0e \x01(\x0e\x32V.google.ads.googleads.v1.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionFieldH\x00\x12\xa2\x01\n\"location_extension_targeting_field\x18\x0f \x01(\x0e\x32t.google.ads.googleads.v1.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionFieldH\x00\x12q\n\x0f\x65\x64ucation_field\x18\x10 \x01(\x0e\x32V.google.ads.googleads.v1.enums.EducationPlaceholderFieldEnum.EducationPlaceholderFieldH\x00\x12h\n\x0c\x66light_field\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v1.enums.FlightPlaceholderFieldEnum.FlightPlaceholderFieldH\x00\x12h\n\x0c\x63ustom_field\x18\x12 \x01(\x0e\x32P.google.ads.googleads.v1.enums.CustomPlaceholderFieldEnum.CustomPlaceholderFieldH\x00\x12\x65\n\x0bhotel_field\x18\x13 \x01(\x0e\x32N.google.ads.googleads.v1.enums.HotelPlaceholderFieldEnum.HotelPlaceholderFieldH\x00\x12u\n\x11real_estate_field\x18\x14 \x01(\x0e\x32X.google.ads.googleads.v1.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderFieldH\x00\x12h\n\x0ctravel_field\x18\x15 \x01(\x0e\x32P.google.ads.googleads.v1.enums.TravelPlaceholderFieldEnum.TravelPlaceholderFieldH\x00\x12\x65\n\x0blocal_field\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v1.enums.LocalPlaceholderFieldEnum.LocalPlaceholderFieldH\x00\x12_\n\tjob_field\x18\x17 \x01(\x0e\x32J.google.ads.googleads.v1.enums.JobPlaceholderFieldEnum.JobPlaceholderFieldH\x00\x42\x07\n\x05\x66ieldB\xfd\x01\n%com.google.ads.googleads.v1.resourcesB\x10\x46\x65\x65\x64MappingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020FeedMappingProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/resources/feed_mapping.proto\x12!google.ads.googleads.v4.resources\x1aIgoogle/ads/googleads_v4/proto/enums/ad_customizer_placeholder_field.proto\x1aNgoogle/ads/googleads_v4/proto/enums/affiliate_location_placeholder_field.proto\x1a?google/ads/googleads_v4/proto/enums/app_placeholder_field.proto\x1a@google/ads/googleads_v4/proto/enums/call_placeholder_field.proto\x1a\x43google/ads/googleads_v4/proto/enums/callout_placeholder_field.proto\x1a\x42google/ads/googleads_v4/proto/enums/custom_placeholder_field.proto\x1aGgoogle/ads/googleads_v4/proto/enums/dsa_page_feed_criterion_field.proto\x1a\x45google/ads/googleads_v4/proto/enums/education_placeholder_field.proto\x1a\x45google/ads/googleads_v4/proto/enums/feed_mapping_criterion_type.proto\x1a=google/ads/googleads_v4/proto/enums/feed_mapping_status.proto\x1a\x42google/ads/googleads_v4/proto/enums/flight_placeholder_field.proto\x1a\x41google/ads/googleads_v4/proto/enums/hotel_placeholder_field.proto\x1a?google/ads/googleads_v4/proto/enums/job_placeholder_field.proto\x1a\x41google/ads/googleads_v4/proto/enums/local_placeholder_field.proto\x1aVgoogle/ads/googleads_v4/proto/enums/location_extension_targeting_criterion_field.proto\x1a\x44google/ads/googleads_v4/proto/enums/location_placeholder_field.proto\x1a\x43google/ads/googleads_v4/proto/enums/message_placeholder_field.proto\x1a:google/ads/googleads_v4/proto/enums/placeholder_type.proto\x1a\x41google/ads/googleads_v4/proto/enums/price_placeholder_field.proto\x1a\x45google/ads/googleads_v4/proto/enums/promotion_placeholder_field.proto\x1aGgoogle/ads/googleads_v4/proto/enums/real_estate_placeholder_field.proto\x1a\x44google/ads/googleads_v4/proto/enums/sitelink_placeholder_field.proto\x1aNgoogle/ads/googleads_v4/proto/enums/structured_snippet_placeholder_field.proto\x1a\x42google/ads/googleads_v4/proto/enums/travel_placeholder_field.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xa4\x05\n\x0b\x46\x65\x65\x64Mapping\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x05\xfa\x41&\n$googleads.googleapis.com/FeedMapping\x12Q\n\x04\x66\x65\x65\x64\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB%\xe0\x41\x05\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\x12_\n\x18\x61ttribute_field_mappings\x18\x05 \x03(\x0b\x32\x38.google.ads.googleads.v4.resources.AttributeFieldMappingB\x03\xe0\x41\x05\x12[\n\x06status\x18\x06 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.FeedMappingStatusEnum.FeedMappingStatusB\x03\xe0\x41\x03\x12\x63\n\x10placeholder_type\x18\x03 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.PlaceholderTypeEnum.PlaceholderTypeB\x03\xe0\x41\x05H\x00\x12s\n\x0e\x63riterion_type\x18\x04 \x01(\x0e\x32T.google.ads.googleads.v4.enums.FeedMappingCriterionTypeEnum.FeedMappingCriterionTypeB\x03\xe0\x41\x05H\x00:[\xea\x41X\n$googleads.googleapis.com/FeedMapping\x12\x30\x63ustomers/{customer}/feedMappings/{feed_mapping}B\x08\n\x06target\"\xde\x14\n\x15\x41ttributeFieldMapping\x12;\n\x11\x66\x65\x65\x64_attribute_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x05\x12\x32\n\x08\x66ield_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12s\n\x0esitelink_field\x18\x03 \x01(\x0e\x32T.google.ads.googleads.v4.enums.SitelinkPlaceholderFieldEnum.SitelinkPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12g\n\ncall_field\x18\x04 \x01(\x0e\x32L.google.ads.googleads.v4.enums.CallPlaceholderFieldEnum.CallPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12\x64\n\tapp_field\x18\x05 \x01(\x0e\x32J.google.ads.googleads.v4.enums.AppPlaceholderFieldEnum.AppPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12s\n\x0elocation_field\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v4.enums.LocationPlaceholderFieldEnum.LocationPlaceholderFieldB\x03\xe0\x41\x03H\x00\x12\x8f\x01\n\x18\x61\x66\x66iliate_location_field\x18\x07 \x01(\x0e\x32\x66.google.ads.googleads.v4.enums.AffiliateLocationPlaceholderFieldEnum.AffiliateLocationPlaceholderFieldB\x03\xe0\x41\x03H\x00\x12p\n\rcallout_field\x18\x08 \x01(\x0e\x32R.google.ads.googleads.v4.enums.CalloutPlaceholderFieldEnum.CalloutPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12\x8f\x01\n\x18structured_snippet_field\x18\t \x01(\x0e\x32\x66.google.ads.googleads.v4.enums.StructuredSnippetPlaceholderFieldEnum.StructuredSnippetPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12p\n\rmessage_field\x18\n \x01(\x0e\x32R.google.ads.googleads.v4.enums.MessagePlaceholderFieldEnum.MessagePlaceholderFieldB\x03\xe0\x41\x05H\x00\x12j\n\x0bprice_field\x18\x0b \x01(\x0e\x32N.google.ads.googleads.v4.enums.PricePlaceholderFieldEnum.PricePlaceholderFieldB\x03\xe0\x41\x05H\x00\x12v\n\x0fpromotion_field\x18\x0c \x01(\x0e\x32V.google.ads.googleads.v4.enums.PromotionPlaceholderFieldEnum.PromotionPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12\x80\x01\n\x13\x61\x64_customizer_field\x18\r \x01(\x0e\x32\\.google.ads.googleads.v4.enums.AdCustomizerPlaceholderFieldEnum.AdCustomizerPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12z\n\x13\x64sa_page_feed_field\x18\x0e \x01(\x0e\x32V.google.ads.googleads.v4.enums.DsaPageFeedCriterionFieldEnum.DsaPageFeedCriterionFieldB\x03\xe0\x41\x05H\x00\x12\xa7\x01\n\"location_extension_targeting_field\x18\x0f \x01(\x0e\x32t.google.ads.googleads.v4.enums.LocationExtensionTargetingCriterionFieldEnum.LocationExtensionTargetingCriterionFieldB\x03\xe0\x41\x05H\x00\x12v\n\x0f\x65\x64ucation_field\x18\x10 \x01(\x0e\x32V.google.ads.googleads.v4.enums.EducationPlaceholderFieldEnum.EducationPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12m\n\x0c\x66light_field\x18\x11 \x01(\x0e\x32P.google.ads.googleads.v4.enums.FlightPlaceholderFieldEnum.FlightPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12m\n\x0c\x63ustom_field\x18\x12 \x01(\x0e\x32P.google.ads.googleads.v4.enums.CustomPlaceholderFieldEnum.CustomPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12j\n\x0bhotel_field\x18\x13 \x01(\x0e\x32N.google.ads.googleads.v4.enums.HotelPlaceholderFieldEnum.HotelPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12z\n\x11real_estate_field\x18\x14 \x01(\x0e\x32X.google.ads.googleads.v4.enums.RealEstatePlaceholderFieldEnum.RealEstatePlaceholderFieldB\x03\xe0\x41\x05H\x00\x12m\n\x0ctravel_field\x18\x15 \x01(\x0e\x32P.google.ads.googleads.v4.enums.TravelPlaceholderFieldEnum.TravelPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12j\n\x0blocal_field\x18\x16 \x01(\x0e\x32N.google.ads.googleads.v4.enums.LocalPlaceholderFieldEnum.LocalPlaceholderFieldB\x03\xe0\x41\x05H\x00\x12\x64\n\tjob_field\x18\x17 \x01(\x0e\x32J.google.ads.googleads.v4.enums.JobPlaceholderFieldEnum.JobPlaceholderFieldB\x03\xe0\x41\x05H\x00\x42\x07\n\x05\x66ieldB\xfd\x01\n%com.google.ads.googleads.v4.resourcesB\x10\x46\x65\x65\x64MappingProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_callout__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_education__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_flight__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_job__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_local__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_message__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_travel__placeholder__field__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_callout__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_education__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_flight__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_job__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_local__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_message__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_travel__placeholder__field__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _FEEDMAPPING = _descriptor.Descriptor( name='FeedMapping', - full_name='google.ads.googleads.v1.resources.FeedMapping', + full_name='google.ads.googleads.v4.resources.FeedMapping', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.FeedMapping.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.FeedMapping.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A&\n$googleads.googleapis.com/FeedMapping'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v1.resources.FeedMapping.feed', index=1, + name='feed', full_name='google.ads.googleads.v4.resources.FeedMapping.feed', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='attribute_field_mappings', full_name='google.ads.googleads.v1.resources.FeedMapping.attribute_field_mappings', index=2, + name='attribute_field_mappings', full_name='google.ads.googleads.v4.resources.FeedMapping.attribute_field_mappings', index=2, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.FeedMapping.status', index=3, + name='status', full_name='google.ads.googleads.v4.resources.FeedMapping.status', index=3, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placeholder_type', full_name='google.ads.googleads.v1.resources.FeedMapping.placeholder_type', index=4, + name='placeholder_type', full_name='google.ads.googleads.v4.resources.FeedMapping.placeholder_type', index=4, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_type', full_name='google.ads.googleads.v1.resources.FeedMapping.criterion_type', index=5, + name='criterion_type', full_name='google.ads.googleads.v4.resources.FeedMapping.criterion_type', index=5, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AX\n$googleads.googleapis.com/FeedMapping\0220customers/{customer}/feedMappings/{feed_mapping}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='target', full_name='google.ads.googleads.v1.resources.FeedMapping.target', + name='target', full_name='google.ads.googleads.v4.resources.FeedMapping.target', index=0, containing_type=None, fields=[]), ], - serialized_start=1844, - serialized_end=2322, + serialized_start=1904, + serialized_end=2580, ) _ATTRIBUTEFIELDMAPPING = _descriptor.Descriptor( name='AttributeFieldMapping', - full_name='google.ads.googleads.v1.resources.AttributeFieldMapping', + full_name='google.ads.googleads.v4.resources.AttributeFieldMapping', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='feed_attribute_id', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.feed_attribute_id', index=0, + name='feed_attribute_id', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.feed_attribute_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='field_id', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.field_id', index=1, + name='field_id', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.field_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sitelink_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.sitelink_field', index=2, + name='sitelink_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.sitelink_field', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.call_field', index=3, + name='call_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.call_field', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='app_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.app_field', index=4, + name='app_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.app_field', index=4, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.location_field', index=5, + name='location_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.location_field', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='affiliate_location_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.affiliate_location_field', index=6, + name='affiliate_location_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.affiliate_location_field', index=6, number=7, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='callout_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.callout_field', index=7, + name='callout_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.callout_field', index=7, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='structured_snippet_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.structured_snippet_field', index=8, + name='structured_snippet_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.structured_snippet_field', index=8, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='message_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.message_field', index=9, + name='message_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.message_field', index=9, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='price_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.price_field', index=10, + name='price_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.price_field', index=10, number=11, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='promotion_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.promotion_field', index=11, + name='promotion_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.promotion_field', index=11, number=12, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_customizer_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.ad_customizer_field', index=12, + name='ad_customizer_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.ad_customizer_field', index=12, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dsa_page_feed_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.dsa_page_feed_field', index=13, + name='dsa_page_feed_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.dsa_page_feed_field', index=13, number=14, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_extension_targeting_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.location_extension_targeting_field', index=14, + name='location_extension_targeting_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.location_extension_targeting_field', index=14, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='education_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.education_field', index=15, + name='education_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.education_field', index=15, number=16, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='flight_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.flight_field', index=16, + name='flight_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.flight_field', index=16, number=17, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.custom_field', index=17, + name='custom_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.custom_field', index=17, number=18, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.hotel_field', index=18, + name='hotel_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.hotel_field', index=18, number=19, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='real_estate_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.real_estate_field', index=19, + name='real_estate_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.real_estate_field', index=19, number=20, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='travel_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.travel_field', index=20, + name='travel_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.travel_field', index=20, number=21, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='local_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.local_field', index=21, + name='local_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.local_field', index=21, number=22, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='job_field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.job_field', index=22, + name='job_field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.job_field', index=22, number=23, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], @@ -302,18 +304,18 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='field', full_name='google.ads.googleads.v1.resources.AttributeFieldMapping.field', + name='field', full_name='google.ads.googleads.v4.resources.AttributeFieldMapping.field', index=0, containing_type=None, fields=[]), ], - serialized_start=2325, - serialized_end=4863, + serialized_start=2583, + serialized_end=5237, ) _FEEDMAPPING.fields_by_name['feed'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEEDMAPPING.fields_by_name['attribute_field_mappings'].message_type = _ATTRIBUTEFIELDMAPPING -_FEEDMAPPING.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__status__pb2._FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS -_FEEDMAPPING.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE -_FEEDMAPPING.fields_by_name['criterion_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2._FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE +_FEEDMAPPING.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__status__pb2._FEEDMAPPINGSTATUSENUM_FEEDMAPPINGSTATUS +_FEEDMAPPING.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE +_FEEDMAPPING.fields_by_name['criterion_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__mapping__criterion__type__pb2._FEEDMAPPINGCRITERIONTYPEENUM_FEEDMAPPINGCRITERIONTYPE _FEEDMAPPING.oneofs_by_name['target'].fields.append( _FEEDMAPPING.fields_by_name['placeholder_type']) _FEEDMAPPING.fields_by_name['placeholder_type'].containing_oneof = _FEEDMAPPING.oneofs_by_name['target'] @@ -322,27 +324,27 @@ _FEEDMAPPING.fields_by_name['criterion_type'].containing_oneof = _FEEDMAPPING.oneofs_by_name['target'] _ATTRIBUTEFIELDMAPPING.fields_by_name['feed_attribute_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _ATTRIBUTEFIELDMAPPING.fields_by_name['field_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_ATTRIBUTEFIELDMAPPING.fields_by_name['sitelink_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2._SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['call_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_call__placeholder__field__pb2._CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['app_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_app__placeholder__field__pb2._APPPLACEHOLDERFIELDENUM_APPPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['location_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__placeholder__field__pb2._LOCATIONPLACEHOLDERFIELDENUM_LOCATIONPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['affiliate_location_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2._AFFILIATELOCATIONPLACEHOLDERFIELDENUM_AFFILIATELOCATIONPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['callout_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_callout__placeholder__field__pb2._CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['structured_snippet_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2._STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['message_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_message__placeholder__field__pb2._MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['price_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_price__placeholder__field__pb2._PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2._PROMOTIONPLACEHOLDERFIELDENUM_PROMOTIONPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['ad_customizer_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2._ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['dsa_page_feed_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2._DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['location_extension_targeting_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2._LOCATIONEXTENSIONTARGETINGCRITERIONFIELDENUM_LOCATIONEXTENSIONTARGETINGCRITERIONFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['education_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_education__placeholder__field__pb2._EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_flight__placeholder__field__pb2._FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_custom__placeholder__field__pb2._CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2._HOTELPLACEHOLDERFIELDENUM_HOTELPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['real_estate_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2._REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['travel_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_travel__placeholder__field__pb2._TRAVELPLACEHOLDERFIELDENUM_TRAVELPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['local_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_local__placeholder__field__pb2._LOCALPLACEHOLDERFIELDENUM_LOCALPLACEHOLDERFIELD -_ATTRIBUTEFIELDMAPPING.fields_by_name['job_field'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_job__placeholder__field__pb2._JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['sitelink_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_sitelink__placeholder__field__pb2._SITELINKPLACEHOLDERFIELDENUM_SITELINKPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['call_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_call__placeholder__field__pb2._CALLPLACEHOLDERFIELDENUM_CALLPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['app_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_app__placeholder__field__pb2._APPPLACEHOLDERFIELDENUM_APPPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['location_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__placeholder__field__pb2._LOCATIONPLACEHOLDERFIELDENUM_LOCATIONPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['affiliate_location_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__placeholder__field__pb2._AFFILIATELOCATIONPLACEHOLDERFIELDENUM_AFFILIATELOCATIONPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['callout_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_callout__placeholder__field__pb2._CALLOUTPLACEHOLDERFIELDENUM_CALLOUTPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['structured_snippet_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_structured__snippet__placeholder__field__pb2._STRUCTUREDSNIPPETPLACEHOLDERFIELDENUM_STRUCTUREDSNIPPETPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['message_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_message__placeholder__field__pb2._MESSAGEPLACEHOLDERFIELDENUM_MESSAGEPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['price_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_price__placeholder__field__pb2._PRICEPLACEHOLDERFIELDENUM_PRICEPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_promotion__placeholder__field__pb2._PROMOTIONPLACEHOLDERFIELDENUM_PROMOTIONPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['ad_customizer_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_ad__customizer__placeholder__field__pb2._ADCUSTOMIZERPLACEHOLDERFIELDENUM_ADCUSTOMIZERPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['dsa_page_feed_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_dsa__page__feed__criterion__field__pb2._DSAPAGEFEEDCRITERIONFIELDENUM_DSAPAGEFEEDCRITERIONFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['location_extension_targeting_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_location__extension__targeting__criterion__field__pb2._LOCATIONEXTENSIONTARGETINGCRITERIONFIELDENUM_LOCATIONEXTENSIONTARGETINGCRITERIONFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['education_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_education__placeholder__field__pb2._EDUCATIONPLACEHOLDERFIELDENUM_EDUCATIONPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_flight__placeholder__field__pb2._FLIGHTPLACEHOLDERFIELDENUM_FLIGHTPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_custom__placeholder__field__pb2._CUSTOMPLACEHOLDERFIELDENUM_CUSTOMPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_hotel__placeholder__field__pb2._HOTELPLACEHOLDERFIELDENUM_HOTELPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['real_estate_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_real__estate__placeholder__field__pb2._REALESTATEPLACEHOLDERFIELDENUM_REALESTATEPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['travel_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_travel__placeholder__field__pb2._TRAVELPLACEHOLDERFIELDENUM_TRAVELPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['local_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_local__placeholder__field__pb2._LOCALPLACEHOLDERFIELDENUM_LOCALPLACEHOLDERFIELD +_ATTRIBUTEFIELDMAPPING.fields_by_name['job_field'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_job__placeholder__field__pb2._JOBPLACEHOLDERFIELDENUM_JOBPLACEHOLDERFIELD _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'].fields.append( _ATTRIBUTEFIELDMAPPING.fields_by_name['sitelink_field']) _ATTRIBUTEFIELDMAPPING.fields_by_name['sitelink_field'].containing_oneof = _ATTRIBUTEFIELDMAPPING.oneofs_by_name['field'] @@ -412,108 +414,140 @@ FeedMapping = _reflection.GeneratedProtocolMessageType('FeedMapping', (_message.Message,), dict( DESCRIPTOR = _FEEDMAPPING, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_mapping_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_mapping_pb2' , __doc__ = """A feed mapping. Attributes: resource_name: - The resource name of the feed mapping. Feed mapping resource - names have the form: ``customers/{customer_id}/feedMappings/{ - feed_id}~{feed_mapping_id}`` + Immutable. The resource name of the feed mapping. Feed mapping + resource names have the form: ``customers/{customer_id}/feedM + appings/{feed_id}~{feed_mapping_id}`` feed: - The feed of this feed mapping. + Immutable. The feed of this feed mapping. attribute_field_mappings: - Feed attributes to field mappings. These mappings are a one- - to-many relationship meaning that 1 feed attribute can be used - to populate multiple placeholder fields, but 1 placeholder - field can only draw data from 1 feed attribute. Ad Customizer - is an exception, 1 placeholder field can be mapped to multiple - feed attributes. Required. + Immutable. Feed attributes to field mappings. These mappings + are a one-to-many relationship meaning that 1 feed attribute + can be used to populate multiple placeholder fields, but 1 + placeholder field can only draw data from 1 feed attribute. Ad + Customizer is an exception, 1 placeholder field can be mapped + to multiple feed attributes. Required. status: - Status of the feed mapping. This field is read-only. + Output only. Status of the feed mapping. This field is read- + only. target: Feed mapping target. Can be either a placeholder or a criterion. For a given feed, the active FeedMappings must have unique targets. Required. placeholder_type: - The placeholder type of this mapping (i.e., if the mapping - maps feed attributes to placeholder fields). + Immutable. The placeholder type of this mapping (i.e., if the + mapping maps feed attributes to placeholder fields). criterion_type: - The criterion type of this mapping (i.e., if the mapping maps - feed attributes to criterion fields). + Immutable. The criterion type of this mapping (i.e., if the + mapping maps feed attributes to criterion fields). """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedMapping) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedMapping) )) _sym_db.RegisterMessage(FeedMapping) AttributeFieldMapping = _reflection.GeneratedProtocolMessageType('AttributeFieldMapping', (_message.Message,), dict( DESCRIPTOR = _ATTRIBUTEFIELDMAPPING, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_mapping_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_mapping_pb2' , __doc__ = """Maps from feed attribute id to a placeholder or criterion field id. Attributes: feed_attribute_id: - Feed attribute from which to map. + Immutable. Feed attribute from which to map. field_id: - The placeholder field ID. If a placeholder field enum is not - published in the current API version, then this field will be - populated and the field oneof will be empty. This field is - read-only. + Output only. The placeholder field ID. If a placeholder field + enum is not published in the current API version, then this + field will be populated and the field oneof will be empty. + This field is read-only. field: Placeholder or criterion field to be populated using data from the above feed attribute. Required. sitelink_field: - Sitelink Placeholder Fields. + Immutable. Sitelink Placeholder Fields. call_field: - Call Placeholder Fields. + Immutable. Call Placeholder Fields. app_field: - App Placeholder Fields. + Immutable. App Placeholder Fields. location_field: - Location Placeholder Fields. This field is read-only. - affiliate_location_field: - Affiliate Location Placeholder Fields. This field is read- + Output only. Location Placeholder Fields. This field is read- only. + affiliate_location_field: + Output only. Affiliate Location Placeholder Fields. This field + is read-only. callout_field: - Callout Placeholder Fields. + Immutable. Callout Placeholder Fields. structured_snippet_field: - Structured Snippet Placeholder Fields. + Immutable. Structured Snippet Placeholder Fields. message_field: - Message Placeholder Fields. + Immutable. Message Placeholder Fields. price_field: - Price Placeholder Fields. + Immutable. Price Placeholder Fields. promotion_field: - Promotion Placeholder Fields. + Immutable. Promotion Placeholder Fields. ad_customizer_field: - Ad Customizer Placeholder Fields + Immutable. Ad Customizer Placeholder Fields dsa_page_feed_field: - Dynamic Search Ad Page Feed Fields. + Immutable. Dynamic Search Ad Page Feed Fields. location_extension_targeting_field: - Location Target Fields. + Immutable. Location Target Fields. education_field: - Education Placeholder Fields + Immutable. Education Placeholder Fields flight_field: - Flight Placeholder Fields + Immutable. Flight Placeholder Fields custom_field: - Custom Placeholder Fields + Immutable. Custom Placeholder Fields hotel_field: - Hotel Placeholder Fields + Immutable. Hotel Placeholder Fields real_estate_field: - Real Estate Placeholder Fields + Immutable. Real Estate Placeholder Fields travel_field: - Travel Placeholder Fields + Immutable. Travel Placeholder Fields local_field: - Local Placeholder Fields + Immutable. Local Placeholder Fields job_field: - Job Placeholder Fields + Immutable. Job Placeholder Fields """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.AttributeFieldMapping) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.AttributeFieldMapping) )) _sym_db.RegisterMessage(AttributeFieldMapping) DESCRIPTOR._options = None +_FEEDMAPPING.fields_by_name['resource_name']._options = None +_FEEDMAPPING.fields_by_name['feed']._options = None +_FEEDMAPPING.fields_by_name['attribute_field_mappings']._options = None +_FEEDMAPPING.fields_by_name['status']._options = None +_FEEDMAPPING.fields_by_name['placeholder_type']._options = None +_FEEDMAPPING.fields_by_name['criterion_type']._options = None +_FEEDMAPPING._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['feed_attribute_id']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['field_id']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['sitelink_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['call_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['app_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['location_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['affiliate_location_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['callout_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['structured_snippet_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['message_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['price_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['promotion_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['ad_customizer_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['dsa_page_feed_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['location_extension_targeting_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['education_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['flight_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['custom_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['hotel_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['real_estate_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['travel_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['local_field']._options = None +_ATTRIBUTEFIELDMAPPING.fields_by_name['job_field']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/feed_mapping_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/shopping_performance_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/feed_mapping_pb2_grpc.py diff --git a/google/ads/google_ads/v1/proto/resources/feed_pb2.py b/google/ads/google_ads/v4/proto/resources/feed_pb2.py similarity index 66% rename from google/ads/google_ads/v1/proto/resources/feed_pb2.py rename to google/ads/google_ads/v4/proto/resources/feed_pb2.py index b3811bbf0..9b6dd4dfe 100644 --- a/google/ads/google_ads/v1/proto/resources/feed_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/feed_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/feed.proto +# source: google/ads/googleads_v4/proto/resources/feed.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,28 +13,30 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import affiliate_location_feed_relationship_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2 -from google.ads.google_ads.v1.proto.enums import feed_attribute_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__attribute__type__pb2 -from google.ads.google_ads.v1.proto.enums import feed_origin_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__origin__pb2 -from google.ads.google_ads.v1.proto.enums import feed_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__status__pb2 +from google.ads.google_ads.v4.proto.enums import affiliate_location_feed_relationship_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2 +from google.ads.google_ads.v4.proto.enums import feed_attribute_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__attribute__type__pb2 +from google.ads.google_ads.v4.proto.enums import feed_origin_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__origin__pb2 +from google.ads.google_ads.v4.proto.enums import feed_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/feed.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/feed.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\tFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n2google/ads/googleads_v1/proto/resources/feed.proto\x12!google.ads.googleads.v1.resources\x1aSgoogle/ads/googleads_v1/proto/enums/affiliate_location_feed_relationship_type.proto\x1a=google/ads/googleads_v1/proto/enums/feed_attribute_type.proto\x1a\x35google/ads/googleads_v1/proto/enums/feed_origin.proto\x1a\x35google/ads/googleads_v1/proto/enums/feed_status.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xba\x0b\n\x04\x46\x65\x65\x64\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x44\n\nattributes\x18\x04 \x03(\x0b\x32\x30.google.ads.googleads.v1.resources.FeedAttribute\x12W\n\x14\x61ttribute_operations\x18\t \x03(\x0b\x32\x39.google.ads.googleads.v1.resources.FeedAttributeOperation\x12H\n\x06origin\x18\x05 \x01(\x0e\x32\x38.google.ads.googleads.v1.enums.FeedOriginEnum.FeedOrigin\x12H\n\x06status\x18\x08 \x01(\x0e\x32\x38.google.ads.googleads.v1.enums.FeedStatusEnum.FeedStatus\x12\x63\n\x19places_location_feed_data\x18\x06 \x01(\x0b\x32>.google.ads.googleads.v1.resources.Feed.PlacesLocationFeedDataH\x00\x12i\n\x1c\x61\x66\x66iliate_location_feed_data\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedDataH\x00\x1a\xc9\x04\n\x16PlacesLocationFeedData\x12\\\n\noauth_info\x18\x01 \x01(\x0b\x32H.google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo\x12\x33\n\remail_address\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x62usiness_account_id\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x62usiness_name_filter\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63\x61tegory_filters\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlabel_filters\x18\x06 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xb7\x01\n\tOAuthInfo\x12\x31\n\x0bhttp_method\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10http_request_url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19http_authorization_header\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xd7\x01\n\x19\x41\x66\x66iliateLocationFeedData\x12.\n\tchain_ids\x18\x01 \x03(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x89\x01\n\x11relationship_type\x18\x02 \x01(\x0e\x32n.google.ads.googleads.v1.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipTypeB\x1d\n\x1bsystem_feed_generation_data\"\xee\x01\n\rFeedAttribute\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12T\n\x04type\x18\x03 \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.FeedAttributeTypeEnum.FeedAttributeType\x12\x32\n\x0eis_part_of_key\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe2\x01\n\x16\x46\x65\x65\x64\x41ttributeOperation\x12T\n\x08operator\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v1.resources.FeedAttributeOperation.Operator\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.FeedAttribute\"1\n\x08Operator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03\x41\x44\x44\x10\x02\x42\xf6\x01\n%com.google.ads.googleads.v1.resourcesB\tFeedProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\tFeedProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n2google/ads/googleads_v4/proto/resources/feed.proto\x12!google.ads.googleads.v4.resources\x1aSgoogle/ads/googleads_v4/proto/enums/affiliate_location_feed_relationship_type.proto\x1a=google/ads/googleads_v4/proto/enums/feed_attribute_type.proto\x1a\x35google/ads/googleads_v4/proto/enums/feed_origin.proto\x1a\x35google/ads/googleads_v4/proto/enums/feed_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc1\x0c\n\x04\x46\x65\x65\x64\x12<\n\rresource_name\x18\x01 \x01(\tB%\xe0\x41\x05\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x44\n\nattributes\x18\x04 \x03(\x0b\x32\x30.google.ads.googleads.v4.resources.FeedAttribute\x12W\n\x14\x61ttribute_operations\x18\t \x03(\x0b\x32\x39.google.ads.googleads.v4.resources.FeedAttributeOperation\x12M\n\x06origin\x18\x05 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.FeedOriginEnum.FeedOriginB\x03\xe0\x41\x05\x12M\n\x06status\x18\x08 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.FeedStatusEnum.FeedStatusB\x03\xe0\x41\x03\x12\x63\n\x19places_location_feed_data\x18\x06 \x01(\x0b\x32>.google.ads.googleads.v4.resources.Feed.PlacesLocationFeedDataH\x00\x12i\n\x1c\x61\x66\x66iliate_location_feed_data\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.Feed.AffiliateLocationFeedDataH\x00\x1a\xce\x04\n\x16PlacesLocationFeedData\x12\x61\n\noauth_info\x18\x01 \x01(\x0b\x32H.google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfoB\x03\xe0\x41\x05\x12\x33\n\remail_address\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x62usiness_account_id\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x62usiness_name_filter\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63\x61tegory_filters\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x33\n\rlabel_filters\x18\x06 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xb7\x01\n\tOAuthInfo\x12\x31\n\x0bhttp_method\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10http_request_url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x19http_authorization_header\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a\xd7\x01\n\x19\x41\x66\x66iliateLocationFeedData\x12.\n\tchain_ids\x18\x01 \x03(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x89\x01\n\x11relationship_type\x18\x02 \x01(\x0e\x32n.google.ads.googleads.v4.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType:E\xea\x41\x42\n\x1dgoogleads.googleapis.com/Feed\x12!customers/{customer}/feeds/{feed}B\x1d\n\x1bsystem_feed_generation_data\"\xee\x01\n\rFeedAttribute\x12\'\n\x02id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12T\n\x04type\x18\x03 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.FeedAttributeTypeEnum.FeedAttributeType\x12\x32\n\x0eis_part_of_key\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xec\x01\n\x16\x46\x65\x65\x64\x41ttributeOperation\x12Y\n\x08operator\x18\x01 \x01(\x0e\x32\x42.google.ads.googleads.v4.resources.FeedAttributeOperation.OperatorB\x03\xe0\x41\x03\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.FeedAttributeB\x03\xe0\x41\x03\"1\n\x08Operator\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0b\n\x07UNKNOWN\x10\x01\x12\x07\n\x03\x41\x44\x44\x10\x02\x42\xf6\x01\n%com.google.ads.googleads.v4.resourcesB\tFeedProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__attribute__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__origin__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__status__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__attribute__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__origin__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _FEEDATTRIBUTEOPERATION_OPERATOR = _descriptor.EnumDescriptor( name='Operator', - full_name='google.ads.googleads.v1.resources.FeedAttributeOperation.Operator', + full_name='google.ads.googleads.v4.resources.FeedAttributeOperation.Operator', filename=None, file=DESCRIPTOR, values=[ @@ -53,35 +55,35 @@ ], containing_type=None, serialized_options=None, - serialized_start=2297, - serialized_end=2346, + serialized_start=2502, + serialized_end=2551, ) _sym_db.RegisterEnumDescriptor(_FEEDATTRIBUTEOPERATION_OPERATOR) _FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO = _descriptor.Descriptor( name='OAuthInfo', - full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo', + full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='http_method', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_method', index=0, + name='http_method', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_method', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='http_request_url', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_request_url', index=1, + name='http_request_url', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_request_url', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='http_authorization_header', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_authorization_header', index=2, + name='http_authorization_header', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfo.http_authorization_header', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -99,54 +101,54 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1444, - serialized_end=1627, + serialized_start=1568, + serialized_end=1751, ) _FEED_PLACESLOCATIONFEEDDATA = _descriptor.Descriptor( name='PlacesLocationFeedData', - full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData', + full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='oauth_info', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.oauth_info', index=0, + name='oauth_info', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.oauth_info', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='email_address', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.email_address', index=1, + name='email_address', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.email_address', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_account_id', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.business_account_id', index=2, + name='business_account_id', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.business_account_id', index=2, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='business_name_filter', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.business_name_filter', index=3, + name='business_name_filter', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.business_name_filter', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='category_filters', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.category_filters', index=4, + name='category_filters', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.category_filters', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='label_filters', full_name='google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.label_filters', index=5, + name='label_filters', full_name='google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.label_filters', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -164,26 +166,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1042, - serialized_end=1627, + serialized_start=1161, + serialized_end=1751, ) _FEED_AFFILIATELOCATIONFEEDDATA = _descriptor.Descriptor( name='AffiliateLocationFeedData', - full_name='google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData', + full_name='google.ads.googleads.v4.resources.Feed.AffiliateLocationFeedData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='chain_ids', full_name='google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData.chain_ids', index=0, + name='chain_ids', full_name='google.ads.googleads.v4.resources.Feed.AffiliateLocationFeedData.chain_ids', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='relationship_type', full_name='google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData.relationship_type', index=1, + name='relationship_type', full_name='google.ads.googleads.v4.resources.Feed.AffiliateLocationFeedData.relationship_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -201,75 +203,75 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1630, - serialized_end=1845, + serialized_start=1754, + serialized_end=1969, ) _FEED = _descriptor.Descriptor( name='Feed', - full_name='google.ads.googleads.v1.resources.Feed', + full_name='google.ads.googleads.v4.resources.Feed', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.Feed.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.Feed.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.Feed.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.Feed.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.Feed.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.Feed.name', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='attributes', full_name='google.ads.googleads.v1.resources.Feed.attributes', index=3, + name='attributes', full_name='google.ads.googleads.v4.resources.Feed.attributes', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='attribute_operations', full_name='google.ads.googleads.v1.resources.Feed.attribute_operations', index=4, + name='attribute_operations', full_name='google.ads.googleads.v4.resources.Feed.attribute_operations', index=4, number=9, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='origin', full_name='google.ads.googleads.v1.resources.Feed.origin', index=5, + name='origin', full_name='google.ads.googleads.v4.resources.Feed.origin', index=5, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='status', full_name='google.ads.googleads.v1.resources.Feed.status', index=6, + name='status', full_name='google.ads.googleads.v4.resources.Feed.status', index=6, number=8, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='places_location_feed_data', full_name='google.ads.googleads.v1.resources.Feed.places_location_feed_data', index=7, + name='places_location_feed_data', full_name='google.ads.googleads.v4.resources.Feed.places_location_feed_data', index=7, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='affiliate_location_feed_data', full_name='google.ads.googleads.v1.resources.Feed.affiliate_location_feed_data', index=8, + name='affiliate_location_feed_data', full_name='google.ads.googleads.v4.resources.Feed.affiliate_location_feed_data', index=8, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -281,50 +283,50 @@ nested_types=[_FEED_PLACESLOCATIONFEEDDATA, _FEED_AFFILIATELOCATIONFEEDDATA, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AB\n\035googleads.googleapis.com/Feed\022!customers/{customer}/feeds/{feed}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='system_feed_generation_data', full_name='google.ads.googleads.v1.resources.Feed.system_feed_generation_data', + name='system_feed_generation_data', full_name='google.ads.googleads.v4.resources.Feed.system_feed_generation_data', index=0, containing_type=None, fields=[]), ], - serialized_start=410, - serialized_end=1876, + serialized_start=470, + serialized_end=2071, ) _FEEDATTRIBUTE = _descriptor.Descriptor( name='FeedAttribute', - full_name='google.ads.googleads.v1.resources.FeedAttribute', + full_name='google.ads.googleads.v4.resources.FeedAttribute', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.FeedAttribute.id', index=0, + name='id', full_name='google.ads.googleads.v4.resources.FeedAttribute.id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.FeedAttribute.name', index=1, + name='name', full_name='google.ads.googleads.v4.resources.FeedAttribute.name', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.FeedAttribute.type', index=2, + name='type', full_name='google.ads.googleads.v4.resources.FeedAttribute.type', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='is_part_of_key', full_name='google.ads.googleads.v1.resources.FeedAttribute.is_part_of_key', index=3, + name='is_part_of_key', full_name='google.ads.googleads.v4.resources.FeedAttribute.is_part_of_key', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -342,32 +344,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1879, - serialized_end=2117, + serialized_start=2074, + serialized_end=2312, ) _FEEDATTRIBUTEOPERATION = _descriptor.Descriptor( name='FeedAttributeOperation', - full_name='google.ads.googleads.v1.resources.FeedAttributeOperation', + full_name='google.ads.googleads.v4.resources.FeedAttributeOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='operator', full_name='google.ads.googleads.v1.resources.FeedAttributeOperation.operator', index=0, + name='operator', full_name='google.ads.googleads.v4.resources.FeedAttributeOperation.operator', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='value', full_name='google.ads.googleads.v1.resources.FeedAttributeOperation.value', index=1, + name='value', full_name='google.ads.googleads.v4.resources.FeedAttributeOperation.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -381,8 +383,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2120, - serialized_end=2346, + serialized_start=2315, + serialized_end=2551, ) _FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO.fields_by_name['http_method'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -397,14 +399,14 @@ _FEED_PLACESLOCATIONFEEDDATA.fields_by_name['label_filters'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEED_PLACESLOCATIONFEEDDATA.containing_type = _FEED _FEED_AFFILIATELOCATIONFEEDDATA.fields_by_name['chain_ids'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_FEED_AFFILIATELOCATIONFEEDDATA.fields_by_name['relationship_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2._AFFILIATELOCATIONFEEDRELATIONSHIPTYPEENUM_AFFILIATELOCATIONFEEDRELATIONSHIPTYPE +_FEED_AFFILIATELOCATIONFEEDDATA.fields_by_name['relationship_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_affiliate__location__feed__relationship__type__pb2._AFFILIATELOCATIONFEEDRELATIONSHIPTYPEENUM_AFFILIATELOCATIONFEEDRELATIONSHIPTYPE _FEED_AFFILIATELOCATIONFEEDDATA.containing_type = _FEED _FEED.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEED.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _FEED.fields_by_name['attributes'].message_type = _FEEDATTRIBUTE _FEED.fields_by_name['attribute_operations'].message_type = _FEEDATTRIBUTEOPERATION -_FEED.fields_by_name['origin'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__origin__pb2._FEEDORIGINENUM_FEEDORIGIN -_FEED.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__status__pb2._FEEDSTATUSENUM_FEEDSTATUS +_FEED.fields_by_name['origin'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__origin__pb2._FEEDORIGINENUM_FEEDORIGIN +_FEED.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__status__pb2._FEEDSTATUSENUM_FEEDSTATUS _FEED.fields_by_name['places_location_feed_data'].message_type = _FEED_PLACESLOCATIONFEEDDATA _FEED.fields_by_name['affiliate_location_feed_data'].message_type = _FEED_AFFILIATELOCATIONFEEDDATA _FEED.oneofs_by_name['system_feed_generation_data'].fields.append( @@ -415,7 +417,7 @@ _FEED.fields_by_name['affiliate_location_feed_data'].containing_oneof = _FEED.oneofs_by_name['system_feed_generation_data'] _FEEDATTRIBUTE.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _FEEDATTRIBUTE.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_FEEDATTRIBUTE.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_feed__attribute__type__pb2._FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE +_FEEDATTRIBUTE.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_feed__attribute__type__pb2._FEEDATTRIBUTETYPEENUM_FEEDATTRIBUTETYPE _FEEDATTRIBUTE.fields_by_name['is_part_of_key'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _FEEDATTRIBUTEOPERATION.fields_by_name['operator'].enum_type = _FEEDATTRIBUTEOPERATION_OPERATOR _FEEDATTRIBUTEOPERATION.fields_by_name['value'].message_type = _FEEDATTRIBUTE @@ -431,7 +433,7 @@ OAuthInfo = _reflection.GeneratedProtocolMessageType('OAuthInfo', (_message.Message,), dict( DESCRIPTOR = _FEED_PLACESLOCATIONFEEDDATA_OAUTHINFO, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """Data used for authorization using OAuth. @@ -444,11 +446,11 @@ http_authorization_header: The HTTP authorization header used to obtain authorization. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData.OAuthInfo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData.OAuthInfo) )) , DESCRIPTOR = _FEED_PLACESLOCATIONFEEDDATA, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """Data used to configure a location feed populated from Google My Business Locations. @@ -456,9 +458,9 @@ Attributes: oauth_info: - Required authentication token (from OAuth API) for the email. - This field can only be specified in a create request. All its - subfields are not selectable. + Immutable. Required authentication token (from OAuth API) for + the email. This field can only be specified in a create + request. All its subfields are not selectable. email_address: Email address of a Google My Business account or email address of a manager of the Google My Business account. Required. @@ -485,13 +487,13 @@ FeedItems. If no entries exist in label\_filters, then all listings are candidates for syncing. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Feed.PlacesLocationFeedData) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Feed.PlacesLocationFeedData) )) , AffiliateLocationFeedData = _reflection.GeneratedProtocolMessageType('AffiliateLocationFeedData', (_message.Message,), dict( DESCRIPTOR = _FEED_AFFILIATELOCATIONFEEDDATA, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """Data used to configure an affiliate location feed populated with the specified chains. @@ -504,33 +506,37 @@ relationship_type: The relationship the chains have with the advertiser. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Feed.AffiliateLocationFeedData) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Feed.AffiliateLocationFeedData) )) , DESCRIPTOR = _FEED, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """A feed. Attributes: resource_name: - The resource name of the feed. Feed resource names have the - form: ``customers/{customer_id}/feeds/{feed_id}`` + Immutable. The resource name of the feed. Feed resource names + have the form: ``customers/{customer_id}/feeds/{feed_id}`` id: - The ID of the feed. This field is read-only. + Output only. The ID of the feed. This field is read-only. name: - Name of the feed. Required. + Immutable. Name of the feed. Required. attributes: - The Feed's attributes. Required on CREATE. Disallowed on - UPDATE. Use attribute\_operations to add new attributes. + The Feed's attributes. Required on CREATE, unless + system\_feed\_generation\_data is provided, in which case + Google Ads will update the feed with the correct attributes. + Disallowed on UPDATE. Use attribute\_operations to add new + attributes. attribute_operations: The list of operations changing the feed attributes. Attributes can only be added, not removed. origin: - Specifies who manages the FeedAttributes for the Feed. + Immutable. Specifies who manages the FeedAttributes for the + Feed. status: - Status of the feed. This field is read-only. + Output only. Status of the feed. This field is read-only. system_feed_generation_data: The system data for the Feed. This data specifies information for generating the feed items of the system generated feed. @@ -541,7 +547,7 @@ Data used to configure an affiliate location feed populated with the specified chains. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Feed) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Feed) )) _sym_db.RegisterMessage(Feed) _sym_db.RegisterMessage(Feed.PlacesLocationFeedData) @@ -550,7 +556,7 @@ FeedAttribute = _reflection.GeneratedProtocolMessageType('FeedAttribute', (_message.Message,), dict( DESCRIPTOR = _FEEDATTRIBUTE, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """FeedAttributes define the types of data expected to be present in a Feed. A single FeedAttribute specifies the expected type of the @@ -572,27 +578,36 @@ Feed's schema, in which case the FeedItems must be referenced by their feed\_item\_id. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedAttribute) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedAttribute) )) _sym_db.RegisterMessage(FeedAttribute) FeedAttributeOperation = _reflection.GeneratedProtocolMessageType('FeedAttributeOperation', (_message.Message,), dict( DESCRIPTOR = _FEEDATTRIBUTEOPERATION, - __module__ = 'google.ads.googleads_v1.proto.resources.feed_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.feed_pb2' , __doc__ = """Operation to be performed on a feed attribute list in a mutate. Attributes: operator: - Type of list operation to perform. + Output only. Type of list operation to perform. value: - The feed attribute being added to the list. + Output only. The feed attribute being added to the list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.FeedAttributeOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedAttributeOperation) )) _sym_db.RegisterMessage(FeedAttributeOperation) DESCRIPTOR._options = None +_FEED_PLACESLOCATIONFEEDDATA.fields_by_name['oauth_info']._options = None +_FEED.fields_by_name['resource_name']._options = None +_FEED.fields_by_name['id']._options = None +_FEED.fields_by_name['name']._options = None +_FEED.fields_by_name['origin']._options = None +_FEED.fields_by_name['status']._options = None +_FEED._options = None +_FEEDATTRIBUTEOPERATION.fields_by_name['operator']._options = None +_FEEDATTRIBUTEOPERATION.fields_by_name['value']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/topic_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/feed_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/topic_constant_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/feed_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2.py b/google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2.py new file mode 100644 index 000000000..f742f5014 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/feed_placeholder_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import placeholder_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/feed_placeholder_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\030FeedPlaceholderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/resources/feed_placeholder_view.proto\x12!google.ads.googleads.v4.resources\x1a:google/ads/googleads_v4/proto/enums/placeholder_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xbb\x02\n\x13\x46\x65\x65\x64PlaceholderView\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x03\xfa\x41.\n,googleads.googleapis.com/FeedPlaceholderView\x12\x61\n\x10placeholder_type\x18\x02 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.PlaceholderTypeEnum.PlaceholderTypeB\x03\xe0\x41\x03:t\xea\x41q\n,googleads.googleapis.com/FeedPlaceholderView\x12\x41\x63ustomers/{customer}/feedPlaceholderViews/{feed_placeholder_view}B\x85\x02\n%com.google.ads.googleads.v4.resourcesB\x18\x46\x65\x65\x64PlaceholderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_FEEDPLACEHOLDERVIEW = _descriptor.Descriptor( + name='FeedPlaceholderView', + full_name='google.ads.googleads.v4.resources.FeedPlaceholderView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.FeedPlaceholderView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A.\n,googleads.googleapis.com/FeedPlaceholderView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='placeholder_type', full_name='google.ads.googleads.v4.resources.FeedPlaceholderView.placeholder_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Aq\n,googleads.googleapis.com/FeedPlaceholderView\022Acustomers/{customer}/feedPlaceholderViews/{feed_placeholder_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=257, + serialized_end=572, +) + +_FEEDPLACEHOLDERVIEW.fields_by_name['placeholder_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placeholder__type__pb2._PLACEHOLDERTYPEENUM_PLACEHOLDERTYPE +DESCRIPTOR.message_types_by_name['FeedPlaceholderView'] = _FEEDPLACEHOLDERVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +FeedPlaceholderView = _reflection.GeneratedProtocolMessageType('FeedPlaceholderView', (_message.Message,), dict( + DESCRIPTOR = _FEEDPLACEHOLDERVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.feed_placeholder_view_pb2' + , + __doc__ = """A feed placeholder view. + + + Attributes: + resource_name: + Output only. The resource name of the feed placeholder view. + Feed placeholder view resource names have the form: ``custome + rs/{customer_id}/feedPlaceholderViews/{placeholder_type}`` + placeholder_type: + Output only. The placeholder type of the feed placeholder + view. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.FeedPlaceholderView) + )) +_sym_db.RegisterMessage(FeedPlaceholderView) + + +DESCRIPTOR._options = None +_FEEDPLACEHOLDERVIEW.fields_by_name['resource_name']._options = None +_FEEDPLACEHOLDERVIEW.fields_by_name['placeholder_type']._options = None +_FEEDPLACEHOLDERVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/topic_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/topic_view_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/feed_placeholder_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/gender_view_pb2.py b/google/ads/google_ads/v4/proto/resources/gender_view_pb2.py new file mode 100644 index 000000000..36448010b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/gender_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/gender_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/gender_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\017GenderViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/resources/gender_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xaa\x01\n\nGenderView\x12\x42\n\rresource_name\x18\x01 \x01(\tB+\xe0\x41\x03\xfa\x41%\n#googleads.googleapis.com/GenderView:X\xea\x41U\n#googleads.googleapis.com/GenderView\x12.customers/{customer}/genderViews/{gender_view}B\xfc\x01\n%com.google.ads.googleads.v4.resourcesB\x0fGenderViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_GENDERVIEW = _descriptor.Descriptor( + name='GenderView', + full_name='google.ads.googleads.v4.resources.GenderView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.GenderView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A%\n#googleads.googleapis.com/GenderView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AU\n#googleads.googleapis.com/GenderView\022.customers/{customer}/genderViews/{gender_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=187, + serialized_end=357, +) + +DESCRIPTOR.message_types_by_name['GenderView'] = _GENDERVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GenderView = _reflection.GeneratedProtocolMessageType('GenderView', (_message.Message,), dict( + DESCRIPTOR = _GENDERVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.gender_view_pb2' + , + __doc__ = """A gender view. + + + Attributes: + resource_name: + Output only. The resource name of the gender view. Gender view + resource names have the form: ``customers/{customer_id}/gende + rViews/{ad_group_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.GenderView) + )) +_sym_db.RegisterMessage(GenderView) + + +DESCRIPTOR._options = None +_GENDERVIEW.fields_by_name['resource_name']._options = None +_GENDERVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/user_interest_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/gender_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/user_interest_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/gender_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2.py new file mode 100644 index 000000000..25464c749 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2.py @@ -0,0 +1,157 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/geo_target_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import geo_target_constant_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__target__constant__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/geo_target_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026GeoTargetConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/resources/geo_target_constant.proto\x12!google.ads.googleads.v4.resources\x1a\x44google/ads/googleads_v4/proto/enums/geo_target_constant_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xad\x04\n\x11GeoTargetConstant\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x03\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstant\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x37\n\x0c\x63ountry_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x36\n\x0btarget_type\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12g\n\x06status\x18\x07 \x01(\x0e\x32R.google.ads.googleads.v4.enums.GeoTargetConstantStatusEnum.GeoTargetConstantStatusB\x03\xe0\x41\x03\x12\x39\n\x0e\x63\x61nonical_name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:Y\xea\x41V\n*googleads.googleapis.com/GeoTargetConstant\x12(geoTargetConstants/{geo_target_constant}B\x83\x02\n%com.google.ads.googleads.v4.resourcesB\x16GeoTargetConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__target__constant__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_GEOTARGETCONSTANT = _descriptor.Descriptor( + name='GeoTargetConstant', + full_name='google.ads.googleads.v4.resources.GeoTargetConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A,\n*googleads.googleapis.com/GeoTargetConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.id', index=1, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.name', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.country_code', index=3, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_type', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.target_type', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.status', index=5, + number=7, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='canonical_name', full_name='google.ads.googleads.v4.resources.GeoTargetConstant.canonical_name', index=6, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AV\n*googleads.googleapis.com/GeoTargetConstant\022(geoTargetConstants/{geo_target_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=297, + serialized_end=854, +) + +_GEOTARGETCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GEOTARGETCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GEOTARGETCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GEOTARGETCONSTANT.fields_by_name['target_type'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GEOTARGETCONSTANT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__target__constant__status__pb2._GEOTARGETCONSTANTSTATUSENUM_GEOTARGETCONSTANTSTATUS +_GEOTARGETCONSTANT.fields_by_name['canonical_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['GeoTargetConstant'] = _GEOTARGETCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GeoTargetConstant = _reflection.GeneratedProtocolMessageType('GeoTargetConstant', (_message.Message,), dict( + DESCRIPTOR = _GEOTARGETCONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.geo_target_constant_pb2' + , + __doc__ = """A geo target constant. + + + Attributes: + resource_name: + Output only. The resource name of the geo target constant. Geo + target constant resource names have the form: + ``geoTargetConstants/{geo_target_constant_id}`` + id: + Output only. The ID of the geo target constant. + name: + Output only. Geo target constant English name. + country_code: + Output only. The ISO-3166-1 alpha-2 country code that is + associated with the target. + target_type: + Output only. Geo target constant target type. + status: + Output only. Geo target constant status. + canonical_name: + Output only. The fully qualified English name, consisting of + the target's name and that of its parent and country. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.GeoTargetConstant) + )) +_sym_db.RegisterMessage(GeoTargetConstant) + + +DESCRIPTOR._options = None +_GEOTARGETCONSTANT.fields_by_name['resource_name']._options = None +_GEOTARGETCONSTANT.fields_by_name['id']._options = None +_GEOTARGETCONSTANT.fields_by_name['name']._options = None +_GEOTARGETCONSTANT.fields_by_name['country_code']._options = None +_GEOTARGETCONSTANT.fields_by_name['target_type']._options = None +_GEOTARGETCONSTANT.fields_by_name['status']._options = None +_GEOTARGETCONSTANT.fields_by_name['canonical_name']._options = None +_GEOTARGETCONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/user_list_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/user_list_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/geo_target_constant_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/geographic_view_pb2.py b/google/ads/google_ads/v4/proto/resources/geographic_view_pb2.py new file mode 100644 index 000000000..ff8562137 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/geographic_view_pb2.py @@ -0,0 +1,117 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/geographic_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import geo_targeting_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/geographic_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023GeographicViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/resources/geographic_view.proto\x12!google.ads.googleads.v4.resources\x1a\n\x14\x63ountry_criterion_id\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:d\xea\x41\x61\n\'googleads.googleapis.com/GeographicView\x12\x36\x63ustomers/{customer}/geographicViews/{geographic_view}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13GeographicViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_GEOGRAPHICVIEW = _descriptor.Descriptor( + name='GeographicView', + full_name='google.ads.googleads.v4.resources.GeographicView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.GeographicView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/GeographicView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='location_type', full_name='google.ads.googleads.v4.resources.GeographicView.location_type', index=1, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_criterion_id', full_name='google.ads.googleads.v4.resources.GeographicView.country_criterion_id', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Aa\n\'googleads.googleapis.com/GeographicView\0226customers/{customer}/geographicViews/{geographic_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=285, + serialized_end=637, +) + +_GEOGRAPHICVIEW.fields_by_name['location_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_geo__targeting__type__pb2._GEOTARGETINGTYPEENUM_GEOTARGETINGTYPE +_GEOGRAPHICVIEW.fields_by_name['country_criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['GeographicView'] = _GEOGRAPHICVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GeographicView = _reflection.GeneratedProtocolMessageType('GeographicView', (_message.Message,), dict( + DESCRIPTOR = _GEOGRAPHICVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.geographic_view_pb2' + , + __doc__ = """A geographic view. + + Geographic View includes all metrics aggregated at the country level, + one row per country. It reports metrics at either actual physical + location of the user or an area of interest. If other segment fields are + used, you may get more than one row per country. + + + Attributes: + resource_name: + Output only. The resource name of the geographic view. + Geographic view resource names have the form: ``customers/{cu + stomer_id}/geographicViews/{country_criterion_id}~{location_ty + pe}`` + location_type: + Output only. Type of the geo targeting of the campaign. + country_criterion_id: + Output only. Criterion Id for the country. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.GeographicView) + )) +_sym_db.RegisterMessage(GeographicView) + + +DESCRIPTOR._options = None +_GEOGRAPHICVIEW.fields_by_name['resource_name']._options = None +_GEOGRAPHICVIEW.fields_by_name['location_type']._options = None +_GEOGRAPHICVIEW.fields_by_name['country_criterion_id']._options = None +_GEOGRAPHICVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/resources/video_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/geographic_view_pb2_grpc.py similarity index 100% rename from google/ads/google_ads/v1/proto/resources/video_pb2_grpc.py rename to google/ads/google_ads/v4/proto/resources/geographic_view_pb2_grpc.py diff --git a/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2.py b/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2.py new file mode 100644 index 000000000..b97cd2a3f --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2.py @@ -0,0 +1,257 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/google_ads_field.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import google_ads_field_category_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__category__pb2 +from google.ads.google_ads.v4.proto.enums import google_ads_field_data_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__data__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/google_ads_field.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023GoogleAdsFieldProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/google_ads_field.proto\x12!google.ads.googleads.v4.resources\x1a\x43google/ads/googleads_v4/proto/enums/google_ads_field_category.proto\x1a\x44google/ads/googleads_v4/proto/enums/google_ads_field_data_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd3\x07\n\x0eGoogleAdsField\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/GoogleAdsField\x12/\n\x04name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12g\n\x08\x63\x61tegory\x18\x03 \x01(\x0e\x32P.google.ads.googleads.v4.enums.GoogleAdsFieldCategoryEnum.GoogleAdsFieldCategoryB\x03\xe0\x41\x03\x12\x33\n\nselectable\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x33\n\nfilterable\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12\x31\n\x08sortable\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12:\n\x0fselectable_with\x18\x07 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x13\x61ttribute_resources\x18\x08 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x32\n\x07metrics\x18\t \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08segments\x18\n \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x36\n\x0b\x65num_values\x18\x0b \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12h\n\tdata_type\x18\x0c \x01(\x0e\x32P.google.ads.googleads.v4.enums.GoogleAdsFieldDataTypeEnum.GoogleAdsFieldDataTypeB\x03\xe0\x41\x03\x12\x33\n\x08type_url\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x34\n\x0bis_repeated\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03:P\xea\x41M\n\'googleads.googleapis.com/GoogleAdsField\x12\"googleAdsFields/{google_ads_field}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13GoogleAdsFieldProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__data__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_GOOGLEADSFIELD = _descriptor.Descriptor( + name='GoogleAdsField', + full_name='google.ads.googleads.v4.resources.GoogleAdsField', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.GoogleAdsField.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/GoogleAdsField'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.GoogleAdsField.name', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='category', full_name='google.ads.googleads.v4.resources.GoogleAdsField.category', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='selectable', full_name='google.ads.googleads.v4.resources.GoogleAdsField.selectable', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='filterable', full_name='google.ads.googleads.v4.resources.GoogleAdsField.filterable', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='sortable', full_name='google.ads.googleads.v4.resources.GoogleAdsField.sortable', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='selectable_with', full_name='google.ads.googleads.v4.resources.GoogleAdsField.selectable_with', index=6, + number=7, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='attribute_resources', full_name='google.ads.googleads.v4.resources.GoogleAdsField.attribute_resources', index=7, + number=8, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='metrics', full_name='google.ads.googleads.v4.resources.GoogleAdsField.metrics', index=8, + number=9, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='segments', full_name='google.ads.googleads.v4.resources.GoogleAdsField.segments', index=9, + number=10, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='enum_values', full_name='google.ads.googleads.v4.resources.GoogleAdsField.enum_values', index=10, + number=11, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='data_type', full_name='google.ads.googleads.v4.resources.GoogleAdsField.data_type', index=11, + number=12, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type_url', full_name='google.ads.googleads.v4.resources.GoogleAdsField.type_url', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='is_repeated', full_name='google.ads.googleads.v4.resources.GoogleAdsField.is_repeated', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AM\n\'googleads.googleapis.com/GoogleAdsField\022\"googleAdsFields/{google_ads_field}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=363, + serialized_end=1342, +) + +_GOOGLEADSFIELD.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['category'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__category__pb2._GOOGLEADSFIELDCATEGORYENUM_GOOGLEADSFIELDCATEGORY +_GOOGLEADSFIELD.fields_by_name['selectable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_GOOGLEADSFIELD.fields_by_name['filterable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_GOOGLEADSFIELD.fields_by_name['sortable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_GOOGLEADSFIELD.fields_by_name['selectable_with'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['attribute_resources'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['metrics'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['segments'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['enum_values'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['data_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_google__ads__field__data__type__pb2._GOOGLEADSFIELDDATATYPEENUM_GOOGLEADSFIELDDATATYPE +_GOOGLEADSFIELD.fields_by_name['type_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GOOGLEADSFIELD.fields_by_name['is_repeated'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +DESCRIPTOR.message_types_by_name['GoogleAdsField'] = _GOOGLEADSFIELD +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GoogleAdsField = _reflection.GeneratedProtocolMessageType('GoogleAdsField', (_message.Message,), dict( + DESCRIPTOR = _GOOGLEADSFIELD, + __module__ = 'google.ads.googleads_v4.proto.resources.google_ads_field_pb2' + , + __doc__ = """A field or resource (artifact) used by GoogleAdsService. + + + Attributes: + resource_name: + Output only. The resource name of the artifact. Artifact + resource names have the form: ``googleAdsFields/{name}`` + name: + Output only. The name of the artifact. + category: + Output only. The category of the artifact. + selectable: + Output only. Whether the artifact can be used in a SELECT + clause in search queries. + filterable: + Output only. Whether the artifact can be used in a WHERE + clause in search queries. + sortable: + Output only. Whether the artifact can be used in a ORDER BY + clause in search queries. + selectable_with: + Output only. The names of all resources, segments, and metrics + that are selectable with the described artifact. + attribute_resources: + Output only. The names of all resources that are selectable + with the described artifact. Fields from these resources do + not segment metrics when included in search queries. This + field is only set for artifacts whose category is RESOURCE. + metrics: + Output only. At and beyond version V1 this field lists the + names of all metrics that are selectable with the described + artifact when it is used in the FROM clause. It is only set + for artifacts whose category is RESOURCE. Before version V1 + this field lists the names of all metrics that are selectable + with the described artifact. It is only set for artifacts + whose category is either RESOURCE or SEGMENT + segments: + Output only. At and beyond version V1 this field lists the + names of all artifacts, whether a segment or another resource, + that segment metrics when included in search queries and when + the described artifact is used in the FROM clause. It is only + set for artifacts whose category is RESOURCE. Before version + V1 this field lists the names of all artifacts, whether a + segment or another resource, that segment metrics when + included in search queries. It is only set for artifacts of + category RESOURCE, SEGMENT or METRIC. + enum_values: + Output only. Values the artifact can assume if it is a field + of type ENUM. This field is only set for artifacts of + category SEGMENT or ATTRIBUTE. + data_type: + Output only. This field determines the operators that can be + used with the artifact in WHERE clauses. + type_url: + Output only. The URL of proto describing the artifact's data + type. + is_repeated: + Output only. Whether the field artifact is repeated. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.GoogleAdsField) + )) +_sym_db.RegisterMessage(GoogleAdsField) + + +DESCRIPTOR._options = None +_GOOGLEADSFIELD.fields_by_name['resource_name']._options = None +_GOOGLEADSFIELD.fields_by_name['name']._options = None +_GOOGLEADSFIELD.fields_by_name['category']._options = None +_GOOGLEADSFIELD.fields_by_name['selectable']._options = None +_GOOGLEADSFIELD.fields_by_name['filterable']._options = None +_GOOGLEADSFIELD.fields_by_name['sortable']._options = None +_GOOGLEADSFIELD.fields_by_name['selectable_with']._options = None +_GOOGLEADSFIELD.fields_by_name['attribute_resources']._options = None +_GOOGLEADSFIELD.fields_by_name['metrics']._options = None +_GOOGLEADSFIELD.fields_by_name['segments']._options = None +_GOOGLEADSFIELD.fields_by_name['enum_values']._options = None +_GOOGLEADSFIELD.fields_by_name['data_type']._options = None +_GOOGLEADSFIELD.fields_by_name['type_url']._options = None +_GOOGLEADSFIELD.fields_by_name['is_repeated']._options = None +_GOOGLEADSFIELD._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/google_ads_field_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2.py b/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2.py new file mode 100644 index 000000000..1d074431b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2.py @@ -0,0 +1,138 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/group_placement_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import placement_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/group_placement_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027GroupPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/resources/group_placement_view.proto\x12!google.ads.googleads.v4.resources\x1a\x38google/ads/googleads_v4/proto/enums/placement_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd6\x03\n\x12GroupPlacementView\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x03\xfa\x41-\n+googleads.googleapis.com/GroupPlacementView\x12\x34\n\tplacement\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x37\n\x0c\x64isplay_name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\ntarget_url\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12[\n\x0eplacement_type\x18\x05 \x01(\x0e\x32>.google.ads.googleads.v4.enums.PlacementTypeEnum.PlacementTypeB\x03\xe0\x41\x03:q\xea\x41n\n+googleads.googleapis.com/GroupPlacementView\x12?customers/{customer}/groupPlacementViews/{group_placement_view}B\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17GroupPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_GROUPPLACEMENTVIEW = _descriptor.Descriptor( + name='GroupPlacementView', + full_name='google.ads.googleads.v4.resources.GroupPlacementView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.GroupPlacementView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A-\n+googleads.googleapis.com/GroupPlacementView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='placement', full_name='google.ads.googleads.v4.resources.GroupPlacementView.placement', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='display_name', full_name='google.ads.googleads.v4.resources.GroupPlacementView.display_name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_url', full_name='google.ads.googleads.v4.resources.GroupPlacementView.target_url', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='placement_type', full_name='google.ads.googleads.v4.resources.GroupPlacementView.placement_type', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352An\n+googleads.googleapis.com/GroupPlacementView\022?customers/{customer}/groupPlacementViews/{group_placement_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=286, + serialized_end=756, +) + +_GROUPPLACEMENTVIEW.fields_by_name['placement'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GROUPPLACEMENTVIEW.fields_by_name['display_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GROUPPLACEMENTVIEW.fields_by_name['target_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GROUPPLACEMENTVIEW.fields_by_name['placement_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_placement__type__pb2._PLACEMENTTYPEENUM_PLACEMENTTYPE +DESCRIPTOR.message_types_by_name['GroupPlacementView'] = _GROUPPLACEMENTVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GroupPlacementView = _reflection.GeneratedProtocolMessageType('GroupPlacementView', (_message.Message,), dict( + DESCRIPTOR = _GROUPPLACEMENTVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.group_placement_view_pb2' + , + __doc__ = """A group placement view. + + + Attributes: + resource_name: + Output only. The resource name of the group placement view. + Group placement view resource names have the form: ``customer + s/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_plac + ement}`` + placement: + Output only. The automatic placement string at group level, e. + g. web domain, mobile app ID, or a YouTube channel ID. + display_name: + Output only. Domain name for websites and YouTube channel name + for YouTube channels. + target_url: + Output only. URL of the group placement, e.g. domain, link to + the mobile application in app store, or a YouTube channel URL. + placement_type: + Output only. Type of the placement, e.g. Website, YouTube + Channel, Mobile Application. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.GroupPlacementView) + )) +_sym_db.RegisterMessage(GroupPlacementView) + + +DESCRIPTOR._options = None +_GROUPPLACEMENTVIEW.fields_by_name['resource_name']._options = None +_GROUPPLACEMENTVIEW.fields_by_name['placement']._options = None +_GROUPPLACEMENTVIEW.fields_by_name['display_name']._options = None +_GROUPPLACEMENTVIEW.fields_by_name['target_url']._options = None +_GROUPPLACEMENTVIEW.fields_by_name['placement_type']._options = None +_GROUPPLACEMENTVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/group_placement_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2.py b/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2.py new file mode 100644 index 000000000..b6bdfe414 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/hotel_group_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/hotel_group_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\023HotelGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/hotel_group_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xbf\x01\n\x0eHotelGroupView\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/HotelGroupView:e\xea\x41\x62\n\'googleads.googleapis.com/HotelGroupView\x12\x37\x63ustomers/{customer}/hotelGroupViews/{hotel_group_view}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13HotelGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_HOTELGROUPVIEW = _descriptor.Descriptor( + name='HotelGroupView', + full_name='google.ads.googleads.v4.resources.HotelGroupView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.HotelGroupView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/HotelGroupView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ab\n\'googleads.googleapis.com/HotelGroupView\0227customers/{customer}/hotelGroupViews/{hotel_group_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=192, + serialized_end=383, +) + +DESCRIPTOR.message_types_by_name['HotelGroupView'] = _HOTELGROUPVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +HotelGroupView = _reflection.GeneratedProtocolMessageType('HotelGroupView', (_message.Message,), dict( + DESCRIPTOR = _HOTELGROUPVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.hotel_group_view_pb2' + , + __doc__ = """A hotel group view. + + + Attributes: + resource_name: + Output only. The resource name of the hotel group view. Hotel + Group view resource names have the form: ``customers/{custome + r_id}/hotelGroupViews/{ad_group_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.HotelGroupView) + )) +_sym_db.RegisterMessage(HotelGroupView) + + +DESCRIPTOR._options = None +_HOTELGROUPVIEW.fields_by_name['resource_name']._options = None +_HOTELGROUPVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/hotel_group_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2.py b/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2.py new file mode 100644 index 000000000..dcc7bb8ca --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/hotel_performance_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/hotel_performance_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\031HotelPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/hotel_performance_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xc3\x01\n\x14HotelPerformanceView\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x03\xfa\x41/\n-googleads.googleapis.com/HotelPerformanceView:]\xea\x41Z\n-googleads.googleapis.com/HotelPerformanceView\x12)customers/{customer}/hotelPerformanceViewB\x86\x02\n%com.google.ads.googleads.v4.resourcesB\x19HotelPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_HOTELPERFORMANCEVIEW = _descriptor.Descriptor( + name='HotelPerformanceView', + full_name='google.ads.googleads.v4.resources.HotelPerformanceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.HotelPerformanceView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A/\n-googleads.googleapis.com/HotelPerformanceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AZ\n-googleads.googleapis.com/HotelPerformanceView\022)customers/{customer}/hotelPerformanceView'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=393, +) + +DESCRIPTOR.message_types_by_name['HotelPerformanceView'] = _HOTELPERFORMANCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +HotelPerformanceView = _reflection.GeneratedProtocolMessageType('HotelPerformanceView', (_message.Message,), dict( + DESCRIPTOR = _HOTELPERFORMANCEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.hotel_performance_view_pb2' + , + __doc__ = """A hotel performance view. + + + Attributes: + resource_name: + Output only. The resource name of the hotel performance view. + Hotel performance view resource names have the form: + ``customers/{customer_id}/hotelPerformanceView`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.HotelPerformanceView) + )) +_sym_db.RegisterMessage(HotelPerformanceView) + + +DESCRIPTOR._options = None +_HOTELPERFORMANCEVIEW.fields_by_name['resource_name']._options = None +_HOTELPERFORMANCEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/hotel_performance_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/income_range_view_pb2.py b/google/ads/google_ads/v4/proto/resources/income_range_view_pb2.py new file mode 100644 index 000000000..caa57f626 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/income_range_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/income_range_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/income_range_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024IncomeRangeViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/income_range_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xc4\x01\n\x0fIncomeRangeView\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(googleads.googleapis.com/IncomeRangeView:h\xea\x41\x65\n(googleads.googleapis.com/IncomeRangeView\x12\x39\x63ustomers/{customer}/incomeRangeViews/{income_range_view}B\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14IncomeRangeViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_INCOMERANGEVIEW = _descriptor.Descriptor( + name='IncomeRangeView', + full_name='google.ads.googleads.v4.resources.IncomeRangeView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.IncomeRangeView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A*\n(googleads.googleapis.com/IncomeRangeView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ae\n(googleads.googleapis.com/IncomeRangeView\0229customers/{customer}/incomeRangeViews/{income_range_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=193, + serialized_end=389, +) + +DESCRIPTOR.message_types_by_name['IncomeRangeView'] = _INCOMERANGEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +IncomeRangeView = _reflection.GeneratedProtocolMessageType('IncomeRangeView', (_message.Message,), dict( + DESCRIPTOR = _INCOMERANGEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.income_range_view_pb2' + , + __doc__ = """An income range view. + + + Attributes: + resource_name: + Output only. The resource name of the income range view. + Income range view resource names have the form: ``customers/{ + customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.IncomeRangeView) + )) +_sym_db.RegisterMessage(IncomeRangeView) + + +DESCRIPTOR._options = None +_INCOMERANGEVIEW.fields_by_name['resource_name']._options = None +_INCOMERANGEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/income_range_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/income_range_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/income_range_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/invoice_pb2.py b/google/ads/google_ads/v4/proto/resources/invoice_pb2.py new file mode 100644 index 000000000..b4b16ac99 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/invoice_pb2.py @@ -0,0 +1,469 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/invoice.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import dates_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2 +from google.ads.google_ads.v4.proto.enums import invoice_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_invoice__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/invoice.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\014InvoiceProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n5google/ads/googleads_v4/proto/resources/invoice.proto\x12!google.ads.googleads.v4.resources\x1a\x30google/ads/googleads_v4/proto/common/dates.proto\x1a\x36google/ads/googleads_v4/proto/enums/invoice_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcb\x0e\n\x07Invoice\x12?\n\rresource_name\x18\x01 \x01(\tB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/Invoice\x12-\n\x02id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12M\n\x04type\x18\x03 \x01(\x0e\x32:.google.ads.googleads.v4.enums.InvoiceTypeEnum.InvoiceTypeB\x03\xe0\x41\x03\x12\x38\n\rbilling_setup\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x13payments_account_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x13payments_profile_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\nissue_date\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\x08\x64ue_date\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12J\n\x12service_date_range\x18\t \x01(\x0b\x32).google.ads.googleads.v4.common.DateRangeB\x03\xe0\x41\x03\x12\x38\n\rcurrency_code\x18\n \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12J\n invoice_level_adjustments_micros\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12@\n\x16subtotal_amount_micros\x18\x0c \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12;\n\x11tax_amount_micros\x18\r \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12=\n\x13total_amount_micros\x18\x0e \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12<\n\x11\x63orrected_invoice\x18\x0f \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12<\n\x11replaced_invoices\x18\x10 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x32\n\x07pdf_url\x18\x11 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x66\n\x18\x61\x63\x63ount_budget_summaries\x18\x12 \x03(\x0b\x32?.google.ads.googleads.v4.resources.Invoice.AccountBudgetSummaryB\x03\xe0\x41\x03\x1a\xe2\x04\n\x14\x41\x63\x63ountBudgetSummary\x12\x33\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x44\n\x19\x63ustomer_descriptive_name\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x39\n\x0e\x61\x63\x63ount_budget\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x13\x61\x63\x63ount_budget_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12@\n\x15purchase_order_number\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12@\n\x16subtotal_amount_micros\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12;\n\x11tax_amount_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12=\n\x13total_amount_micros\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12T\n\x1c\x62illable_activity_date_range\x18\t \x01(\x0b\x32).google.ads.googleads.v4.common.DateRangeB\x03\xe0\x41\x03:N\xea\x41K\n googleads.googleapis.com/Invoice\x12\'customers/{customer}/invoices/{invoice}B\xf9\x01\n%com.google.ads.googleads.v4.resourcesB\x0cInvoiceProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_invoice__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_INVOICE_ACCOUNTBUDGETSUMMARY = _descriptor.Descriptor( + name='AccountBudgetSummary', + full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.customer', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='customer_descriptive_name', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.customer_descriptive_name', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='account_budget', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.account_budget', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='account_budget_name', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.account_budget_name', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='purchase_order_number', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.purchase_order_number', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='subtotal_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.subtotal_amount_micros', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tax_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.tax_amount_micros', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.total_amount_micros', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='billable_activity_date_range', full_name='google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary.billable_activity_date_range', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1498, + serialized_end=2108, +) + +_INVOICE = _descriptor.Descriptor( + name='Invoice', + full_name='google.ads.googleads.v4.resources.Invoice', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.Invoice.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/Invoice'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.Invoice.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.Invoice.type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='billing_setup', full_name='google.ads.googleads.v4.resources.Invoice.billing_setup', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payments_account_id', full_name='google.ads.googleads.v4.resources.Invoice.payments_account_id', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payments_profile_id', full_name='google.ads.googleads.v4.resources.Invoice.payments_profile_id', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='issue_date', full_name='google.ads.googleads.v4.resources.Invoice.issue_date', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='due_date', full_name='google.ads.googleads.v4.resources.Invoice.due_date', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='service_date_range', full_name='google.ads.googleads.v4.resources.Invoice.service_date_range', index=8, + number=9, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v4.resources.Invoice.currency_code', index=9, + number=10, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='invoice_level_adjustments_micros', full_name='google.ads.googleads.v4.resources.Invoice.invoice_level_adjustments_micros', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='subtotal_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.subtotal_amount_micros', index=11, + number=12, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='tax_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.tax_amount_micros', index=12, + number=13, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_amount_micros', full_name='google.ads.googleads.v4.resources.Invoice.total_amount_micros', index=13, + number=14, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='corrected_invoice', full_name='google.ads.googleads.v4.resources.Invoice.corrected_invoice', index=14, + number=15, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='replaced_invoices', full_name='google.ads.googleads.v4.resources.Invoice.replaced_invoices', index=15, + number=16, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='pdf_url', full_name='google.ads.googleads.v4.resources.Invoice.pdf_url', index=16, + number=17, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='account_budget_summaries', full_name='google.ads.googleads.v4.resources.Invoice.account_budget_summaries', index=17, + number=18, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[_INVOICE_ACCOUNTBUDGETSUMMARY, ], + enum_types=[ + ], + serialized_options=_b('\352AK\n googleads.googleapis.com/Invoice\022\'customers/{customer}/invoices/{invoice}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=321, + serialized_end=2188, +) + +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['customer_descriptive_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['account_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['account_budget_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['purchase_order_number'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['subtotal_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['tax_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['total_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['billable_activity_date_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2._DATERANGE +_INVOICE_ACCOUNTBUDGETSUMMARY.containing_type = _INVOICE +_INVOICE.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_invoice__type__pb2._INVOICETYPEENUM_INVOICETYPE +_INVOICE.fields_by_name['billing_setup'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['payments_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['issue_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['due_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['service_date_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2._DATERANGE +_INVOICE.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['invoice_level_adjustments_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE.fields_by_name['subtotal_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE.fields_by_name['tax_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE.fields_by_name['total_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_INVOICE.fields_by_name['corrected_invoice'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['replaced_invoices'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['pdf_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_INVOICE.fields_by_name['account_budget_summaries'].message_type = _INVOICE_ACCOUNTBUDGETSUMMARY +DESCRIPTOR.message_types_by_name['Invoice'] = _INVOICE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Invoice = _reflection.GeneratedProtocolMessageType('Invoice', (_message.Message,), dict( + + AccountBudgetSummary = _reflection.GeneratedProtocolMessageType('AccountBudgetSummary', (_message.Message,), dict( + DESCRIPTOR = _INVOICE_ACCOUNTBUDGETSUMMARY, + __module__ = 'google.ads.googleads_v4.proto.resources.invoice_pb2' + , + __doc__ = """Represents a summarized account budget billable cost. + + + Attributes: + customer: + Output only. The resource name of the customer associated with + this account budget. This contains the customer ID, which + appears on the invoice PDF as "Account ID". Customer resource + names have the form: ``customers/{customer_id}`` + customer_descriptive_name: + Output only. The descriptive name of the account budget’s + customer. It appears on the invoice PDF as "Account". + account_budget: + Output only. The resource name of the account budget + associated with this summarized billable cost. AccountBudget + resource names have the form: + ``customers/{customer_id}/accountBudgets/{account_budget_id}`` + account_budget_name: + Output only. The name of the account budget. It appears on the + invoice PDF as "Account budget". + purchase_order_number: + Output only. The purchase order number of the account budget. + It appears on the invoice PDF as "Purchase order". + subtotal_amount_micros: + Output only. The pretax subtotal amount attributable to this + budget during the service period, in micros. + tax_amount_micros: + Output only. The tax amount attributable to this budget during + the service period, in micros. + total_amount_micros: + Output only. The total amount attributable to this budget + during the service period, in micros. This equals the sum of + the account budget subtotal amount and the account budget tax + amount. + billable_activity_date_range: + Output only. The billable activity date range of the account + budget, within the service date range of this invoice. The end + date is inclusive. This can be different from the account + budget's start and end time. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Invoice.AccountBudgetSummary) + )) + , + DESCRIPTOR = _INVOICE, + __module__ = 'google.ads.googleads_v4.proto.resources.invoice_pb2' + , + __doc__ = """An invoice. All invoice information is snapshotted to match the PDF + invoice. For invoices older than the launch of InvoiceService, the + snapshotted information may not match the PDF invoice. + + + Attributes: + resource_name: + Output only. The resource name of the invoice. Multiple + customers can share a given invoice, so multiple resource + names may point to the same invoice. Invoice resource names + have the form: + ``customers/{customer_id}/invoices/{invoice_id}`` + id: + Output only. The ID of the invoice. It appears on the invoice + PDF as "Invoice number". + type: + Output only. The type of invoice. + billing_setup: + Output only. The resource name of this invoice’s billing + setup. + ``customers/{customer_id}/billingSetups/{billing_setup_id}`` + payments_account_id: + Output only. A 16 digit ID used to identify the payments + account associated with the billing setup, e.g. + "1234-5678-9012-3456". It appears on the invoice PDF as + "Billing Account Number". + payments_profile_id: + Output only. A 12 digit ID used to identify the payments + profile associated with the billing setup, e.g. + "1234-5678-9012". It appears on the invoice PDF as "Billing + ID". + issue_date: + Output only. The issue date in yyyy-mm-dd format. It appears + on the invoice PDF as either "Issue date" or "Invoice date". + due_date: + Output only. The due date in yyyy-mm-dd format. + service_date_range: + Output only. The service period date range of this invoice. + The end date is inclusive. + currency_code: + Output only. The currency code. All costs are returned in this + currency. A subset of the currency codes derived from the ISO + 4217 standard is supported. + invoice_level_adjustments_micros: + Output only. The total amount of invoice level adjustments. + These adjustments are made on the invoice, not on a specific + account budget. + subtotal_amount_micros: + Output only. The pretax subtotal amount, in micros. This + equals the sum of the AccountBudgetSummary subtotal amounts, + plus the invoice level adjustments. + tax_amount_micros: + Output only. The sum of all taxes on the invoice, in micros. + This equals the sum of the AccountBudgetSummary tax amounts, + plus taxes not associated with a specific account budget. + total_amount_micros: + Output only. The total amount, in micros. This equals the sum + of the invoice subtotal amount and the invoice tax amount. + corrected_invoice: + Output only. The resource name of the original invoice + corrected, wrote off, or canceled by this invoice, if + applicable. If ``corrected_invoice`` is set, + ``replaced_invoices`` will not be set. Invoice resource names + have the form: + ``customers/{customer_id}/invoices/{invoice_id}`` + replaced_invoices: + Output only. The resource name of the original invoice(s) + being rebilled or replaced by this invoice, if applicable. + There might be multiple replaced invoices due to invoice + consolidation. The replaced invoices may not belong to the + same payments account. If ``replaced_invoices`` is set, + ``corrected_invoice`` will not be set. Invoice resource names + have the form: + ``customers/{customer_id}/invoices/{invoice_id}`` + pdf_url: + Output only. The URL to a PDF copy of the invoice. Users need + to pass in their OAuth token to request the PDF with this URL. + account_budget_summaries: + Output only. The list of summarized account budget information + associated with this invoice. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Invoice) + )) +_sym_db.RegisterMessage(Invoice) +_sym_db.RegisterMessage(Invoice.AccountBudgetSummary) + + +DESCRIPTOR._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['customer']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['customer_descriptive_name']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['account_budget']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['account_budget_name']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['purchase_order_number']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['subtotal_amount_micros']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['tax_amount_micros']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['total_amount_micros']._options = None +_INVOICE_ACCOUNTBUDGETSUMMARY.fields_by_name['billable_activity_date_range']._options = None +_INVOICE.fields_by_name['resource_name']._options = None +_INVOICE.fields_by_name['id']._options = None +_INVOICE.fields_by_name['type']._options = None +_INVOICE.fields_by_name['billing_setup']._options = None +_INVOICE.fields_by_name['payments_account_id']._options = None +_INVOICE.fields_by_name['payments_profile_id']._options = None +_INVOICE.fields_by_name['issue_date']._options = None +_INVOICE.fields_by_name['due_date']._options = None +_INVOICE.fields_by_name['service_date_range']._options = None +_INVOICE.fields_by_name['currency_code']._options = None +_INVOICE.fields_by_name['invoice_level_adjustments_micros']._options = None +_INVOICE.fields_by_name['subtotal_amount_micros']._options = None +_INVOICE.fields_by_name['tax_amount_micros']._options = None +_INVOICE.fields_by_name['total_amount_micros']._options = None +_INVOICE.fields_by_name['corrected_invoice']._options = None +_INVOICE.fields_by_name['replaced_invoices']._options = None +_INVOICE.fields_by_name['pdf_url']._options = None +_INVOICE.fields_by_name['account_budget_summaries']._options = None +_INVOICE._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/invoice_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/invoice_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/invoice_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_keyword_pb2.py b/google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_keyword_pb2.py new file mode 100644 index 000000000..f01c0e1e0 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/keyword_plan_ad_group_keyword_pb2.py @@ -0,0 +1,158 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/keyword_plan_ad_group_keyword.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/keyword_plan_ad_group_keyword.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\036KeywordPlanAdGroupKeywordProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/resources/keyword_plan_ad_group_keyword.proto\x12!google.ads.googleads.v4.resources\x1agoogle/ads/googleads_v1/proto/enums/keyword_plan_network.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xda\x03\n\x13KeywordPlanCampaign\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x32\n\x0ckeyword_plan\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\'\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x38\n\x12language_constants\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x66\n\x14keyword_plan_network\x18\x06 \x01(\x0e\x32H.google.ads.googleads.v1.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork\x12\x33\n\x0e\x63pc_bid_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x0bgeo_targets\x18\x08 \x03(\x0b\x32\x37.google.ads.googleads.v1.resources.KeywordPlanGeoTarget\"Q\n\x14KeywordPlanGeoTarget\x12\x39\n\x13geo_target_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x85\x02\n%com.google.ads.googleads.v1.resourcesB\x18KeywordPlanCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\030KeywordPlanCampaignProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/resources/keyword_plan_campaign.proto\x12!google.ads.googleads.v4.resources\x1a>google/ads/googleads_v4/proto/enums/keyword_plan_network.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe6\x05\n\x13KeywordPlanCampaign\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x05\xfa\x41.\n,googleads.googleapis.com/KeywordPlanCampaign\x12]\n\x0ckeyword_plan\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB)\xfa\x41&\n$googleads.googleapis.com/KeywordPlan\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12h\n\x12language_constants\x18\x05 \x03(\x0b\x32\x1c.google.protobuf.StringValueB.\xfa\x41+\n)googleads.googleapis.com/LanguageConstant\x12\x66\n\x14keyword_plan_network\x18\x06 \x01(\x0e\x32H.google.ads.googleads.v4.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork\x12\x33\n\x0e\x63pc_bid_micros\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x0bgeo_targets\x18\x08 \x03(\x0b\x32\x37.google.ads.googleads.v4.resources.KeywordPlanGeoTarget:t\xea\x41q\n,googleads.googleapis.com/KeywordPlanCampaign\x12\x41\x63ustomers/{customer}/keywordPlanCampaigns/{keyword_plan_campaign}\"\x82\x01\n\x14KeywordPlanGeoTarget\x12j\n\x13geo_target_constant\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB/\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstantB\x85\x02\n%com.google.ads.googleads.v4.resourcesB\x18KeywordPlanCampaignProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__network__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__network__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _KEYWORDPLANCAMPAIGN = _descriptor.Descriptor( name='KeywordPlanCampaign', - full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign', + full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A.\n,googleads.googleapis.com/KeywordPlanCampaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.keyword_plan', index=1, + name='keyword_plan', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.keyword_plan', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A&\n$googleads.googleapis.com/KeywordPlan'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.id', index=2, + name='id', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.id', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.name', index=3, + name='name', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_constants', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.language_constants', index=4, + name='language_constants', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.language_constants', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A+\n)googleads.googleapis.com/LanguageConstant'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_network', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.keyword_plan_network', index=5, + name='keyword_plan_network', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.keyword_plan_network', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.cpc_bid_micros', index=6, + name='cpc_bid_micros', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.cpc_bid_micros', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_targets', full_name='google.ads.googleads.v1.resources.KeywordPlanCampaign.geo_targets', index=7, + name='geo_targets', full_name='google.ads.googleads.v4.resources.KeywordPlanCampaign.geo_targets', index=7, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -99,31 +101,31 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Aq\n,googleads.googleapis.com/KeywordPlanCampaign\022Acustomers/{customer}/keywordPlanCampaigns/{keyword_plan_campaign}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=233, - serialized_end=707, + serialized_start=293, + serialized_end=1035, ) _KEYWORDPLANGEOTARGET = _descriptor.Descriptor( name='KeywordPlanGeoTarget', - full_name='google.ads.googleads.v1.resources.KeywordPlanGeoTarget', + full_name='google.ads.googleads.v4.resources.KeywordPlanGeoTarget', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v1.resources.KeywordPlanGeoTarget.geo_target_constant', index=0, + name='geo_target_constant', full_name='google.ads.googleads.v4.resources.KeywordPlanGeoTarget.geo_target_constant', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\372A,\n*googleads.googleapis.com/GeoTargetConstant'), file=DESCRIPTOR), ], extensions=[ ], @@ -136,15 +138,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=709, - serialized_end=790, + serialized_start=1038, + serialized_end=1168, ) _KEYWORDPLANCAMPAIGN.fields_by_name['keyword_plan'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDPLANCAMPAIGN.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _KEYWORDPLANCAMPAIGN.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDPLANCAMPAIGN.fields_by_name['language_constants'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDPLANCAMPAIGN.fields_by_name['keyword_plan_network'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__network__pb2._KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK +_KEYWORDPLANCAMPAIGN.fields_by_name['keyword_plan_network'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__network__pb2._KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK _KEYWORDPLANCAMPAIGN.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _KEYWORDPLANCAMPAIGN.fields_by_name['geo_targets'].message_type = _KEYWORDPLANGEOTARGET _KEYWORDPLANGEOTARGET.fields_by_name['geo_target_constant'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -154,7 +156,7 @@ KeywordPlanCampaign = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaign', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANCAMPAIGN, - __module__ = 'google.ads.googleads_v1.proto.resources.keyword_plan_campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.keyword_plan_campaign_pb2' , __doc__ = """A Keyword Plan campaign. Max number of keyword plan campaigns per plan allowed: 1. @@ -162,13 +164,13 @@ Attributes: resource_name: - The resource name of the Keyword Plan campaign. + Immutable. The resource name of the Keyword Plan campaign. KeywordPlanCampaign resource names have the form: ``customers /{customer_id}/keywordPlanCampaigns/{kp_campaign_id}`` keyword_plan: The keyword plan this campaign belongs to. id: - The ID of the Keyword Plan campaign. + Output only. The ID of the Keyword Plan campaign. name: The name of the Keyword Plan campaign. This field is required and should not be empty when creating Keyword Plan campaigns. @@ -185,25 +187,31 @@ geo_targets: The geo targets. Max number allowed: 20. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.KeywordPlanCampaign) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.KeywordPlanCampaign) )) _sym_db.RegisterMessage(KeywordPlanCampaign) KeywordPlanGeoTarget = _reflection.GeneratedProtocolMessageType('KeywordPlanGeoTarget', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANGEOTARGET, - __module__ = 'google.ads.googleads_v1.proto.resources.keyword_plan_campaign_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.keyword_plan_campaign_pb2' , - __doc__ = """A geo target. Next ID: 3 + __doc__ = """A geo target. Attributes: geo_target_constant: Required. The resource name of the geo target. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.KeywordPlanGeoTarget) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.KeywordPlanGeoTarget) )) _sym_db.RegisterMessage(KeywordPlanGeoTarget) DESCRIPTOR._options = None +_KEYWORDPLANCAMPAIGN.fields_by_name['resource_name']._options = None +_KEYWORDPLANCAMPAIGN.fields_by_name['keyword_plan']._options = None +_KEYWORDPLANCAMPAIGN.fields_by_name['id']._options = None +_KEYWORDPLANCAMPAIGN.fields_by_name['language_constants']._options = None +_KEYWORDPLANCAMPAIGN._options = None +_KEYWORDPLANGEOTARGET.fields_by_name['geo_target_constant']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/keyword_plan_campaign_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v1/proto/resources/keyword_plan_pb2.py b/google/ads/google_ads/v4/proto/resources/keyword_plan_pb2.py similarity index 58% rename from google/ads/google_ads/v1/proto/resources/keyword_plan_pb2.py rename to google/ads/google_ads/v4/proto/resources/keyword_plan_pb2.py index a8c214ca6..a5519c63d 100644 --- a/google/ads/google_ads/v1/proto/resources/keyword_plan_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/keyword_plan_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/keyword_plan.proto +# source: google/ads/googleads_v4/proto/resources/keyword_plan.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,54 +13,56 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import dates_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_dates__pb2 -from google.ads.google_ads.v1.proto.enums import keyword_plan_forecast_interval_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2 +from google.ads.google_ads.v4.proto.common import dates_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2 +from google.ads.google_ads.v4.proto.enums import keyword_plan_forecast_interval_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/keyword_plan.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/keyword_plan.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\020KeywordPlanProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/resources/keyword_plan.proto\x12!google.ads.googleads.v1.resources\x1a\x30google/ads/googleads_v1/proto/common/dates.proto\x1aHgoogle/ads/googleads_v1/proto/enums/keyword_plan_forecast_interval.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xd0\x01\n\x0bKeywordPlan\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12U\n\x0f\x66orecast_period\x18\x04 \x01(\x0b\x32<.google.ads.googleads.v1.resources.KeywordPlanForecastPeriod\"\xdd\x01\n\x19KeywordPlanForecastPeriod\x12s\n\rdate_interval\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v1.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastIntervalH\x00\x12?\n\ndate_range\x18\x02 \x01(\x0b\x32).google.ads.googleads.v1.common.DateRangeH\x00\x42\n\n\x08intervalB\xfd\x01\n%com.google.ads.googleads.v1.resourcesB\x10KeywordPlanProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020KeywordPlanProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/resources/keyword_plan.proto\x12!google.ads.googleads.v4.resources\x1a\x30google/ads/googleads_v4/proto/common/dates.proto\x1aHgoogle/ads/googleads_v4/proto/enums/keyword_plan_forecast_interval.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe0\x02\n\x0bKeywordPlan\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x05\xfa\x41&\n$googleads.googleapis.com/KeywordPlan\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12U\n\x0f\x66orecast_period\x18\x04 \x01(\x0b\x32<.google.ads.googleads.v4.resources.KeywordPlanForecastPeriod:[\xea\x41X\n$googleads.googleapis.com/KeywordPlan\x12\x30\x63ustomers/{customer}/keywordPlans/{keyword_plan}\"\xdd\x01\n\x19KeywordPlanForecastPeriod\x12s\n\rdate_interval\x18\x01 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.KeywordPlanForecastIntervalEnum.KeywordPlanForecastIntervalH\x00\x12?\n\ndate_range\x18\x02 \x01(\x0b\x32).google.ads.googleads.v4.common.DateRangeH\x00\x42\n\n\x08intervalB\xfd\x01\n%com.google.ads.googleads.v4.resourcesB\x10KeywordPlanProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_dates__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _KEYWORDPLAN = _descriptor.Descriptor( name='KeywordPlan', - full_name='google.ads.googleads.v1.resources.KeywordPlan', + full_name='google.ads.googleads.v4.resources.KeywordPlan', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.KeywordPlan.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.KeywordPlan.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A&\n$googleads.googleapis.com/KeywordPlan'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.KeywordPlan.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.KeywordPlan.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.KeywordPlan.name', index=2, + name='name', full_name='google.ads.googleads.v4.resources.KeywordPlan.name', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='forecast_period', full_name='google.ads.googleads.v1.resources.KeywordPlan.forecast_period', index=3, + name='forecast_period', full_name='google.ads.googleads.v4.resources.KeywordPlan.forecast_period', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -72,33 +74,33 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AX\n$googleads.googleapis.com/KeywordPlan\0220customers/{customer}/keywordPlans/{keyword_plan}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], - serialized_start=284, - serialized_end=492, + serialized_start=344, + serialized_end=696, ) _KEYWORDPLANFORECASTPERIOD = _descriptor.Descriptor( name='KeywordPlanForecastPeriod', - full_name='google.ads.googleads.v1.resources.KeywordPlanForecastPeriod', + full_name='google.ads.googleads.v4.resources.KeywordPlanForecastPeriod', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='date_interval', full_name='google.ads.googleads.v1.resources.KeywordPlanForecastPeriod.date_interval', index=0, + name='date_interval', full_name='google.ads.googleads.v4.resources.KeywordPlanForecastPeriod.date_interval', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='date_range', full_name='google.ads.googleads.v1.resources.KeywordPlanForecastPeriod.date_range', index=1, + name='date_range', full_name='google.ads.googleads.v4.resources.KeywordPlanForecastPeriod.date_range', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -116,18 +118,18 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='interval', full_name='google.ads.googleads.v1.resources.KeywordPlanForecastPeriod.interval', + name='interval', full_name='google.ads.googleads.v4.resources.KeywordPlanForecastPeriod.interval', index=0, containing_type=None, fields=[]), ], - serialized_start=495, - serialized_end=716, + serialized_start=699, + serialized_end=920, ) _KEYWORDPLAN.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _KEYWORDPLAN.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDPLAN.fields_by_name['forecast_period'].message_type = _KEYWORDPLANFORECASTPERIOD -_KEYWORDPLANFORECASTPERIOD.fields_by_name['date_interval'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2._KEYWORDPLANFORECASTINTERVALENUM_KEYWORDPLANFORECASTINTERVAL -_KEYWORDPLANFORECASTPERIOD.fields_by_name['date_range'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_dates__pb2._DATERANGE +_KEYWORDPLANFORECASTPERIOD.fields_by_name['date_interval'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__forecast__interval__pb2._KEYWORDPLANFORECASTINTERVALENUM_KEYWORDPLANFORECASTINTERVAL +_KEYWORDPLANFORECASTPERIOD.fields_by_name['date_range'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_dates__pb2._DATERANGE _KEYWORDPLANFORECASTPERIOD.oneofs_by_name['interval'].fields.append( _KEYWORDPLANFORECASTPERIOD.fields_by_name['date_interval']) _KEYWORDPLANFORECASTPERIOD.fields_by_name['date_interval'].containing_oneof = _KEYWORDPLANFORECASTPERIOD.oneofs_by_name['interval'] @@ -140,7 +142,7 @@ KeywordPlan = _reflection.GeneratedProtocolMessageType('KeywordPlan', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLAN, - __module__ = 'google.ads.googleads_v1.proto.resources.keyword_plan_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.keyword_plan_pb2' , __doc__ = """A Keyword Planner plan. Max number of saved keyword plans: 10000. It's possible to remove plans if limit is reached. @@ -148,24 +150,24 @@ Attributes: resource_name: - The resource name of the Keyword Planner plan. KeywordPlan - resource names have the form: + Immutable. The resource name of the Keyword Planner plan. + KeywordPlan resource names have the form: ``customers/{customer_id}/keywordPlans/{kp_plan_id}`` id: - The ID of the keyword plan. + Output only. The ID of the keyword plan. name: The name of the keyword plan. This field is required and should not be empty when creating new keyword plans. forecast_period: The date period used for forecasting the plan. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.KeywordPlan) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.KeywordPlan) )) _sym_db.RegisterMessage(KeywordPlan) KeywordPlanForecastPeriod = _reflection.GeneratedProtocolMessageType('KeywordPlanForecastPeriod', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANFORECASTPERIOD, - __module__ = 'google.ads.googleads_v1.proto.resources.keyword_plan_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.keyword_plan_pb2' , __doc__ = """The forecasting period associated with the keyword plan. @@ -179,12 +181,16 @@ date_range: The custom date range used for forecasting. The start and end dates must be in the future. Otherwise, an error will be - returned when the forecasting action is performed. + returned when the forecasting action is performed. The start + and end dates are inclusive. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.KeywordPlanForecastPeriod) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.KeywordPlanForecastPeriod) )) _sym_db.RegisterMessage(KeywordPlanForecastPeriod) DESCRIPTOR._options = None +_KEYWORDPLAN.fields_by_name['resource_name']._options = None +_KEYWORDPLAN.fields_by_name['id']._options = None +_KEYWORDPLAN._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/keyword_plan_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/keyword_plan_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/keyword_plan_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/keyword_view_pb2.py b/google/ads/google_ads/v4/proto/resources/keyword_view_pb2.py new file mode 100644 index 000000000..4758b7c59 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/keyword_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/keyword_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/keyword_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\020KeywordViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/resources/keyword_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xaf\x01\n\x0bKeywordView\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x03\xfa\x41&\n$googleads.googleapis.com/KeywordView:[\xea\x41X\n$googleads.googleapis.com/KeywordView\x12\x30\x63ustomers/{customer}/keywordViews/{keyword_view}B\xfd\x01\n%com.google.ads.googleads.v4.resourcesB\x10KeywordViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_KEYWORDVIEW = _descriptor.Descriptor( + name='KeywordView', + full_name='google.ads.googleads.v4.resources.KeywordView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.KeywordView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A&\n$googleads.googleapis.com/KeywordView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AX\n$googleads.googleapis.com/KeywordView\0220customers/{customer}/keywordViews/{keyword_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=188, + serialized_end=363, +) + +DESCRIPTOR.message_types_by_name['KeywordView'] = _KEYWORDVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +KeywordView = _reflection.GeneratedProtocolMessageType('KeywordView', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.keyword_view_pb2' + , + __doc__ = """A keyword view. + + + Attributes: + resource_name: + Output only. The resource name of the keyword view. Keyword + view resource names have the form: ``customers/{customer_id}/ + keywordViews/{ad_group_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.KeywordView) + )) +_sym_db.RegisterMessage(KeywordView) + + +DESCRIPTOR._options = None +_KEYWORDVIEW.fields_by_name['resource_name']._options = None +_KEYWORDVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/keyword_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/keyword_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/keyword_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/label_pb2.py b/google/ads/google_ads/v4/proto/resources/label_pb2.py new file mode 100644 index 000000000..7dec1fc6d --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/label_pb2.py @@ -0,0 +1,133 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/label.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import text_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_text__label__pb2 +from google.ads.google_ads.v4.proto.enums import label_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_label__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/label.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\nLabelProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/resources/label.proto\x12!google.ads.googleads.v4.resources\x1a\x35google/ads/googleads_v4/proto/common/text_label.proto\x1a\x36google/ads/googleads_v4/proto/enums/label_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfa\x02\n\x05Label\x12=\n\rresource_name\x18\x01 \x01(\tB&\xe0\x41\x05\xfa\x41 \n\x1egoogleads.googleapis.com/Label\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12O\n\x06status\x18\x04 \x01(\x0e\x32:.google.ads.googleads.v4.enums.LabelStatusEnum.LabelStatusB\x03\xe0\x41\x03\x12=\n\ntext_label\x18\x05 \x01(\x0b\x32).google.ads.googleads.v4.common.TextLabel:H\xea\x41\x45\n\x1egoogleads.googleapis.com/Label\x12#customers/{customer}/labels/{label}B\xf7\x01\n%com.google.ads.googleads.v4.resourcesB\nLabelProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_text__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_label__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_LABEL = _descriptor.Descriptor( + name='Label', + full_name='google.ads.googleads.v4.resources.Label', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.Label.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A \n\036googleads.googleapis.com/Label'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.Label.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.Label.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.Label.status', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='text_label', full_name='google.ads.googleads.v4.resources.Label.text_label', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AE\n\036googleads.googleapis.com/Label\022#customers/{customer}/labels/{label}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=324, + serialized_end=702, +) + +_LABEL.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_LABEL.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_LABEL.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_label__status__pb2._LABELSTATUSENUM_LABELSTATUS +_LABEL.fields_by_name['text_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_text__label__pb2._TEXTLABEL +DESCRIPTOR.message_types_by_name['Label'] = _LABEL +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Label = _reflection.GeneratedProtocolMessageType('Label', (_message.Message,), dict( + DESCRIPTOR = _LABEL, + __module__ = 'google.ads.googleads_v4.proto.resources.label_pb2' + , + __doc__ = """A label. + + + Attributes: + resource_name: + Immutable. Name of the resource. Label resource names have the + form: ``customers/{customer_id}/labels/{label_id}`` + id: + Output only. Id of the label. Read only. + name: + The name of the label. This field is required and should not + be empty when creating a new label. The length of this string + should be between 1 and 80, inclusive. + status: + Output only. Status of the label. Read only. + text_label: + A type of label displaying text on a colored background. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Label) + )) +_sym_db.RegisterMessage(Label) + + +DESCRIPTOR._options = None +_LABEL.fields_by_name['resource_name']._options = None +_LABEL.fields_by_name['id']._options = None +_LABEL.fields_by_name['status']._options = None +_LABEL._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/label_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/label_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/label_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2.py b/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2.py new file mode 100644 index 000000000..4a2d104ce --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2.py @@ -0,0 +1,101 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/landing_page_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/landing_page_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024LandingPageViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/landing_page_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x85\x02\n\x0fLandingPageView\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(googleads.googleapis.com/LandingPageView\x12?\n\x14unexpanded_final_url\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:h\xea\x41\x65\n(googleads.googleapis.com/LandingPageView\x12\x39\x63ustomers/{customer}/landingPageViews/{landing_page_view}B\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14LandingPageViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_LANDINGPAGEVIEW = _descriptor.Descriptor( + name='LandingPageView', + full_name='google.ads.googleads.v4.resources.LandingPageView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.LandingPageView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A*\n(googleads.googleapis.com/LandingPageView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='unexpanded_final_url', full_name='google.ads.googleads.v4.resources.LandingPageView.unexpanded_final_url', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ae\n(googleads.googleapis.com/LandingPageView\0229customers/{customer}/landingPageViews/{landing_page_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=225, + serialized_end=486, +) + +_LANDINGPAGEVIEW.fields_by_name['unexpanded_final_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['LandingPageView'] = _LANDINGPAGEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LandingPageView = _reflection.GeneratedProtocolMessageType('LandingPageView', (_message.Message,), dict( + DESCRIPTOR = _LANDINGPAGEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.landing_page_view_pb2' + , + __doc__ = """A landing page view with metrics aggregated at the unexpanded final URL + level. + + + Attributes: + resource_name: + Output only. The resource name of the landing page view. + Landing page view resource names have the form: ``customers/{ + customer_id}/landingPageViews/{unexpanded_final_url_fingerprin + t}`` + unexpanded_final_url: + Output only. The advertiser-specified final URL. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.LandingPageView) + )) +_sym_db.RegisterMessage(LandingPageView) + + +DESCRIPTOR._options = None +_LANDINGPAGEVIEW.fields_by_name['resource_name']._options = None +_LANDINGPAGEVIEW.fields_by_name['unexpanded_final_url']._options = None +_LANDINGPAGEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/landing_page_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/language_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/language_constant_pb2.py new file mode 100644 index 000000000..c678231a1 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/language_constant_pb2.py @@ -0,0 +1,134 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/language_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/language_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025LanguageConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/resources/language_constant.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xf8\x02\n\x10LanguageConstant\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/LanguageConstant\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12/\n\x04\x63ode\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x33\n\ntargetable\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03:U\xea\x41R\n)googleads.googleapis.com/LanguageConstant\x12%languageConstants/{language_constant}B\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15LanguageConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_LANGUAGECONSTANT = _descriptor.Descriptor( + name='LanguageConstant', + full_name='google.ads.googleads.v4.resources.LanguageConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.LanguageConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A+\n)googleads.googleapis.com/LanguageConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.LanguageConstant.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='code', full_name='google.ads.googleads.v4.resources.LanguageConstant.code', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.LanguageConstant.name', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='targetable', full_name='google.ads.googleads.v4.resources.LanguageConstant.targetable', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AR\n)googleads.googleapis.com/LanguageConstant\022%languageConstants/{language_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=225, + serialized_end=601, +) + +_LANGUAGECONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_LANGUAGECONSTANT.fields_by_name['code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_LANGUAGECONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_LANGUAGECONSTANT.fields_by_name['targetable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +DESCRIPTOR.message_types_by_name['LanguageConstant'] = _LANGUAGECONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LanguageConstant = _reflection.GeneratedProtocolMessageType('LanguageConstant', (_message.Message,), dict( + DESCRIPTOR = _LANGUAGECONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.language_constant_pb2' + , + __doc__ = """A language. + + + Attributes: + resource_name: + Output only. The resource name of the language constant. + Language constant resource names have the form: + ``languageConstants/{criterion_id}`` + id: + Output only. The ID of the language constant. + code: + Output only. The language code, e.g. "en\_US", "en\_AU", "es", + "fr", etc. + name: + Output only. The full name of the language in English, e.g., + "English (US)", "Spanish", etc. + targetable: + Output only. Whether the language is targetable. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.LanguageConstant) + )) +_sym_db.RegisterMessage(LanguageConstant) + + +DESCRIPTOR._options = None +_LANGUAGECONSTANT.fields_by_name['resource_name']._options = None +_LANGUAGECONSTANT.fields_by_name['id']._options = None +_LANGUAGECONSTANT.fields_by_name['code']._options = None +_LANGUAGECONSTANT.fields_by_name['name']._options = None +_LANGUAGECONSTANT.fields_by_name['targetable']._options = None +_LANGUAGECONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/language_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/language_constant_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/language_constant_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/location_view_pb2.py b/google/ads/google_ads/v4/proto/resources/location_view_pb2.py new file mode 100644 index 000000000..57c735a09 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/location_view_pb2.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/location_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/location_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\021LocationViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n;google/ads/googleads_v4/proto/resources/location_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xb4\x01\n\x0cLocationView\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x03\xfa\x41\'\n%googleads.googleapis.com/LocationView:^\xea\x41[\n%googleads.googleapis.com/LocationView\x12\x32\x63ustomers/{customer}/locationViews/{location_view}B\xfe\x01\n%com.google.ads.googleads.v4.resourcesB\x11LocationViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_LOCATIONVIEW = _descriptor.Descriptor( + name='LocationView', + full_name='google.ads.googleads.v4.resources.LocationView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.LocationView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\'\n%googleads.googleapis.com/LocationView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A[\n%googleads.googleapis.com/LocationView\0222customers/{customer}/locationViews/{location_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=189, + serialized_end=369, +) + +DESCRIPTOR.message_types_by_name['LocationView'] = _LOCATIONVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +LocationView = _reflection.GeneratedProtocolMessageType('LocationView', (_message.Message,), dict( + DESCRIPTOR = _LOCATIONVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.location_view_pb2' + , + __doc__ = """A location view summarizes the performance of campaigns by Location + criteria. + + + Attributes: + resource_name: + Output only. The resource name of the location view. Location + view resource names have the form: ``customers/{customer_id}/ + locationViews/{campaign_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.LocationView) + )) +_sym_db.RegisterMessage(LocationView) + + +DESCRIPTOR._options = None +_LOCATIONVIEW.fields_by_name['resource_name']._options = None +_LOCATIONVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/location_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/location_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/location_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2.py b/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2.py new file mode 100644 index 000000000..47c47c706 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/managed_placement_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/managed_placement_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\031ManagedPlacementViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/managed_placement_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xdd\x01\n\x14ManagedPlacementView\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x03\xfa\x41/\n-googleads.googleapis.com/ManagedPlacementView:w\xea\x41t\n-googleads.googleapis.com/ManagedPlacementView\x12\x43\x63ustomers/{customer}/managedPlacementViews/{managed_placement_view}B\x86\x02\n%com.google.ads.googleads.v4.resourcesB\x19ManagedPlacementViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_MANAGEDPLACEMENTVIEW = _descriptor.Descriptor( + name='ManagedPlacementView', + full_name='google.ads.googleads.v4.resources.ManagedPlacementView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ManagedPlacementView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A/\n-googleads.googleapis.com/ManagedPlacementView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352At\n-googleads.googleapis.com/ManagedPlacementView\022Ccustomers/{customer}/managedPlacementViews/{managed_placement_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=198, + serialized_end=419, +) + +DESCRIPTOR.message_types_by_name['ManagedPlacementView'] = _MANAGEDPLACEMENTVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ManagedPlacementView = _reflection.GeneratedProtocolMessageType('ManagedPlacementView', (_message.Message,), dict( + DESCRIPTOR = _MANAGEDPLACEMENTVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.managed_placement_view_pb2' + , + __doc__ = """A managed placement view. + + + Attributes: + resource_name: + Output only. The resource name of the Managed Placement view. + Managed placement view resource names have the form: ``custom + ers/{customer_id}/managedPlacementViews/{ad_group_id}~{criteri + on_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ManagedPlacementView) + )) +_sym_db.RegisterMessage(ManagedPlacementView) + + +DESCRIPTOR._options = None +_MANAGEDPLACEMENTVIEW.fields_by_name['resource_name']._options = None +_MANAGEDPLACEMENTVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/managed_placement_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v1/proto/resources/media_file_pb2.py b/google/ads/google_ads/v4/proto/resources/media_file_pb2.py similarity index 54% rename from google/ads/google_ads/v1/proto/resources/media_file_pb2.py rename to google/ads/google_ads/v4/proto/resources/media_file_pb2.py index d4e1be291..8aa82e4c2 100644 --- a/google/ads/google_ads/v1/proto/resources/media_file_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/media_file_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/media_file.proto +# source: google/ads/googleads_v4/proto/resources/media_file.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,142 +13,144 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import media_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_media__type__pb2 -from google.ads.google_ads.v1.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2 +from google.ads.google_ads.v4.proto.enums import media_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_media__type__pb2 +from google.ads.google_ads.v4.proto.enums import mime_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/media_file.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/media_file.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\016MediaFileProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n8google/ads/googleads_v1/proto/resources/media_file.proto\x12!google.ads.googleads.v1.resources\x1a\x34google/ads/googleads_v1/proto/enums/media_type.proto\x1a\x33google/ads/googleads_v1/proto/enums/mime_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xfd\x04\n\tMediaFile\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x44\n\x04type\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v1.enums.MediaTypeEnum.MediaType\x12G\n\tmime_type\x18\x06 \x01(\x0e\x32\x34.google.ads.googleads.v1.enums.MimeTypeEnum.MimeType\x12\x30\n\nsource_url\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x04name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\tfile_size\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12>\n\x05image\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v1.resources.MediaImageH\x00\x12\x46\n\x0cmedia_bundle\x18\x04 \x01(\x0b\x32..google.ads.googleads.v1.resources.MediaBundleH\x00\x12>\n\x05\x61udio\x18\n \x01(\x0b\x32-.google.ads.googleads.v1.resources.MediaAudioH\x00\x12>\n\x05video\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v1.resources.MediaVideoH\x00\x42\x0b\n\tmediatype\"7\n\nMediaImage\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\"8\n\x0bMediaBundle\x12)\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValue\"E\n\nMediaAudio\x12\x37\n\x12\x61\x64_duration_millis\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xe9\x01\n\nMediaVideo\x12\x37\n\x12\x61\x64_duration_millis\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x10youtube_video_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x13\x61\x64vertising_id_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12/\n\tisci_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\xfb\x01\n%com.google.ads.googleads.v1.resourcesB\x0eMediaFileProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\016MediaFileProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/resources/media_file.proto\x12!google.ads.googleads.v4.resources\x1a\x34google/ads/googleads_v4/proto/enums/media_type.proto\x1a\x33google/ads/googleads_v4/proto/enums/mime_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb2\x06\n\tMediaFile\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/MediaFile\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12I\n\x04type\x18\x05 \x01(\x0e\x32\x36.google.ads.googleads.v4.enums.MediaTypeEnum.MediaTypeB\x03\xe0\x41\x05\x12L\n\tmime_type\x18\x06 \x01(\x0e\x32\x34.google.ads.googleads.v4.enums.MimeTypeEnum.MimeTypeB\x03\xe0\x41\x03\x12\x35\n\nsource_url\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12/\n\x04name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12\x33\n\tfile_size\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x43\n\x05image\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v4.resources.MediaImageB\x03\xe0\x41\x05H\x00\x12K\n\x0cmedia_bundle\x18\x04 \x01(\x0b\x32..google.ads.googleads.v4.resources.MediaBundleB\x03\xe0\x41\x05H\x00\x12\x43\n\x05\x61udio\x18\n \x01(\x0b\x32-.google.ads.googleads.v4.resources.MediaAudioB\x03\xe0\x41\x03H\x00\x12\x43\n\x05video\x18\x0b \x01(\x0b\x32-.google.ads.googleads.v4.resources.MediaVideoB\x03\xe0\x41\x05H\x00:U\xea\x41R\n\"googleads.googleapis.com/MediaFile\x12,customers/{customer}/mediaFiles/{media_file}B\x0b\n\tmediatype\"<\n\nMediaImage\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValueB\x03\xe0\x41\x05\"=\n\x0bMediaBundle\x12.\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.BytesValueB\x03\xe0\x41\x05\"J\n\nMediaAudio\x12<\n\x12\x61\x64_duration_millis\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\"\xfd\x01\n\nMediaVideo\x12<\n\x12\x61\x64_duration_millis\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12;\n\x10youtube_video_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x05\x12>\n\x13\x61\x64vertising_id_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x34\n\tisci_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x42\xfb\x01\n%com.google.ads.googleads.v4.resourcesB\x0eMediaFileProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_media__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_media__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _MEDIAFILE = _descriptor.Descriptor( name='MediaFile', - full_name='google.ads.googleads.v1.resources.MediaFile', + full_name='google.ads.googleads.v4.resources.MediaFile', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.MediaFile.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.MediaFile.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/MediaFile'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.MediaFile.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.MediaFile.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.MediaFile.type', index=2, + name='type', full_name='google.ads.googleads.v4.resources.MediaFile.type', index=2, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mime_type', full_name='google.ads.googleads.v1.resources.MediaFile.mime_type', index=3, + name='mime_type', full_name='google.ads.googleads.v4.resources.MediaFile.mime_type', index=3, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='source_url', full_name='google.ads.googleads.v1.resources.MediaFile.source_url', index=4, + name='source_url', full_name='google.ads.googleads.v4.resources.MediaFile.source_url', index=4, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.MediaFile.name', index=5, + name='name', full_name='google.ads.googleads.v4.resources.MediaFile.name', index=5, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='file_size', full_name='google.ads.googleads.v1.resources.MediaFile.file_size', index=6, + name='file_size', full_name='google.ads.googleads.v4.resources.MediaFile.file_size', index=6, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='image', full_name='google.ads.googleads.v1.resources.MediaFile.image', index=7, + name='image', full_name='google.ads.googleads.v4.resources.MediaFile.image', index=7, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_bundle', full_name='google.ads.googleads.v1.resources.MediaFile.media_bundle', index=8, + name='media_bundle', full_name='google.ads.googleads.v4.resources.MediaFile.media_bundle', index=8, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='audio', full_name='google.ads.googleads.v1.resources.MediaFile.audio', index=9, + name='audio', full_name='google.ads.googleads.v4.resources.MediaFile.audio', index=9, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video', full_name='google.ads.googleads.v1.resources.MediaFile.video', index=10, + name='video', full_name='google.ads.googleads.v4.resources.MediaFile.video', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AR\n\"googleads.googleapis.com/MediaFile\022,customers/{customer}/mediaFiles/{media_file}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='mediatype', full_name='google.ads.googleads.v1.resources.MediaFile.mediatype', + name='mediatype', full_name='google.ads.googleads.v4.resources.MediaFile.mediatype', index=0, containing_type=None, fields=[]), ], - serialized_start=265, - serialized_end=902, + serialized_start=325, + serialized_end=1143, ) _MEDIAIMAGE = _descriptor.Descriptor( name='MediaImage', - full_name='google.ads.googleads.v1.resources.MediaImage', + full_name='google.ads.googleads.v4.resources.MediaImage', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v1.resources.MediaImage.data', index=0, + name='data', full_name='google.ads.googleads.v4.resources.MediaImage.data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], @@ -161,25 +163,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=904, - serialized_end=959, + serialized_start=1145, + serialized_end=1205, ) _MEDIABUNDLE = _descriptor.Descriptor( name='MediaBundle', - full_name='google.ads.googleads.v1.resources.MediaBundle', + full_name='google.ads.googleads.v4.resources.MediaBundle', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='data', full_name='google.ads.googleads.v1.resources.MediaBundle.data', index=0, + name='data', full_name='google.ads.googleads.v4.resources.MediaBundle.data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], @@ -192,25 +194,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=961, - serialized_end=1017, + serialized_start=1207, + serialized_end=1268, ) _MEDIAAUDIO = _descriptor.Descriptor( name='MediaAudio', - full_name='google.ads.googleads.v1.resources.MediaAudio', + full_name='google.ads.googleads.v4.resources.MediaAudio', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_duration_millis', full_name='google.ads.googleads.v1.resources.MediaAudio.ad_duration_millis', index=0, + name='ad_duration_millis', full_name='google.ads.googleads.v4.resources.MediaAudio.ad_duration_millis', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -223,46 +225,46 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1019, - serialized_end=1088, + serialized_start=1270, + serialized_end=1344, ) _MEDIAVIDEO = _descriptor.Descriptor( name='MediaVideo', - full_name='google.ads.googleads.v1.resources.MediaVideo', + full_name='google.ads.googleads.v4.resources.MediaVideo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_duration_millis', full_name='google.ads.googleads.v1.resources.MediaVideo.ad_duration_millis', index=0, + name='ad_duration_millis', full_name='google.ads.googleads.v4.resources.MediaVideo.ad_duration_millis', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video_id', full_name='google.ads.googleads.v1.resources.MediaVideo.youtube_video_id', index=1, + name='youtube_video_id', full_name='google.ads.googleads.v4.resources.MediaVideo.youtube_video_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='advertising_id_code', full_name='google.ads.googleads.v1.resources.MediaVideo.advertising_id_code', index=2, + name='advertising_id_code', full_name='google.ads.googleads.v4.resources.MediaVideo.advertising_id_code', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='isci_code', full_name='google.ads.googleads.v1.resources.MediaVideo.isci_code', index=3, + name='isci_code', full_name='google.ads.googleads.v4.resources.MediaVideo.isci_code', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -275,13 +277,13 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1091, - serialized_end=1324, + serialized_start=1347, + serialized_end=1600, ) _MEDIAFILE.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_MEDIAFILE.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_media__type__pb2._MEDIATYPEENUM_MEDIATYPE -_MEDIAFILE.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE +_MEDIAFILE.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_media__type__pb2._MEDIATYPEENUM_MEDIATYPE +_MEDIAFILE.fields_by_name['mime_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mime__type__pb2._MIMETYPEENUM_MIMETYPE _MEDIAFILE.fields_by_name['source_url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MEDIAFILE.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _MEDIAFILE.fields_by_name['file_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -317,64 +319,65 @@ MediaFile = _reflection.GeneratedProtocolMessageType('MediaFile', (_message.Message,), dict( DESCRIPTOR = _MEDIAFILE, - __module__ = 'google.ads.googleads_v1.proto.resources.media_file_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.media_file_pb2' , __doc__ = """A media file. Attributes: resource_name: - The resource name of the media file. Media file resource names - have the form: + Immutable. The resource name of the media file. Media file + resource names have the form: ``customers/{customer_id}/mediaFiles/{media_file_id}`` id: - The ID of the media file. + Output only. The ID of the media file. type: - Type of the media file. + Immutable. Type of the media file. mime_type: - The mime type of the media file. + Output only. The mime type of the media file. source_url: - The URL of where the original media file was downloaded from - (or a file name). + Immutable. The URL of where the original media file was + downloaded from (or a file name). Only used for media of type + AUDIO and IMAGE. name: - The name of the media file. The name can be used by clients to - help identify previously uploaded media. + Immutable. The name of the media file. The name can be used by + clients to help identify previously uploaded media. file_size: - The size of the media file in bytes. + Output only. The size of the media file in bytes. mediatype: The specific type of the media file. image: - Encapsulates an Image. + Immutable. Encapsulates an Image. media_bundle: - A ZIP archive media the content of which contains HTML5 - assets. + Immutable. A ZIP archive media the content of which contains + HTML5 assets. audio: - Encapsulates an Audio. + Output only. Encapsulates an Audio. video: - Encapsulates a Video. + Immutable. Encapsulates a Video. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MediaFile) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MediaFile) )) _sym_db.RegisterMessage(MediaFile) MediaImage = _reflection.GeneratedProtocolMessageType('MediaImage', (_message.Message,), dict( DESCRIPTOR = _MEDIAIMAGE, - __module__ = 'google.ads.googleads_v1.proto.resources.media_file_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.media_file_pb2' , __doc__ = """Encapsulates an Image. Attributes: data: - Raw image data. + Immutable. Raw image data. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MediaImage) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MediaImage) )) _sym_db.RegisterMessage(MediaImage) MediaBundle = _reflection.GeneratedProtocolMessageType('MediaBundle', (_message.Message,), dict( DESCRIPTOR = _MEDIABUNDLE, - __module__ = 'google.ads.googleads_v1.proto.resources.media_file_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.media_file_pb2' , __doc__ = """Represents a ZIP archive media the content of which contains HTML5 assets. @@ -382,51 +385,70 @@ Attributes: data: - Raw zipped data. + Immutable. Raw zipped data. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MediaBundle) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MediaBundle) )) _sym_db.RegisterMessage(MediaBundle) MediaAudio = _reflection.GeneratedProtocolMessageType('MediaAudio', (_message.Message,), dict( DESCRIPTOR = _MEDIAAUDIO, - __module__ = 'google.ads.googleads_v1.proto.resources.media_file_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.media_file_pb2' , __doc__ = """Encapsulates an Audio. Attributes: ad_duration_millis: - The duration of the Audio in milliseconds. + Output only. The duration of the Audio in milliseconds. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MediaAudio) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MediaAudio) )) _sym_db.RegisterMessage(MediaAudio) MediaVideo = _reflection.GeneratedProtocolMessageType('MediaVideo', (_message.Message,), dict( DESCRIPTOR = _MEDIAVIDEO, - __module__ = 'google.ads.googleads_v1.proto.resources.media_file_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.media_file_pb2' , __doc__ = """Encapsulates a Video. Attributes: ad_duration_millis: - The duration of the Video in milliseconds. + Output only. The duration of the Video in milliseconds. youtube_video_id: - The YouTube video ID (as seen in YouTube URLs). + Immutable. The YouTube video ID (as seen in YouTube URLs). advertising_id_code: - The Advertising Digital Identification code for this video, as - defined by the American Association of Advertising Agencies, - used mainly for television commercials. + Output only. The Advertising Digital Identification code for + this video, as defined by the American Association of + Advertising Agencies, used mainly for television commercials. isci_code: - The Industry Standard Commercial Identifier code for this - video, used mainly for television commercials. + Output only. The Industry Standard Commercial Identifier code + for this video, used mainly for television commercials. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.MediaVideo) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MediaVideo) )) _sym_db.RegisterMessage(MediaVideo) DESCRIPTOR._options = None +_MEDIAFILE.fields_by_name['resource_name']._options = None +_MEDIAFILE.fields_by_name['id']._options = None +_MEDIAFILE.fields_by_name['type']._options = None +_MEDIAFILE.fields_by_name['mime_type']._options = None +_MEDIAFILE.fields_by_name['source_url']._options = None +_MEDIAFILE.fields_by_name['name']._options = None +_MEDIAFILE.fields_by_name['file_size']._options = None +_MEDIAFILE.fields_by_name['image']._options = None +_MEDIAFILE.fields_by_name['media_bundle']._options = None +_MEDIAFILE.fields_by_name['audio']._options = None +_MEDIAFILE.fields_by_name['video']._options = None +_MEDIAFILE._options = None +_MEDIAIMAGE.fields_by_name['data']._options = None +_MEDIABUNDLE.fields_by_name['data']._options = None +_MEDIAAUDIO.fields_by_name['ad_duration_millis']._options = None +_MEDIAVIDEO.fields_by_name['ad_duration_millis']._options = None +_MEDIAVIDEO.fields_by_name['youtube_video_id']._options = None +_MEDIAVIDEO.fields_by_name['advertising_id_code']._options = None +_MEDIAVIDEO.fields_by_name['isci_code']._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/media_file_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/media_file_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/media_file_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2.py b/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2.py new file mode 100644 index 000000000..d08dfd3f3 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2.py @@ -0,0 +1,124 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/merchant_center_link.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import merchant_center_link_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_merchant__center__link__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/merchant_center_link.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\027MerchantCenterLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/resources/merchant_center_link.proto\x12!google.ads.googleads.v4.resources\x1a\x45google/ads/googleads_v4/proto/enums/merchant_center_link_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb0\x03\n\x12MerchantCenterLink\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x05\xfa\x41-\n+googleads.googleapis.com/MerchantCenterLink\x12,\n\x02id\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12G\n\x1cmerchant_center_account_name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x64\n\x06status\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v4.enums.MerchantCenterLinkStatusEnum.MerchantCenterLinkStatus:q\xea\x41n\n+googleads.googleapis.com/MerchantCenterLink\x12?customers/{customer}/merchantCenterLinks/{merchant_center_link}B\x84\x02\n%com.google.ads.googleads.v4.resourcesB\x17MerchantCenterLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_merchant__center__link__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_MERCHANTCENTERLINK = _descriptor.Descriptor( + name='MerchantCenterLink', + full_name='google.ads.googleads.v4.resources.MerchantCenterLink', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.MerchantCenterLink.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A-\n+googleads.googleapis.com/MerchantCenterLink'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.MerchantCenterLink.id', index=1, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='merchant_center_account_name', full_name='google.ads.googleads.v4.resources.MerchantCenterLink.merchant_center_account_name', index=2, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.MerchantCenterLink.status', index=3, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352An\n+googleads.googleapis.com/MerchantCenterLink\022?customers/{customer}/merchantCenterLinks/{merchant_center_link}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=299, + serialized_end=731, +) + +_MERCHANTCENTERLINK.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_MERCHANTCENTERLINK.fields_by_name['merchant_center_account_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_MERCHANTCENTERLINK.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_merchant__center__link__status__pb2._MERCHANTCENTERLINKSTATUSENUM_MERCHANTCENTERLINKSTATUS +DESCRIPTOR.message_types_by_name['MerchantCenterLink'] = _MERCHANTCENTERLINK +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MerchantCenterLink = _reflection.GeneratedProtocolMessageType('MerchantCenterLink', (_message.Message,), dict( + DESCRIPTOR = _MERCHANTCENTERLINK, + __module__ = 'google.ads.googleads_v4.proto.resources.merchant_center_link_pb2' + , + __doc__ = """A data sharing connection, proposed or in use, between a Google Ads + Customer and a Merchant Center account. + + + Attributes: + resource_name: + Immutable. The resource name of the merchant center link. + Merchant center link resource names have the form: ``customer + s/{customer_id}/merchantCenterLinks/{merchant_center_id}`` + id: + Output only. The ID of the Merchant Center account. This field + is readonly. + merchant_center_account_name: + Output only. The name of the Merchant Center account. This + field is readonly. + status: + The status of the link. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MerchantCenterLink) + )) +_sym_db.RegisterMessage(MerchantCenterLink) + + +DESCRIPTOR._options = None +_MERCHANTCENTERLINK.fields_by_name['resource_name']._options = None +_MERCHANTCENTERLINK.fields_by_name['id']._options = None +_MERCHANTCENTERLINK.fields_by_name['merchant_center_account_name']._options = None +_MERCHANTCENTERLINK._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/merchant_center_link_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2.py new file mode 100644 index 000000000..0959506c5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/mobile_app_category_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/mobile_app_category_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\036MobileAppCategoryConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/resources/mobile_app_category_constant.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc1\x02\n\x19MobileAppCategoryConstant\x12Q\n\rresource_name\x18\x01 \x01(\tB:\xe0\x41\x03\xfa\x41\x34\n2googleads.googleapis.com/MobileAppCategoryConstant\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:r\xea\x41o\n2googleads.googleapis.com/MobileAppCategoryConstant\x12\x39mobileAppCategoryConstants/{mobile_app_category_constant}B\x8b\x02\n%com.google.ads.googleads.v4.resourcesB\x1eMobileAppCategoryConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_MOBILEAPPCATEGORYCONSTANT = _descriptor.Descriptor( + name='MobileAppCategoryConstant', + full_name='google.ads.googleads.v4.resources.MobileAppCategoryConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.MobileAppCategoryConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A4\n2googleads.googleapis.com/MobileAppCategoryConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.MobileAppCategoryConstant.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.MobileAppCategoryConstant.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ao\n2googleads.googleapis.com/MobileAppCategoryConstant\0229mobileAppCategoryConstants/{mobile_app_category_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=236, + serialized_end=557, +) + +_MOBILEAPPCATEGORYCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_MOBILEAPPCATEGORYCONSTANT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['MobileAppCategoryConstant'] = _MOBILEAPPCATEGORYCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MobileAppCategoryConstant = _reflection.GeneratedProtocolMessageType('MobileAppCategoryConstant', (_message.Message,), dict( + DESCRIPTOR = _MOBILEAPPCATEGORYCONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.mobile_app_category_constant_pb2' + , + __doc__ = """A mobile application category constant. + + + Attributes: + resource_name: + Output only. The resource name of the mobile app category + constant. Mobile app category constant resource names have the + form: ``mobileAppCategoryConstants/{mobile_app_category_id}`` + id: + Output only. The ID of the mobile app category constant. + name: + Output only. Mobile app category name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.MobileAppCategoryConstant) + )) +_sym_db.RegisterMessage(MobileAppCategoryConstant) + + +DESCRIPTOR._options = None +_MOBILEAPPCATEGORYCONSTANT.fields_by_name['resource_name']._options = None +_MOBILEAPPCATEGORYCONSTANT.fields_by_name['id']._options = None +_MOBILEAPPCATEGORYCONSTANT.fields_by_name['name']._options = None +_MOBILEAPPCATEGORYCONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/mobile_app_category_constant_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/mobile_device_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/mobile_device_constant_pb2.py new file mode 100644 index 000000000..1ae62dd04 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/mobile_device_constant_pb2.py @@ -0,0 +1,144 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/mobile_device_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import mobile_device_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_mobile__device__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/mobile_device_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\031MobileDeviceConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/resources/mobile_device_constant.proto\x12!google.ads.googleads.v4.resources\x1agoogle/ads/googleads_v4/proto/resources/payments_account.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xbc\x04\n\x0fPaymentsAccount\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(googleads.googleapis.com/PaymentsAccount\x12>\n\x13payments_account_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12/\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x38\n\rcurrency_code\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12>\n\x13payments_profile_id\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12H\n\x1dsecondary_payments_profile_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x42\n\x17paying_manager_customer\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:g\xea\x41\x64\n(googleads.googleapis.com/PaymentsAccount\x12\x38\x63ustomers/{customer}/paymentsAccounts/{payments_account}B\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14PaymentsAccountProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_PAYMENTSACCOUNT = _descriptor.Descriptor( + name='PaymentsAccount', + full_name='google.ads.googleads.v4.resources.PaymentsAccount', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.PaymentsAccount.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A*\n(googleads.googleapis.com/PaymentsAccount'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payments_account_id', full_name='google.ads.googleads.v4.resources.PaymentsAccount.payments_account_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.PaymentsAccount.name', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v4.resources.PaymentsAccount.currency_code', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='payments_profile_id', full_name='google.ads.googleads.v4.resources.PaymentsAccount.payments_profile_id', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='secondary_payments_profile_id', full_name='google.ads.googleads.v4.resources.PaymentsAccount.secondary_payments_profile_id', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='paying_manager_customer', full_name='google.ads.googleads.v4.resources.PaymentsAccount.paying_manager_customer', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ad\n(googleads.googleapis.com/PaymentsAccount\0228customers/{customer}/paymentsAccounts/{payments_account}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=224, + serialized_end=796, +) + +_PAYMENTSACCOUNT.fields_by_name['payments_account_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PAYMENTSACCOUNT.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PAYMENTSACCOUNT.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PAYMENTSACCOUNT.fields_by_name['payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PAYMENTSACCOUNT.fields_by_name['secondary_payments_profile_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PAYMENTSACCOUNT.fields_by_name['paying_manager_customer'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['PaymentsAccount'] = _PAYMENTSACCOUNT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +PaymentsAccount = _reflection.GeneratedProtocolMessageType('PaymentsAccount', (_message.Message,), dict( + DESCRIPTOR = _PAYMENTSACCOUNT, + __module__ = 'google.ads.googleads_v4.proto.resources.payments_account_pb2' + , + __doc__ = """A payments account, which can be used to set up billing for an Ads + customer. + + + Attributes: + resource_name: + Output only. The resource name of the payments account. + PaymentsAccount resource names have the form: ``customers/{cu + stomer_id}/paymentsAccounts/{payments_account_id}`` + payments_account_id: + Output only. A 16 digit ID used to identify a payments + account. + name: + Output only. The name of the payments account. + currency_code: + Output only. The currency code of the payments account. A + subset of the currency codes derived from the ISO 4217 + standard is supported. + payments_profile_id: + Output only. A 12 digit ID used to identify the payments + profile associated with the payments account. + secondary_payments_profile_id: + Output only. A secondary payments profile ID present in + uncommon situations, e.g. when a sequential liability + agreement has been arranged. + paying_manager_customer: + Output only. Paying manager of this payment account. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.PaymentsAccount) + )) +_sym_db.RegisterMessage(PaymentsAccount) + + +DESCRIPTOR._options = None +_PAYMENTSACCOUNT.fields_by_name['resource_name']._options = None +_PAYMENTSACCOUNT.fields_by_name['payments_account_id']._options = None +_PAYMENTSACCOUNT.fields_by_name['name']._options = None +_PAYMENTSACCOUNT.fields_by_name['currency_code']._options = None +_PAYMENTSACCOUNT.fields_by_name['payments_profile_id']._options = None +_PAYMENTSACCOUNT.fields_by_name['secondary_payments_profile_id']._options = None +_PAYMENTSACCOUNT.fields_by_name['paying_manager_customer']._options = None +_PAYMENTSACCOUNT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/payments_account_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/payments_account_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/payments_account_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py new file mode 100644 index 000000000..872e1aac2 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2.py @@ -0,0 +1,174 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import product_bidding_category_level_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2 +from google.ads.google_ads.v4.proto.enums import product_bidding_category_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__status__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB#ProductBiddingCategoryConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto\x12!google.ads.googleads.v4.resources\x1aHgoogle/ads/googleads_v4/proto/enums/product_bidding_category_level.proto\x1aIgoogle/ads/googleads_v4/proto/enums/product_bidding_category_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xcd\x06\n\x1eProductBiddingCategoryConstant\x12V\n\rresource_name\x18\x01 \x01(\tB?\xe0\x41\x03\xfa\x41\x39\n7googleads.googleapis.com/ProductBiddingCategoryConstant\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x37\n\x0c\x63ountry_code\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x8f\x01\n(product_bidding_category_constant_parent\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueB?\xe0\x41\x03\xfa\x41\x39\n7googleads.googleapis.com/ProductBiddingCategoryConstant\x12n\n\x05level\x18\x05 \x01(\x0e\x32Z.google.ads.googleads.v4.enums.ProductBiddingCategoryLevelEnum.ProductBiddingCategoryLevelB\x03\xe0\x41\x03\x12q\n\x06status\x18\x06 \x01(\x0e\x32\\.google.ads.googleads.v4.enums.ProductBiddingCategoryStatusEnum.ProductBiddingCategoryStatusB\x03\xe0\x41\x03\x12\x38\n\rlanguage_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x39\n\x0elocalized_name\x18\x08 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n7googleads.googleapis.com/ProductBiddingCategoryConstant\x12\x43productBiddingCategoryConstants/{product_bidding_category_constant}B\x90\x02\n%com.google.ads.googleads.v4.resourcesB#ProductBiddingCategoryConstantProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_PRODUCTBIDDINGCATEGORYCONSTANT = _descriptor.Descriptor( + name='ProductBiddingCategoryConstant', + full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A9\n7googleads.googleapis.com/ProductBiddingCategoryConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_code', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.country_code', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='product_bidding_category_constant_parent', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.product_bidding_category_constant_parent', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A9\n7googleads.googleapis.com/ProductBiddingCategoryConstant'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='level', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.level', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.status', index=5, + number=6, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='language_code', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.language_code', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='localized_name', full_name='google.ads.googleads.v4.resources.ProductBiddingCategoryConstant.localized_name', index=7, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A~\n7googleads.googleapis.com/ProductBiddingCategoryConstant\022CproductBiddingCategoryConstants/{product_bidding_category_constant}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=390, + serialized_end=1235, +) + +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['country_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['product_bidding_category_constant_parent'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['level'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__level__pb2._PRODUCTBIDDINGCATEGORYLEVELENUM_PRODUCTBIDDINGCATEGORYLEVEL +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_product__bidding__category__status__pb2._PRODUCTBIDDINGCATEGORYSTATUSENUM_PRODUCTBIDDINGCATEGORYSTATUS +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['language_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['localized_name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['ProductBiddingCategoryConstant'] = _PRODUCTBIDDINGCATEGORYCONSTANT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductBiddingCategoryConstant = _reflection.GeneratedProtocolMessageType('ProductBiddingCategoryConstant', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTBIDDINGCATEGORYCONSTANT, + __module__ = 'google.ads.googleads_v4.proto.resources.product_bidding_category_constant_pb2' + , + __doc__ = """A Product Bidding Category. + + + Attributes: + resource_name: + Output only. The resource name of the product bidding + category. Product bidding category resource names have the + form: ``productBiddingCategoryConstants/{country_code}~{level + }~{id}`` + id: + Output only. ID of the product bidding category. This ID is + equivalent to the google\_product\_category ID as described in + this article: + https://support.google.com/merchants/answer/6324436. + country_code: + Output only. Two-letter upper-case country code of the product + bidding category. + product_bidding_category_constant_parent: + Output only. Resource name of the parent product bidding + category. + level: + Output only. Level of the product bidding category. + status: + Output only. Status of the product bidding category. + language_code: + Output only. Language code of the product bidding category. + localized_name: + Output only. Display value of the product bidding category + localized according to language\_code. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ProductBiddingCategoryConstant) + )) +_sym_db.RegisterMessage(ProductBiddingCategoryConstant) + + +DESCRIPTOR._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['resource_name']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['id']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['country_code']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['product_bidding_category_constant_parent']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['level']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['status']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['language_code']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT.fields_by_name['localized_name']._options = None +_PRODUCTBIDDINGCATEGORYCONSTANT._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/product_bidding_category_constant_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/product_group_view_pb2.py b/google/ads/google_ads/v4/proto/resources/product_group_view_pb2.py new file mode 100644 index 000000000..8eabda835 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/product_group_view_pb2.py @@ -0,0 +1,87 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/product_group_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/product_group_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025ProductGroupViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/resources/product_group_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xc9\x01\n\x10ProductGroupView\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/ProductGroupView:k\xea\x41h\n)googleads.googleapis.com/ProductGroupView\x12;customers/{customer}/productGroupViews/{product_group_view}B\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15ProductGroupViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_PRODUCTGROUPVIEW = _descriptor.Descriptor( + name='ProductGroupView', + full_name='google.ads.googleads.v4.resources.ProductGroupView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ProductGroupView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A+\n)googleads.googleapis.com/ProductGroupView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ah\n)googleads.googleapis.com/ProductGroupView\022;customers/{customer}/productGroupViews/{product_group_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=194, + serialized_end=395, +) + +DESCRIPTOR.message_types_by_name['ProductGroupView'] = _PRODUCTGROUPVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ProductGroupView = _reflection.GeneratedProtocolMessageType('ProductGroupView', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTGROUPVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.product_group_view_pb2' + , + __doc__ = """A product group view. + + + Attributes: + resource_name: + Output only. The resource name of the product group view. + Product group view resource names have the form: ``customers/ + {customer_id}/productGroupViews/{ad_group_id}~{criterion_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ProductGroupView) + )) +_sym_db.RegisterMessage(ProductGroupView) + + +DESCRIPTOR._options = None +_PRODUCTGROUPVIEW.fields_by_name['resource_name']._options = None +_PRODUCTGROUPVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/product_group_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/product_group_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/product_group_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v1/proto/resources/recommendation_pb2.py b/google/ads/google_ads/v4/proto/resources/recommendation_pb2.py similarity index 60% rename from google/ads/google_ads/v1/proto/resources/recommendation_pb2.py rename to google/ads/google_ads/v4/proto/resources/recommendation_pb2.py index d3b667805..c00aa649d 100644 --- a/google/ads/google_ads/v1/proto/resources/recommendation_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/recommendation_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/recommendation.proto +# source: google/ads/googleads_v4/proto/resources/recommendation.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,49 +13,51 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v1.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v1.proto.enums import recommendation_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_recommendation__type__pb2 -from google.ads.google_ads.v1.proto.enums import target_cpa_opt_in_recommendation_goal_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2 -from google.ads.google_ads.v1.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2 +from google.ads.google_ads.v4.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2 +from google.ads.google_ads.v4.proto.enums import recommendation_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_recommendation__type__pb2 +from google.ads.google_ads.v4.proto.enums import target_cpa_opt_in_recommendation_goal_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2 +from google.ads.google_ads.v4.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/recommendation.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/recommendation.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\023RecommendationProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n\n\x14\x62udget_amount_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12[\n\x06impact\x18\x02 \x01(\x0b\x32\x46.google.ads.googleads.v4.resources.Recommendation.RecommendationImpactB\x03\xe0\x41\x03\x1a\xa0\x01\n\x15KeywordRecommendation\x12\x41\n\x07keyword\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x03\x12\x44\n\x1arecommended_cpc_bid_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x1a\xfd\x04\n\x1cTargetCpaOptInRecommendation\x12\x87\x01\n\x07options\x18\x01 \x03(\x0b\x32q.google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOptionB\x03\xe0\x41\x03\x12G\n\x1drecommended_target_cpa_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x1a\x89\x03\n\"TargetCpaOptInRecommendationOption\x12w\n\x04goal\x18\x01 \x01(\x0e\x32\x64.google.ads.googleads.v4.enums.TargetCpaOptInRecommendationGoalEnum.TargetCpaOptInRecommendationGoalB\x03\xe0\x41\x03\x12;\n\x11target_cpa_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12P\n&required_campaign_budget_amount_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12[\n\x06impact\x18\x04 \x01(\x0b\x32\x46.google.ads.googleads.v4.resources.Recommendation.RecommendationImpactB\x03\xe0\x41\x03\x1a\xd7\x01\n\x1eMoveUnusedBudgetRecommendation\x12\x41\n\x16\x65xcess_campaign_budget\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12r\n\x15\x62udget_recommendation\x18\x02 \x01(\x0b\x32N.google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendationB\x03\xe0\x41\x03\x1a\xc4\x01\n\x14TextAdRecommendation\x12\x36\n\x02\x61\x64\x18\x01 \x01(\x0b\x32%.google.ads.googleads.v4.resources.AdB\x03\xe0\x41\x03\x12\x38\n\rcreation_date\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12:\n\x0f\x61uto_apply_date\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x1a \n\x1e\x45nhancedCpcOptInRecommendation\x1a#\n!SearchPartnersOptInRecommendation\x1at\n&MaximizeConversionsOptInRecommendation\x12J\n recommended_budget_amount_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x1ao\n!MaximizeClicksOptInRecommendation\x12J\n recommended_budget_amount_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x1a\"\n OptimizeAdRotationRecommendation\x1ax\n\x1fSitelinkExtensionRecommendation\x12U\n\x16recommended_extensions\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.SitelinkFeedItemB\x03\xe0\x41\x03\x1a\xce\x01\n\x1eKeywordMatchTypeRecommendation\x12\x41\n\x07keyword\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x03\x12i\n\x16recommended_match_type\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.KeywordMatchTypeEnum.KeywordMatchTypeB\x03\xe0\x41\x03\x1av\n\x1e\x43\x61lloutExtensionRecommendation\x12T\n\x16recommended_extensions\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v4.common.CalloutFeedItemB\x03\xe0\x41\x03\x1ap\n\x1b\x43\x61llExtensionRecommendation\x12Q\n\x16recommended_extensions\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v4.common.CallFeedItemB\x03\xe0\x41\x03:c\xea\x41`\n\'googleads.googleapis.com/Recommendation\x12\x35\x63ustomers/{customer}/recommendations/{recommendation}B\x10\n\x0erecommendationB\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13RecommendationProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_recommendation__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_recommendation__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _RECOMMENDATION_RECOMMENDATIONIMPACT = _descriptor.Descriptor( name='RecommendationImpact', - full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationImpact', + full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationImpact', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='base_metrics', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationImpact.base_metrics', index=0, + name='base_metrics', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationImpact.base_metrics', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='potential_metrics', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationImpact.potential_metrics', index=1, + name='potential_metrics', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationImpact.potential_metrics', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -68,52 +70,52 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2704, - serialized_end=2921, + serialized_start=3037, + serialized_end=3264, ) _RECOMMENDATION_RECOMMENDATIONMETRICS = _descriptor.Descriptor( name='RecommendationMetrics', - full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics', + full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics.impressions', index=0, + name='impressions', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics.impressions', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics.clicks', index=1, + name='clicks', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics.clicks', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics.cost_micros', index=2, + name='cost_micros', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics.cost_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics.conversions', index=3, + name='conversions', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics.conversions', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video_views', full_name='google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics.video_views', index=4, + name='video_views', full_name='google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics.video_views', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -126,31 +128,31 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2924, - serialized_end=3196, + serialized_start=3267, + serialized_end=3564, ) _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATIONOPTION = _descriptor.Descriptor( name='CampaignBudgetRecommendationOption', - full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption', + full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.budget_amount_micros', index=0, + name='budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.budget_amount_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impact', full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.impact', index=1, + name='impact', full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption.impact', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -163,38 +165,38 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3510, - serialized_end=3693, + serialized_start=3893, + serialized_end=4086, ) _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION = _descriptor.Descriptor( name='CampaignBudgetRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='current_budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.current_budget_amount_micros', index=0, + name='current_budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.current_budget_amount_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.recommended_budget_amount_micros', index=1, + name='recommended_budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.recommended_budget_amount_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='budget_options', full_name='google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.budget_options', index=2, + name='budget_options', full_name='google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.budget_options', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -207,31 +209,31 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3199, - serialized_end=3693, + serialized_start=3567, + serialized_end=4086, ) _RECOMMENDATION_KEYWORDRECOMMENDATION = _descriptor.Descriptor( name='KeywordRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.KeywordRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation.keyword', index=0, + name='keyword', full_name='google.ads.googleads.v4.resources.Recommendation.KeywordRecommendation.keyword', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_cpc_bid_micros', full_name='google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation.recommended_cpc_bid_micros', index=1, + name='recommended_cpc_bid_micros', full_name='google.ads.googleads.v4.resources.Recommendation.KeywordRecommendation.recommended_cpc_bid_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -244,31 +246,45 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3696, - serialized_end=3846, + serialized_start=4089, + serialized_end=4249, ) -_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION = _descriptor.Descriptor( - name='KeywordMatchTypeRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation', +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION = _descriptor.Descriptor( + name='TargetCpaOptInRecommendationOption', + full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation.keyword', index=0, - number=1, type=11, cpp_type=10, label=1, + name='goal', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.goal', index=0, + number=1, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='target_cpa_micros', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.target_cpa_micros', index=1, + number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommended_match_type', full_name='google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation.recommended_match_type', index=1, - number=2, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, + name='required_campaign_budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.required_campaign_budget_amount_micros', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='impact', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.impact', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -281,42 +297,35 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3849, - serialized_end=4045, + serialized_start=4496, + serialized_end=4889, ) -_RECOMMENDATION_TEXTADRECOMMENDATION = _descriptor.Descriptor( - name='TextAdRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation', +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION = _descriptor.Descriptor( + name='TargetCpaOptInRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad', full_name='google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation.ad', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, + name='options', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.options', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='creation_date', full_name='google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation.creation_date', index=1, + name='recommended_target_cpa_micros', full_name='google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.recommended_target_cpa_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='auto_apply_date', full_name='google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation.auto_apply_date', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], - nested_types=[], + nested_types=[_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION, ], enum_types=[ ], serialized_options=None, @@ -325,17 +334,31 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4048, - serialized_end=4229, + serialized_start=4252, + serialized_end=4889, ) -_RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION = _descriptor.Descriptor( - name='SearchPartnersOptInRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation', +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION = _descriptor.Descriptor( + name='MoveUnusedBudgetRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.MoveUnusedBudgetRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ + _descriptor.FieldDescriptor( + name='excess_campaign_budget', full_name='google.ads.googleads.v4.resources.Recommendation.MoveUnusedBudgetRecommendation.excess_campaign_budget', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='budget_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.MoveUnusedBudgetRecommendation.budget_recommendation', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -348,24 +371,38 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4231, - serialized_end=4266, + serialized_start=4892, + serialized_end=5107, ) -_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION = _descriptor.Descriptor( - name='MaximizeClicksOptInRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation', +_RECOMMENDATION_TEXTADRECOMMENDATION = _descriptor.Descriptor( + name='TextAdRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.TextAdRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='recommended_budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation.recommended_budget_amount_micros', index=0, + name='ad', full_name='google.ads.googleads.v4.resources.Recommendation.TextAdRecommendation.ad', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='creation_date', full_name='google.ads.googleads.v4.resources.Recommendation.TextAdRecommendation.creation_date', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='auto_apply_date', full_name='google.ads.googleads.v4.resources.Recommendation.TextAdRecommendation.auto_apply_date', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -378,24 +415,17 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4268, - serialized_end=4374, + serialized_start=5110, + serialized_end=5306, ) -_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION = _descriptor.Descriptor( - name='CalloutExtensionRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation', +_RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION = _descriptor.Descriptor( + name='EnhancedCpcOptInRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.EnhancedCpcOptInRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ - _descriptor.FieldDescriptor( - name='recommended_extensions', full_name='google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation.recommended_extensions', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -408,45 +438,17 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4376, - serialized_end=4489, + serialized_start=5308, + serialized_end=5340, ) -_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION = _descriptor.Descriptor( - name='TargetCpaOptInRecommendationOption', - full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption', +_RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION = _descriptor.Descriptor( + name='SearchPartnersOptInRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.SearchPartnersOptInRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ - _descriptor.FieldDescriptor( - name='goal', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.goal', index=0, - number=1, type=14, cpp_type=8, label=1, - has_default_value=False, default_value=0, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.target_cpa_micros', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='required_campaign_budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.required_campaign_budget_amount_micros', index=2, - number=3, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='impact', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption.impact', index=3, - number=4, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -459,35 +461,28 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4726, - serialized_end=5099, + serialized_start=5342, + serialized_end=5377, ) -_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION = _descriptor.Descriptor( - name='TargetCpaOptInRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation', +_RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION = _descriptor.Descriptor( + name='MaximizeConversionsOptInRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.MaximizeConversionsOptInRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='options', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.options', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='recommended_target_cpa_micros', full_name='google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.recommended_target_cpa_micros', index=1, - number=2, type=11, cpp_type=10, label=1, + name='recommended_budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.MaximizeConversionsOptInRecommendation.recommended_budget_amount_micros', index=0, + number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], - nested_types=[_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION, ], + nested_types=[], enum_types=[ ], serialized_options=None, @@ -496,24 +491,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=4492, - serialized_end=5099, + serialized_start=5379, + serialized_end=5495, ) -_RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION = _descriptor.Descriptor( - name='MaximizeConversionsOptInRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation', +_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION = _descriptor.Descriptor( + name='MaximizeClicksOptInRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.MaximizeClicksOptInRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='recommended_budget_amount_micros', full_name='google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation.recommended_budget_amount_micros', index=0, + name='recommended_budget_amount_micros', full_name='google.ads.googleads.v4.resources.Recommendation.MaximizeClicksOptInRecommendation.recommended_budget_amount_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -526,13 +521,13 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5101, - serialized_end=5212, + serialized_start=5497, + serialized_end=5608, ) -_RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION = _descriptor.Descriptor( - name='EnhancedCpcOptInRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation', +_RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION = _descriptor.Descriptor( + name='OptimizeAdRotationRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.OptimizeAdRotationRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, @@ -549,17 +544,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5214, - serialized_end=5246, + serialized_start=5610, + serialized_end=5644, ) -_RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION = _descriptor.Descriptor( - name='OptimizeAdRotationRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation', +_RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION = _descriptor.Descriptor( + name='SitelinkExtensionRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.SitelinkExtensionRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ + _descriptor.FieldDescriptor( + name='recommended_extensions', full_name='google.ads.googleads.v4.resources.Recommendation.SitelinkExtensionRecommendation.recommended_extensions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -572,24 +574,31 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5248, - serialized_end=5282, + serialized_start=5646, + serialized_end=5766, ) -_RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION = _descriptor.Descriptor( - name='SitelinkExtensionRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation', +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION = _descriptor.Descriptor( + name='KeywordMatchTypeRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.KeywordMatchTypeRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='recommended_extensions', full_name='google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation.recommended_extensions', index=0, - number=1, type=11, cpp_type=10, label=3, - has_default_value=False, default_value=[], + name='keyword', full_name='google.ads.googleads.v4.resources.Recommendation.KeywordMatchTypeRecommendation.keyword', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='recommended_match_type', full_name='google.ads.googleads.v4.resources.Recommendation.KeywordMatchTypeRecommendation.recommended_match_type', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -602,24 +611,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5284, - serialized_end=5399, + serialized_start=5769, + serialized_end=5975, ) -_RECOMMENDATION_CALLEXTENSIONRECOMMENDATION = _descriptor.Descriptor( - name='CallExtensionRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation', +_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION = _descriptor.Descriptor( + name='CalloutExtensionRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.CalloutExtensionRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='recommended_extensions', full_name='google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation.recommended_extensions', index=0, + name='recommended_extensions', full_name='google.ads.googleads.v4.resources.Recommendation.CalloutExtensionRecommendation.recommended_extensions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -632,31 +641,24 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5401, - serialized_end=5508, + serialized_start=5977, + serialized_end=6095, ) -_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION = _descriptor.Descriptor( - name='MoveUnusedBudgetRecommendation', - full_name='google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation', +_RECOMMENDATION_CALLEXTENSIONRECOMMENDATION = _descriptor.Descriptor( + name='CallExtensionRecommendation', + full_name='google.ads.googleads.v4.resources.Recommendation.CallExtensionRecommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='excess_campaign_budget', full_name='google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation.excess_campaign_budget', index=0, - number=1, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='budget_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation.budget_recommendation', index=1, - number=2, type=11, cpp_type=10, label=1, - has_default_value=False, default_value=None, + name='recommended_extensions', full_name='google.ads.googleads.v4.resources.Recommendation.CallExtensionRecommendation.recommended_extensions', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], @@ -669,181 +671,181 @@ extension_ranges=[], oneofs=[ ], - serialized_start=5511, - serialized_end=5716, + serialized_start=6097, + serialized_end=6209, ) _RECOMMENDATION = _descriptor.Descriptor( name='Recommendation', - full_name='google.ads.googleads.v1.resources.Recommendation', + full_name='google.ads.googleads.v4.resources.Recommendation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.Recommendation.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.Recommendation.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A)\n\'googleads.googleapis.com/Recommendation'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.Recommendation.type', index=1, + name='type', full_name='google.ads.googleads.v4.resources.Recommendation.type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='impact', full_name='google.ads.googleads.v1.resources.Recommendation.impact', index=2, + name='impact', full_name='google.ads.googleads.v4.resources.Recommendation.impact', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v1.resources.Recommendation.campaign_budget', index=3, + name='campaign_budget', full_name='google.ads.googleads.v4.resources.Recommendation.campaign_budget', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/CampaignBudget'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.resources.Recommendation.campaign', index=4, + name='campaign', full_name='google.ads.googleads.v4.resources.Recommendation.campaign', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.resources.Recommendation.ad_group', index=5, + name='ad_group', full_name='google.ads.googleads.v4.resources.Recommendation.ad_group', index=5, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dismissed', full_name='google.ads.googleads.v1.resources.Recommendation.dismissed', index=6, + name='dismissed', full_name='google.ads.googleads.v4.resources.Recommendation.dismissed', index=6, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.campaign_budget_recommendation', index=7, + name='campaign_budget_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.campaign_budget_recommendation', index=7, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.keyword_recommendation', index=8, + name='keyword_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.keyword_recommendation', index=8, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text_ad_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.text_ad_recommendation', index=9, + name='text_ad_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.text_ad_recommendation', index=9, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpa_opt_in_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.target_cpa_opt_in_recommendation', index=10, + name='target_cpa_opt_in_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.target_cpa_opt_in_recommendation', index=10, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='maximize_conversions_opt_in_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.maximize_conversions_opt_in_recommendation', index=11, + name='maximize_conversions_opt_in_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.maximize_conversions_opt_in_recommendation', index=11, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='enhanced_cpc_opt_in_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.enhanced_cpc_opt_in_recommendation', index=12, + name='enhanced_cpc_opt_in_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.enhanced_cpc_opt_in_recommendation', index=12, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_partners_opt_in_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.search_partners_opt_in_recommendation', index=13, + name='search_partners_opt_in_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.search_partners_opt_in_recommendation', index=13, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='maximize_clicks_opt_in_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.maximize_clicks_opt_in_recommendation', index=14, + name='maximize_clicks_opt_in_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.maximize_clicks_opt_in_recommendation', index=14, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='optimize_ad_rotation_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.optimize_ad_rotation_recommendation', index=15, + name='optimize_ad_rotation_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.optimize_ad_rotation_recommendation', index=15, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='callout_extension_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.callout_extension_recommendation', index=16, + name='callout_extension_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.callout_extension_recommendation', index=16, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sitelink_extension_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.sitelink_extension_recommendation', index=17, + name='sitelink_extension_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.sitelink_extension_recommendation', index=17, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_extension_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.call_extension_recommendation', index=18, + name='call_extension_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.call_extension_recommendation', index=18, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_match_type_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.keyword_match_type_recommendation', index=19, + name='keyword_match_type_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.keyword_match_type_recommendation', index=19, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='move_unused_budget_recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.move_unused_budget_recommendation', index=20, + name='move_unused_budget_recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.move_unused_budget_recommendation', index=20, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), ], extensions=[ ], - nested_types=[_RECOMMENDATION_RECOMMENDATIONIMPACT, _RECOMMENDATION_RECOMMENDATIONMETRICS, _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION, _RECOMMENDATION_KEYWORDRECOMMENDATION, _RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION, _RECOMMENDATION_TEXTADRECOMMENDATION, _RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION, _RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION, _RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION, _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION, _RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION, _RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION, _RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION, _RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION, _RECOMMENDATION_CALLEXTENSIONRECOMMENDATION, _RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION, ], + nested_types=[_RECOMMENDATION_RECOMMENDATIONIMPACT, _RECOMMENDATION_RECOMMENDATIONMETRICS, _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION, _RECOMMENDATION_KEYWORDRECOMMENDATION, _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION, _RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION, _RECOMMENDATION_TEXTADRECOMMENDATION, _RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION, _RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION, _RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION, _RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION, _RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION, _RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION, _RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION, _RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION, _RECOMMENDATION_CALLEXTENSIONRECOMMENDATION, ], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352A`\n\'googleads.googleapis.com/Recommendation\0225customers/{customer}/recommendations/{recommendation}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='recommendation', full_name='google.ads.googleads.v1.resources.Recommendation.recommendation', + name='recommendation', full_name='google.ads.googleads.v4.resources.Recommendation.recommendation', index=0, containing_type=None, fields=[]), ], - serialized_start=526, - serialized_end=5734, + serialized_start=586, + serialized_end=6328, ) _RECOMMENDATION_RECOMMENDATIONIMPACT.fields_by_name['base_metrics'].message_type = _RECOMMENDATION_RECOMMENDATIONMETRICS @@ -862,22 +864,10 @@ _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.fields_by_name['budget_options'].message_type = _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATIONOPTION _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_KEYWORDRECOMMENDATION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_RECOMMENDATION_KEYWORDRECOMMENDATION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO _RECOMMENDATION_KEYWORDRECOMMENDATION.fields_by_name['recommended_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_KEYWORDRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['recommended_match_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE -_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2._AD -_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['creation_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['auto_apply_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_RECOMMENDATION_TEXTADRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM -_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['goal'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2._TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['goal'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_target__cpa__opt__in__recommendation__goal__pb2._TARGETCPAOPTINRECOMMENDATIONGOALENUM_TARGETCPAOPTINRECOMMENDATIONGOAL _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['required_campaign_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['impact'].message_type = _RECOMMENDATION_RECOMMENDATIONIMPACT @@ -885,18 +875,30 @@ _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION.fields_by_name['options'].message_type = _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION.fields_by_name['recommended_target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['excess_campaign_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['budget_recommendation'].message_type = _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2._AD +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['creation_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['auto_apply_date'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_RECOMMENDATION_TEXTADRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION.containing_type = _RECOMMENDATION _RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION.fields_by_name['recommended_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION.containing_type = _RECOMMENDATION _RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM +_RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM _RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_CALLEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['recommended_match_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM +_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION.containing_type = _RECOMMENDATION +_RECOMMENDATION_CALLEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM _RECOMMENDATION_CALLEXTENSIONRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['excess_campaign_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['budget_recommendation'].message_type = _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION -_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.containing_type = _RECOMMENDATION -_RECOMMENDATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_recommendation__type__pb2._RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE +_RECOMMENDATION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_recommendation__type__pb2._RECOMMENDATIONTYPEENUM_RECOMMENDATIONTYPE _RECOMMENDATION.fields_by_name['impact'].message_type = _RECOMMENDATION_RECOMMENDATIONIMPACT _RECOMMENDATION.fields_by_name['campaign_budget'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _RECOMMENDATION.fields_by_name['campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -965,7 +967,7 @@ RecommendationImpact = _reflection.GeneratedProtocolMessageType('RecommendationImpact', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_RECOMMENDATIONIMPACT, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The impact of making the change as described in the recommendation. Some types of recommendations may not have impact information. @@ -973,17 +975,19 @@ Attributes: base_metrics: - Base metrics at the time the recommendation was generated. + Output only. Base metrics at the time the recommendation was + generated. potential_metrics: - Estimated metrics if the recommendation is applied. + Output only. Estimated metrics if the recommendation is + applied. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.RecommendationImpact) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.RecommendationImpact) )) , RecommendationMetrics = _reflection.GeneratedProtocolMessageType('RecommendationMetrics', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_RECOMMENDATIONMETRICS, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """Weekly account performance metrics. For some recommendation types, these are averaged over the past 90-day period and hence can be fractional. @@ -991,18 +995,18 @@ Attributes: impressions: - Number of ad impressions. + Output only. Number of ad impressions. clicks: - Number of ad clicks. + Output only. Number of ad clicks. cost_micros: - Cost (in micros) for advertising, in the local currency for - the account. + Output only. Cost (in micros) for advertising, in the local + currency for the account. conversions: - Number of conversions. + Output only. Number of conversions. video_views: - Number of video views for a video ad campaign. + Output only. Number of video views for a video ad campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.RecommendationMetrics) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.RecommendationMetrics) )) , @@ -1010,327 +1014,335 @@ CampaignBudgetRecommendationOption = _reflection.GeneratedProtocolMessageType('CampaignBudgetRecommendationOption', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATIONOPTION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The impact estimates for a given budget amount. Attributes: budget_amount_micros: - The budget amount for this option. + Output only. The budget amount for this option. impact: - The impact estimate if budget is changed to amount specified - in this option. + Output only. The impact estimate if budget is changed to + amount specified in this option. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption) )) , DESCRIPTOR = _RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The budget recommendation for budget constrained campaigns. Attributes: current_budget_amount_micros: - The current budget amount in micros. + Output only. The current budget amount in micros. recommended_budget_amount_micros: - The recommended budget amount in micros. + Output only. The recommended budget amount in micros. budget_options: - The budget amounts and associated impact estimates for some - values of possible budget amounts. + Output only. The budget amounts and associated impact + estimates for some values of possible budget amounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.CampaignBudgetRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.CampaignBudgetRecommendation) )) , KeywordRecommendation = _reflection.GeneratedProtocolMessageType('KeywordRecommendation', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_KEYWORDRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The keyword recommendation. Attributes: keyword: - The recommended keyword. + Output only. The recommended keyword. recommended_cpc_bid_micros: - The recommended CPC (cost-per-click) bid. + Output only. The recommended CPC (cost-per-click) bid. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.KeywordRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.KeywordRecommendation) )) , - KeywordMatchTypeRecommendation = _reflection.GeneratedProtocolMessageType('KeywordMatchTypeRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + TargetCpaOptInRecommendation = _reflection.GeneratedProtocolMessageType('TargetCpaOptInRecommendation', (_message.Message,), dict( + + TargetCpaOptInRecommendationOption = _reflection.GeneratedProtocolMessageType('TargetCpaOptInRecommendationOption', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' + , + __doc__ = """The Target CPA opt-in option with impact estimate. + + + Attributes: + goal: + Output only. The goal achieved by this option. + target_cpa_micros: + Output only. Average CPA target. + required_campaign_budget_amount_micros: + Output only. The minimum campaign budget, in local currency + for the account, required to achieve the target CPA. Amount is + specified in micros, where one million is equivalent to one + currency unit. + impact: + Output only. The impact estimate if this option is selected. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption) + )) , - __doc__ = """The keyword match type recommendation. + DESCRIPTOR = _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' + , + __doc__ = """The Target CPA opt-in recommendation. Attributes: - keyword: - The existing keyword where the match type should be more - broad. - recommended_match_type: - The recommended new match type. + options: + Output only. The available goals and corresponding options for + Target CPA strategy. + recommended_target_cpa_micros: + Output only. The recommended average CPA target. See required + budget amount and impact of using this recommendation in + options list. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.KeywordMatchTypeRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.TargetCpaOptInRecommendation) )) , - TextAdRecommendation = _reflection.GeneratedProtocolMessageType('TextAdRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_TEXTADRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + MoveUnusedBudgetRecommendation = _reflection.GeneratedProtocolMessageType('MoveUnusedBudgetRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The text ad recommendation. + __doc__ = """The move unused budget recommendation. Attributes: - ad: - Recommended ad. - creation_date: - Creation date of the recommended ad. YYYY-MM-DD format, e.g., - 2018-04-17. - auto_apply_date: - Date, if present, is the earliest when the recommendation will - be auto applied. YYYY-MM-DD format, e.g., 2018-04-17. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.TextAdRecommendation) - )) - , - - SearchPartnersOptInRecommendation = _reflection.GeneratedProtocolMessageType('SearchPartnersOptInRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' - , - __doc__ = """The Search Partners Opt-In recommendation. + excess_campaign_budget: + Output only. The excess budget's resource\_name. + budget_recommendation: + Output only. The recommendation for the constrained budget to + increase. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.SearchPartnersOptInRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.MoveUnusedBudgetRecommendation) )) , - MaximizeClicksOptInRecommendation = _reflection.GeneratedProtocolMessageType('MaximizeClicksOptInRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + TextAdRecommendation = _reflection.GeneratedProtocolMessageType('TextAdRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_TEXTADRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The Maximize Clicks opt-in recommendation. + __doc__ = """The text ad recommendation. Attributes: - recommended_budget_amount_micros: - The recommended new budget amount. Only set if the current - budget is too high. + ad: + Output only. Recommended ad. + creation_date: + Output only. Creation date of the recommended ad. YYYY-MM-DD + format, e.g., 2018-04-17. + auto_apply_date: + Output only. Date, if present, is the earliest when the + recommendation will be auto applied. YYYY-MM-DD format, e.g., + 2018-04-17. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.MaximizeClicksOptInRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.TextAdRecommendation) )) , - CalloutExtensionRecommendation = _reflection.GeneratedProtocolMessageType('CalloutExtensionRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + EnhancedCpcOptInRecommendation = _reflection.GeneratedProtocolMessageType('EnhancedCpcOptInRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The Callout extension recommendation. - - - Attributes: - recommended_extensions: - Callout extensions recommended to be added. + __doc__ = """The Enhanced Cost-Per-Click Opt-In recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.CalloutExtensionRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.EnhancedCpcOptInRecommendation) )) , - TargetCpaOptInRecommendation = _reflection.GeneratedProtocolMessageType('TargetCpaOptInRecommendation', (_message.Message,), dict( - - TargetCpaOptInRecommendationOption = _reflection.GeneratedProtocolMessageType('TargetCpaOptInRecommendationOption', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' - , - __doc__ = """The Target CPA opt-in option with impact estimate. - - - Attributes: - goal: - The goal achieved by this option. - target_cpa_micros: - Average CPA target. - required_campaign_budget_amount_micros: - The minimum campaign budget, in local currency for the - account, required to achieve the target CPA. Amount is - specified in micros, where one million is equivalent to one - currency unit. - impact: - The impact estimate if this option is selected. - """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption) - )) - , - DESCRIPTOR = _RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + SearchPartnersOptInRecommendation = _reflection.GeneratedProtocolMessageType('SearchPartnersOptInRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_SEARCHPARTNERSOPTINRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The Target CPA opt-in recommendation. - - - Attributes: - options: - The available goals and corresponding options for Target CPA - strategy. - recommended_target_cpa_micros: - The recommended average CPA target. See required budget amount - and impact of using this recommendation in options list. + __doc__ = """The Search Partners Opt-In recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.TargetCpaOptInRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.SearchPartnersOptInRecommendation) )) , MaximizeConversionsOptInRecommendation = _reflection.GeneratedProtocolMessageType('MaximizeConversionsOptInRecommendation', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The Maximize Conversions Opt-In recommendation. Attributes: recommended_budget_amount_micros: - The recommended new budget amount. + Output only. The recommended new budget amount. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.MaximizeConversionsOptInRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.MaximizeConversionsOptInRecommendation) )) , - EnhancedCpcOptInRecommendation = _reflection.GeneratedProtocolMessageType('EnhancedCpcOptInRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_ENHANCEDCPCOPTINRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + MaximizeClicksOptInRecommendation = _reflection.GeneratedProtocolMessageType('MaximizeClicksOptInRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The Enhanced Cost-Per-Click Opt-In recommendation. + __doc__ = """The Maximize Clicks opt-in recommendation. + + + Attributes: + recommended_budget_amount_micros: + Output only. The recommended new budget amount. Only set if + the current budget is too high. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.EnhancedCpcOptInRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.MaximizeClicksOptInRecommendation) )) , OptimizeAdRotationRecommendation = _reflection.GeneratedProtocolMessageType('OptimizeAdRotationRecommendation', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_OPTIMIZEADROTATIONRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The Optimize Ad Rotation recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.OptimizeAdRotationRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.OptimizeAdRotationRecommendation) )) , SitelinkExtensionRecommendation = _reflection.GeneratedProtocolMessageType('SitelinkExtensionRecommendation', (_message.Message,), dict( DESCRIPTOR = _RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """The Sitelink extension recommendation. Attributes: recommended_extensions: - Sitelink extensions recommended to be added. + Output only. Sitelink extensions recommended to be added. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.SitelinkExtensionRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.SitelinkExtensionRecommendation) )) , - CallExtensionRecommendation = _reflection.GeneratedProtocolMessageType('CallExtensionRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_CALLEXTENSIONRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + KeywordMatchTypeRecommendation = _reflection.GeneratedProtocolMessageType('KeywordMatchTypeRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The Call extension recommendation. + __doc__ = """The keyword match type recommendation. + + + Attributes: + keyword: + Output only. The existing keyword where the match type should + be more broad. + recommended_match_type: + Output only. The recommended new match type. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.KeywordMatchTypeRecommendation) + )) + , + + CalloutExtensionRecommendation = _reflection.GeneratedProtocolMessageType('CalloutExtensionRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' + , + __doc__ = """The Callout extension recommendation. Attributes: recommended_extensions: - Call extensions recommended to be added. + Output only. Callout extensions recommended to be added. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.CallExtensionRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.CalloutExtensionRecommendation) )) , - MoveUnusedBudgetRecommendation = _reflection.GeneratedProtocolMessageType('MoveUnusedBudgetRecommendation', (_message.Message,), dict( - DESCRIPTOR = _RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + CallExtensionRecommendation = _reflection.GeneratedProtocolMessageType('CallExtensionRecommendation', (_message.Message,), dict( + DESCRIPTOR = _RECOMMENDATION_CALLEXTENSIONRECOMMENDATION, + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , - __doc__ = """The move unused budget recommendation. + __doc__ = """The Call extension recommendation. Attributes: - excess_campaign_budget: - The excess budget's resource\_name. - budget_recommendation: - The recommendation for the constrained budget to increase. + recommended_extensions: + Output only. Call extensions recommended to be added. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation.MoveUnusedBudgetRecommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation.CallExtensionRecommendation) )) , DESCRIPTOR = _RECOMMENDATION, - __module__ = 'google.ads.googleads_v1.proto.resources.recommendation_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.recommendation_pb2' , __doc__ = """A recommendation. Attributes: resource_name: - The resource name of the recommendation. ``customers/{custome - r_id}/recommendations/{recommendation_id}`` + Immutable. The resource name of the recommendation. ``custome + rs/{customer_id}/recommendations/{recommendation_id}`` type: - The type of recommendation. + Output only. The type of recommendation. impact: - The impact on account performance as a result of applying the - recommendation. + Output only. The impact on account performance as a result of + applying the recommendation. campaign_budget: - The budget targeted by this recommendation. This will be set - only when the recommendation affects a single campaign budget. - This field will be set for the following recommendation types: - CAMPAIGN\_BUDGET + Output only. The budget targeted by this recommendation. This + will be set only when the recommendation affects a single + campaign budget. This field will be set for the following + recommendation types: CAMPAIGN\_BUDGET, + FORECASTING\_CAMPAIGN\_BUDGET, MOVE\_UNUSED\_BUDGET campaign: - The campaign targeted by this recommendation. This will be set - only when the recommendation affects a single campaign. This - field will be set for the following recommendation types: - ENHANCED\_CPC\_OPT\_IN, KEYWORD, MAXIMIZE\_CLICKS\_OPT\_IN, - MAXIMIZE\_CONVERSIONS\_OPT\_IN, OPTIMIZE\_AD\_ROTATION, - SEARCH\_PARTNERS\_OPT\_IN, TARGET\_CPA\_OPT\_IN, TEXT\_AD + Output only. The campaign targeted by this recommendation. + This will be set only when the recommendation affects a single + campaign. This field will be set for the following + recommendation types: CALL\_EXTENSION, CALLOUT\_EXTENSION, + ENHANCED\_CPC\_OPT\_IN, KEYWORD, KEYWORD\_MATCH\_TYPE, + MAXIMIZE\_CLICKS\_OPT\_IN, MAXIMIZE\_CONVERSIONS\_OPT\_IN, + OPTIMIZE\_AD\_ROTATION, SEARCH\_PARTNERS\_OPT\_IN, + SITELINK\_EXTENSION, TARGET\_CPA\_OPT\_IN, TEXT\_AD ad_group: - The ad group targeted by this recommendation. This will be set - only when the recommendation affects a single ad group. This - field will be set for the following recommendation types: - KEYWORD, OPTIMIZE\_AD\_ROTATION, TEXT\_AD + Output only. The ad group targeted by this recommendation. + This will be set only when the recommendation affects a single + ad group. This field will be set for the following + recommendation types: KEYWORD, OPTIMIZE\_AD\_ROTATION, + TEXT\_AD dismissed: - Whether the recommendation is dismissed or not. + Output only. Whether the recommendation is dismissed or not. recommendation: The details of recommendation. campaign_budget_recommendation: - The campaign budget recommendation. + Output only. The campaign budget recommendation. keyword_recommendation: - The keyword recommendation. + Output only. The keyword recommendation. text_ad_recommendation: - Add expanded text ad recommendation. + Output only. Add expanded text ad recommendation. target_cpa_opt_in_recommendation: - The TargetCPA opt-in recommendation. + Output only. The TargetCPA opt-in recommendation. maximize_conversions_opt_in_recommendation: - The MaximizeConversions Opt-In recommendation. + Output only. The MaximizeConversions Opt-In recommendation. enhanced_cpc_opt_in_recommendation: - The Enhanced Cost-Per-Click Opt-In recommendation. + Output only. The Enhanced Cost-Per-Click Opt-In + recommendation. search_partners_opt_in_recommendation: - The Search Partners Opt-In recommendation. + Output only. The Search Partners Opt-In recommendation. maximize_clicks_opt_in_recommendation: - The MaximizeClicks Opt-In recommendation. + Output only. The MaximizeClicks Opt-In recommendation. optimize_ad_rotation_recommendation: - The Optimize Ad Rotation recommendation. + Output only. The Optimize Ad Rotation recommendation. callout_extension_recommendation: - The Callout extension recommendation. + Output only. The Callout extension recommendation. sitelink_extension_recommendation: - The Sitelink extension recommendation. + Output only. The Sitelink extension recommendation. call_extension_recommendation: - The Call extension recommendation. + Output only. The Call extension recommendation. keyword_match_type_recommendation: - The keyword match type recommendation. + Output only. The keyword match type recommendation. move_unused_budget_recommendation: - The move unused budget recommendation. + Output only. The move unused budget recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.Recommendation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Recommendation) )) _sym_db.RegisterMessage(Recommendation) _sym_db.RegisterMessage(Recommendation.RecommendationImpact) @@ -1338,20 +1350,74 @@ _sym_db.RegisterMessage(Recommendation.CampaignBudgetRecommendation) _sym_db.RegisterMessage(Recommendation.CampaignBudgetRecommendation.CampaignBudgetRecommendationOption) _sym_db.RegisterMessage(Recommendation.KeywordRecommendation) -_sym_db.RegisterMessage(Recommendation.KeywordMatchTypeRecommendation) -_sym_db.RegisterMessage(Recommendation.TextAdRecommendation) -_sym_db.RegisterMessage(Recommendation.SearchPartnersOptInRecommendation) -_sym_db.RegisterMessage(Recommendation.MaximizeClicksOptInRecommendation) -_sym_db.RegisterMessage(Recommendation.CalloutExtensionRecommendation) _sym_db.RegisterMessage(Recommendation.TargetCpaOptInRecommendation) _sym_db.RegisterMessage(Recommendation.TargetCpaOptInRecommendation.TargetCpaOptInRecommendationOption) -_sym_db.RegisterMessage(Recommendation.MaximizeConversionsOptInRecommendation) +_sym_db.RegisterMessage(Recommendation.MoveUnusedBudgetRecommendation) +_sym_db.RegisterMessage(Recommendation.TextAdRecommendation) _sym_db.RegisterMessage(Recommendation.EnhancedCpcOptInRecommendation) +_sym_db.RegisterMessage(Recommendation.SearchPartnersOptInRecommendation) +_sym_db.RegisterMessage(Recommendation.MaximizeConversionsOptInRecommendation) +_sym_db.RegisterMessage(Recommendation.MaximizeClicksOptInRecommendation) _sym_db.RegisterMessage(Recommendation.OptimizeAdRotationRecommendation) _sym_db.RegisterMessage(Recommendation.SitelinkExtensionRecommendation) +_sym_db.RegisterMessage(Recommendation.KeywordMatchTypeRecommendation) +_sym_db.RegisterMessage(Recommendation.CalloutExtensionRecommendation) _sym_db.RegisterMessage(Recommendation.CallExtensionRecommendation) -_sym_db.RegisterMessage(Recommendation.MoveUnusedBudgetRecommendation) DESCRIPTOR._options = None +_RECOMMENDATION_RECOMMENDATIONIMPACT.fields_by_name['base_metrics']._options = None +_RECOMMENDATION_RECOMMENDATIONIMPACT.fields_by_name['potential_metrics']._options = None +_RECOMMENDATION_RECOMMENDATIONMETRICS.fields_by_name['impressions']._options = None +_RECOMMENDATION_RECOMMENDATIONMETRICS.fields_by_name['clicks']._options = None +_RECOMMENDATION_RECOMMENDATIONMETRICS.fields_by_name['cost_micros']._options = None +_RECOMMENDATION_RECOMMENDATIONMETRICS.fields_by_name['conversions']._options = None +_RECOMMENDATION_RECOMMENDATIONMETRICS.fields_by_name['video_views']._options = None +_RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATIONOPTION.fields_by_name['budget_amount_micros']._options = None +_RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATIONOPTION.fields_by_name['impact']._options = None +_RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.fields_by_name['current_budget_amount_micros']._options = None +_RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.fields_by_name['recommended_budget_amount_micros']._options = None +_RECOMMENDATION_CAMPAIGNBUDGETRECOMMENDATION.fields_by_name['budget_options']._options = None +_RECOMMENDATION_KEYWORDRECOMMENDATION.fields_by_name['keyword']._options = None +_RECOMMENDATION_KEYWORDRECOMMENDATION.fields_by_name['recommended_cpc_bid_micros']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['goal']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['target_cpa_micros']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['required_campaign_budget_amount_micros']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION_TARGETCPAOPTINRECOMMENDATIONOPTION.fields_by_name['impact']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION.fields_by_name['options']._options = None +_RECOMMENDATION_TARGETCPAOPTINRECOMMENDATION.fields_by_name['recommended_target_cpa_micros']._options = None +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['excess_campaign_budget']._options = None +_RECOMMENDATION_MOVEUNUSEDBUDGETRECOMMENDATION.fields_by_name['budget_recommendation']._options = None +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['ad']._options = None +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['creation_date']._options = None +_RECOMMENDATION_TEXTADRECOMMENDATION.fields_by_name['auto_apply_date']._options = None +_RECOMMENDATION_MAXIMIZECONVERSIONSOPTINRECOMMENDATION.fields_by_name['recommended_budget_amount_micros']._options = None +_RECOMMENDATION_MAXIMIZECLICKSOPTINRECOMMENDATION.fields_by_name['recommended_budget_amount_micros']._options = None +_RECOMMENDATION_SITELINKEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions']._options = None +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['keyword']._options = None +_RECOMMENDATION_KEYWORDMATCHTYPERECOMMENDATION.fields_by_name['recommended_match_type']._options = None +_RECOMMENDATION_CALLOUTEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions']._options = None +_RECOMMENDATION_CALLEXTENSIONRECOMMENDATION.fields_by_name['recommended_extensions']._options = None +_RECOMMENDATION.fields_by_name['resource_name']._options = None +_RECOMMENDATION.fields_by_name['type']._options = None +_RECOMMENDATION.fields_by_name['impact']._options = None +_RECOMMENDATION.fields_by_name['campaign_budget']._options = None +_RECOMMENDATION.fields_by_name['campaign']._options = None +_RECOMMENDATION.fields_by_name['ad_group']._options = None +_RECOMMENDATION.fields_by_name['dismissed']._options = None +_RECOMMENDATION.fields_by_name['campaign_budget_recommendation']._options = None +_RECOMMENDATION.fields_by_name['keyword_recommendation']._options = None +_RECOMMENDATION.fields_by_name['text_ad_recommendation']._options = None +_RECOMMENDATION.fields_by_name['target_cpa_opt_in_recommendation']._options = None +_RECOMMENDATION.fields_by_name['maximize_conversions_opt_in_recommendation']._options = None +_RECOMMENDATION.fields_by_name['enhanced_cpc_opt_in_recommendation']._options = None +_RECOMMENDATION.fields_by_name['search_partners_opt_in_recommendation']._options = None +_RECOMMENDATION.fields_by_name['maximize_clicks_opt_in_recommendation']._options = None +_RECOMMENDATION.fields_by_name['optimize_ad_rotation_recommendation']._options = None +_RECOMMENDATION.fields_by_name['callout_extension_recommendation']._options = None +_RECOMMENDATION.fields_by_name['sitelink_extension_recommendation']._options = None +_RECOMMENDATION.fields_by_name['call_extension_recommendation']._options = None +_RECOMMENDATION.fields_by_name['keyword_match_type_recommendation']._options = None +_RECOMMENDATION.fields_by_name['move_unused_budget_recommendation']._options = None +_RECOMMENDATION._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/recommendation_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/recommendation_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/recommendation_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/remarketing_action_pb2.py b/google/ads/google_ads/v4/proto/resources/remarketing_action_pb2.py new file mode 100644 index 000000000..e17292c3b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/remarketing_action_pb2.py @@ -0,0 +1,126 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/remarketing_action.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import tag_snippet_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_tag__snippet__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/remarketing_action.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\026RemarketingActionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/resources/remarketing_action.proto\x12!google.ads.googleads.v4.resources\x1a\x36google/ads/googleads_v4/proto/common/tag_snippet.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xee\x02\n\x11RemarketingAction\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x05\xfa\x41,\n*googleads.googleapis.com/RemarketingAction\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x45\n\x0ctag_snippets\x18\x04 \x03(\x0b\x32*.google.ads.googleads.v4.common.TagSnippetB\x03\xe0\x41\x03:m\xea\x41j\n*googleads.googleapis.com/RemarketingAction\x12google/ads/googleads_v4/proto/resources/search_term_view.proto\x12!google.ads.googleads.v4.resources\x1a\x46google/ads/googleads_v4/proto/enums/search_term_targeting_status.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xbe\x03\n\x0eSearchTermView\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'googleads.googleapis.com/SearchTermView\x12\x36\n\x0bsearch_term\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12X\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB(\xe0\x41\x03\xfa\x41\"\n googleads.googleapis.com/AdGroup\x12k\n\x06status\x18\x04 \x01(\x0e\x32V.google.ads.googleads.v4.enums.SearchTermTargetingStatusEnum.SearchTermTargetingStatusB\x03\xe0\x41\x03:e\xea\x41\x62\n\'googleads.googleapis.com/SearchTermView\x12\x37\x63ustomers/{customer}/searchTermViews/{search_term_view}B\x80\x02\n%com.google.ads.googleads.v4.resourcesB\x13SearchTermViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__term__targeting__status__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_SEARCHTERMVIEW = _descriptor.Descriptor( + name='SearchTermView', + full_name='google.ads.googleads.v4.resources.SearchTermView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.SearchTermView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A)\n\'googleads.googleapis.com/SearchTermView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='search_term', full_name='google.ads.googleads.v4.resources.SearchTermView.search_term', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.resources.SearchTermView.ad_group', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A\"\n googleads.googleapis.com/AdGroup'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.SearchTermView.status', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ab\n\'googleads.googleapis.com/SearchTermView\0227customers/{customer}/searchTermViews/{search_term_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=296, + serialized_end=742, +) + +_SEARCHTERMVIEW.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SEARCHTERMVIEW.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SEARCHTERMVIEW.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_search__term__targeting__status__pb2._SEARCHTERMTARGETINGSTATUSENUM_SEARCHTERMTARGETINGSTATUS +DESCRIPTOR.message_types_by_name['SearchTermView'] = _SEARCHTERMVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SearchTermView = _reflection.GeneratedProtocolMessageType('SearchTermView', (_message.Message,), dict( + DESCRIPTOR = _SEARCHTERMVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.search_term_view_pb2' + , + __doc__ = """A search term view with metrics aggregated by search term at the ad + group level. + + + Attributes: + resource_name: + Output only. The resource name of the search term view. Search + term view resource names have the form: ``customers/{customer + _id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL- + base64_search_term}`` + search_term: + Output only. The search term. + ad_group: + Output only. The ad group the search term served in. + status: + Output only. Indicates whether the search term is currently + one of your targeted or excluded keywords. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.SearchTermView) + )) +_sym_db.RegisterMessage(SearchTermView) + + +DESCRIPTOR._options = None +_SEARCHTERMVIEW.fields_by_name['resource_name']._options = None +_SEARCHTERMVIEW.fields_by_name['search_term']._options = None +_SEARCHTERMVIEW.fields_by_name['ad_group']._options = None +_SEARCHTERMVIEW.fields_by_name['status']._options = None +_SEARCHTERMVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/search_term_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/search_term_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/search_term_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v1/proto/resources/shared_criterion_pb2.py b/google/ads/google_ads/v4/proto/resources/shared_criterion_pb2.py similarity index 51% rename from google/ads/google_ads/v1/proto/resources/shared_criterion_pb2.py rename to google/ads/google_ads/v4/proto/resources/shared_criterion_pb2.py index 74b847804..043ce9271 100644 --- a/google/ads/google_ads/v1/proto/resources/shared_criterion_pb2.py +++ b/google/ads/google_ads/v4/proto/resources/shared_criterion_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/resources/shared_criterion.proto +# source: google/ads/googleads_v4/proto/resources/shared_criterion.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,129 +13,131 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2 -from google.ads.google_ads.v1.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.enums import criterion_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/resources/shared_criterion.proto', - package='google.ads.googleads.v1.resources', + name='google/ads/googleads_v4/proto/resources/shared_criterion.proto', + package='google.ads.googleads.v4.resources', syntax='proto3', - serialized_options=_b('\n%com.google.ads.googleads.v1.resourcesB\024SharedCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V1.Resources\312\002!Google\\Ads\\GoogleAds\\V1\\Resources\352\002%Google::Ads::GoogleAds::V1::Resources'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/resources/shared_criterion.proto\x12!google.ads.googleads.v1.resources\x1a\x33google/ads/googleads_v1/proto/common/criteria.proto\x1a\x38google/ads/googleads_v1/proto/enums/criterion_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xb1\x05\n\x0fSharedCriterion\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x30\n\nshared_set\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0c\x63riterion_id\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12L\n\x04type\x18\x04 \x01(\x0e\x32>.google.ads.googleads.v1.enums.CriterionTypeEnum.CriterionType\x12>\n\x07keyword\x18\x03 \x01(\x0b\x32+.google.ads.googleads.v1.common.KeywordInfoH\x00\x12I\n\ryoutube_video\x18\x05 \x01(\x0b\x32\x30.google.ads.googleads.v1.common.YouTubeVideoInfoH\x00\x12M\n\x0fyoutube_channel\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v1.common.YouTubeChannelInfoH\x00\x12\x42\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v1.common.PlacementInfoH\x00\x12T\n\x13mobile_app_category\x18\x08 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileAppCategoryInfoH\x00\x12S\n\x12mobile_application\x18\t \x01(\x0b\x32\x35.google.ads.googleads.v1.common.MobileApplicationInfoH\x00\x42\x0b\n\tcriterionB\x81\x02\n%com.google.ads.googleads.v1.resourcesB\x14SharedCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\024SharedCriterionProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/resources/shared_criterion.proto\x12!google.ads.googleads.v4.resources\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x38google/ads/googleads_v4/proto/enums/criterion_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9e\x07\n\x0fSharedCriterion\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x05\xfa\x41*\n(googleads.googleapis.com/SharedCriterion\x12\\\n\nshared_set\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/SharedSet\x12\x36\n\x0c\x63riterion_id\x18\x1a \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Q\n\x04type\x18\x04 \x01(\x0e\x32>.google.ads.googleads.v4.enums.CriterionTypeEnum.CriterionTypeB\x03\xe0\x41\x03\x12\x43\n\x07keyword\x18\x03 \x01(\x0b\x32+.google.ads.googleads.v4.common.KeywordInfoB\x03\xe0\x41\x05H\x00\x12N\n\ryoutube_video\x18\x05 \x01(\x0b\x32\x30.google.ads.googleads.v4.common.YouTubeVideoInfoB\x03\xe0\x41\x05H\x00\x12R\n\x0fyoutube_channel\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v4.common.YouTubeChannelInfoB\x03\xe0\x41\x05H\x00\x12G\n\tplacement\x18\x07 \x01(\x0b\x32-.google.ads.googleads.v4.common.PlacementInfoB\x03\xe0\x41\x05H\x00\x12Y\n\x13mobile_app_category\x18\x08 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileAppCategoryInfoB\x03\xe0\x41\x05H\x00\x12X\n\x12mobile_application\x18\t \x01(\x0b\x32\x35.google.ads.googleads.v4.common.MobileApplicationInfoB\x03\xe0\x41\x05H\x00:e\xea\x41\x62\n(googleads.googleapis.com/SharedCriterion\x12\x36\x63ustomers/{customer}/sharedCriteria/{shared_criterion}B\x0b\n\tcriterionB\x81\x02\n%com.google.ads.googleads.v4.resourcesB\x14SharedCriterionProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _SHAREDCRITERION = _descriptor.Descriptor( name='SharedCriterion', - full_name='google.ads.googleads.v1.resources.SharedCriterion', + full_name='google.ads.googleads.v4.resources.SharedCriterion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.SharedCriterion.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.SharedCriterion.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A*\n(googleads.googleapis.com/SharedCriterion'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_set', full_name='google.ads.googleads.v1.resources.SharedCriterion.shared_set', index=1, + name='shared_set', full_name='google.ads.googleads.v4.resources.SharedCriterion.shared_set', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/SharedSet'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='criterion_id', full_name='google.ads.googleads.v1.resources.SharedCriterion.criterion_id', index=2, + name='criterion_id', full_name='google.ads.googleads.v4.resources.SharedCriterion.criterion_id', index=2, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.SharedCriterion.type', index=3, + name='type', full_name='google.ads.googleads.v4.resources.SharedCriterion.type', index=3, number=4, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.resources.SharedCriterion.keyword', index=4, + name='keyword', full_name='google.ads.googleads.v4.resources.SharedCriterion.keyword', index=4, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_video', full_name='google.ads.googleads.v1.resources.SharedCriterion.youtube_video', index=5, + name='youtube_video', full_name='google.ads.googleads.v4.resources.SharedCriterion.youtube_video', index=5, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='youtube_channel', full_name='google.ads.googleads.v1.resources.SharedCriterion.youtube_channel', index=6, + name='youtube_channel', full_name='google.ads.googleads.v4.resources.SharedCriterion.youtube_channel', index=6, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='placement', full_name='google.ads.googleads.v1.resources.SharedCriterion.placement', index=7, + name='placement', full_name='google.ads.googleads.v4.resources.SharedCriterion.placement', index=7, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_app_category', full_name='google.ads.googleads.v1.resources.SharedCriterion.mobile_app_category', index=8, + name='mobile_app_category', full_name='google.ads.googleads.v4.resources.SharedCriterion.mobile_app_category', index=8, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_application', full_name='google.ads.googleads.v1.resources.SharedCriterion.mobile_application', index=9, + name='mobile_application', full_name='google.ads.googleads.v4.resources.SharedCriterion.mobile_application', index=9, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005'), file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352Ab\n(googleads.googleapis.com/SharedCriterion\0226customers/{customer}/sharedCriteria/{shared_criterion}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='criterion', full_name='google.ads.googleads.v1.resources.SharedCriterion.criterion', + name='criterion', full_name='google.ads.googleads.v4.resources.SharedCriterion.criterion', index=0, containing_type=None, fields=[]), ], - serialized_start=275, - serialized_end=964, + serialized_start=335, + serialized_end=1261, ) _SHAREDCRITERION.fields_by_name['shared_set'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _SHAREDCRITERION.fields_by_name['criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_SHAREDCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE -_SHAREDCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO -_SHAREDCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO -_SHAREDCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO -_SHAREDCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO -_SHAREDCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO -_SHAREDCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO +_SHAREDCRITERION.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_criterion__type__pb2._CRITERIONTYPEENUM_CRITERIONTYPE +_SHAREDCRITERION.fields_by_name['keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._KEYWORDINFO +_SHAREDCRITERION.fields_by_name['youtube_video'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBEVIDEOINFO +_SHAREDCRITERION.fields_by_name['youtube_channel'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._YOUTUBECHANNELINFO +_SHAREDCRITERION.fields_by_name['placement'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._PLACEMENTINFO +_SHAREDCRITERION.fields_by_name['mobile_app_category'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPCATEGORYINFO +_SHAREDCRITERION.fields_by_name['mobile_application'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._MOBILEAPPLICATIONINFO _SHAREDCRITERION.oneofs_by_name['criterion'].fields.append( _SHAREDCRITERION.fields_by_name['keyword']) _SHAREDCRITERION.fields_by_name['keyword'].containing_oneof = _SHAREDCRITERION.oneofs_by_name['criterion'] @@ -159,41 +161,54 @@ SharedCriterion = _reflection.GeneratedProtocolMessageType('SharedCriterion', (_message.Message,), dict( DESCRIPTOR = _SHAREDCRITERION, - __module__ = 'google.ads.googleads_v1.proto.resources.shared_criterion_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.shared_criterion_pb2' , __doc__ = """A criterion belonging to a shared set. Attributes: resource_name: - The resource name of the shared criterion. Shared set resource - names have the form: ``customers/{customer_id}/sharedCriteria - /{shared_set_id}~{criterion_id}`` + Immutable. The resource name of the shared criterion. Shared + set resource names have the form: ``customers/{customer_id}/s + haredCriteria/{shared_set_id}~{criterion_id}`` shared_set: - The shared set to which the shared criterion belongs. + Immutable. The shared set to which the shared criterion + belongs. criterion_id: - The ID of the criterion. This field is ignored for mutates. + Output only. The ID of the criterion. This field is ignored + for mutates. type: - The type of the criterion. + Output only. The type of the criterion. criterion: The criterion. Exactly one must be set. keyword: - Keyword. + Immutable. Keyword. youtube_video: - YouTube Video. + Immutable. YouTube Video. youtube_channel: - YouTube Channel. + Immutable. YouTube Channel. placement: - Placement. + Immutable. Placement. mobile_app_category: - Mobile App Category. + Immutable. Mobile App Category. mobile_application: - Mobile application. + Immutable. Mobile application. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.SharedCriterion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.SharedCriterion) )) _sym_db.RegisterMessage(SharedCriterion) DESCRIPTOR._options = None +_SHAREDCRITERION.fields_by_name['resource_name']._options = None +_SHAREDCRITERION.fields_by_name['shared_set']._options = None +_SHAREDCRITERION.fields_by_name['criterion_id']._options = None +_SHAREDCRITERION.fields_by_name['type']._options = None +_SHAREDCRITERION.fields_by_name['keyword']._options = None +_SHAREDCRITERION.fields_by_name['youtube_video']._options = None +_SHAREDCRITERION.fields_by_name['youtube_channel']._options = None +_SHAREDCRITERION.fields_by_name['placement']._options = None +_SHAREDCRITERION.fields_by_name['mobile_app_category']._options = None +_SHAREDCRITERION.fields_by_name['mobile_application']._options = None +_SHAREDCRITERION._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/shared_criterion_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/shared_criterion_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/shared_criterion_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/shared_set_pb2.py b/google/ads/google_ads/v4/proto/resources/shared_set_pb2.py new file mode 100644 index 000000000..d38f55623 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/shared_set_pb2.py @@ -0,0 +1,162 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/shared_set.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import shared_set_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__status__pb2 +from google.ads.google_ads.v4.proto.enums import shared_set_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__type__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/shared_set.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\016SharedSetProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n8google/ads/googleads_v4/proto/resources/shared_set.proto\x12!google.ads.googleads.v4.resources\x1a;google/ads/googleads_v4/proto/enums/shared_set_status.proto\x1a\x39google/ads/googleads_v4/proto/enums/shared_set_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x9e\x04\n\tSharedSet\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x05\xfa\x41$\n\"googleads.googleapis.com/SharedSet\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12Q\n\x04type\x18\x03 \x01(\x0e\x32>.google.ads.googleads.v4.enums.SharedSetTypeEnum.SharedSetTypeB\x03\xe0\x41\x05\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12W\n\x06status\x18\x05 \x01(\x0e\x32\x42.google.ads.googleads.v4.enums.SharedSetStatusEnum.SharedSetStatusB\x03\xe0\x41\x03\x12\x36\n\x0cmember_count\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x39\n\x0freference_count\x18\x07 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03:U\xea\x41R\n\"googleads.googleapis.com/SharedSet\x12,customers/{customer}/sharedSets/{shared_set}B\xfb\x01\n%com.google.ads.googleads.v4.resourcesB\x0eSharedSetProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_SHAREDSET = _descriptor.Descriptor( + name='SharedSet', + full_name='google.ads.googleads.v4.resources.SharedSet', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.SharedSet.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A$\n\"googleads.googleapis.com/SharedSet'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.SharedSet.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='type', full_name='google.ads.googleads.v4.resources.SharedSet.type', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.resources.SharedSet.name', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.resources.SharedSet.status', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='member_count', full_name='google.ads.googleads.v4.resources.SharedSet.member_count', index=5, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reference_count', full_name='google.ads.googleads.v4.resources.SharedSet.reference_count', index=6, + number=7, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AR\n\"googleads.googleapis.com/SharedSet\022,customers/{customer}/sharedSets/{shared_set}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=338, + serialized_end=880, +) + +_SHAREDSET.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_SHAREDSET.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__type__pb2._SHAREDSETTYPEENUM_SHAREDSETTYPE +_SHAREDSET.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SHAREDSET.fields_by_name['status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_shared__set__status__pb2._SHAREDSETSTATUSENUM_SHAREDSETSTATUS +_SHAREDSET.fields_by_name['member_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_SHAREDSET.fields_by_name['reference_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['SharedSet'] = _SHAREDSET +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +SharedSet = _reflection.GeneratedProtocolMessageType('SharedSet', (_message.Message,), dict( + DESCRIPTOR = _SHAREDSET, + __module__ = 'google.ads.googleads_v4.proto.resources.shared_set_pb2' + , + __doc__ = """SharedSets are used for sharing criterion exclusions across multiple + campaigns. + + + Attributes: + resource_name: + Immutable. The resource name of the shared set. Shared set + resource names have the form: + ``customers/{customer_id}/sharedSets/{shared_set_id}`` + id: + Output only. The ID of this shared set. Read only. + type: + Immutable. The type of this shared set: each shared set holds + only a single kind of resource. Required. Immutable. + name: + The name of this shared set. Required. Shared Sets must have + names that are unique among active shared sets of the same + type. The length of this string should be between 1 and 255 + UTF-8 bytes, inclusive. + status: + Output only. The status of this shared set. Read only. + member_count: + Output only. The number of shared criteria within this shared + set. Read only. + reference_count: + Output only. The number of campaigns associated with this + shared set. Read only. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.SharedSet) + )) +_sym_db.RegisterMessage(SharedSet) + + +DESCRIPTOR._options = None +_SHAREDSET.fields_by_name['resource_name']._options = None +_SHAREDSET.fields_by_name['id']._options = None +_SHAREDSET.fields_by_name['type']._options = None +_SHAREDSET.fields_by_name['status']._options = None +_SHAREDSET.fields_by_name['member_count']._options = None +_SHAREDSET.fields_by_name['reference_count']._options = None +_SHAREDSET._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/shared_set_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/shared_set_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/shared_set_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2.py b/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2.py new file mode 100644 index 000000000..ea0f45df5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2.py @@ -0,0 +1,91 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/shopping_performance_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/shopping_performance_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\034ShoppingPerformanceViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/resources/shopping_performance_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1cgoogle/api/annotations.proto\"\xcf\x01\n\x17ShoppingPerformanceView\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x03\xfa\x41\x32\n0googleads.googleapis.com/ShoppingPerformanceView:c\xea\x41`\n0googleads.googleapis.com/ShoppingPerformanceView\x12,customers/{customer}/shoppingPerformanceViewB\x89\x02\n%com.google.ads.googleads.v4.resourcesB\x1cShoppingPerformanceViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_SHOPPINGPERFORMANCEVIEW = _descriptor.Descriptor( + name='ShoppingPerformanceView', + full_name='google.ads.googleads.v4.resources.ShoppingPerformanceView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ShoppingPerformanceView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A2\n0googleads.googleapis.com/ShoppingPerformanceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A`\n0googleads.googleapis.com/ShoppingPerformanceView\022,customers/{customer}/shoppingPerformanceView'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=201, + serialized_end=408, +) + +DESCRIPTOR.message_types_by_name['ShoppingPerformanceView'] = _SHOPPINGPERFORMANCEVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ShoppingPerformanceView = _reflection.GeneratedProtocolMessageType('ShoppingPerformanceView', (_message.Message,), dict( + DESCRIPTOR = _SHOPPINGPERFORMANCEVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.shopping_performance_view_pb2' + , + __doc__ = """Shopping performance view. Provides Shopping campaign statistics + aggregated at several product dimension levels. Product dimension values + from Merchant Center such as brand, category, custom attributes, product + condition and product type will reflect the state of each dimension as + of the date and time when the corresponding event was recorded. + + + Attributes: + resource_name: + Output only. The resource name of the Shopping performance + view. Shopping performance view resource names have the form: + ``customers/{customer_id}/shoppingPerformanceView`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ShoppingPerformanceView) + )) +_sym_db.RegisterMessage(ShoppingPerformanceView) + + +DESCRIPTOR._options = None +_SHOPPINGPERFORMANCEVIEW.fields_by_name['resource_name']._options = None +_SHOPPINGPERFORMANCEVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/shopping_performance_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2.py b/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2.py new file mode 100644 index 000000000..80f01779e --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2.py @@ -0,0 +1,104 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/third_party_app_analytics_link.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/third_party_app_analytics_link.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\037ThirdPartyAppAnalyticsLinkProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\nLgoogle/ads/googleads_v4/proto/resources/third_party_app_analytics_link.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xbd\x02\n\x1aThirdPartyAppAnalyticsLink\x12R\n\rresource_name\x18\x01 \x01(\tB;\xe0\x41\x05\xfa\x41\x35\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink\x12<\n\x11shareable_link_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:\x8c\x01\xea\x41\x88\x01\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink\x12Qcustomers/{customer}/thirdPartyAppAnalyticsLinks/{third_party_app_analytics_link}B\x8c\x02\n%com.google.ads.googleads.v4.resourcesB\x1fThirdPartyAppAnalyticsLinkProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_THIRDPARTYAPPANALYTICSLINK = _descriptor.Descriptor( + name='ThirdPartyAppAnalyticsLink', + full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\005\372A5\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='shareable_link_id', full_name='google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink.shareable_link_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352A\210\001\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink\022Qcustomers/{customer}/thirdPartyAppAnalyticsLinks/{third_party_app_analytics_link}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=238, + serialized_end=555, +) + +_THIRDPARTYAPPANALYTICSLINK.fields_by_name['shareable_link_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['ThirdPartyAppAnalyticsLink'] = _THIRDPARTYAPPANALYTICSLINK +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ThirdPartyAppAnalyticsLink = _reflection.GeneratedProtocolMessageType('ThirdPartyAppAnalyticsLink', (_message.Message,), dict( + DESCRIPTOR = _THIRDPARTYAPPANALYTICSLINK, + __module__ = 'google.ads.googleads_v4.proto.resources.third_party_app_analytics_link_pb2' + , + __doc__ = """A data sharing connection, allowing the import of third party app + analytics into a Google Ads Customer. + + + Attributes: + resource_name: + Immutable. The resource name of the third party app analytics + link. Third party app analytics link resource names have the + form: ``customers/{customer_id}/thirdPartyAppAnalyticsLinks/{ + account_link_id}`` + shareable_link_id: + Output only. The shareable link ID that should be provided to + the third party when setting up app analytics. This is able to + be regenerated using regenerate method in the + ThirdPartyAppAnalyticsLinkService. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink) + )) +_sym_db.RegisterMessage(ThirdPartyAppAnalyticsLink) + + +DESCRIPTOR._options = None +_THIRDPARTYAPPANALYTICSLINK.fields_by_name['resource_name']._options = None +_THIRDPARTYAPPANALYTICSLINK.fields_by_name['shareable_link_id']._options = None +_THIRDPARTYAPPANALYTICSLINK._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/third_party_app_analytics_link_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/topic_constant_pb2.py b/google/ads/google_ads/v4/proto/resources/topic_constant_pb2.py new file mode 100644 index 000000000..063b32f3e --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/topic_constant_pb2.py @@ -0,0 +1,128 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/topic_constant.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/topic_constant.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\022TopicConstantProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\ngoogle/ads/googleads_v1/proto/enums/user_list_size_range.proto\x1a\x38google/ads/googleads_v1/proto/enums/user_list_type.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\x8f\r\n\x08UserList\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\'\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12-\n\tread_only\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12o\n\x11membership_status\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v1.enums.UserListMembershipStatusEnum.UserListMembershipStatus\x12\x36\n\x10integration_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x14membership_life_span\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x35\n\x10size_for_display\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x66\n\x16size_range_for_display\x18\n \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.UserListSizeRangeEnum.UserListSizeRange\x12\x34\n\x0fsize_for_search\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x65\n\x15size_range_for_search\x18\x0c \x01(\x0e\x32\x46.google.ads.googleads.v1.enums.UserListSizeRangeEnum.UserListSizeRange\x12J\n\x04type\x18\r \x01(\x0e\x32<.google.ads.googleads.v1.enums.UserListTypeEnum.UserListType\x12\x66\n\x0e\x63losing_reason\x18\x0e \x01(\x0e\x32N.google.ads.googleads.v1.enums.UserListClosingReasonEnum.UserListClosingReason\x12S\n\raccess_reason\x18\x0f \x01(\x0e\x32<.google.ads.googleads.v1.enums.AccessReasonEnum.AccessReason\x12n\n\x18\x61\x63\x63ount_user_list_status\x18\x10 \x01(\x0e\x32L.google.ads.googleads.v1.enums.UserListAccessStatusEnum.UserListAccessStatus\x12\x37\n\x13\x65ligible_for_search\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x14\x65ligible_for_display\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12S\n\x13\x63rm_based_user_list\x18\x13 \x01(\x0b\x32\x34.google.ads.googleads.v1.common.CrmBasedUserListInfoH\x00\x12P\n\x11similar_user_list\x18\x14 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.SimilarUserListInfoH\x00\x12U\n\x14rule_based_user_list\x18\x15 \x01(\x0b\x32\x35.google.ads.googleads.v1.common.RuleBasedUserListInfoH\x00\x12P\n\x11logical_user_list\x18\x16 \x01(\x0b\x32\x33.google.ads.googleads.v1.common.LogicalUserListInfoH\x00\x12L\n\x0f\x62\x61sic_user_list\x18\x17 \x01(\x0b\x32\x31.google.ads.googleads.v1.common.BasicUserListInfoH\x00\x42\x0b\n\tuser_listB\xfa\x01\n%com.google.ads.googleads.v1.resourcesB\rUserListProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v1/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V1.Resources\xca\x02!Google\\Ads\\GoogleAds\\V1\\Resources\xea\x02%Google::Ads::GoogleAds::V1::Resourcesb\x06proto3') + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\rUserListProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/resources/user_list.proto\x12!google.ads.googleads.v4.resources\x1a\x35google/ads/googleads_v4/proto/common/user_lists.proto\x1a\x37google/ads/googleads_v4/proto/enums/access_reason.proto\x1a\x41google/ads/googleads_v4/proto/enums/user_list_access_status.proto\x1a\x42google/ads/googleads_v4/proto/enums/user_list_closing_reason.proto\x1a\x45google/ads/googleads_v4/proto/enums/user_list_membership_status.proto\x1a>google/ads/googleads_v4/proto/enums/user_list_size_range.proto\x1a\x38google/ads/googleads_v4/proto/enums/user_list_type.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc0\x0e\n\x08UserList\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!googleads.googleapis.com/UserList\x12,\n\x02id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x32\n\tread_only\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12*\n\x04name\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x31\n\x0b\x64\x65scription\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12o\n\x11membership_status\x18\x06 \x01(\x0e\x32T.google.ads.googleads.v4.enums.UserListMembershipStatusEnum.UserListMembershipStatus\x12\x36\n\x10integration_code\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x39\n\x14membership_life_span\x18\x08 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x10size_for_display\x18\t \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12k\n\x16size_range_for_display\x18\n \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.UserListSizeRangeEnum.UserListSizeRangeB\x03\xe0\x41\x03\x12\x39\n\x0fsize_for_search\x18\x0b \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12j\n\x15size_range_for_search\x18\x0c \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.UserListSizeRangeEnum.UserListSizeRangeB\x03\xe0\x41\x03\x12O\n\x04type\x18\r \x01(\x0e\x32<.google.ads.googleads.v4.enums.UserListTypeEnum.UserListTypeB\x03\xe0\x41\x03\x12\x66\n\x0e\x63losing_reason\x18\x0e \x01(\x0e\x32N.google.ads.googleads.v4.enums.UserListClosingReasonEnum.UserListClosingReason\x12X\n\raccess_reason\x18\x0f \x01(\x0e\x32<.google.ads.googleads.v4.enums.AccessReasonEnum.AccessReasonB\x03\xe0\x41\x03\x12n\n\x18\x61\x63\x63ount_user_list_status\x18\x10 \x01(\x0e\x32L.google.ads.googleads.v4.enums.UserListAccessStatusEnum.UserListAccessStatus\x12\x37\n\x13\x65ligible_for_search\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12=\n\x14\x65ligible_for_display\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03\x12S\n\x13\x63rm_based_user_list\x18\x13 \x01(\x0b\x32\x34.google.ads.googleads.v4.common.CrmBasedUserListInfoH\x00\x12U\n\x11similar_user_list\x18\x14 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.SimilarUserListInfoB\x03\xe0\x41\x03H\x00\x12U\n\x14rule_based_user_list\x18\x15 \x01(\x0b\x32\x35.google.ads.googleads.v4.common.RuleBasedUserListInfoH\x00\x12P\n\x11logical_user_list\x18\x16 \x01(\x0b\x32\x33.google.ads.googleads.v4.common.LogicalUserListInfoH\x00\x12L\n\x0f\x62\x61sic_user_list\x18\x17 \x01(\x0b\x32\x31.google.ads.googleads.v4.common.BasicUserListInfoH\x00:R\xea\x41O\n!googleads.googleapis.com/UserList\x12*customers/{customer}/userLists/{user_list}B\x0b\n\tuser_listB\xfa\x01\n%com.google.ads.googleads.v4.resourcesB\rUserListProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_access__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__access__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__closing__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__membership__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__size__range__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__type__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_access__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__access__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__closing__reason__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__membership__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__size__range__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__type__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) _USERLIST = _descriptor.Descriptor( name='UserList', - full_name='google.ads.googleads.v1.resources.UserList', + full_name='google.ads.googleads.v4.resources.UserList', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.resources.UserList.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.resources.UserList.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\005\372A#\n!googleads.googleapis.com/UserList'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='id', full_name='google.ads.googleads.v1.resources.UserList.id', index=1, + name='id', full_name='google.ads.googleads.v4.resources.UserList.id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='read_only', full_name='google.ads.googleads.v1.resources.UserList.read_only', index=2, + name='read_only', full_name='google.ads.googleads.v4.resources.UserList.read_only', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='name', full_name='google.ads.googleads.v1.resources.UserList.name', index=3, + name='name', full_name='google.ads.googleads.v4.resources.UserList.name', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='description', full_name='google.ads.googleads.v1.resources.UserList.description', index=4, + name='description', full_name='google.ads.googleads.v4.resources.UserList.description', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='membership_status', full_name='google.ads.googleads.v1.resources.UserList.membership_status', index=5, + name='membership_status', full_name='google.ads.googleads.v4.resources.UserList.membership_status', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='integration_code', full_name='google.ads.googleads.v1.resources.UserList.integration_code', index=6, + name='integration_code', full_name='google.ads.googleads.v4.resources.UserList.integration_code', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='membership_life_span', full_name='google.ads.googleads.v1.resources.UserList.membership_life_span', index=7, + name='membership_life_span', full_name='google.ads.googleads.v4.resources.UserList.membership_life_span', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='size_for_display', full_name='google.ads.googleads.v1.resources.UserList.size_for_display', index=8, + name='size_for_display', full_name='google.ads.googleads.v4.resources.UserList.size_for_display', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='size_range_for_display', full_name='google.ads.googleads.v1.resources.UserList.size_range_for_display', index=9, + name='size_range_for_display', full_name='google.ads.googleads.v4.resources.UserList.size_range_for_display', index=9, number=10, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='size_for_search', full_name='google.ads.googleads.v1.resources.UserList.size_for_search', index=10, + name='size_for_search', full_name='google.ads.googleads.v4.resources.UserList.size_for_search', index=10, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='size_range_for_search', full_name='google.ads.googleads.v1.resources.UserList.size_range_for_search', index=11, + name='size_range_for_search', full_name='google.ads.googleads.v4.resources.UserList.size_range_for_search', index=11, number=12, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='type', full_name='google.ads.googleads.v1.resources.UserList.type', index=12, + name='type', full_name='google.ads.googleads.v4.resources.UserList.type', index=12, number=13, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='closing_reason', full_name='google.ads.googleads.v1.resources.UserList.closing_reason', index=13, + name='closing_reason', full_name='google.ads.googleads.v4.resources.UserList.closing_reason', index=13, number=14, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='access_reason', full_name='google.ads.googleads.v1.resources.UserList.access_reason', index=14, + name='access_reason', full_name='google.ads.googleads.v4.resources.UserList.access_reason', index=14, number=15, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='account_user_list_status', full_name='google.ads.googleads.v1.resources.UserList.account_user_list_status', index=15, + name='account_user_list_status', full_name='google.ads.googleads.v4.resources.UserList.account_user_list_status', index=15, number=16, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='eligible_for_search', full_name='google.ads.googleads.v1.resources.UserList.eligible_for_search', index=16, + name='eligible_for_search', full_name='google.ads.googleads.v4.resources.UserList.eligible_for_search', index=16, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='eligible_for_display', full_name='google.ads.googleads.v1.resources.UserList.eligible_for_display', index=17, + name='eligible_for_display', full_name='google.ads.googleads.v4.resources.UserList.eligible_for_display', index=17, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='crm_based_user_list', full_name='google.ads.googleads.v1.resources.UserList.crm_based_user_list', index=18, + name='crm_based_user_list', full_name='google.ads.googleads.v4.resources.UserList.crm_based_user_list', index=18, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='similar_user_list', full_name='google.ads.googleads.v1.resources.UserList.similar_user_list', index=19, + name='similar_user_list', full_name='google.ads.googleads.v4.resources.UserList.similar_user_list', index=19, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\003'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='rule_based_user_list', full_name='google.ads.googleads.v1.resources.UserList.rule_based_user_list', index=20, + name='rule_based_user_list', full_name='google.ads.googleads.v4.resources.UserList.rule_based_user_list', index=20, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='logical_user_list', full_name='google.ads.googleads.v1.resources.UserList.logical_user_list', index=21, + name='logical_user_list', full_name='google.ads.googleads.v4.resources.UserList.logical_user_list', index=21, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='basic_user_list', full_name='google.ads.googleads.v1.resources.UserList.basic_user_list', index=22, + name='basic_user_list', full_name='google.ads.googleads.v4.resources.UserList.basic_user_list', index=22, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -210,41 +212,41 @@ nested_types=[], enum_types=[ ], - serialized_options=None, + serialized_options=_b('\352AO\n!googleads.googleapis.com/UserList\022*customers/{customer}/userLists/{user_list}'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='user_list', full_name='google.ads.googleads.v1.resources.UserList.user_list', + name='user_list', full_name='google.ads.googleads.v4.resources.UserList.user_list', index=0, containing_type=None, fields=[]), ], - serialized_start=597, - serialized_end=2276, + serialized_start=657, + serialized_end=2513, ) _USERLIST.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _USERLIST.fields_by_name['read_only'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _USERLIST.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _USERLIST.fields_by_name['description'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_USERLIST.fields_by_name['membership_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__membership__status__pb2._USERLISTMEMBERSHIPSTATUSENUM_USERLISTMEMBERSHIPSTATUS +_USERLIST.fields_by_name['membership_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__membership__status__pb2._USERLISTMEMBERSHIPSTATUSENUM_USERLISTMEMBERSHIPSTATUS _USERLIST.fields_by_name['integration_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _USERLIST.fields_by_name['membership_life_span'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _USERLIST.fields_by_name['size_for_display'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_USERLIST.fields_by_name['size_range_for_display'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__size__range__pb2._USERLISTSIZERANGEENUM_USERLISTSIZERANGE +_USERLIST.fields_by_name['size_range_for_display'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__size__range__pb2._USERLISTSIZERANGEENUM_USERLISTSIZERANGE _USERLIST.fields_by_name['size_for_search'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE -_USERLIST.fields_by_name['size_range_for_search'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__size__range__pb2._USERLISTSIZERANGEENUM_USERLISTSIZERANGE -_USERLIST.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__type__pb2._USERLISTTYPEENUM_USERLISTTYPE -_USERLIST.fields_by_name['closing_reason'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__closing__reason__pb2._USERLISTCLOSINGREASONENUM_USERLISTCLOSINGREASON -_USERLIST.fields_by_name['access_reason'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_access__reason__pb2._ACCESSREASONENUM_ACCESSREASON -_USERLIST.fields_by_name['account_user_list_status'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_user__list__access__status__pb2._USERLISTACCESSSTATUSENUM_USERLISTACCESSSTATUS +_USERLIST.fields_by_name['size_range_for_search'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__size__range__pb2._USERLISTSIZERANGEENUM_USERLISTSIZERANGE +_USERLIST.fields_by_name['type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__type__pb2._USERLISTTYPEENUM_USERLISTTYPE +_USERLIST.fields_by_name['closing_reason'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__closing__reason__pb2._USERLISTCLOSINGREASONENUM_USERLISTCLOSINGREASON +_USERLIST.fields_by_name['access_reason'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_access__reason__pb2._ACCESSREASONENUM_ACCESSREASON +_USERLIST.fields_by_name['account_user_list_status'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_user__list__access__status__pb2._USERLISTACCESSSTATUSENUM_USERLISTACCESSSTATUS _USERLIST.fields_by_name['eligible_for_search'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE _USERLIST.fields_by_name['eligible_for_display'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE -_USERLIST.fields_by_name['crm_based_user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2._CRMBASEDUSERLISTINFO -_USERLIST.fields_by_name['similar_user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2._SIMILARUSERLISTINFO -_USERLIST.fields_by_name['rule_based_user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2._RULEBASEDUSERLISTINFO -_USERLIST.fields_by_name['logical_user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2._LOGICALUSERLISTINFO -_USERLIST.fields_by_name['basic_user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_user__lists__pb2._BASICUSERLISTINFO +_USERLIST.fields_by_name['crm_based_user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2._CRMBASEDUSERLISTINFO +_USERLIST.fields_by_name['similar_user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2._SIMILARUSERLISTINFO +_USERLIST.fields_by_name['rule_based_user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2._RULEBASEDUSERLISTINFO +_USERLIST.fields_by_name['logical_user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2._LOGICALUSERLISTINFO +_USERLIST.fields_by_name['basic_user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_user__lists__pb2._BASICUSERLISTINFO _USERLIST.oneofs_by_name['user_list'].fields.append( _USERLIST.fields_by_name['crm_based_user_list']) _USERLIST.fields_by_name['crm_based_user_list'].containing_oneof = _USERLIST.oneofs_by_name['user_list'] @@ -265,23 +267,23 @@ UserList = _reflection.GeneratedProtocolMessageType('UserList', (_message.Message,), dict( DESCRIPTOR = _USERLIST, - __module__ = 'google.ads.googleads_v1.proto.resources.user_list_pb2' + __module__ = 'google.ads.googleads_v4.proto.resources.user_list_pb2' , __doc__ = """A user list. This is a list of users a customer may target. Attributes: resource_name: - The resource name of the user list. User list resource names - have the form: + Immutable. The resource name of the user list. User list + resource names have the form: ``customers/{customer_id}/userLists/{user_list_id}`` id: - Id of the user list. + Output only. Id of the user list. read_only: - A flag that indicates if a user may edit a list. Depends on - the list ownership and list type. For example, external - remarketing user lists are not editable. This field is read- - only. + Output only. A flag that indicates if a user may edit a list. + Depends on the list ownership and list type. For example, + external remarketing user lists are not editable. This field + is read-only. name: Name of this user list. Depending on its access\_reason, the user list name may not be unique (e.g. if @@ -302,31 +304,34 @@ field can be set to 10000 which means no expiration. It'll be ignored for logical\_user\_list. size_for_display: - Estimated number of users in this user list, on the Google - Display Network. This value is null if the number of users has - not yet been determined. This field is read-only. + Output only. Estimated number of users in this user list, on + the Google Display Network. This value is null if the number + of users has not yet been determined. This field is read- + only. size_range_for_display: - Size range in terms of number of users of the UserList, on the - Google Display Network. This field is read-only. + Output only. Size range in terms of number of users of the + UserList, on the Google Display Network. This field is read- + only. size_for_search: - Estimated number of users in this user list in the google.com - domain. These are the users available for targeting in Search - campaigns. This value is null if the number of users has not - yet been determined. This field is read-only. + Output only. Estimated number of users in this user list in + the google.com domain. These are the users available for + targeting in Search campaigns. This value is null if the + number of users has not yet been determined. This field is + read-only. size_range_for_search: - Size range in terms of number of users of the UserList, for - Search ads. This field is read-only. + Output only. Size range in terms of number of users of the + UserList, for Search ads. This field is read-only. type: - Type of this list. This field is read-only. + Output only. Type of this list. This field is read-only. closing_reason: Indicating the reason why this user list membership status is closed. It is only populated on lists that were automatically closed due to inactivity, and will be cleared once the list membership status becomes open. access_reason: - Indicates the reason this account has been granted access to - the list. The reason can be SHARED, OWNED, LICENSED or - SUBSCRIBED. This field is read-only. + Output only. Indicates the reason this account has been + granted access to the list. The reason can be SHARED, OWNED, + LICENSED or SUBSCRIBED. This field is read-only. account_user_list_status: Indicates if this share is still enabled. When a UserList is shared with the user this field is set to ENABLED. Later the @@ -336,15 +341,16 @@ Indicates if this user list is eligible for Google Search Network. eligible_for_display: - Indicates this user list is eligible for Google Display - Network. This field is read-only. + Output only. Indicates this user list is eligible for Google + Display Network. This field is read-only. user_list: The user list. Exactly one must be set. crm_based_user_list: User list of CRM users provided by the advertiser. similar_user_list: - User list which are similar to users from another UserList. - These lists are readonly and automatically created by google. + Output only. User list which are similar to users from another + UserList. These lists are readonly and automatically created + by google. rule_based_user_list: User list generated by a rule. logical_user_list: @@ -354,10 +360,22 @@ User list targeting as a collection of conversion or remarketing actions. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.resources.UserList) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.UserList) )) _sym_db.RegisterMessage(UserList) DESCRIPTOR._options = None +_USERLIST.fields_by_name['resource_name']._options = None +_USERLIST.fields_by_name['id']._options = None +_USERLIST.fields_by_name['read_only']._options = None +_USERLIST.fields_by_name['size_for_display']._options = None +_USERLIST.fields_by_name['size_range_for_display']._options = None +_USERLIST.fields_by_name['size_for_search']._options = None +_USERLIST.fields_by_name['size_range_for_search']._options = None +_USERLIST.fields_by_name['type']._options = None +_USERLIST.fields_by_name['access_reason']._options = None +_USERLIST.fields_by_name['eligible_for_display']._options = None +_USERLIST.fields_by_name['similar_user_list']._options = None +_USERLIST._options = None # @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/user_list_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/user_list_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/user_list_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/user_location_view_pb2.py b/google/ads/google_ads/v4/proto/resources/user_location_view_pb2.py new file mode 100644 index 000000000..75cea193b --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/user_location_view_pb2.py @@ -0,0 +1,116 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/user_location_view.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/user_location_view.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\025UserLocationViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/resources/user_location_view.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xc6\x02\n\x10UserLocationView\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x03\xfa\x41+\n)googleads.googleapis.com/UserLocationView\x12>\n\x14\x63ountry_criterion_id\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12;\n\x12targeting_location\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValueB\x03\xe0\x41\x03:k\xea\x41h\n)googleads.googleapis.com/UserLocationView\x12;customers/{customer}/userLocationViews/{user_location_view}B\x82\x02\n%com.google.ads.googleads.v4.resourcesB\x15UserLocationViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_USERLOCATIONVIEW = _descriptor.Descriptor( + name='UserLocationView', + full_name='google.ads.googleads.v4.resources.UserLocationView', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.UserLocationView.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A+\n)googleads.googleapis.com/UserLocationView'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='country_criterion_id', full_name='google.ads.googleads.v4.resources.UserLocationView.country_criterion_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='targeting_location', full_name='google.ads.googleads.v4.resources.UserLocationView.targeting_location', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352Ah\n)googleads.googleapis.com/UserLocationView\022;customers/{customer}/userLocationViews/{user_location_view}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=226, + serialized_end=552, +) + +_USERLOCATIONVIEW.fields_by_name['country_criterion_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_USERLOCATIONVIEW.fields_by_name['targeting_location'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +DESCRIPTOR.message_types_by_name['UserLocationView'] = _USERLOCATIONVIEW +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UserLocationView = _reflection.GeneratedProtocolMessageType('UserLocationView', (_message.Message,), dict( + DESCRIPTOR = _USERLOCATIONVIEW, + __module__ = 'google.ads.googleads_v4.proto.resources.user_location_view_pb2' + , + __doc__ = """A user location view. + + User Location View includes all metrics aggregated at the country level, + one row per country. It reports metrics at the actual physical location + of the user by targeted or not targeted location. If other segment + fields are used, you may get more than one row per country. + + + Attributes: + resource_name: + Output only. The resource name of the user location view. + UserLocation view resource names have the form: ``customers/{ + customer_id}/userLocationViews/{country_criterion_id}~{targeti + ng_location}`` + country_criterion_id: + Output only. Criterion Id for the country. + targeting_location: + Output only. Indicates whether location was targeted or not. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.UserLocationView) + )) +_sym_db.RegisterMessage(UserLocationView) + + +DESCRIPTOR._options = None +_USERLOCATIONVIEW.fields_by_name['resource_name']._options = None +_USERLOCATIONVIEW.fields_by_name['country_criterion_id']._options = None +_USERLOCATIONVIEW.fields_by_name['targeting_location']._options = None +_USERLOCATIONVIEW._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/user_location_view_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/user_location_view_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/user_location_view_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v4/proto/resources/video_pb2.py b/google/ads/google_ads/v4/proto/resources/video_pb2.py new file mode 100644 index 000000000..12784d8af --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/video_pb2.py @@ -0,0 +1,132 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/resources/video.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/resources/video.proto', + package='google.ads.googleads.v4.resources', + syntax='proto3', + serialized_options=_b('\n%com.google.ads.googleads.v4.resourcesB\nVideoProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V4.Resources\312\002!Google\\Ads\\GoogleAds\\V4\\Resources\352\002%Google::Ads::GoogleAds::V4::Resources'), + serialized_pb=_b('\n3google/ads/googleads_v4/proto/resources/video.proto\x12!google.ads.googleads.v4.resources\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1cgoogle/api/annotations.proto\"\xe3\x02\n\x05Video\x12=\n\rresource_name\x18\x01 \x01(\tB&\xe0\x41\x03\xfa\x41 \n\x1egoogleads.googleapis.com/Video\x12-\n\x02id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x35\n\nchannel_id\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03\x12\x39\n\x0f\x64uration_millis\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x03\xe0\x41\x03\x12\x30\n\x05title\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x03:H\xea\x41\x45\n\x1egoogleads.googleapis.com/Video\x12#customers/{customer}/videos/{video}B\xf7\x01\n%com.google.ads.googleads.v4.resourcesB\nVideoProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v4/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V4.Resources\xca\x02!Google\\Ads\\GoogleAds\\V4\\Resources\xea\x02%Google::Ads::GoogleAds::V4::Resourcesb\x06proto3') + , + dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + + + + +_VIDEO = _descriptor.Descriptor( + name='Video', + full_name='google.ads.googleads.v4.resources.Video', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.resources.Video.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003\372A \n\036googleads.googleapis.com/Video'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.resources.Video.id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='channel_id', full_name='google.ads.googleads.v4.resources.Video.channel_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='duration_millis', full_name='google.ads.googleads.v4.resources.Video.duration_millis', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='title', full_name='google.ads.googleads.v4.resources.Video.title', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\003'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=_b('\352AE\n\036googleads.googleapis.com/Video\022#customers/{customer}/videos/{video}'), + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=213, + serialized_end=568, +) + +_VIDEO.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEO.fields_by_name['channel_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_VIDEO.fields_by_name['duration_millis'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_VIDEO.fields_by_name['title'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +DESCRIPTOR.message_types_by_name['Video'] = _VIDEO +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +Video = _reflection.GeneratedProtocolMessageType('Video', (_message.Message,), dict( + DESCRIPTOR = _VIDEO, + __module__ = 'google.ads.googleads_v4.proto.resources.video_pb2' + , + __doc__ = """A video. + + + Attributes: + resource_name: + Output only. The resource name of the video. Video resource + names have the form: + ``customers/{customer_id}/videos/{video_id}`` + id: + Output only. The ID of the video. + channel_id: + Output only. The owner channel id of the video. + duration_millis: + Output only. The duration of the video in milliseconds. + title: + Output only. The title of the video. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.resources.Video) + )) +_sym_db.RegisterMessage(Video) + + +DESCRIPTOR._options = None +_VIDEO.fields_by_name['resource_name']._options = None +_VIDEO.fields_by_name['id']._options = None +_VIDEO.fields_by_name['channel_id']._options = None +_VIDEO.fields_by_name['duration_millis']._options = None +_VIDEO.fields_by_name['title']._options = None +_VIDEO._options = None +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/resources/video_pb2_grpc.py b/google/ads/google_ads/v4/proto/resources/video_pb2_grpc.py new file mode 100644 index 000000000..a89435267 --- /dev/null +++ b/google/ads/google_ads/v4/proto/resources/video_pb2_grpc.py @@ -0,0 +1,3 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + diff --git a/google/ads/google_ads/v1/proto/services/__init__.py b/google/ads/google_ads/v4/proto/services/__init__.py similarity index 100% rename from google/ads/google_ads/v1/proto/services/__init__.py rename to google/ads/google_ads/v4/proto/services/__init__.py diff --git a/google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2.py b/google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2.py rename to google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2.py index d2308c5a0..ffa1b836d 100644 --- a/google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/account_budget_proposal_service.proto +# source: google/ads/googleads_v4/proto/services/account_budget_proposal_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,37 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2 +from google.ads.google_ads.v4.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/account_budget_proposal_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/account_budget_proposal_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB!AccountBudgetProposalServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nLgoogle/ads/googleads_v1/proto/services/account_budget_proposal_service.proto\x12 google.ads.googleads.v1.services\x1a\x45google/ads/googleads_v1/proto/resources/account_budget_proposal.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"8\n\x1fGetAccountBudgetProposalRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa5\x01\n\"MutateAccountBudgetProposalRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12S\n\toperation\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v1.services.AccountBudgetProposalOperation\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\xbc\x01\n\x1e\x41\x63\x63ountBudgetProposalOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12J\n\x06\x63reate\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v1.resources.AccountBudgetProposalH\x00\x12\x10\n\x06remove\x18\x01 \x01(\tH\x00\x42\x0b\n\toperation\"z\n#MutateAccountBudgetProposalResponse\x12S\n\x06result\x18\x02 \x01(\x0b\x32\x43.google.ads.googleads.v1.services.MutateAccountBudgetProposalResult\":\n!MutateAccountBudgetProposalResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xef\x03\n\x1c\x41\x63\x63ountBudgetProposalService\x12\xd9\x01\n\x18GetAccountBudgetProposal\x12\x41.google.ads.googleads.v1.services.GetAccountBudgetProposalRequest\x1a\x38.google.ads.googleads.v1.resources.AccountBudgetProposal\"@\x82\xd3\xe4\x93\x02:\x12\x38/v1/{resource_name=customers/*/accountBudgetProposals/*}\x12\xf2\x01\n\x1bMutateAccountBudgetProposal\x12\x44.google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest\x1a\x45.google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse\"F\x82\xd3\xe4\x93\x02@\";/v1/customers/{customer_id=*}/accountBudgetProposals:mutate:\x01*B\x88\x02\n$com.google.ads.googleads.v1.servicesB!AccountBudgetProposalServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB!AccountBudgetProposalServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nLgoogle/ads/googleads_v4/proto/services/account_budget_proposal_service.proto\x12 google.ads.googleads.v4.services\x1a\x45google/ads/googleads_v4/proto/resources/account_budget_proposal.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"p\n\x1fGetAccountBudgetProposalRequest\x12M\n\rresource_name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.googleads.googleapis.com/AccountBudgetProposal\"\xaf\x01\n\"MutateAccountBudgetProposalRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12X\n\toperation\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v4.services.AccountBudgetProposalOperationB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"\xbc\x01\n\x1e\x41\x63\x63ountBudgetProposalOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12J\n\x06\x63reate\x18\x02 \x01(\x0b\x32\x38.google.ads.googleads.v4.resources.AccountBudgetProposalH\x00\x12\x10\n\x06remove\x18\x01 \x01(\tH\x00\x42\x0b\n\toperation\"z\n#MutateAccountBudgetProposalResponse\x12S\n\x06result\x18\x02 \x01(\x0b\x32\x43.google.ads.googleads.v4.services.MutateAccountBudgetProposalResult\":\n!MutateAccountBudgetProposalResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb4\x04\n\x1c\x41\x63\x63ountBudgetProposalService\x12\xe9\x01\n\x18GetAccountBudgetProposal\x12\x41.google.ads.googleads.v4.services.GetAccountBudgetProposalRequest\x1a\x38.google.ads.googleads.v4.resources.AccountBudgetProposal\"P\x82\xd3\xe4\x93\x02:\x12\x38/v4/{resource_name=customers/*/accountBudgetProposals/*}\xda\x41\rresource_name\x12\x8a\x02\n\x1bMutateAccountBudgetProposal\x12\x44.google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest\x1a\x45.google.ads.googleads.v4.services.MutateAccountBudgetProposalResponse\"^\x82\xd3\xe4\x93\x02@\";/v4/customers/{customer_id=*}/accountBudgetProposals:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x88\x02\n$com.google.ads.googleads.v4.servicesB!AccountBudgetProposalServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) _GETACCOUNTBUDGETPROPOSALREQUEST = _descriptor.Descriptor( name='GetAccountBudgetProposalRequest', - full_name='google.ads.googleads.v1.services.GetAccountBudgetProposalRequest', + full_name='google.ads.googleads.v4.services.GetAccountBudgetProposalRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAccountBudgetProposalRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAccountBudgetProposalRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A0\n.googleads.googleapis.com/AccountBudgetProposal'), file=DESCRIPTOR), ], extensions=[ ], @@ -56,34 +59,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=249, - serialized_end=305, + serialized_start=334, + serialized_end=446, ) _MUTATEACCOUNTBUDGETPROPOSALREQUEST = _descriptor.Descriptor( name='MutateAccountBudgetProposalRequest', - full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest', + full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest.operation', index=1, + name='operation', full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest.operation', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest.validate_only', index=2, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest.validate_only', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -101,34 +104,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=308, - serialized_end=473, + serialized_start=449, + serialized_end=624, ) _ACCOUNTBUDGETPROPOSALOPERATION = _descriptor.Descriptor( name='AccountBudgetProposalOperation', - full_name='google.ads.googleads.v1.services.AccountBudgetProposalOperation', + full_name='google.ads.googleads.v4.services.AccountBudgetProposalOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AccountBudgetProposalOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AccountBudgetProposalOperation.update_mask', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AccountBudgetProposalOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.AccountBudgetProposalOperation.create', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AccountBudgetProposalOperation.remove', index=2, + name='remove', full_name='google.ads.googleads.v4.services.AccountBudgetProposalOperation.remove', index=2, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -146,23 +149,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AccountBudgetProposalOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AccountBudgetProposalOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=476, - serialized_end=664, + serialized_start=627, + serialized_end=815, ) _MUTATEACCOUNTBUDGETPROPOSALRESPONSE = _descriptor.Descriptor( name='MutateAccountBudgetProposalResponse', - full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse', + full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse.result', index=0, + name='result', full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalResponse.result', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -180,20 +183,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=666, - serialized_end=788, + serialized_start=817, + serialized_end=939, ) _MUTATEACCOUNTBUDGETPROPOSALRESULT = _descriptor.Descriptor( name='MutateAccountBudgetProposalResult', - full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalResult', + full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAccountBudgetProposalResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAccountBudgetProposalResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -211,13 +214,13 @@ extension_ranges=[], oneofs=[ ], - serialized_start=790, - serialized_end=848, + serialized_start=941, + serialized_end=999, ) _MUTATEACCOUNTBUDGETPROPOSALREQUEST.fields_by_name['operation'].message_type = _ACCOUNTBUDGETPROPOSALOPERATION _ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL +_ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL _ACCOUNTBUDGETPROPOSALOPERATION.oneofs_by_name['operation'].fields.append( _ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['create']) _ACCOUNTBUDGETPROPOSALOPERATION.fields_by_name['create'].containing_oneof = _ACCOUNTBUDGETPROPOSALOPERATION.oneofs_by_name['operation'] @@ -234,46 +237,46 @@ GetAccountBudgetProposalRequest = _reflection.GeneratedProtocolMessageType('GetAccountBudgetProposalRequest', (_message.Message,), dict( DESCRIPTOR = _GETACCOUNTBUDGETPROPOSALREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.account_budget_proposal_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.account_budget_proposal_service_pb2' , __doc__ = """Request message for - [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v1.services.AccountBudgetProposalService.GetAccountBudgetProposal]. + [AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v4.services.AccountBudgetProposalService.GetAccountBudgetProposal]. Attributes: resource_name: - The resource name of the account-level budget proposal to - fetch. + Required. The resource name of the account-level budget + proposal to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAccountBudgetProposalRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAccountBudgetProposalRequest) )) _sym_db.RegisterMessage(GetAccountBudgetProposalRequest) MutateAccountBudgetProposalRequest = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.account_budget_proposal_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.account_budget_proposal_service_pb2' , __doc__ = """Request message for - [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v1.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. + [AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v4.services.AccountBudgetProposalService.MutateAccountBudgetProposal]. Attributes: customer_id: - The ID of the customer. + Required. The ID of the customer. operation: - The operation to perform on an individual account-level budget - proposal. + Required. The operation to perform on an individual account- + level budget proposal. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAccountBudgetProposalRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAccountBudgetProposalRequest) )) _sym_db.RegisterMessage(MutateAccountBudgetProposalRequest) AccountBudgetProposalOperation = _reflection.GeneratedProtocolMessageType('AccountBudgetProposalOperation', (_message.Message,), dict( DESCRIPTOR = _ACCOUNTBUDGETPROPOSALOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.account_budget_proposal_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.account_budget_proposal_service_pb2' , __doc__ = """A single operation to propose the creation of a new account-level budget or edit/end/remove an existing one. @@ -300,13 +303,13 @@ dgetProposals/{account_budget_proposal_id}`` A request may be cancelled iff it is pending. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AccountBudgetProposalOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AccountBudgetProposalOperation) )) _sym_db.RegisterMessage(AccountBudgetProposalOperation) MutateAccountBudgetProposalResponse = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.account_budget_proposal_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.account_budget_proposal_service_pb2' , __doc__ = """Response message for account-level budget mutate operations. @@ -315,13 +318,13 @@ result: The result of the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAccountBudgetProposalResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAccountBudgetProposalResponse) )) _sym_db.RegisterMessage(MutateAccountBudgetProposalResponse) MutateAccountBudgetProposalResult = _reflection.GeneratedProtocolMessageType('MutateAccountBudgetProposalResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEACCOUNTBUDGETPROPOSALRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.account_budget_proposal_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.account_budget_proposal_service_pb2' , __doc__ = """The result for the account budget proposal mutate. @@ -330,39 +333,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAccountBudgetProposalResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAccountBudgetProposalResult) )) _sym_db.RegisterMessage(MutateAccountBudgetProposalResult) DESCRIPTOR._options = None +_GETACCOUNTBUDGETPROPOSALREQUEST.fields_by_name['resource_name']._options = None +_MUTATEACCOUNTBUDGETPROPOSALREQUEST.fields_by_name['customer_id']._options = None +_MUTATEACCOUNTBUDGETPROPOSALREQUEST.fields_by_name['operation']._options = None _ACCOUNTBUDGETPROPOSALSERVICE = _descriptor.ServiceDescriptor( name='AccountBudgetProposalService', - full_name='google.ads.googleads.v1.services.AccountBudgetProposalService', + full_name='google.ads.googleads.v4.services.AccountBudgetProposalService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=851, - serialized_end=1346, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1002, + serialized_end=1566, methods=[ _descriptor.MethodDescriptor( name='GetAccountBudgetProposal', - full_name='google.ads.googleads.v1.services.AccountBudgetProposalService.GetAccountBudgetProposal', + full_name='google.ads.googleads.v4.services.AccountBudgetProposalService.GetAccountBudgetProposal', index=0, containing_service=None, input_type=_GETACCOUNTBUDGETPROPOSALREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL, - serialized_options=_b('\202\323\344\223\002:\0228/v1/{resource_name=customers/*/accountBudgetProposals/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL, + serialized_options=_b('\202\323\344\223\002:\0228/v4/{resource_name=customers/*/accountBudgetProposals/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAccountBudgetProposal', - full_name='google.ads.googleads.v1.services.AccountBudgetProposalService.MutateAccountBudgetProposal', + full_name='google.ads.googleads.v4.services.AccountBudgetProposalService.MutateAccountBudgetProposal', index=1, containing_service=None, input_type=_MUTATEACCOUNTBUDGETPROPOSALREQUEST, output_type=_MUTATEACCOUNTBUDGETPROPOSALRESPONSE, - serialized_options=_b('\202\323\344\223\002@\";/v1/customers/{customer_id=*}/accountBudgetProposals:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002@\";/v4/customers/{customer_id=*}/accountBudgetProposals:mutate:\001*\332A\025customer_id,operation'), ), ]) _sym_db.RegisterServiceDescriptor(_ACCOUNTBUDGETPROPOSALSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2_grpc.py index 19091fb90..0008926bd 100644 --- a/google/ads/google_ads/v1/proto/services/account_budget_proposal_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/account_budget_proposal_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2 -from google.ads.google_ads.v1.proto.services import account_budget_proposal_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2 +from google.ads.google_ads.v4.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2 +from google.ads.google_ads.v4.proto.services import account_budget_proposal_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2 class AccountBudgetProposalServiceStub(object): @@ -14,7 +14,8 @@ class AccountBudgetProposalServiceStub(object): existing one. Reads for account-level budgets managed by these proposals will be - supported in a future version. Please use BudgetOrderService until then: + supported in a future version. Until then, please use the + BudgetOrderService from the AdWords API. Learn more at https://developers.google.com/adwords/api/docs/guides/budget-order Mutates: @@ -30,14 +31,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAccountBudgetProposal = channel.unary_unary( - '/google.ads.googleads.v1.services.AccountBudgetProposalService/GetAccountBudgetProposal', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2.AccountBudgetProposal.FromString, + '/google.ads.googleads.v4.services.AccountBudgetProposalService/GetAccountBudgetProposal', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2.AccountBudgetProposal.FromString, ) self.MutateAccountBudgetProposal = channel.unary_unary( - '/google.ads.googleads.v1.services.AccountBudgetProposalService/MutateAccountBudgetProposal', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.FromString, + '/google.ads.googleads.v4.services.AccountBudgetProposalService/MutateAccountBudgetProposal', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.FromString, ) @@ -50,7 +51,8 @@ class AccountBudgetProposalServiceServicer(object): existing one. Reads for account-level budgets managed by these proposals will be - supported in a future version. Please use BudgetOrderService until then: + supported in a future version. Until then, please use the + BudgetOrderService from the AdWords API. Learn more at https://developers.google.com/adwords/api/docs/guides/budget-order Mutates: @@ -79,15 +81,15 @@ def add_AccountBudgetProposalServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAccountBudgetProposal': grpc.unary_unary_rpc_method_handler( servicer.GetAccountBudgetProposal, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2.AccountBudgetProposal.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.GetAccountBudgetProposalRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2.AccountBudgetProposal.SerializeToString, ), 'MutateAccountBudgetProposal': grpc.unary_unary_rpc_method_handler( servicer.MutateAccountBudgetProposal, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_account__budget__proposal__service__pb2.MutateAccountBudgetProposalResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AccountBudgetProposalService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AccountBudgetProposalService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/account_budget_service_pb2.py b/google/ads/google_ads/v4/proto/services/account_budget_service_pb2.py new file mode 100644 index 000000000..c20187a3f --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/account_budget_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/account_budget_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import account_budget_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/account_budget_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\031AccountBudgetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/account_budget_service.proto\x12 google.ads.googleads.v4.services\x1a.google.ads.googleads.v4.services.GetAdGroupAdAssetViewRequest\x1a\x35.google.ads.googleads.v4.resources.AdGroupAdAssetView\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/adGroupAdAssetViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1e\x41\x64GroupAdAssetViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETADGROUPADASSETVIEWREQUEST = _descriptor.Descriptor( + name='GetAdGroupAdAssetViewRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupAdAssetViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupAdAssetViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/AdGroupAdAssetView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=404, +) + +DESCRIPTOR.message_types_by_name['GetAdGroupAdAssetViewRequest'] = _GETADGROUPADASSETVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetAdGroupAdAssetViewRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdAssetViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETADGROUPADASSETVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_asset_view_service_pb2' + , + __doc__ = """Request message for + [AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v4.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView]. + + + Attributes: + resource_name: + Required. The resource name of the ad group ad asset view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupAdAssetViewRequest) + )) +_sym_db.RegisterMessage(GetAdGroupAdAssetViewRequest) + + +DESCRIPTOR._options = None +_GETADGROUPADASSETVIEWREQUEST.fields_by_name['resource_name']._options = None + +_ADGROUPADASSETVIEWSERVICE = _descriptor.ServiceDescriptor( + name='AdGroupAdAssetViewService', + full_name='google.ads.googleads.v4.services.AdGroupAdAssetViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=407, + serialized_end=687, + methods=[ + _descriptor.MethodDescriptor( + name='GetAdGroupAdAssetView', + full_name='google.ads.googleads.v4.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView', + index=0, + containing_service=None, + input_type=_GETADGROUPADASSETVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2._ADGROUPADASSETVIEW, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/adGroupAdAssetViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ADGROUPADASSETVIEWSERVICE) + +DESCRIPTOR.services_by_name['AdGroupAdAssetViewService'] = _ADGROUPADASSETVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py new file mode 100644 index 000000000..f9fd9f2f8 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/ad_group_ad_asset_view_service_pb2_grpc.py @@ -0,0 +1,51 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import ad_group_ad_asset_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_ad_asset_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__asset__view__service__pb2 + + +class AdGroupAdAssetViewServiceStub(object): + """Proto file describing the ad group ad asset view service. + + Service to fetch ad group ad asset views. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetAdGroupAdAssetView = channel.unary_unary( + '/google.ads.googleads.v4.services.AdGroupAdAssetViewService/GetAdGroupAdAssetView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__asset__view__service__pb2.GetAdGroupAdAssetViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.AdGroupAdAssetView.FromString, + ) + + +class AdGroupAdAssetViewServiceServicer(object): + """Proto file describing the ad group ad asset view service. + + Service to fetch ad group ad asset views. + """ + + def GetAdGroupAdAssetView(self, request, context): + """Returns the requested ad group ad asset view in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_AdGroupAdAssetViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetAdGroupAdAssetView': grpc.unary_unary_rpc_method_handler( + servicer.GetAdGroupAdAssetView, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__asset__view__service__pb2.GetAdGroupAdAssetViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.AdGroupAdAssetView.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.AdGroupAdAssetViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2.py index a21211307..56a8811c1 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_ad_label_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_ad_label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_ad_label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_ad_label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032AdGroupAdLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/ad_group_ad_label_service.proto\x12 google.ads.googleads.v1.services\x1a?google/ads/googleads_v1/proto/resources/ad_group_ad_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"1\n\x18GetAdGroupAdLabelRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb2\x01\n\x1cMutateAdGroupAdLabelsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.AdGroupAdLabelOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"}\n\x17\x41\x64GroupAdLabelOperation\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.AdGroupAdLabelH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1dMutateAdGroupAdLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.MutateAdGroupAdLabelResult\"3\n\x1aMutateAdGroupAdLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb3\x03\n\x15\x41\x64GroupAdLabelService\x12\xbd\x01\n\x11GetAdGroupAdLabel\x12:.google.ads.googleads.v1.services.GetAdGroupAdLabelRequest\x1a\x31.google.ads.googleads.v1.resources.AdGroupAdLabel\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/adGroupAdLabels/*}\x12\xd9\x01\n\x15MutateAdGroupAdLabels\x12>.google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest\x1a?.google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}/adGroupAdLabels:mutate:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x41\x64GroupAdLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032AdGroupAdLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/ad_group_ad_label_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/ad_group_ad_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"b\n\x18GetAdGroupAdLabelRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/AdGroupAdLabel\"\xbc\x01\n\x1cMutateAdGroupAdLabelsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.AdGroupAdLabelOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"}\n\x17\x41\x64GroupAdLabelOperation\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.AdGroupAdLabelH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1dMutateAdGroupAdLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.MutateAdGroupAdLabelResult\"3\n\x1aMutateAdGroupAdLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf9\x03\n\x15\x41\x64GroupAdLabelService\x12\xcd\x01\n\x11GetAdGroupAdLabel\x12:.google.ads.googleads.v4.services.GetAdGroupAdLabelRequest\x1a\x31.google.ads.googleads.v4.resources.AdGroupAdLabel\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/adGroupAdLabels/*}\xda\x41\rresource_name\x12\xf2\x01\n\x15MutateAdGroupAdLabels\x12>.google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest\x1a?.google.ads.googleads.v4.services.MutateAdGroupAdLabelsResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/adGroupAdLabels:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x41\x64GroupAdLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPADLABELREQUEST = _descriptor.Descriptor( name='GetAdGroupAdLabelRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupAdLabelRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupAdLabelRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupAdLabelRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupAdLabelRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/AdGroupAdLabel'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=260, - serialized_end=309, + serialized_start=313, + serialized_end=411, ) _MUTATEADGROUPADLABELSREQUEST = _descriptor.Descriptor( name='MutateAdGroupAdLabelsRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=312, - serialized_end=490, + serialized_start=414, + serialized_end=602, ) _ADGROUPADLABELOPERATION = _descriptor.Descriptor( name='AdGroupAdLabelOperation', - full_name='google.ads.googleads.v1.services.AdGroupAdLabelOperation', + full_name='google.ads.googleads.v4.services.AdGroupAdLabelOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupAdLabelOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.AdGroupAdLabelOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupAdLabelOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupAdLabelOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupAdLabelOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupAdLabelOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=492, - serialized_end=617, + serialized_start=604, + serialized_end=729, ) _MUTATEADGROUPADLABELSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupAdLabelsResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=620, - serialized_end=781, + serialized_start=732, + serialized_end=893, ) _MUTATEADGROUPADLABELRESULT = _descriptor.Descriptor( name='MutateAdGroupAdLabelResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupAdLabelResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupAdLabelResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=783, - serialized_end=834, + serialized_start=895, + serialized_end=946, ) _MUTATEADGROUPADLABELSREQUEST.fields_by_name['operations'].message_type = _ADGROUPADLABELOPERATION -_ADGROUPADLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL +_ADGROUPADLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL _ADGROUPADLABELOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPADLABELOPERATION.fields_by_name['create']) _ADGROUPADLABELOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPADLABELOPERATION.oneofs_by_name['operation'] @@ -242,34 +244,35 @@ GetAdGroupAdLabelRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdLabelRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPADLABELREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_label_service_pb2' , __doc__ = """Request message for - [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v1.services.AdGroupAdLabelService.GetAdGroupAdLabel]. + [AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v4.services.AdGroupAdLabelService.GetAdGroupAdLabel]. Attributes: resource_name: - The resource name of the ad group ad label to fetch. + Required. The resource name of the ad group ad label to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupAdLabelRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupAdLabelRequest) )) _sym_db.RegisterMessage(GetAdGroupAdLabelRequest) MutateAdGroupAdLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADLABELSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_label_service_pb2' , __doc__ = """Request message for - [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v1.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. + [AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v4.services.AdGroupAdLabelService.MutateAdGroupAdLabels]. Attributes: customer_id: - ID of the customer whose ad group ad labels are being - modified. + Required. ID of the customer whose ad group ad labels are + being modified. operations: - The list of operations to perform on ad group ad labels. + Required. The list of operations to perform on ad group ad + labels. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -279,13 +282,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdLabelsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdLabelsRequest) )) _sym_db.RegisterMessage(MutateAdGroupAdLabelsRequest) AdGroupAdLabelOperation = _reflection.GeneratedProtocolMessageType('AdGroupAdLabelOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPADLABELOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_label_service_pb2' , __doc__ = """A single operation (create, remove) on an ad group ad label. @@ -301,13 +304,13 @@ being removed, in this format: ``customers/{customer_id}/adGr oupAdLabels/{ad_group_id}~{ad_id} _{label_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupAdLabelOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupAdLabelOperation) )) _sym_db.RegisterMessage(AdGroupAdLabelOperation) MutateAdGroupAdLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADLABELSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_label_service_pb2' , __doc__ = """Response message for an ad group ad labels mutate. @@ -322,13 +325,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdLabelsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdLabelsResponse) )) _sym_db.RegisterMessage(MutateAdGroupAdLabelsResponse) MutateAdGroupAdLabelResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdLabelResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADLABELRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_label_service_pb2' , __doc__ = """The result for an ad group ad label mutate. @@ -337,39 +340,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdLabelResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdLabelResult) )) _sym_db.RegisterMessage(MutateAdGroupAdLabelResult) DESCRIPTOR._options = None +_GETADGROUPADLABELREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPADLABELSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPADLABELSREQUEST.fields_by_name['operations']._options = None _ADGROUPADLABELSERVICE = _descriptor.ServiceDescriptor( name='AdGroupAdLabelService', - full_name='google.ads.googleads.v1.services.AdGroupAdLabelService', + full_name='google.ads.googleads.v4.services.AdGroupAdLabelService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=837, - serialized_end=1272, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=949, + serialized_end=1454, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupAdLabel', - full_name='google.ads.googleads.v1.services.AdGroupAdLabelService.GetAdGroupAdLabel', + full_name='google.ads.googleads.v4.services.AdGroupAdLabelService.GetAdGroupAdLabel', index=0, containing_service=None, input_type=_GETADGROUPADLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/adGroupAdLabels/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/adGroupAdLabels/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupAdLabels', - full_name='google.ads.googleads.v1.services.AdGroupAdLabelService.MutateAdGroupAdLabels', + full_name='google.ads.googleads.v4.services.AdGroupAdLabelService.MutateAdGroupAdLabels', index=1, containing_service=None, input_type=_MUTATEADGROUPADLABELSREQUEST, output_type=_MUTATEADGROUPADLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}/adGroupAdLabels:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/adGroupAdLabels:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPADLABELSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2_grpc.py index 2b867108a..e2b925a24 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_ad_label_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_ad_label_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 class AdGroupAdLabelServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupAdLabel = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupAdLabelService/GetAdGroupAdLabel', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.AdGroupAdLabel.FromString, + '/google.ads.googleads.v4.services.AdGroupAdLabelService/GetAdGroupAdLabel', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.AdGroupAdLabel.FromString, ) self.MutateAdGroupAdLabels = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupAdLabelService/MutateAdGroupAdLabels', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupAdLabelService/MutateAdGroupAdLabels', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_AdGroupAdLabelServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupAdLabel': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupAdLabel, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.AdGroupAdLabel.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.GetAdGroupAdLabelRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.AdGroupAdLabel.SerializeToString, ), 'MutateAdGroupAdLabels': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupAdLabels, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.MutateAdGroupAdLabelsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupAdLabelService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupAdLabelService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2.py index ea81a04ef..9c24f3da6 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_ad_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_ad_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,40 +13,42 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2 +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_ad_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_ad_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025AdGroupAdServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n@google/ads/googleads_v1/proto/services/ad_group_ad_service.proto\x12 google.ads.googleads.v1.services\x1a\x31google/ads/googleads_v1/proto/common/policy.proto\x1a\x39google/ads/googleads_v1/proto/resources/ad_group_ad.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\",\n\x13GetAdGroupAdRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa8\x01\n\x17MutateAdGroupAdsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12H\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v1.services.AdGroupAdOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xc4\x02\n\x12\x41\x64GroupAdOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12^\n\x1bpolicy_validation_parameter\x18\x05 \x01(\x0b\x32\x39.google.ads.googleads.v1.common.PolicyValidationParameter\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v1.resources.AdGroupAdH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v1.resources.AdGroupAdH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateAdGroupAdsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.MutateAdGroupAdResult\".\n\x15MutateAdGroupAdResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x86\x03\n\x10\x41\x64GroupAdService\x12\xa9\x01\n\x0cGetAdGroupAd\x12\x35.google.ads.googleads.v1.services.GetAdGroupAdRequest\x1a,.google.ads.googleads.v1.resources.AdGroupAd\"4\x82\xd3\xe4\x93\x02.\x12,/v1/{resource_name=customers/*/adGroupAds/*}\x12\xc5\x01\n\x10MutateAdGroupAds\x12\x39.google.ads.googleads.v1.services.MutateAdGroupAdsRequest\x1a:.google.ads.googleads.v1.services.MutateAdGroupAdsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/customers/{customer_id=*}/adGroupAds:mutate:\x01*B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15\x41\x64GroupAdServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025AdGroupAdServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/services/ad_group_ad_service.proto\x12 google.ads.googleads.v4.services\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1a\x39google/ads/googleads_v4/proto/resources/ad_group_ad.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"X\n\x13GetAdGroupAdRequest\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"googleads.googleapis.com/AdGroupAd\"\xb2\x01\n\x17MutateAdGroupAdsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v4.services.AdGroupAdOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xc4\x02\n\x12\x41\x64GroupAdOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12^\n\x1bpolicy_validation_parameter\x18\x05 \x01(\x0b\x32\x39.google.ads.googleads.v4.common.PolicyValidationParameter\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v4.resources.AdGroupAdH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v4.resources.AdGroupAdH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateAdGroupAdsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.MutateAdGroupAdResult\".\n\x15MutateAdGroupAdResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcc\x03\n\x10\x41\x64GroupAdService\x12\xb9\x01\n\x0cGetAdGroupAd\x12\x35.google.ads.googleads.v4.services.GetAdGroupAdRequest\x1a,.google.ads.googleads.v4.resources.AdGroupAd\"D\x82\xd3\xe4\x93\x02.\x12,/v4/{resource_name=customers/*/adGroupAds/*}\xda\x41\rresource_name\x12\xde\x01\n\x10MutateAdGroupAds\x12\x39.google.ads.googleads.v4.services.MutateAdGroupAdsRequest\x1a:.google.ads.googleads.v4.services.MutateAdGroupAdsResponse\"S\x82\xd3\xe4\x93\x02\x34\"//v4/customers/{customer_id=*}/adGroupAds:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15\x41\x64GroupAdServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPADREQUEST = _descriptor.Descriptor( name='GetAdGroupAdRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupAdRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupAdRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupAdRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupAdRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A$\n\"googleads.googleapis.com/AdGroupAd'), file=DESCRIPTOR), ], extensions=[ ], @@ -59,41 +61,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=333, - serialized_end=377, + serialized_start=386, + serialized_end=474, ) _MUTATEADGROUPADSREQUEST = _descriptor.Descriptor( name='MutateAdGroupAdsRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdsRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -111,48 +113,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=380, - serialized_end=548, + serialized_start=477, + serialized_end=655, ) _ADGROUPADOPERATION = _descriptor.Descriptor( name='AdGroupAdOperation', - full_name='google.ads.googleads.v1.services.AdGroupAdOperation', + full_name='google.ads.googleads.v4.services.AdGroupAdOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='policy_validation_parameter', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.policy_validation_parameter', index=1, + name='policy_validation_parameter', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.policy_validation_parameter', index=1, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.create', index=2, + name='create', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.create', index=2, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.update', index=3, + name='update', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.update', index=3, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.remove', index=4, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.remove', index=4, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -170,30 +172,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupAdOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupAdOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=551, - serialized_end=875, + serialized_start=658, + serialized_end=982, ) _MUTATEADGROUPADSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupAdsResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdsResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupAdsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupAdsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -211,20 +213,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=878, - serialized_end=1029, + serialized_start=985, + serialized_end=1136, ) _MUTATEADGROUPADRESULT = _descriptor.Descriptor( name='MutateAdGroupAdResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupAdResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupAdResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupAdResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupAdResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -242,15 +244,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1031, - serialized_end=1077, + serialized_start=1138, + serialized_end=1184, ) _MUTATEADGROUPADSREQUEST.fields_by_name['operations'].message_type = _ADGROUPADOPERATION _ADGROUPADOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ADGROUPADOPERATION.fields_by_name['policy_validation_parameter'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYVALIDATIONPARAMETER -_ADGROUPADOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD -_ADGROUPADOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD +_ADGROUPADOPERATION.fields_by_name['policy_validation_parameter'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYVALIDATIONPARAMETER +_ADGROUPADOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD +_ADGROUPADOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD _ADGROUPADOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPADOPERATION.fields_by_name['create']) _ADGROUPADOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPADOPERATION.oneofs_by_name['operation'] @@ -271,33 +273,33 @@ GetAdGroupAdRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAdRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPADREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_service_pb2' , __doc__ = """Request message for - [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v1.services.AdGroupAdService.GetAdGroupAd]. + [AdGroupAdService.GetAdGroupAd][google.ads.googleads.v4.services.AdGroupAdService.GetAdGroupAd]. Attributes: resource_name: - The resource name of the ad to fetch. + Required. The resource name of the ad to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupAdRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupAdRequest) )) _sym_db.RegisterMessage(GetAdGroupAdRequest) MutateAdGroupAdsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_service_pb2' , __doc__ = """Request message for - [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v1.services.AdGroupAdService.MutateAdGroupAds]. + [AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v4.services.AdGroupAdService.MutateAdGroupAds]. Attributes: customer_id: - The ID of the customer whose ads are being modified. + Required. The ID of the customer whose ads are being modified. operations: - The list of operations to perform on individual ads. + Required. The list of operations to perform on individual ads. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -307,13 +309,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdsRequest) )) _sym_db.RegisterMessage(MutateAdGroupAdsRequest) AdGroupAdOperation = _reflection.GeneratedProtocolMessageType('AdGroupAdOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPADOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_service_pb2' , __doc__ = """A single operation (create, update, remove) on an ad group ad. @@ -336,13 +338,13 @@ expected, in this format: ``customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupAdOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupAdOperation) )) _sym_db.RegisterMessage(AdGroupAdOperation) MutateAdGroupAdsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_service_pb2' , __doc__ = """Response message for an ad group ad mutate. @@ -357,13 +359,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdsResponse) )) _sym_db.RegisterMessage(MutateAdGroupAdsResponse) MutateAdGroupAdResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupAdResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPADRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_ad_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_ad_service_pb2' , __doc__ = """The result for the ad mutate. @@ -372,39 +374,42 @@ resource_name: The resource name returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupAdResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupAdResult) )) _sym_db.RegisterMessage(MutateAdGroupAdResult) DESCRIPTOR._options = None +_GETADGROUPADREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPADSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPADSREQUEST.fields_by_name['operations']._options = None _ADGROUPADSERVICE = _descriptor.ServiceDescriptor( name='AdGroupAdService', - full_name='google.ads.googleads.v1.services.AdGroupAdService', + full_name='google.ads.googleads.v4.services.AdGroupAdService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1080, - serialized_end=1470, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1187, + serialized_end=1647, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupAd', - full_name='google.ads.googleads.v1.services.AdGroupAdService.GetAdGroupAd', + full_name='google.ads.googleads.v4.services.AdGroupAdService.GetAdGroupAd', index=0, containing_service=None, input_type=_GETADGROUPADREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD, - serialized_options=_b('\202\323\344\223\002.\022,/v1/{resource_name=customers/*/adGroupAds/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD, + serialized_options=_b('\202\323\344\223\002.\022,/v4/{resource_name=customers/*/adGroupAds/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupAds', - full_name='google.ads.googleads.v1.services.AdGroupAdService.MutateAdGroupAds', + full_name='google.ads.googleads.v4.services.AdGroupAdService.MutateAdGroupAds', index=1, containing_service=None, input_type=_MUTATEADGROUPADSREQUEST, output_type=_MUTATEADGROUPADSRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v1/customers/{customer_id=*}/adGroupAds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0024\"//v4/customers/{customer_id=*}/adGroupAds:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPADSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2_grpc.py index aca7eac1a..50632a3d5 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_ad_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_ad_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2 class AdGroupAdServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupAd = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupAdService/GetAdGroupAd', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2.AdGroupAd.FromString, + '/google.ads.googleads.v4.services.AdGroupAdService/GetAdGroupAd', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2.AdGroupAd.FromString, ) self.MutateAdGroupAds = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupAdService/MutateAdGroupAds', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupAdService/MutateAdGroupAds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_AdGroupAdServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupAd': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupAd, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2.AdGroupAd.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.GetAdGroupAdRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2.AdGroupAd.SerializeToString, ), 'MutateAdGroupAds': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupAds, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.MutateAdGroupAdsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupAdService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupAdService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2.py new file mode 100644 index 000000000..0c6adfa1b --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/ad_group_audience_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/ad_group_audience_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037AdGroupAudienceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/services/ad_group_audience_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/resources/ad_group_audience_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"l\n\x1dGetAdGroupAudienceViewRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/AdGroupAudienceView2\x9d\x02\n\x1a\x41\x64GroupAudienceViewService\x12\xe1\x01\n\x16GetAdGroupAudienceView\x12?.google.ads.googleads.v4.services.GetAdGroupAudienceViewRequest\x1a\x36.google.ads.googleads.v4.resources.AdGroupAudienceView\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/adGroupAudienceViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1f\x41\x64GroupAudienceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETADGROUPAUDIENCEVIEWREQUEST = _descriptor.Descriptor( + name='GetAdGroupAudienceViewRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupAudienceViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupAudienceViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/AdGroupAudienceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=406, +) + +DESCRIPTOR.message_types_by_name['GetAdGroupAudienceViewRequest'] = _GETADGROUPAUDIENCEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetAdGroupAudienceViewRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupAudienceViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETADGROUPAUDIENCEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_audience_view_service_pb2' + , + __doc__ = """Request message for + [AdGroupAudienceViewService.GetAdGoupAudienceView][]. + + + Attributes: + resource_name: + Required. The resource name of the ad group audience view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupAudienceViewRequest) + )) +_sym_db.RegisterMessage(GetAdGroupAudienceViewRequest) + + +DESCRIPTOR._options = None +_GETADGROUPAUDIENCEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_ADGROUPAUDIENCEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='AdGroupAudienceViewService', + full_name='google.ads.googleads.v4.services.AdGroupAudienceViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=409, + serialized_end=694, + methods=[ + _descriptor.MethodDescriptor( + name='GetAdGroupAudienceView', + full_name='google.ads.googleads.v4.services.AdGroupAudienceViewService.GetAdGroupAudienceView', + index=0, + containing_service=None, + input_type=_GETADGROUPAUDIENCEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2._ADGROUPAUDIENCEVIEW, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/adGroupAudienceViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ADGROUPAUDIENCEVIEWSERVICE) + +DESCRIPTOR.services_by_name['AdGroupAudienceViewService'] = _ADGROUPAUDIENCEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_audience_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/ad_group_audience_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2_grpc.py index 3320d48f6..d4d997c1d 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_audience_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_audience_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_audience_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_audience_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2 class AdGroupAudienceViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupAudienceView = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupAudienceViewService/GetAdGroupAudienceView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.FromString, + '/google.ads.googleads.v4.services.AdGroupAudienceViewService/GetAdGroupAudienceView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.FromString, ) @@ -42,10 +42,10 @@ def add_AdGroupAudienceViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupAudienceView': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupAudienceView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__audience__view__service__pb2.GetAdGroupAudienceViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.AdGroupAudienceView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupAudienceViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupAudienceViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2.py index e4f9bec92..44e6df2da 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_bid_modifier_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_bid_modifier_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_bid_modifier_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_bid_modifier_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036AdGroupBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/ad_group_bid_modifier_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/ad_group_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"5\n\x1cGetAdGroupBidModifierRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xba\x01\n MutateAdGroupBidModifiersRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12Q\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v1.services.AdGroupBidModifierOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xff\x01\n\x1b\x41\x64GroupBidModifierOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.AdGroupBidModifierH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.AdGroupBidModifierH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateAdGroupBidModifiersResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v1.services.MutateAdGroupBidModifierResult\"7\n\x1eMutateAdGroupBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd7\x03\n\x19\x41\x64GroupBidModifierService\x12\xcd\x01\n\x15GetAdGroupBidModifier\x12>.google.ads.googleads.v1.services.GetAdGroupBidModifierRequest\x1a\x35.google.ads.googleads.v1.resources.AdGroupBidModifier\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/adGroupBidModifiers/*}\x12\xe9\x01\n\x19MutateAdGroupBidModifiers\x12\x42.google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest\x1a\x43.google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/adGroupBidModifiers:mutate:\x01*B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1e\x41\x64GroupBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036AdGroupBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/ad_group_bid_modifier_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/ad_group_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"j\n\x1cGetAdGroupBidModifierRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/AdGroupBidModifier\"\xc4\x01\n MutateAdGroupBidModifiersRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12V\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v4.services.AdGroupBidModifierOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xff\x01\n\x1b\x41\x64GroupBidModifierOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.AdGroupBidModifierH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.AdGroupBidModifierH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateAdGroupBidModifiersResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v4.services.MutateAdGroupBidModifierResult\"7\n\x1eMutateAdGroupBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9d\x04\n\x19\x41\x64GroupBidModifierService\x12\xdd\x01\n\x15GetAdGroupBidModifier\x12>.google.ads.googleads.v4.services.GetAdGroupBidModifierRequest\x1a\x35.google.ads.googleads.v4.resources.AdGroupBidModifier\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/adGroupBidModifiers/*}\xda\x41\rresource_name\x12\x82\x02\n\x19MutateAdGroupBidModifiers\x12\x42.google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest\x1a\x43.google.ads.googleads.v4.services.MutateAdGroupBidModifiersResponse\"\\\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/adGroupBidModifiers:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1e\x41\x64GroupBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPBIDMODIFIERREQUEST = _descriptor.Descriptor( name='GetAdGroupBidModifierRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupBidModifierRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupBidModifierRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupBidModifierRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupBidModifierRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/AdGroupBidModifier'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=302, - serialized_end=355, + serialized_start=355, + serialized_end=461, ) _MUTATEADGROUPBIDMODIFIERSREQUEST = _descriptor.Descriptor( name='MutateAdGroupBidModifiersRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=358, - serialized_end=544, + serialized_start=464, + serialized_end=660, ) _ADGROUPBIDMODIFIEROPERATION = _descriptor.Descriptor( name='AdGroupBidModifierOperation', - full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation', + full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupBidModifierOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupBidModifierOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=547, - serialized_end=802, + serialized_start=663, + serialized_end=918, ) _MUTATEADGROUPBIDMODIFIERSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupBidModifiersResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifiersResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=805, - serialized_end=974, + serialized_start=921, + serialized_end=1090, ) _MUTATEADGROUPBIDMODIFIERRESULT = _descriptor.Descriptor( name='MutateAdGroupBidModifierResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifierResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifierResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupBidModifierResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupBidModifierResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=976, - serialized_end=1031, + serialized_start=1092, + serialized_end=1147, ) _MUTATEADGROUPBIDMODIFIERSREQUEST.fields_by_name['operations'].message_type = _ADGROUPBIDMODIFIEROPERATION _ADGROUPBIDMODIFIEROPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ADGROUPBIDMODIFIEROPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER -_ADGROUPBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER +_ADGROUPBIDMODIFIEROPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER +_ADGROUPBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER _ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPBIDMODIFIEROPERATION.fields_by_name['create']) _ADGROUPBIDMODIFIEROPERATION.fields_by_name['create'].containing_oneof = _ADGROUPBIDMODIFIEROPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetAdGroupBidModifierRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupBidModifierRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPBIDMODIFIERREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_bid_modifier_service_pb2' , __doc__ = """Request message for - [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v1.services.AdGroupBidModifierService.GetAdGroupBidModifier]. + [AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v4.services.AdGroupBidModifierService.GetAdGroupBidModifier]. Attributes: resource_name: - The resource name of the ad group bid modifier to fetch. + Required. The resource name of the ad group bid modifier to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupBidModifierRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupBidModifierRequest) )) _sym_db.RegisterMessage(GetAdGroupBidModifierRequest) MutateAdGroupBidModifiersRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifiersRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_bid_modifier_service_pb2' , __doc__ = """Request message for - [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v1.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. + [AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v4.services.AdGroupBidModifierService.MutateAdGroupBidModifiers]. Attributes: customer_id: - ID of the customer whose ad group bid modifiers are being - modified. + Required. ID of the customer whose ad group bid modifiers are + being modified. operations: - The list of operations to perform on individual ad group bid - modifiers. + Required. The list of operations to perform on individual ad + group bid modifiers. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupBidModifiersRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupBidModifiersRequest) )) _sym_db.RegisterMessage(MutateAdGroupBidModifiersRequest) AdGroupBidModifierOperation = _reflection.GeneratedProtocolMessageType('AdGroupBidModifierOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPBIDMODIFIEROPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_bid_modifier_service_pb2' , __doc__ = """A single operation (create, remove, update) on an ad group bid modifier. @@ -328,13 +331,13 @@ modifier is expected, in this format: ``customers/{customer_i d}/adGroupBidModifiers/{ad_group_id}~{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupBidModifierOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupBidModifierOperation) )) _sym_db.RegisterMessage(AdGroupBidModifierOperation) MutateAdGroupBidModifiersResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifiersResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_bid_modifier_service_pb2' , __doc__ = """Response message for ad group bid modifiers mutate. @@ -349,13 +352,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupBidModifiersResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupBidModifiersResponse) )) _sym_db.RegisterMessage(MutateAdGroupBidModifiersResponse) MutateAdGroupBidModifierResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupBidModifierResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPBIDMODIFIERRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_bid_modifier_service_pb2' , __doc__ = """The result for the criterion mutate. @@ -364,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupBidModifierResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupBidModifierResult) )) _sym_db.RegisterMessage(MutateAdGroupBidModifierResult) DESCRIPTOR._options = None +_GETADGROUPBIDMODIFIERREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPBIDMODIFIERSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPBIDMODIFIERSREQUEST.fields_by_name['operations']._options = None _ADGROUPBIDMODIFIERSERVICE = _descriptor.ServiceDescriptor( name='AdGroupBidModifierService', - full_name='google.ads.googleads.v1.services.AdGroupBidModifierService', + full_name='google.ads.googleads.v4.services.AdGroupBidModifierService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1034, - serialized_end=1505, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1150, + serialized_end=1691, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupBidModifier', - full_name='google.ads.googleads.v1.services.AdGroupBidModifierService.GetAdGroupBidModifier', + full_name='google.ads.googleads.v4.services.AdGroupBidModifierService.GetAdGroupBidModifier', index=0, containing_service=None, input_type=_GETADGROUPBIDMODIFIERREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/adGroupBidModifiers/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/adGroupBidModifiers/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupBidModifiers', - full_name='google.ads.googleads.v1.services.AdGroupBidModifierService.MutateAdGroupBidModifiers', + full_name='google.ads.googleads.v4.services.AdGroupBidModifierService.MutateAdGroupBidModifiers', index=1, containing_service=None, input_type=_MUTATEADGROUPBIDMODIFIERSREQUEST, output_type=_MUTATEADGROUPBIDMODIFIERSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/adGroupBidModifiers:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/adGroupBidModifiers:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPBIDMODIFIERSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2_grpc.py index 8b7662216..1fb28c7f0 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_bid_modifier_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_bid_modifier_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 class AdGroupBidModifierServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupBidModifier = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupBidModifierService/GetAdGroupBidModifier', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.AdGroupBidModifier.FromString, + '/google.ads.googleads.v4.services.AdGroupBidModifierService/GetAdGroupBidModifier', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.AdGroupBidModifier.FromString, ) self.MutateAdGroupBidModifiers = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupBidModifierService/MutateAdGroupBidModifiers', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.FromString, ) @@ -55,15 +55,15 @@ def add_AdGroupBidModifierServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupBidModifier': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupBidModifier, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.AdGroupBidModifier.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.GetAdGroupBidModifierRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.AdGroupBidModifier.SerializeToString, ), 'MutateAdGroupBidModifiers': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupBidModifiers, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.MutateAdGroupBidModifiersResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupBidModifierService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupBidModifierService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2.py index a6d6074ec..05ee9bc13 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_criterion_label_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_criterion_label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_criterion_label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_criterion_label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB!AdGroupCriterionLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nMgoogle/ads/googleads_v1/proto/services/ad_group_criterion_label_service.proto\x12 google.ads.googleads.v1.services\x1a\x46google/ads/googleads_v1/proto/resources/ad_group_criterion_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"8\n\x1fGetAdGroupCriterionLabelRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xc0\x01\n#MutateAdGroupCriterionLabelsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12T\n\noperations\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v1.services.AdGroupCriterionLabelOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8b\x01\n\x1e\x41\x64GroupCriterionLabelOperation\x12J\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x38.google.ads.googleads.v1.resources.AdGroupCriterionLabelH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xaf\x01\n$MutateAdGroupCriterionLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12T\n\x07results\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult\":\n!MutateAdGroupCriterionLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf2\x03\n\x1c\x41\x64GroupCriterionLabelService\x12\xd9\x01\n\x18GetAdGroupCriterionLabel\x12\x41.google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest\x1a\x38.google.ads.googleads.v1.resources.AdGroupCriterionLabel\"@\x82\xd3\xe4\x93\x02:\x12\x38/v1/{resource_name=customers/*/adGroupCriterionLabels/*}\x12\xf5\x01\n\x1cMutateAdGroupCriterionLabels\x12\x45.google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest\x1a\x46.google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse\"F\x82\xd3\xe4\x93\x02@\";/v1/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\x01*B\x88\x02\n$com.google.ads.googleads.v1.servicesB!AdGroupCriterionLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB!AdGroupCriterionLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nMgoogle/ads/googleads_v4/proto/services/ad_group_criterion_label_service.proto\x12 google.ads.googleads.v4.services\x1a\x46google/ads/googleads_v4/proto/resources/ad_group_criterion_label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"p\n\x1fGetAdGroupCriterionLabelRequest\x12M\n\rresource_name\x18\x01 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.googleads.googleapis.com/AdGroupCriterionLabel\"\xca\x01\n#MutateAdGroupCriterionLabelsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Y\n\noperations\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v4.services.AdGroupCriterionLabelOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8b\x01\n\x1e\x41\x64GroupCriterionLabelOperation\x12J\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x38.google.ads.googleads.v4.resources.AdGroupCriterionLabelH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xaf\x01\n$MutateAdGroupCriterionLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12T\n\x07results\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v4.services.MutateAdGroupCriterionLabelResult\":\n!MutateAdGroupCriterionLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb8\x04\n\x1c\x41\x64GroupCriterionLabelService\x12\xe9\x01\n\x18GetAdGroupCriterionLabel\x12\x41.google.ads.googleads.v4.services.GetAdGroupCriterionLabelRequest\x1a\x38.google.ads.googleads.v4.resources.AdGroupCriterionLabel\"P\x82\xd3\xe4\x93\x02:\x12\x38/v4/{resource_name=customers/*/adGroupCriterionLabels/*}\xda\x41\rresource_name\x12\x8e\x02\n\x1cMutateAdGroupCriterionLabels\x12\x45.google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest\x1a\x46.google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsResponse\"_\x82\xd3\xe4\x93\x02@\";/v4/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x88\x02\n$com.google.ads.googleads.v4.servicesB!AdGroupCriterionLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPCRITERIONLABELREQUEST = _descriptor.Descriptor( name='GetAdGroupCriterionLabelRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupCriterionLabelRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupCriterionLabelRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A0\n.googleads.googleapis.com/AdGroupCriterionLabel'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=274, - serialized_end=330, + serialized_start=327, + serialized_end=439, ) _MUTATEADGROUPCRITERIONLABELSREQUEST = _descriptor.Descriptor( name='MutateAdGroupCriterionLabelsRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=333, - serialized_end=525, + serialized_start=442, + serialized_end=644, ) _ADGROUPCRITERIONLABELOPERATION = _descriptor.Descriptor( name='AdGroupCriterionLabelOperation', - full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelOperation', + full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=528, - serialized_end=667, + serialized_start=647, + serialized_end=786, ) _MUTATEADGROUPCRITERIONLABELSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupCriterionLabelsResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=670, - serialized_end=845, + serialized_start=789, + serialized_end=964, ) _MUTATEADGROUPCRITERIONLABELRESULT = _descriptor.Descriptor( name='MutateAdGroupCriterionLabelResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionLabelResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=847, - serialized_end=905, + serialized_start=966, + serialized_end=1024, ) _MUTATEADGROUPCRITERIONLABELSREQUEST.fields_by_name['operations'].message_type = _ADGROUPCRITERIONLABELOPERATION -_ADGROUPCRITERIONLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL +_ADGROUPCRITERIONLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL _ADGROUPCRITERIONLABELOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPCRITERIONLABELOPERATION.fields_by_name['create']) _ADGROUPCRITERIONLABELOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPCRITERIONLABELOPERATION.oneofs_by_name['operation'] @@ -242,35 +244,36 @@ GetAdGroupCriterionLabelRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionLabelRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPCRITERIONLABELREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_label_service_pb2' , __doc__ = """Request message for - [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. + [AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v4.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel]. Attributes: resource_name: - The resource name of the ad group criterion label to fetch. + Required. The resource name of the ad group criterion label to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupCriterionLabelRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupCriterionLabelRequest) )) _sym_db.RegisterMessage(GetAdGroupCriterionLabelRequest) MutateAdGroupCriterionLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_label_service_pb2' , __doc__ = """Request message for - [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. + [AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v4.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels]. Attributes: customer_id: - ID of the customer whose ad group criterion labels are being - modified. + Required. ID of the customer whose ad group criterion labels + are being modified. operations: - The list of operations to perform on ad group criterion - labels. + Required. The list of operations to perform on ad group + criterion labels. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -280,13 +283,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsRequest) )) _sym_db.RegisterMessage(MutateAdGroupCriterionLabelsRequest) AdGroupCriterionLabelOperation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionLabelOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPCRITERIONLABELOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_label_service_pb2' , __doc__ = """A single operation (create, remove) on an ad group criterion label. @@ -303,13 +306,13 @@ }/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_i d}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupCriterionLabelOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupCriterionLabelOperation) )) _sym_db.RegisterMessage(AdGroupCriterionLabelOperation) MutateAdGroupCriterionLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_label_service_pb2' , __doc__ = """Response message for an ad group criterion labels mutate. @@ -324,13 +327,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriterionLabelsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriterionLabelsResponse) )) _sym_db.RegisterMessage(MutateAdGroupCriterionLabelsResponse) MutateAdGroupCriterionLabelResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionLabelResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIONLABELRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_label_service_pb2' , __doc__ = """The result for an ad group criterion label mutate. @@ -339,39 +342,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriterionLabelResult) )) _sym_db.RegisterMessage(MutateAdGroupCriterionLabelResult) DESCRIPTOR._options = None +_GETADGROUPCRITERIONLABELREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPCRITERIONLABELSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPCRITERIONLABELSREQUEST.fields_by_name['operations']._options = None _ADGROUPCRITERIONLABELSERVICE = _descriptor.ServiceDescriptor( name='AdGroupCriterionLabelService', - full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelService', + full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=908, - serialized_end=1406, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1027, + serialized_end=1595, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupCriterionLabel', - full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel', + full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel', index=0, containing_service=None, input_type=_GETADGROUPCRITERIONLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL, - serialized_options=_b('\202\323\344\223\002:\0228/v1/{resource_name=customers/*/adGroupCriterionLabels/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL, + serialized_options=_b('\202\323\344\223\002:\0228/v4/{resource_name=customers/*/adGroupCriterionLabels/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupCriterionLabels', - full_name='google.ads.googleads.v1.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels', + full_name='google.ads.googleads.v4.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels', index=1, containing_service=None, input_type=_MUTATEADGROUPCRITERIONLABELSREQUEST, output_type=_MUTATEADGROUPCRITERIONLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\002@\";/v1/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002@\";/v4/customers/{customer_id=*}/adGroupCriterionLabels:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONLABELSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2_grpc.py index cb24348a7..ec3446620 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_label_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_label_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 class AdGroupCriterionLabelServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupCriterionLabel = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.AdGroupCriterionLabel.FromString, + '/google.ads.googleads.v4.services.AdGroupCriterionLabelService/GetAdGroupCriterionLabel', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.AdGroupCriterionLabel.FromString, ) self.MutateAdGroupCriterionLabels = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupCriterionLabelService/MutateAdGroupCriterionLabels', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_AdGroupCriterionLabelServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupCriterionLabel': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupCriterionLabel, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.AdGroupCriterionLabel.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.GetAdGroupCriterionLabelRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.AdGroupCriterionLabel.SerializeToString, ), 'MutateAdGroupCriterionLabels': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupCriterionLabels, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.MutateAdGroupCriterionLabelsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupCriterionLabelService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupCriterionLabelService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2.py index 431727e8f..6f6250e95 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_criterion_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_criterion_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,40 +13,42 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2 +from google.ads.google_ads.v4.proto.common import policy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_criterion_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_criterion_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\034AdGroupCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/services/ad_group_criterion_service.proto\x12 google.ads.googleads.v1.services\x1a\x31google/ads/googleads_v1/proto/common/policy.proto\x1a@google/ads/googleads_v1/proto/resources/ad_group_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"3\n\x1aGetAdGroupCriterionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb4\x01\n\x1cMutateAdGroupCriteriaRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12O\n\noperations\x18\x02 \x03(\x0b\x32;.google.ads.googleads.v1.services.AdGroupCriterionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd3\x02\n\x19\x41\x64GroupCriterionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12X\n\x1c\x65xempt_policy_violation_keys\x18\x05 \x03(\x0b\x32\x32.google.ads.googleads.v1.common.PolicyViolationKey\x12\x45\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.AdGroupCriterionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.AdGroupCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa3\x01\n\x1dMutateAdGroupCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12O\n\x07results\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.services.MutateAdGroupCriterionResult\"5\n\x1cMutateAdGroupCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xbb\x03\n\x17\x41\x64GroupCriterionService\x12\xc3\x01\n\x13GetAdGroupCriterion\x12<.google.ads.googleads.v1.services.GetAdGroupCriterionRequest\x1a\x33.google.ads.googleads.v1.resources.AdGroupCriterion\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/adGroupCriteria/*}\x12\xd9\x01\n\x15MutateAdGroupCriteria\x12>.google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest\x1a?.google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}/adGroupCriteria:mutate:\x01*B\x83\x02\n$com.google.ads.googleads.v1.servicesB\x1c\x41\x64GroupCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034AdGroupCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/services/ad_group_criterion_service.proto\x12 google.ads.googleads.v4.services\x1a\x31google/ads/googleads_v4/proto/common/policy.proto\x1a@google/ads/googleads_v4/proto/resources/ad_group_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"f\n\x1aGetAdGroupCriterionRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/AdGroupCriterion\"\xbe\x01\n\x1cMutateAdGroupCriteriaRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12T\n\noperations\x18\x02 \x03(\x0b\x32;.google.ads.googleads.v4.services.AdGroupCriterionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd3\x02\n\x19\x41\x64GroupCriterionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12X\n\x1c\x65xempt_policy_violation_keys\x18\x05 \x03(\x0b\x32\x32.google.ads.googleads.v4.common.PolicyViolationKey\x12\x45\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.AdGroupCriterionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.AdGroupCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa3\x01\n\x1dMutateAdGroupCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12O\n\x07results\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.services.MutateAdGroupCriterionResult\"5\n\x1cMutateAdGroupCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x81\x04\n\x17\x41\x64GroupCriterionService\x12\xd3\x01\n\x13GetAdGroupCriterion\x12<.google.ads.googleads.v4.services.GetAdGroupCriterionRequest\x1a\x33.google.ads.googleads.v4.resources.AdGroupCriterion\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/adGroupCriteria/*}\xda\x41\rresource_name\x12\xf2\x01\n\x15MutateAdGroupCriteria\x12>.google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest\x1a?.google.ads.googleads.v4.services.MutateAdGroupCriteriaResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/adGroupCriteria:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1c\x41\x64GroupCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPCRITERIONREQUEST = _descriptor.Descriptor( name='GetAdGroupCriterionRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupCriterionRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupCriterionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupCriterionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupCriterionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/AdGroupCriterion'), file=DESCRIPTOR), ], extensions=[ ], @@ -59,41 +61,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=347, - serialized_end=398, + serialized_start=400, + serialized_end=502, ) _MUTATEADGROUPCRITERIAREQUEST = _descriptor.Descriptor( name='MutateAdGroupCriteriaRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -111,48 +113,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=401, - serialized_end=581, + serialized_start=505, + serialized_end=695, ) _ADGROUPCRITERIONOPERATION = _descriptor.Descriptor( name='AdGroupCriterionOperation', - full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation', + full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='exempt_policy_violation_keys', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.exempt_policy_violation_keys', index=1, + name='exempt_policy_violation_keys', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.exempt_policy_violation_keys', index=1, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.create', index=2, + name='create', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.create', index=2, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.update', index=3, + name='update', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.update', index=3, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.remove', index=4, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.remove', index=4, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -170,30 +172,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupCriterionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupCriterionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=584, - serialized_end=923, + serialized_start=698, + serialized_end=1037, ) _MUTATEADGROUPCRITERIARESPONSE = _descriptor.Descriptor( name='MutateAdGroupCriteriaResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupCriteriaResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -211,20 +213,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=926, - serialized_end=1089, + serialized_start=1040, + serialized_end=1203, ) _MUTATEADGROUPCRITERIONRESULT = _descriptor.Descriptor( name='MutateAdGroupCriterionResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupCriterionResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupCriterionResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -242,15 +244,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1091, - serialized_end=1144, + serialized_start=1205, + serialized_end=1258, ) _MUTATEADGROUPCRITERIAREQUEST.fields_by_name['operations'].message_type = _ADGROUPCRITERIONOPERATION _ADGROUPCRITERIONOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ADGROUPCRITERIONOPERATION.fields_by_name['exempt_policy_violation_keys'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY -_ADGROUPCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION -_ADGROUPCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION +_ADGROUPCRITERIONOPERATION.fields_by_name['exempt_policy_violation_keys'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_policy__pb2._POLICYVIOLATIONKEY +_ADGROUPCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION +_ADGROUPCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION _ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPCRITERIONOPERATION.fields_by_name['create']) _ADGROUPCRITERIONOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPCRITERIONOPERATION.oneofs_by_name['operation'] @@ -271,33 +273,35 @@ GetAdGroupCriterionRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_service_pb2' , __doc__ = """Request message for - [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v1.services.AdGroupCriterionService.GetAdGroupCriterion]. + [AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v4.services.AdGroupCriterionService.GetAdGroupCriterion]. Attributes: resource_name: - The resource name of the criterion to fetch. + Required. The resource name of the criterion to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupCriterionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupCriterionRequest) )) _sym_db.RegisterMessage(GetAdGroupCriterionRequest) MutateAdGroupCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriteriaRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_service_pb2' , __doc__ = """Request message for - [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v1.services.AdGroupCriterionService.MutateAdGroupCriteria]. + [AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v4.services.AdGroupCriterionService.MutateAdGroupCriteria]. Attributes: customer_id: - ID of the customer whose criteria are being modified. + Required. ID of the customer whose criteria are being + modified. operations: - The list of operations to perform on individual criteria. + Required. The list of operations to perform on individual + criteria. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -307,13 +311,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriteriaRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriteriaRequest) )) _sym_db.RegisterMessage(MutateAdGroupCriteriaRequest) AdGroupCriterionOperation = _reflection.GeneratedProtocolMessageType('AdGroupCriterionOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_service_pb2' , __doc__ = """A single operation (create, remove, update) on an ad group criterion. @@ -344,13 +348,13 @@ expected, in this format: ``customers/{customer_id}/adGroupCr iteria/{ad_group_id}~{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupCriterionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupCriterionOperation) )) _sym_db.RegisterMessage(AdGroupCriterionOperation) MutateAdGroupCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriteriaResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_service_pb2' , __doc__ = """Response message for an ad group criterion mutate. @@ -365,13 +369,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriteriaResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriteriaResponse) )) _sym_db.RegisterMessage(MutateAdGroupCriteriaResponse) MutateAdGroupCriterionResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupCriterionResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPCRITERIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_service_pb2' , __doc__ = """The result for the criterion mutate. @@ -380,39 +384,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupCriterionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupCriterionResult) )) _sym_db.RegisterMessage(MutateAdGroupCriterionResult) DESCRIPTOR._options = None +_GETADGROUPCRITERIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPCRITERIAREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPCRITERIAREQUEST.fields_by_name['operations']._options = None _ADGROUPCRITERIONSERVICE = _descriptor.ServiceDescriptor( name='AdGroupCriterionService', - full_name='google.ads.googleads.v1.services.AdGroupCriterionService', + full_name='google.ads.googleads.v4.services.AdGroupCriterionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1147, - serialized_end=1590, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1261, + serialized_end=1774, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupCriterion', - full_name='google.ads.googleads.v1.services.AdGroupCriterionService.GetAdGroupCriterion', + full_name='google.ads.googleads.v4.services.AdGroupCriterionService.GetAdGroupCriterion', index=0, containing_service=None, input_type=_GETADGROUPCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/adGroupCriteria/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/adGroupCriteria/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupCriteria', - full_name='google.ads.googleads.v1.services.AdGroupCriterionService.MutateAdGroupCriteria', + full_name='google.ads.googleads.v4.services.AdGroupCriterionService.MutateAdGroupCriteria', index=1, containing_service=None, input_type=_MUTATEADGROUPCRITERIAREQUEST, output_type=_MUTATEADGROUPCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}/adGroupCriteria:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/adGroupCriteria:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2_grpc.py index ab9b4e313..169fa0b45 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 class AdGroupCriterionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupCriterion = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupCriterionService/GetAdGroupCriterion', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2.AdGroupCriterion.FromString, + '/google.ads.googleads.v4.services.AdGroupCriterionService/GetAdGroupCriterion', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2.AdGroupCriterion.FromString, ) self.MutateAdGroupCriteria = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupCriterionService/MutateAdGroupCriteria', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupCriterionService/MutateAdGroupCriteria', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.FromString, ) @@ -54,15 +54,15 @@ def add_AdGroupCriterionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupCriterion': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupCriterion, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2.AdGroupCriterion.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.GetAdGroupCriterionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2.AdGroupCriterion.SerializeToString, ), 'MutateAdGroupCriteria': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupCriteria, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.MutateAdGroupCriteriaResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupCriterionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupCriterionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2.py new file mode 100644 index 000000000..54077ba2a --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/ad_group_criterion_simulation_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/ad_group_criterion_simulation_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB&AdGroupCriterionSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nRgoogle/ads/googleads_v4/proto/services/ad_group_criterion_simulation_service.proto\x12 google.ads.googleads.v4.services\x1aKgoogle/ads/googleads_v4/proto/resources/ad_group_criterion_simulation.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"z\n$GetAdGroupCriterionSimulationRequest\x12R\n\rresource_name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3googleads.googleapis.com/AdGroupCriterionSimulation2\xc0\x02\n!AdGroupCriterionSimulationService\x12\xfd\x01\n\x1dGetAdGroupCriterionSimulation\x12\x46.google.ads.googleads.v4.services.GetAdGroupCriterionSimulationRequest\x1a=.google.ads.googleads.v4.resources.AdGroupCriterionSimulation\"U\x82\xd3\xe4\x93\x02?\x12=/v4/{resource_name=customers/*/adGroupCriterionSimulations/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v4.servicesB&AdGroupCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETADGROUPCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( + name='GetAdGroupCriterionSimulationRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupCriterionSimulationRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupCriterionSimulationRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A5\n3googleads.googleapis.com/AdGroupCriterionSimulation'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=312, + serialized_end=434, +) + +DESCRIPTOR.message_types_by_name['GetAdGroupCriterionSimulationRequest'] = _GETADGROUPCRITERIONSIMULATIONREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetAdGroupCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupCriterionSimulationRequest', (_message.Message,), dict( + DESCRIPTOR = _GETADGROUPCRITERIONSIMULATIONREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_criterion_simulation_service_pb2' + , + __doc__ = """Request message for + [AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v4.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation]. + + + Attributes: + resource_name: + Required. The resource name of the ad group criterion + simulation to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupCriterionSimulationRequest) + )) +_sym_db.RegisterMessage(GetAdGroupCriterionSimulationRequest) + + +DESCRIPTOR._options = None +_GETADGROUPCRITERIONSIMULATIONREQUEST.fields_by_name['resource_name']._options = None + +_ADGROUPCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( + name='AdGroupCriterionSimulationService', + full_name='google.ads.googleads.v4.services.AdGroupCriterionSimulationService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=437, + serialized_end=757, + methods=[ + _descriptor.MethodDescriptor( + name='GetAdGroupCriterionSimulation', + full_name='google.ads.googleads.v4.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation', + index=0, + containing_service=None, + input_type=_GETADGROUPCRITERIONSIMULATIONREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2._ADGROUPCRITERIONSIMULATION, + serialized_options=_b('\202\323\344\223\002?\022=/v4/{resource_name=customers/*/adGroupCriterionSimulations/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ADGROUPCRITERIONSIMULATIONSERVICE) + +DESCRIPTOR.services_by_name['AdGroupCriterionSimulationService'] = _ADGROUPCRITERIONSIMULATIONSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py index 67883a90a..e66ed299e 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_criterion_simulation_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2 class AdGroupCriterionSimulationServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupCriterionSimulation = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.FromString, + '/google.ads.googleads.v4.services.AdGroupCriterionSimulationService/GetAdGroupCriterionSimulation', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.FromString, ) @@ -42,10 +42,10 @@ def add_AdGroupCriterionSimulationServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupCriterionSimulation': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupCriterionSimulation, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__simulation__service__pb2.GetAdGroupCriterionSimulationRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.AdGroupCriterionSimulation.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupCriterionSimulationService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupCriterionSimulationService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2.py similarity index 66% rename from google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2.py index 0f253726d..33d1e8ec9 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_extension_setting_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_extension_setting_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_extension_setting_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_extension_setting_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB#AdGroupExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/services/ad_group_extension_setting_service.proto\x12 google.ads.googleads.v1.services\x1aHgoogle/ads/googleads_v1/proto/resources/ad_group_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\":\n!GetAdGroupExtensionSettingRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xc4\x01\n%MutateAdGroupExtensionSettingsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12V\n\noperations\x18\x02 \x03(\x0b\x32\x42.google.ads.googleads.v1.services.AdGroupExtensionSettingOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8e\x02\n AdGroupExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12L\n\x06\x63reate\x18\x01 \x01(\x0b\x32:.google.ads.googleads.v1.resources.AdGroupExtensionSettingH\x00\x12L\n\x06update\x18\x02 \x01(\x0b\x32:.google.ads.googleads.v1.resources.AdGroupExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb3\x01\n&MutateAdGroupExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12V\n\x07results\x18\x02 \x03(\x0b\x32\x45.google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult\"<\n#MutateAdGroupExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x84\x04\n\x1e\x41\x64GroupExtensionSettingService\x12\xe1\x01\n\x1aGetAdGroupExtensionSetting\x12\x43.google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest\x1a:.google.ads.googleads.v1.resources.AdGroupExtensionSetting\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{resource_name=customers/*/adGroupExtensionSettings/*}\x12\xfd\x01\n\x1eMutateAdGroupExtensionSettings\x12G.google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest\x1aH.google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\x01*B\x8a\x02\n$com.google.ads.googleads.v1.servicesB#AdGroupExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB#AdGroupExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/services/ad_group_extension_setting_service.proto\x12 google.ads.googleads.v4.services\x1aHgoogle/ads/googleads_v4/proto/resources/ad_group_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"t\n!GetAdGroupExtensionSettingRequest\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0googleads.googleapis.com/AdGroupExtensionSetting\"\xce\x01\n%MutateAdGroupExtensionSettingsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12[\n\noperations\x18\x02 \x03(\x0b\x32\x42.google.ads.googleads.v4.services.AdGroupExtensionSettingOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x8e\x02\n AdGroupExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12L\n\x06\x63reate\x18\x01 \x01(\x0b\x32:.google.ads.googleads.v4.resources.AdGroupExtensionSettingH\x00\x12L\n\x06update\x18\x02 \x01(\x0b\x32:.google.ads.googleads.v4.resources.AdGroupExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb3\x01\n&MutateAdGroupExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12V\n\x07results\x18\x02 \x03(\x0b\x32\x45.google.ads.googleads.v4.services.MutateAdGroupExtensionSettingResult\"<\n#MutateAdGroupExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xca\x04\n\x1e\x41\x64GroupExtensionSettingService\x12\xf1\x01\n\x1aGetAdGroupExtensionSetting\x12\x43.google.ads.googleads.v4.services.GetAdGroupExtensionSettingRequest\x1a:.google.ads.googleads.v4.resources.AdGroupExtensionSetting\"R\x82\xd3\xe4\x93\x02<\x12:/v4/{resource_name=customers/*/adGroupExtensionSettings/*}\xda\x41\rresource_name\x12\x96\x02\n\x1eMutateAdGroupExtensionSettings\x12G.google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest\x1aH.google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsResponse\"a\x82\xd3\xe4\x93\x02\x42\"=/v4/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v4.servicesB#AdGroupExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPEXTENSIONSETTINGREQUEST = _descriptor.Descriptor( name='GetAdGroupExtensionSettingRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupExtensionSettingRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupExtensionSettingRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A2\n0googleads.googleapis.com/AdGroupExtensionSetting'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=312, - serialized_end=370, + serialized_start=365, + serialized_end=481, ) _MUTATEADGROUPEXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( name='MutateAdGroupExtensionSettingsRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=373, - serialized_end=569, + serialized_start=484, + serialized_end=690, ) _ADGROUPEXTENSIONSETTINGOPERATION = _descriptor.Descriptor( name='AdGroupExtensionSettingOperation', - full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation', + full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=572, - serialized_end=842, + serialized_start=693, + serialized_end=963, ) _MUTATEADGROUPEXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupExtensionSettingsResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=845, - serialized_end=1024, + serialized_start=966, + serialized_end=1145, ) _MUTATEADGROUPEXTENSIONSETTINGRESULT = _descriptor.Descriptor( name='MutateAdGroupExtensionSettingResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupExtensionSettingResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1026, - serialized_end=1086, + serialized_start=1147, + serialized_end=1207, ) _MUTATEADGROUPEXTENSIONSETTINGSREQUEST.fields_by_name['operations'].message_type = _ADGROUPEXTENSIONSETTINGOPERATION _ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING -_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING +_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING +_ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING _ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['create']) _ADGROUPEXTENSIONSETTINGOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetAdGroupExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupExtensionSettingRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPEXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_extension_setting_service_pb2' , __doc__ = """Request message for - [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v1.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. + [AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v4.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting]. Attributes: resource_name: - The resource name of the ad group extension setting to fetch. + Required. The resource name of the ad group extension setting + to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupExtensionSettingRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupExtensionSettingRequest) )) _sym_db.RegisterMessage(GetAdGroupExtensionSettingRequest) MutateAdGroupExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_extension_setting_service_pb2' , __doc__ = """Request message for - [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v1.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. + [AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v4.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings]. Attributes: customer_id: - The ID of the customer whose ad group extension settings are - being modified. + Required. The ID of the customer whose ad group extension + settings are being modified. operations: - The list of operations to perform on individual ad group - extension settings. + Required. The list of operations to perform on individual ad + group extension settings. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsRequest) )) _sym_db.RegisterMessage(MutateAdGroupExtensionSettingsRequest) AdGroupExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('AdGroupExtensionSettingOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPEXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_extension_setting_service_pb2' , __doc__ = """A single operation (create, update, remove) on an ad group extension setting. @@ -330,13 +333,13 @@ ustomer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_ type}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupExtensionSettingOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupExtensionSettingOperation) )) _sym_db.RegisterMessage(AdGroupExtensionSettingOperation) MutateAdGroupExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_extension_setting_service_pb2' , __doc__ = """Response message for an ad group extension setting mutate. @@ -351,13 +354,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupExtensionSettingsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupExtensionSettingsResponse) )) _sym_db.RegisterMessage(MutateAdGroupExtensionSettingsResponse) MutateAdGroupExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupExtensionSettingResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPEXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_extension_setting_service_pb2' , __doc__ = """The result for the ad group extension setting mutate. @@ -366,39 +369,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupExtensionSettingResult) )) _sym_db.RegisterMessage(MutateAdGroupExtensionSettingResult) DESCRIPTOR._options = None +_GETADGROUPEXTENSIONSETTINGREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPEXTENSIONSETTINGSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPEXTENSIONSETTINGSREQUEST.fields_by_name['operations']._options = None _ADGROUPEXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( name='AdGroupExtensionSettingService', - full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingService', + full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1089, - serialized_end=1605, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1210, + serialized_end=1796, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupExtensionSetting', - full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting', + full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting', index=0, containing_service=None, input_type=_GETADGROUPEXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002<\022:/v1/{resource_name=customers/*/adGroupExtensionSettings/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING, + serialized_options=_b('\202\323\344\223\002<\022:/v4/{resource_name=customers/*/adGroupExtensionSettings/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupExtensionSettings', - full_name='google.ads.googleads.v1.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings', + full_name='google.ads.googleads.v4.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings', index=1, containing_service=None, input_type=_MUTATEADGROUPEXTENSIONSETTINGSREQUEST, output_type=_MUTATEADGROUPEXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002B\"=/v1/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002B\"=/v4/customers/{customer_id=*}/adGroupExtensionSettings:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPEXTENSIONSETTINGSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2_grpc.py index 949e38288..f6b340e70 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_extension_setting_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_extension_setting_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 class AdGroupExtensionSettingServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.AdGroupExtensionSetting.FromString, + '/google.ads.googleads.v4.services.AdGroupExtensionSettingService/GetAdGroupExtensionSetting', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.AdGroupExtensionSetting.FromString, ) self.MutateAdGroupExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupExtensionSettingService/MutateAdGroupExtensionSettings', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_AdGroupExtensionSettingServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupExtensionSetting': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupExtensionSetting, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.AdGroupExtensionSetting.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.GetAdGroupExtensionSettingRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.AdGroupExtensionSetting.SerializeToString, ), 'MutateAdGroupExtensionSettings': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupExtensionSettings, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.MutateAdGroupExtensionSettingsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupExtensionSettingService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupExtensionSettingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2.py index 0b139300a..e6de8e83a 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_feed_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_feed_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_feed_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_feed_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\027AdGroupFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/ad_group_feed_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/ad_group_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\".\n\x15GetAdGroupFeedRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xac\x01\n\x19MutateAdGroupFeedsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12J\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.AdGroupFeedOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x14\x41\x64GroupFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v1.resources.AdGroupFeedH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v1.resources.AdGroupFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9b\x01\n\x1aMutateAdGroupFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12J\n\x07results\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.MutateAdGroupFeedResult\"0\n\x17MutateAdGroupFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x98\x03\n\x12\x41\x64GroupFeedService\x12\xb1\x01\n\x0eGetAdGroupFeed\x12\x37.google.ads.googleads.v1.services.GetAdGroupFeedRequest\x1a..google.ads.googleads.v1.resources.AdGroupFeed\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{resource_name=customers/*/adGroupFeeds/*}\x12\xcd\x01\n\x12MutateAdGroupFeeds\x12;.google.ads.googleads.v1.services.MutateAdGroupFeedsRequest\x1a<.google.ads.googleads.v1.services.MutateAdGroupFeedsResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1/customers/{customer_id=*}/adGroupFeeds:mutate:\x01*B\xfe\x01\n$com.google.ads.googleads.v1.servicesB\x17\x41\x64GroupFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\027AdGroupFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/ad_group_feed_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/ad_group_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"\\\n\x15GetAdGroupFeedRequest\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$googleads.googleapis.com/AdGroupFeed\"\xb6\x01\n\x19MutateAdGroupFeedsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.AdGroupFeedOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x14\x41\x64GroupFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v4.resources.AdGroupFeedH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v4.resources.AdGroupFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9b\x01\n\x1aMutateAdGroupFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12J\n\x07results\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.MutateAdGroupFeedResult\"0\n\x17MutateAdGroupFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xde\x03\n\x12\x41\x64GroupFeedService\x12\xc1\x01\n\x0eGetAdGroupFeed\x12\x37.google.ads.googleads.v4.services.GetAdGroupFeedRequest\x1a..google.ads.googleads.v4.resources.AdGroupFeed\"F\x82\xd3\xe4\x93\x02\x30\x12./v4/{resource_name=customers/*/adGroupFeeds/*}\xda\x41\rresource_name\x12\xe6\x01\n\x12MutateAdGroupFeeds\x12;.google.ads.googleads.v4.services.MutateAdGroupFeedsRequest\x1a<.google.ads.googleads.v4.services.MutateAdGroupFeedsResponse\"U\x82\xd3\xe4\x93\x02\x36\"1/v4/customers/{customer_id=*}/adGroupFeeds:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v4.servicesB\x17\x41\x64GroupFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETADGROUPFEEDREQUEST = _descriptor.Descriptor( name='GetAdGroupFeedRequest', - full_name='google.ads.googleads.v1.services.GetAdGroupFeedRequest', + full_name='google.ads.googleads.v4.services.GetAdGroupFeedRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetAdGroupFeedRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdGroupFeedRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A&\n$googleads.googleapis.com/AdGroupFeed'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=286, - serialized_end=332, + serialized_start=339, + serialized_end=431, ) _MUTATEADGROUPFEEDSREQUEST = _descriptor.Descriptor( name='MutateAdGroupFeedsRequest', - full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsRequest', + full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=335, - serialized_end=507, + serialized_start=434, + serialized_end=616, ) _ADGROUPFEEDOPERATION = _descriptor.Descriptor( name='AdGroupFeedOperation', - full_name='google.ads.googleads.v1.services.AdGroupFeedOperation', + full_name='google.ads.googleads.v4.services.AdGroupFeedOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.AdGroupFeedOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.AdGroupFeedOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.AdGroupFeedOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.AdGroupFeedOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.AdGroupFeedOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.AdGroupFeedOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.AdGroupFeedOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.AdGroupFeedOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.AdGroupFeedOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.AdGroupFeedOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=510, - serialized_end=744, + serialized_start=619, + serialized_end=853, ) _MUTATEADGROUPFEEDSRESPONSE = _descriptor.Descriptor( name='MutateAdGroupFeedsResponse', - full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsResponse', + full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=747, - serialized_end=902, + serialized_start=856, + serialized_end=1011, ) _MUTATEADGROUPFEEDRESULT = _descriptor.Descriptor( name='MutateAdGroupFeedResult', - full_name='google.ads.googleads.v1.services.MutateAdGroupFeedResult', + full_name='google.ads.googleads.v4.services.MutateAdGroupFeedResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateAdGroupFeedResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdGroupFeedResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=904, - serialized_end=952, + serialized_start=1013, + serialized_end=1061, ) _MUTATEADGROUPFEEDSREQUEST.fields_by_name['operations'].message_type = _ADGROUPFEEDOPERATION _ADGROUPFEEDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_ADGROUPFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED -_ADGROUPFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED +_ADGROUPFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED +_ADGROUPFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED _ADGROUPFEEDOPERATION.oneofs_by_name['operation'].fields.append( _ADGROUPFEEDOPERATION.fields_by_name['create']) _ADGROUPFEEDOPERATION.fields_by_name['create'].containing_oneof = _ADGROUPFEEDOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetAdGroupFeedRequest = _reflection.GeneratedProtocolMessageType('GetAdGroupFeedRequest', (_message.Message,), dict( DESCRIPTOR = _GETADGROUPFEEDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_feed_service_pb2' , __doc__ = """Request message for - [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v1.services.AdGroupFeedService.GetAdGroupFeed]. + [AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v4.services.AdGroupFeedService.GetAdGroupFeed]. Attributes: resource_name: - The resource name of the ad group feed to fetch. + Required. The resource name of the ad group feed to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetAdGroupFeedRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdGroupFeedRequest) )) _sym_db.RegisterMessage(GetAdGroupFeedRequest) MutateAdGroupFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPFEEDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_feed_service_pb2' , __doc__ = """Request message for - [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v1.services.AdGroupFeedService.MutateAdGroupFeeds]. + [AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v4.services.AdGroupFeedService.MutateAdGroupFeeds]. Attributes: customer_id: - The ID of the customer whose ad group feeds are being - modified. + Required. The ID of the customer whose ad group feeds are + being modified. operations: - The list of operations to perform on individual ad group - feeds. + Required. The list of operations to perform on individual ad + group feeds. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupFeedsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupFeedsRequest) )) _sym_db.RegisterMessage(MutateAdGroupFeedsRequest) AdGroupFeedOperation = _reflection.GeneratedProtocolMessageType('AdGroupFeedOperation', (_message.Message,), dict( DESCRIPTOR = _ADGROUPFEEDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_feed_service_pb2' , __doc__ = """A single operation (create, update, remove) on an ad group feed. @@ -328,13 +330,13 @@ feed is expected, in this format: ``customers/{customer_id}/a dGroupFeeds/{ad_group_id}~{feed_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.AdGroupFeedOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdGroupFeedOperation) )) _sym_db.RegisterMessage(AdGroupFeedOperation) MutateAdGroupFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_feed_service_pb2' , __doc__ = """Response message for an ad group feed mutate. @@ -349,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupFeedsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupFeedsResponse) )) _sym_db.RegisterMessage(MutateAdGroupFeedsResponse) MutateAdGroupFeedResult = _reflection.GeneratedProtocolMessageType('MutateAdGroupFeedResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEADGROUPFEEDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.ad_group_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.ad_group_feed_service_pb2' , __doc__ = """The result for the ad group feed mutate. @@ -364,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateAdGroupFeedResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdGroupFeedResult) )) _sym_db.RegisterMessage(MutateAdGroupFeedResult) DESCRIPTOR._options = None +_GETADGROUPFEEDREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADGROUPFEEDSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADGROUPFEEDSREQUEST.fields_by_name['operations']._options = None _ADGROUPFEEDSERVICE = _descriptor.ServiceDescriptor( name='AdGroupFeedService', - full_name='google.ads.googleads.v1.services.AdGroupFeedService', + full_name='google.ads.googleads.v4.services.AdGroupFeedService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=955, - serialized_end=1363, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1064, + serialized_end=1542, methods=[ _descriptor.MethodDescriptor( name='GetAdGroupFeed', - full_name='google.ads.googleads.v1.services.AdGroupFeedService.GetAdGroupFeed', + full_name='google.ads.googleads.v4.services.AdGroupFeedService.GetAdGroupFeed', index=0, containing_service=None, input_type=_GETADGROUPFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED, - serialized_options=_b('\202\323\344\223\0020\022./v1/{resource_name=customers/*/adGroupFeeds/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED, + serialized_options=_b('\202\323\344\223\0020\022./v4/{resource_name=customers/*/adGroupFeeds/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateAdGroupFeeds', - full_name='google.ads.googleads.v1.services.AdGroupFeedService.MutateAdGroupFeeds', + full_name='google.ads.googleads.v4.services.AdGroupFeedService.MutateAdGroupFeeds', index=1, containing_service=None, input_type=_MUTATEADGROUPFEEDSREQUEST, output_type=_MUTATEADGROUPFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v1/customers/{customer_id=*}/adGroupFeeds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0026\"1/v4/customers/{customer_id=*}/adGroupFeeds:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_ADGROUPFEEDSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2_grpc.py index a54f78f42..d36d1c30d 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_feed_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_feed_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2 class AdGroupFeedServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdGroupFeed = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupFeedService/GetAdGroupFeed', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2.AdGroupFeed.FromString, + '/google.ads.googleads.v4.services.AdGroupFeedService/GetAdGroupFeed', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2.AdGroupFeed.FromString, ) self.MutateAdGroupFeeds = channel.unary_unary( - '/google.ads.googleads.v1.services.AdGroupFeedService/MutateAdGroupFeeds', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.FromString, + '/google.ads.googleads.v4.services.AdGroupFeedService/MutateAdGroupFeeds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_AdGroupFeedServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdGroupFeed': grpc.unary_unary_rpc_method_handler( servicer.GetAdGroupFeed, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2.AdGroupFeed.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.GetAdGroupFeedRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2.AdGroupFeed.SerializeToString, ), 'MutateAdGroupFeeds': grpc.unary_unary_rpc_method_handler( servicer.MutateAdGroupFeeds, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.MutateAdGroupFeedsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdGroupFeedService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdGroupFeedService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/ad_group_label_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_group_label_service_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/services/ad_group_label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/ad_group_label_service_pb2.py index 6fb8aa3a7..6fcbe8e52 100644 --- a/google/ads/google_ads/v1/proto/services/ad_group_label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/ad_group_label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/ad_group_label_service.proto +# source: google/ads/googleads_v4/proto/services/ad_group_label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/ad_group_label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/ad_group_label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030AdGroupLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/ad_group_label_service.proto\x12 google.ads.googleads.v1.services\x1agoogle/ads/googleads_v4/proto/resources/ad_schedule_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetAdScheduleViewRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/AdScheduleView2\x84\x02\n\x15\x41\x64ScheduleViewService\x12\xcd\x01\n\x11GetAdScheduleView\x12:.google.ads.googleads.v4.services.GetAdScheduleViewRequest\x1a\x31.google.ads.googleads.v4.resources.AdScheduleView\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/adScheduleViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x41\x64ScheduleViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETADSCHEDULEVIEWREQUEST = _descriptor.Descriptor( + name='GetAdScheduleViewRequest', + full_name='google.ads.googleads.v4.services.GetAdScheduleViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdScheduleViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/AdScheduleView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=286, + serialized_end=384, +) + +DESCRIPTOR.message_types_by_name['GetAdScheduleViewRequest'] = _GETADSCHEDULEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetAdScheduleViewRequest = _reflection.GeneratedProtocolMessageType('GetAdScheduleViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETADSCHEDULEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_schedule_view_service_pb2' + , + __doc__ = """Request message for + [AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v4.services.AdScheduleViewService.GetAdScheduleView]. + + + Attributes: + resource_name: + Required. The resource name of the ad schedule view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdScheduleViewRequest) + )) +_sym_db.RegisterMessage(GetAdScheduleViewRequest) + + +DESCRIPTOR._options = None +_GETADSCHEDULEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_ADSCHEDULEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='AdScheduleViewService', + full_name='google.ads.googleads.v4.services.AdScheduleViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=387, + serialized_end=647, + methods=[ + _descriptor.MethodDescriptor( + name='GetAdScheduleView', + full_name='google.ads.googleads.v4.services.AdScheduleViewService.GetAdScheduleView', + index=0, + containing_service=None, + input_type=_GETADSCHEDULEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/adScheduleViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ADSCHEDULEVIEWSERVICE) + +DESCRIPTOR.services_by_name['AdScheduleViewService'] = _ADSCHEDULEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_schedule_view_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/ad_schedule_view_service_pb2_grpc.py index 54f5a5072..ae9bcec6c 100644 --- a/google/ads/google_ads/v1/proto/services/ad_schedule_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/ad_schedule_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2 -from google.ads.google_ads.v1.proto.services import ad_schedule_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__schedule__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2 +from google.ads.google_ads.v4.proto.services import ad_schedule_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__schedule__view__service__pb2 class AdScheduleViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetAdScheduleView = channel.unary_unary( - '/google.ads.googleads.v1.services.AdScheduleViewService/GetAdScheduleView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.FromString, + '/google.ads.googleads.v4.services.AdScheduleViewService/GetAdScheduleView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.FromString, ) @@ -42,10 +42,10 @@ def add_AdScheduleViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetAdScheduleView': grpc.unary_unary_rpc_method_handler( servicer.GetAdScheduleView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__schedule__view__service__pb2.GetAdScheduleViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2.AdScheduleView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.AdScheduleViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.AdScheduleViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/ad_service_pb2.py b/google/ads/google_ads/v4/proto/services/ad_service_pb2.py new file mode 100644 index 000000000..00168a897 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/ad_service_pb2.py @@ -0,0 +1,344 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/ad_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/ad_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\016AdServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n7google/ads/googleads_v4/proto/services/ad_service.proto\x12 google.ads.googleads.v4.services\x1a\x30google/ads/googleads_v4/proto/resources/ad.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"J\n\x0cGetAdRequest\x12:\n\rresource_name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bgoogleads.googleapis.com/Ad\"t\n\x10MutateAdsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\noperations\x18\x02 \x03(\x0b\x32-.google.ads.googleads.v4.services.AdOperationB\x03\xe0\x41\x02\"\x84\x01\n\x0b\x41\x64Operation\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x37\n\x06update\x18\x01 \x01(\x0b\x32%.google.ads.googleads.v4.resources.AdH\x00\x42\x0b\n\toperation\"V\n\x11MutateAdsResponse\x12\x41\n\x07results\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v4.services.MutateAdResult\"\'\n\x0eMutateAdResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x03\n\tAdService\x12\x9d\x01\n\x05GetAd\x12..google.ads.googleads.v4.services.GetAdRequest\x1a%.google.ads.googleads.v4.resources.Ad\"=\x82\xd3\xe4\x93\x02\'\x12%/v4/{resource_name=customers/*/ads/*}\xda\x41\rresource_name\x12\xc2\x01\n\tMutateAds\x12\x32.google.ads.googleads.v4.services.MutateAdsRequest\x1a\x33.google.ads.googleads.v4.services.MutateAdsResponse\"L\x82\xd3\xe4\x93\x02-\"(/v4/customers/{customer_id=*}/ads:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf5\x01\n$com.google.ads.googleads.v4.servicesB\x0e\x41\x64ServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) + + + + +_GETADREQUEST = _descriptor.Descriptor( + name='GetAdRequest', + full_name='google.ads.googleads.v4.services.GetAdRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetAdRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A\035\n\033googleads.googleapis.com/Ad'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=292, + serialized_end=366, +) + + +_MUTATEADSREQUEST = _descriptor.Descriptor( + name='MutateAdsRequest', + full_name='google.ads.googleads.v4.services.MutateAdsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.MutateAdsRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operations', full_name='google.ads.googleads.v4.services.MutateAdsRequest.operations', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=368, + serialized_end=484, +) + + +_ADOPERATION = _descriptor.Descriptor( + name='AdOperation', + full_name='google.ads.googleads.v4.services.AdOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='update_mask', full_name='google.ads.googleads.v4.services.AdOperation.update_mask', index=0, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='update', full_name='google.ads.googleads.v4.services.AdOperation.update', index=1, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.AdOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=487, + serialized_end=619, +) + + +_MUTATEADSRESPONSE = _descriptor.Descriptor( + name='MutateAdsResponse', + full_name='google.ads.googleads.v4.services.MutateAdsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.MutateAdsResponse.results', index=0, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=621, + serialized_end=707, +) + + +_MUTATEADRESULT = _descriptor.Descriptor( + name='MutateAdResult', + full_name='google.ads.googleads.v4.services.MutateAdResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.MutateAdResult.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=709, + serialized_end=748, +) + +_MUTATEADSREQUEST.fields_by_name['operations'].message_type = _ADOPERATION +_ADOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +_ADOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2._AD +_ADOPERATION.oneofs_by_name['operation'].fields.append( + _ADOPERATION.fields_by_name['update']) +_ADOPERATION.fields_by_name['update'].containing_oneof = _ADOPERATION.oneofs_by_name['operation'] +_MUTATEADSRESPONSE.fields_by_name['results'].message_type = _MUTATEADRESULT +DESCRIPTOR.message_types_by_name['GetAdRequest'] = _GETADREQUEST +DESCRIPTOR.message_types_by_name['MutateAdsRequest'] = _MUTATEADSREQUEST +DESCRIPTOR.message_types_by_name['AdOperation'] = _ADOPERATION +DESCRIPTOR.message_types_by_name['MutateAdsResponse'] = _MUTATEADSRESPONSE +DESCRIPTOR.message_types_by_name['MutateAdResult'] = _MUTATEADRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetAdRequest = _reflection.GeneratedProtocolMessageType('GetAdRequest', (_message.Message,), dict( + DESCRIPTOR = _GETADREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_service_pb2' + , + __doc__ = """Request message for + [AdService.GetAd][google.ads.googleads.v4.services.AdService.GetAd]. + + + Attributes: + resource_name: + Required. The resource name of the ad to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetAdRequest) + )) +_sym_db.RegisterMessage(GetAdRequest) + +MutateAdsRequest = _reflection.GeneratedProtocolMessageType('MutateAdsRequest', (_message.Message,), dict( + DESCRIPTOR = _MUTATEADSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.ad_service_pb2' + , + __doc__ = """Request message for + [AdService.MutateAds][google.ads.googleads.v4.services.AdService.MutateAds]. + + + Attributes: + customer_id: + Required. The ID of the customer whose ads are being modified. + operations: + Required. The list of operations to perform on individual ads. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdsRequest) + )) +_sym_db.RegisterMessage(MutateAdsRequest) + +AdOperation = _reflection.GeneratedProtocolMessageType('AdOperation', (_message.Message,), dict( + DESCRIPTOR = _ADOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.ad_service_pb2' + , + __doc__ = """A single update operation on an ad. + + + Attributes: + update_mask: + FieldMask that determines which resource fields are modified + in an update. + operation: + The mutate operation. + update: + Update operation: The ad is expected to have a valid resource + name in this format: ``customers/{customer_id}/ads/{ad_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AdOperation) + )) +_sym_db.RegisterMessage(AdOperation) + +MutateAdsResponse = _reflection.GeneratedProtocolMessageType('MutateAdsResponse', (_message.Message,), dict( + DESCRIPTOR = _MUTATEADSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.ad_service_pb2' + , + __doc__ = """Response message for an ad mutate. + + + Attributes: + results: + All results for the mutate. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdsResponse) + )) +_sym_db.RegisterMessage(MutateAdsResponse) + +MutateAdResult = _reflection.GeneratedProtocolMessageType('MutateAdResult', (_message.Message,), dict( + DESCRIPTOR = _MUTATEADRESULT, + __module__ = 'google.ads.googleads_v4.proto.services.ad_service_pb2' + , + __doc__ = """The result for the ad mutate. + + + Attributes: + resource_name: + The resource name returned for successful operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateAdResult) + )) +_sym_db.RegisterMessage(MutateAdResult) + + +DESCRIPTOR._options = None +_GETADREQUEST.fields_by_name['resource_name']._options = None +_MUTATEADSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEADSREQUEST.fields_by_name['operations']._options = None + +_ADSERVICE = _descriptor.ServiceDescriptor( + name='AdService', + full_name='google.ads.googleads.v4.services.AdService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=751, + serialized_end=1148, + methods=[ + _descriptor.MethodDescriptor( + name='GetAd', + full_name='google.ads.googleads.v4.services.AdService.GetAd', + index=0, + containing_service=None, + input_type=_GETADREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2._AD, + serialized_options=_b('\202\323\344\223\002\'\022%/v4/{resource_name=customers/*/ads/*}\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='MutateAds', + full_name='google.ads.googleads.v4.services.AdService.MutateAds', + index=1, + containing_service=None, + input_type=_MUTATEADSREQUEST, + output_type=_MUTATEADSRESPONSE, + serialized_options=_b('\202\323\344\223\002-\"(/v4/customers/{customer_id=*}/ads:mutate:\001*\332A\026customer_id,operations'), + ), +]) +_sym_db.RegisterServiceDescriptor(_ADSERVICE) + +DESCRIPTOR.services_by_name['AdService'] = _ADSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/ad_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/ad_service_pb2_grpc.py new file mode 100644 index 000000000..301d6a6ac --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/ad_service_pb2_grpc.py @@ -0,0 +1,69 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2 +from google.ads.google_ads.v4.proto.services import ad_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2 + + +class AdServiceStub(object): + """Proto file describing the Ad service. + + Service to manage ads. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetAd = channel.unary_unary( + '/google.ads.googleads.v4.services.AdService/GetAd', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.GetAdRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.Ad.FromString, + ) + self.MutateAds = channel.unary_unary( + '/google.ads.googleads.v4.services.AdService/MutateAds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsResponse.FromString, + ) + + +class AdServiceServicer(object): + """Proto file describing the Ad service. + + Service to manage ads. + """ + + def GetAd(self, request, context): + """Returns the requested ad in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def MutateAds(self, request, context): + """Updates ads. Operation statuses are returned. Updating ads is not supported + for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_AdServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetAd': grpc.unary_unary_rpc_method_handler( + servicer.GetAd, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.GetAdRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.Ad.SerializeToString, + ), + 'MutateAds': grpc.unary_unary_rpc_method_handler( + servicer.MutateAds, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.MutateAdsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.AdService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/age_range_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/age_range_view_service_pb2.py new file mode 100644 index 000000000..e5720df63 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/age_range_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/age_range_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_age__range__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/age_range_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030AgeRangeViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/age_range_view_service.proto\x12 google.ads.googleads.v4.services\x1agoogle/ads/googleads_v4/proto/services/batch_job_service.proto\x12 google.ads.googleads.v4.services\x1a\x37google/ads/googleads_v4/proto/resources/batch_job.proto\x1a?google/ads/googleads_v4/proto/services/google_ads_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x17google/rpc/status.proto\"~\n\x15MutateBatchJobRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\toperation\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.BatchJobOperationB\x03\xe0\x41\x02\"q\n\x11\x42\x61tchJobOperation\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.BatchJobH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"`\n\x16MutateBatchJobResponse\x12\x46\n\x06result\x18\x01 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateBatchJobResult\"-\n\x14MutateBatchJobResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"V\n\x12GetBatchJobRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/BatchJob\"V\n\x12RunBatchJobRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/BatchJob\"\xcb\x01\n\x1c\x41\x64\x64\x42\x61tchJobOperationsRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/BatchJob\x12\x16\n\x0esequence_token\x18\x02 \x01(\t\x12Q\n\x11mutate_operations\x18\x03 \x03(\x0b\x32\x31.google.ads.googleads.v4.services.MutateOperationB\x03\xe0\x41\x02\"V\n\x1d\x41\x64\x64\x42\x61tchJobOperationsResponse\x12\x18\n\x10total_operations\x18\x01 \x01(\x03\x12\x1b\n\x13next_sequence_token\x18\x02 \x01(\t\"\x85\x01\n\x1aListBatchJobResultsRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/BatchJob\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"y\n\x1bListBatchJobResultsResponse\x12\x41\n\x07results\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.services.BatchJobResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xab\x01\n\x0e\x42\x61tchJobResult\x12\x17\n\x0foperation_index\x18\x01 \x01(\x03\x12\\\n\x19mutate_operation_response\x18\x02 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.MutateOperationResponse\x12\"\n\x06status\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status2\xe3\t\n\x0f\x42\x61tchJobService\x12\xd6\x01\n\x0eMutateBatchJob\x12\x37.google.ads.googleads.v4.services.MutateBatchJobRequest\x1a\x38.google.ads.googleads.v4.services.MutateBatchJobResponse\"Q\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/batchJobs:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x12\xb5\x01\n\x0bGetBatchJob\x12\x34.google.ads.googleads.v4.services.GetBatchJobRequest\x1a+.google.ads.googleads.v4.resources.BatchJob\"C\x82\xd3\xe4\x93\x02-\x12+/v4/{resource_name=customers/*/batchJobs/*}\xda\x41\rresource_name\x12\xe3\x01\n\x13ListBatchJobResults\x12<.google.ads.googleads.v4.services.ListBatchJobResultsRequest\x1a=.google.ads.googleads.v4.services.ListBatchJobResultsResponse\"O\x82\xd3\xe4\x93\x02\x39\x12\x37/v4/{resource_name=customers/*/batchJobs/*}:listResults\xda\x41\rresource_name\x12\x86\x02\n\x0bRunBatchJob\x12\x34.google.ads.googleads.v4.services.RunBatchJobRequest\x1a\x1d.google.longrunning.Operation\"\xa1\x01\x82\xd3\xe4\x93\x02\x34\"//v4/{resource_name=customers/*/batchJobs/*}:run:\x01*\xda\x41\rresource_name\xca\x41T\n\x15google.protobuf.Empty\x12;google.ads.googleads.v4.resources.BatchJob.BatchJobMetadata\x12\xb2\x02\n\x15\x41\x64\x64\x42\x61tchJobOperations\x12>.google.ads.googleads.v4.services.AddBatchJobOperationsRequest\x1a?.google.ads.googleads.v4.services.AddBatchJobOperationsResponse\"\x97\x01\x82\xd3\xe4\x93\x02>\"9/v4/{resource_name=customers/*/batchJobs/*}:addOperations:\x01*\xda\x41.resource_name,sequence_token,mutate_operations\xda\x41\x1fresource_name,mutate_operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14\x42\x61tchJobServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + + + + +_MUTATEBATCHJOBREQUEST = _descriptor.Descriptor( + name='MutateBatchJobRequest', + full_name='google.ads.googleads.v4.services.MutateBatchJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.MutateBatchJobRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.MutateBatchJobRequest.operation', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=399, + serialized_end=525, +) + + +_BATCHJOBOPERATION = _descriptor.Descriptor( + name='BatchJobOperation', + full_name='google.ads.googleads.v4.services.BatchJobOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='create', full_name='google.ads.googleads.v4.services.BatchJobOperation.create', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remove', full_name='google.ads.googleads.v4.services.BatchJobOperation.remove', index=1, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.BatchJobOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=527, + serialized_end=640, +) + + +_MUTATEBATCHJOBRESPONSE = _descriptor.Descriptor( + name='MutateBatchJobResponse', + full_name='google.ads.googleads.v4.services.MutateBatchJobResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='result', full_name='google.ads.googleads.v4.services.MutateBatchJobResponse.result', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=642, + serialized_end=738, +) + + +_MUTATEBATCHJOBRESULT = _descriptor.Descriptor( + name='MutateBatchJobResult', + full_name='google.ads.googleads.v4.services.MutateBatchJobResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.MutateBatchJobResult.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=740, + serialized_end=785, +) + + +_GETBATCHJOBREQUEST = _descriptor.Descriptor( + name='GetBatchJobRequest', + full_name='google.ads.googleads.v4.services.GetBatchJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetBatchJobRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/BatchJob'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=787, + serialized_end=873, +) + + +_RUNBATCHJOBREQUEST = _descriptor.Descriptor( + name='RunBatchJobRequest', + full_name='google.ads.googleads.v4.services.RunBatchJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.RunBatchJobRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/BatchJob'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=875, + serialized_end=961, +) + + +_ADDBATCHJOBOPERATIONSREQUEST = _descriptor.Descriptor( + name='AddBatchJobOperationsRequest', + full_name='google.ads.googleads.v4.services.AddBatchJobOperationsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.AddBatchJobOperationsRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/BatchJob'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='sequence_token', full_name='google.ads.googleads.v4.services.AddBatchJobOperationsRequest.sequence_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mutate_operations', full_name='google.ads.googleads.v4.services.AddBatchJobOperationsRequest.mutate_operations', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=964, + serialized_end=1167, +) + + +_ADDBATCHJOBOPERATIONSRESPONSE = _descriptor.Descriptor( + name='AddBatchJobOperationsResponse', + full_name='google.ads.googleads.v4.services.AddBatchJobOperationsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='total_operations', full_name='google.ads.googleads.v4.services.AddBatchJobOperationsResponse.total_operations', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='next_sequence_token', full_name='google.ads.googleads.v4.services.AddBatchJobOperationsResponse.next_sequence_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1169, + serialized_end=1255, +) + + +_LISTBATCHJOBRESULTSREQUEST = _descriptor.Descriptor( + name='ListBatchJobResultsRequest', + full_name='google.ads.googleads.v4.services.ListBatchJobResultsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.ListBatchJobResultsRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/BatchJob'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_token', full_name='google.ads.googleads.v4.services.ListBatchJobResultsRequest.page_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_size', full_name='google.ads.googleads.v4.services.ListBatchJobResultsRequest.page_size', index=2, + number=3, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1258, + serialized_end=1391, +) + + +_LISTBATCHJOBRESULTSRESPONSE = _descriptor.Descriptor( + name='ListBatchJobResultsResponse', + full_name='google.ads.googleads.v4.services.ListBatchJobResultsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.ListBatchJobResultsResponse.results', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='google.ads.googleads.v4.services.ListBatchJobResultsResponse.next_page_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1393, + serialized_end=1514, +) + + +_BATCHJOBRESULT = _descriptor.Descriptor( + name='BatchJobResult', + full_name='google.ads.googleads.v4.services.BatchJobResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='operation_index', full_name='google.ads.googleads.v4.services.BatchJobResult.operation_index', index=0, + number=1, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='mutate_operation_response', full_name='google.ads.googleads.v4.services.BatchJobResult.mutate_operation_response', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='status', full_name='google.ads.googleads.v4.services.BatchJobResult.status', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1517, + serialized_end=1688, +) + +_MUTATEBATCHJOBREQUEST.fields_by_name['operation'].message_type = _BATCHJOBOPERATION +_BATCHJOBOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2._BATCHJOB +_BATCHJOBOPERATION.oneofs_by_name['operation'].fields.append( + _BATCHJOBOPERATION.fields_by_name['create']) +_BATCHJOBOPERATION.fields_by_name['create'].containing_oneof = _BATCHJOBOPERATION.oneofs_by_name['operation'] +_BATCHJOBOPERATION.oneofs_by_name['operation'].fields.append( + _BATCHJOBOPERATION.fields_by_name['remove']) +_BATCHJOBOPERATION.fields_by_name['remove'].containing_oneof = _BATCHJOBOPERATION.oneofs_by_name['operation'] +_MUTATEBATCHJOBRESPONSE.fields_by_name['result'].message_type = _MUTATEBATCHJOBRESULT +_ADDBATCHJOBOPERATIONSREQUEST.fields_by_name['mutate_operations'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2._MUTATEOPERATION +_LISTBATCHJOBRESULTSRESPONSE.fields_by_name['results'].message_type = _BATCHJOBRESULT +_BATCHJOBRESULT.fields_by_name['mutate_operation_response'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2._MUTATEOPERATIONRESPONSE +_BATCHJOBRESULT.fields_by_name['status'].message_type = google_dot_rpc_dot_status__pb2._STATUS +DESCRIPTOR.message_types_by_name['MutateBatchJobRequest'] = _MUTATEBATCHJOBREQUEST +DESCRIPTOR.message_types_by_name['BatchJobOperation'] = _BATCHJOBOPERATION +DESCRIPTOR.message_types_by_name['MutateBatchJobResponse'] = _MUTATEBATCHJOBRESPONSE +DESCRIPTOR.message_types_by_name['MutateBatchJobResult'] = _MUTATEBATCHJOBRESULT +DESCRIPTOR.message_types_by_name['GetBatchJobRequest'] = _GETBATCHJOBREQUEST +DESCRIPTOR.message_types_by_name['RunBatchJobRequest'] = _RUNBATCHJOBREQUEST +DESCRIPTOR.message_types_by_name['AddBatchJobOperationsRequest'] = _ADDBATCHJOBOPERATIONSREQUEST +DESCRIPTOR.message_types_by_name['AddBatchJobOperationsResponse'] = _ADDBATCHJOBOPERATIONSRESPONSE +DESCRIPTOR.message_types_by_name['ListBatchJobResultsRequest'] = _LISTBATCHJOBRESULTSREQUEST +DESCRIPTOR.message_types_by_name['ListBatchJobResultsResponse'] = _LISTBATCHJOBRESULTSRESPONSE +DESCRIPTOR.message_types_by_name['BatchJobResult'] = _BATCHJOBRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +MutateBatchJobRequest = _reflection.GeneratedProtocolMessageType('MutateBatchJobRequest', (_message.Message,), dict( + DESCRIPTOR = _MUTATEBATCHJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Request message for [BatchJobService.MutateBatchJobRequest][] + + + Attributes: + customer_id: + Required. The ID of the customer for which to create a batch + job. + operation: + Required. The operation to perform on an individual batch job. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBatchJobRequest) + )) +_sym_db.RegisterMessage(MutateBatchJobRequest) + +BatchJobOperation = _reflection.GeneratedProtocolMessageType('BatchJobOperation', (_message.Message,), dict( + DESCRIPTOR = _BATCHJOBOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """A single operation (create or remove) on a batch job. + + + Attributes: + operation: + The mutate operation. + create: + Create operation: No resource name is expected for the new + batch job. + remove: + Remove operation: The batch job must not have been run. A + resource name for the removed batch job is expected, in this + format: ``customers/{customer_id}/batchJobs/{batch_job_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.BatchJobOperation) + )) +_sym_db.RegisterMessage(BatchJobOperation) + +MutateBatchJobResponse = _reflection.GeneratedProtocolMessageType('MutateBatchJobResponse', (_message.Message,), dict( + DESCRIPTOR = _MUTATEBATCHJOBRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Response message for [BatchJobService.MutateBatchJobResponse][] + + + Attributes: + result: + The result for the mutate. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBatchJobResponse) + )) +_sym_db.RegisterMessage(MutateBatchJobResponse) + +MutateBatchJobResult = _reflection.GeneratedProtocolMessageType('MutateBatchJobResult', (_message.Message,), dict( + DESCRIPTOR = _MUTATEBATCHJOBRESULT, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """The result for the batch job mutate. + + + Attributes: + resource_name: + The resource name of the batch job. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBatchJobResult) + )) +_sym_db.RegisterMessage(MutateBatchJobResult) + +GetBatchJobRequest = _reflection.GeneratedProtocolMessageType('GetBatchJobRequest', (_message.Message,), dict( + DESCRIPTOR = _GETBATCHJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Request message for + [BatchJobService.GetBatchJob][google.ads.googleads.v4.services.BatchJobService.GetBatchJob] + + + Attributes: + resource_name: + Required. The resource name of the batch job to get. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetBatchJobRequest) + )) +_sym_db.RegisterMessage(GetBatchJobRequest) + +RunBatchJobRequest = _reflection.GeneratedProtocolMessageType('RunBatchJobRequest', (_message.Message,), dict( + DESCRIPTOR = _RUNBATCHJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Request message for + [BatchJobService.RunBatchJob][google.ads.googleads.v4.services.BatchJobService.RunBatchJob] + + + Attributes: + resource_name: + Required. The resource name of the BatchJob to run. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.RunBatchJobRequest) + )) +_sym_db.RegisterMessage(RunBatchJobRequest) + +AddBatchJobOperationsRequest = _reflection.GeneratedProtocolMessageType('AddBatchJobOperationsRequest', (_message.Message,), dict( + DESCRIPTOR = _ADDBATCHJOBOPERATIONSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Request message for + [BatchJobService.AddBatchJobOperations][google.ads.googleads.v4.services.BatchJobService.AddBatchJobOperations] + + + Attributes: + resource_name: + Required. The resource name of the batch job. + sequence_token: + A token used to enforce sequencing. The first + AddBatchJobOperations request for a batch job should not set + sequence\_token. Subsequent requests must set sequence\_token + to the value of next\_sequence\_token received in the previous + AddBatchJobOperations response. + mutate_operations: + Required. The list of mutates being added. Operations can use + negative integers as temp ids to signify dependencies between + entities created in this batch job. For example, a customer + with id = 1234 can create a campaign and an ad group in that + same campaign by creating a campaign in the first operation + with the resource name explicitly set to + "customers/1234/campaigns/-1", and creating an ad group in the + second operation with the campaign field also set to + "customers/1234/campaigns/-1". + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AddBatchJobOperationsRequest) + )) +_sym_db.RegisterMessage(AddBatchJobOperationsRequest) + +AddBatchJobOperationsResponse = _reflection.GeneratedProtocolMessageType('AddBatchJobOperationsResponse', (_message.Message,), dict( + DESCRIPTOR = _ADDBATCHJOBOPERATIONSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Response message for + [BatchJobService.AddBatchJobOperations][google.ads.googleads.v4.services.BatchJobService.AddBatchJobOperations] + + + Attributes: + total_operations: + The total number of operations added so far for this batch + job. + next_sequence_token: + The sequence token to be used when calling + AddBatchJobOperations again if more operations need to be + added. The next AddBatchJobOperations request must set the + sequence\_token field to the value of this field. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AddBatchJobOperationsResponse) + )) +_sym_db.RegisterMessage(AddBatchJobOperationsResponse) + +ListBatchJobResultsRequest = _reflection.GeneratedProtocolMessageType('ListBatchJobResultsRequest', (_message.Message,), dict( + DESCRIPTOR = _LISTBATCHJOBRESULTSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Request message for + [BatchJobService.ListBatchJobResults][google.ads.googleads.v4.services.BatchJobService.ListBatchJobResults]. + + + Attributes: + resource_name: + Required. The resource name of the batch job whose results are + being listed. + page_token: + Token of the page to retrieve. If not specified, the first + page of results will be returned. Use the value obtained from + ``next_page_token`` in the previous response in order to + request the next page of results. + page_size: + Number of elements to retrieve in a single page. When a page + request is too large, the server may decide to further limit + the number of returned resources. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListBatchJobResultsRequest) + )) +_sym_db.RegisterMessage(ListBatchJobResultsRequest) + +ListBatchJobResultsResponse = _reflection.GeneratedProtocolMessageType('ListBatchJobResultsResponse', (_message.Message,), dict( + DESCRIPTOR = _LISTBATCHJOBRESULTSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """Response message for + [BatchJobService.ListBatchJobResults][google.ads.googleads.v4.services.BatchJobService.ListBatchJobResults]. + + + Attributes: + results: + The list of rows that matched the query. + next_page_token: + Pagination token used to retrieve the next page of results. + Pass the content of this string as the ``page_token`` + attribute of the next request. ``next_page_token`` is not + returned for the last page. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListBatchJobResultsResponse) + )) +_sym_db.RegisterMessage(ListBatchJobResultsResponse) + +BatchJobResult = _reflection.GeneratedProtocolMessageType('BatchJobResult', (_message.Message,), dict( + DESCRIPTOR = _BATCHJOBRESULT, + __module__ = 'google.ads.googleads_v4.proto.services.batch_job_service_pb2' + , + __doc__ = """An individual batch job result. + + + Attributes: + operation_index: + Index of the mutate operation. + mutate_operation_response: + Response for the mutate. May be empty if errors occurred. + status: + Details of the errors when processing the operation. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.BatchJobResult) + )) +_sym_db.RegisterMessage(BatchJobResult) + + +DESCRIPTOR._options = None +_MUTATEBATCHJOBREQUEST.fields_by_name['customer_id']._options = None +_MUTATEBATCHJOBREQUEST.fields_by_name['operation']._options = None +_GETBATCHJOBREQUEST.fields_by_name['resource_name']._options = None +_RUNBATCHJOBREQUEST.fields_by_name['resource_name']._options = None +_ADDBATCHJOBOPERATIONSREQUEST.fields_by_name['resource_name']._options = None +_ADDBATCHJOBOPERATIONSREQUEST.fields_by_name['mutate_operations']._options = None +_LISTBATCHJOBRESULTSREQUEST.fields_by_name['resource_name']._options = None + +_BATCHJOBSERVICE = _descriptor.ServiceDescriptor( + name='BatchJobService', + full_name='google.ads.googleads.v4.services.BatchJobService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1691, + serialized_end=2942, + methods=[ + _descriptor.MethodDescriptor( + name='MutateBatchJob', + full_name='google.ads.googleads.v4.services.BatchJobService.MutateBatchJob', + index=0, + containing_service=None, + input_type=_MUTATEBATCHJOBREQUEST, + output_type=_MUTATEBATCHJOBRESPONSE, + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/batchJobs:mutate:\001*\332A\025customer_id,operation'), + ), + _descriptor.MethodDescriptor( + name='GetBatchJob', + full_name='google.ads.googleads.v4.services.BatchJobService.GetBatchJob', + index=1, + containing_service=None, + input_type=_GETBATCHJOBREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2._BATCHJOB, + serialized_options=_b('\202\323\344\223\002-\022+/v4/{resource_name=customers/*/batchJobs/*}\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='ListBatchJobResults', + full_name='google.ads.googleads.v4.services.BatchJobService.ListBatchJobResults', + index=2, + containing_service=None, + input_type=_LISTBATCHJOBRESULTSREQUEST, + output_type=_LISTBATCHJOBRESULTSRESPONSE, + serialized_options=_b('\202\323\344\223\0029\0227/v4/{resource_name=customers/*/batchJobs/*}:listResults\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='RunBatchJob', + full_name='google.ads.googleads.v4.services.BatchJobService.RunBatchJob', + index=3, + containing_service=None, + input_type=_RUNBATCHJOBREQUEST, + output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, + serialized_options=_b('\202\323\344\223\0024\"//v4/{resource_name=customers/*/batchJobs/*}:run:\001*\332A\rresource_name\312AT\n\025google.protobuf.Empty\022;google.ads.googleads.v4.resources.BatchJob.BatchJobMetadata'), + ), + _descriptor.MethodDescriptor( + name='AddBatchJobOperations', + full_name='google.ads.googleads.v4.services.BatchJobService.AddBatchJobOperations', + index=4, + containing_service=None, + input_type=_ADDBATCHJOBOPERATIONSREQUEST, + output_type=_ADDBATCHJOBOPERATIONSRESPONSE, + serialized_options=_b('\202\323\344\223\002>\"9/v4/{resource_name=customers/*/batchJobs/*}:addOperations:\001*\332A.resource_name,sequence_token,mutate_operations\332A\037resource_name,mutate_operations'), + ), +]) +_sym_db.RegisterServiceDescriptor(_BATCHJOBSERVICE) + +DESCRIPTOR.services_by_name['BatchJobService'] = _BATCHJOBSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/batch_job_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/batch_job_service_pb2_grpc.py new file mode 100644 index 000000000..eee89c4fb --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/batch_job_service_pb2_grpc.py @@ -0,0 +1,125 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import batch_job_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2 +from google.ads.google_ads.v4.proto.services import batch_job_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2 +from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 + + +class BatchJobServiceStub(object): + """Proto file describing the BatchJobService. + + Service to manage batch jobs. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.MutateBatchJob = channel.unary_unary( + '/google.ads.googleads.v4.services.BatchJobService/MutateBatchJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.MutateBatchJobRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.MutateBatchJobResponse.FromString, + ) + self.GetBatchJob = channel.unary_unary( + '/google.ads.googleads.v4.services.BatchJobService/GetBatchJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.GetBatchJobRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2.BatchJob.FromString, + ) + self.ListBatchJobResults = channel.unary_unary( + '/google.ads.googleads.v4.services.BatchJobService/ListBatchJobResults', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.ListBatchJobResultsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.ListBatchJobResultsResponse.FromString, + ) + self.RunBatchJob = channel.unary_unary( + '/google.ads.googleads.v4.services.BatchJobService/RunBatchJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.RunBatchJobRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + ) + self.AddBatchJobOperations = channel.unary_unary( + '/google.ads.googleads.v4.services.BatchJobService/AddBatchJobOperations', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.AddBatchJobOperationsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.AddBatchJobOperationsResponse.FromString, + ) + + +class BatchJobServiceServicer(object): + """Proto file describing the BatchJobService. + + Service to manage batch jobs. + """ + + def MutateBatchJob(self, request, context): + """Mutates a batch job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBatchJob(self, request, context): + """Returns the batch job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListBatchJobResults(self, request, context): + """Returns the results of the batch job. The job must be done. + Supports standard list paging. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RunBatchJob(self, request, context): + """Runs the batch job. + + The Operation.metadata field type is BatchJobMetadata. When finished, the + long running operation will not contain errors or a response. Instead, use + ListBatchJobResults to get the results of the job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddBatchJobOperations(self, request, context): + """Add operations to the batch job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_BatchJobServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'MutateBatchJob': grpc.unary_unary_rpc_method_handler( + servicer.MutateBatchJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.MutateBatchJobRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.MutateBatchJobResponse.SerializeToString, + ), + 'GetBatchJob': grpc.unary_unary_rpc_method_handler( + servicer.GetBatchJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.GetBatchJobRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2.BatchJob.SerializeToString, + ), + 'ListBatchJobResults': grpc.unary_unary_rpc_method_handler( + servicer.ListBatchJobResults, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.ListBatchJobResultsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.ListBatchJobResultsResponse.SerializeToString, + ), + 'RunBatchJob': grpc.unary_unary_rpc_method_handler( + servicer.RunBatchJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.RunBatchJobRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), + 'AddBatchJobOperations': grpc.unary_unary_rpc_method_handler( + servicer.AddBatchJobOperations, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.AddBatchJobOperationsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_batch__job__service__pb2.AddBatchJobOperationsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.BatchJobService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2.py b/google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2.py rename to google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2.py index aec0809e6..57cc2afb1 100644 --- a/google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/bidding_strategy_service.proto +# source: google/ads/googleads_v4/proto/services/bidding_strategy_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2 +from google.ads.google_ads.v4.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/bidding_strategy_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/bidding_strategy_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033BiddingStrategyServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/bidding_strategy_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/bidding_strategy.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"2\n\x19GetBiddingStrategyRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb5\x01\n\x1eMutateBiddingStrategiesRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12N\n\noperations\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.services.BiddingStrategyOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf6\x01\n\x18\x42iddingStrategyOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x44\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.BiddingStrategyH\x00\x12\x44\n\x06update\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.BiddingStrategyH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa4\x01\n\x1fMutateBiddingStrategiesResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12N\n\x07results\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v1.services.MutateBiddingStrategyResult\"4\n\x1bMutateBiddingStrategyResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc1\x03\n\x16\x42iddingStrategyService\x12\xc2\x01\n\x12GetBiddingStrategy\x12;.google.ads.googleads.v1.services.GetBiddingStrategyRequest\x1a\x32.google.ads.googleads.v1.resources.BiddingStrategy\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{resource_name=customers/*/biddingStrategies/*}\x12\xe1\x01\n\x17MutateBiddingStrategies\x12@.google.ads.googleads.v1.services.MutateBiddingStrategiesRequest\x1a\x41.google.ads.googleads.v1.services.MutateBiddingStrategiesResponse\"A\x82\xd3\xe4\x93\x02;\"6/v1/customers/{customer_id=*}/biddingStrategies:mutate:\x01*B\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1b\x42iddingStrategyServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033BiddingStrategyServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/bidding_strategy_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/bidding_strategy.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"d\n\x19GetBiddingStrategyRequest\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(googleads.googleapis.com/BiddingStrategy\"\xbf\x01\n\x1eMutateBiddingStrategiesRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12S\n\noperations\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.services.BiddingStrategyOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf6\x01\n\x18\x42iddingStrategyOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x44\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.BiddingStrategyH\x00\x12\x44\n\x06update\x18\x02 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.BiddingStrategyH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa4\x01\n\x1fMutateBiddingStrategiesResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12N\n\x07results\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v4.services.MutateBiddingStrategyResult\"4\n\x1bMutateBiddingStrategyResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x87\x04\n\x16\x42iddingStrategyService\x12\xd2\x01\n\x12GetBiddingStrategy\x12;.google.ads.googleads.v4.services.GetBiddingStrategyRequest\x1a\x32.google.ads.googleads.v4.resources.BiddingStrategy\"K\x82\xd3\xe4\x93\x02\x35\x12\x33/v4/{resource_name=customers/*/biddingStrategies/*}\xda\x41\rresource_name\x12\xfa\x01\n\x17MutateBiddingStrategies\x12@.google.ads.googleads.v4.services.MutateBiddingStrategiesRequest\x1a\x41.google.ads.googleads.v4.services.MutateBiddingStrategiesResponse\"Z\x82\xd3\xe4\x93\x02;\"6/v4/customers/{customer_id=*}/biddingStrategies:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1b\x42iddingStrategyServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETBIDDINGSTRATEGYREQUEST = _descriptor.Descriptor( name='GetBiddingStrategyRequest', - full_name='google.ads.googleads.v1.services.GetBiddingStrategyRequest', + full_name='google.ads.googleads.v4.services.GetBiddingStrategyRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetBiddingStrategyRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetBiddingStrategyRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A*\n(googleads.googleapis.com/BiddingStrategy'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=292, - serialized_end=342, + serialized_start=345, + serialized_end=445, ) _MUTATEBIDDINGSTRATEGIESREQUEST = _descriptor.Descriptor( name='MutateBiddingStrategiesRequest', - full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesRequest', + full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=345, - serialized_end=526, + serialized_start=448, + serialized_end=639, ) _BIDDINGSTRATEGYOPERATION = _descriptor.Descriptor( name='BiddingStrategyOperation', - full_name='google.ads.googleads.v1.services.BiddingStrategyOperation', + full_name='google.ads.googleads.v4.services.BiddingStrategyOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.BiddingStrategyOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.BiddingStrategyOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.BiddingStrategyOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.BiddingStrategyOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.BiddingStrategyOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.BiddingStrategyOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.BiddingStrategyOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.BiddingStrategyOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.BiddingStrategyOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.BiddingStrategyOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=529, - serialized_end=775, + serialized_start=642, + serialized_end=888, ) _MUTATEBIDDINGSTRATEGIESRESPONSE = _descriptor.Descriptor( name='MutateBiddingStrategiesResponse', - full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesResponse', + full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateBiddingStrategiesResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateBiddingStrategiesResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=778, - serialized_end=942, + serialized_start=891, + serialized_end=1055, ) _MUTATEBIDDINGSTRATEGYRESULT = _descriptor.Descriptor( name='MutateBiddingStrategyResult', - full_name='google.ads.googleads.v1.services.MutateBiddingStrategyResult', + full_name='google.ads.googleads.v4.services.MutateBiddingStrategyResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateBiddingStrategyResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateBiddingStrategyResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=944, - serialized_end=996, + serialized_start=1057, + serialized_end=1109, ) _MUTATEBIDDINGSTRATEGIESREQUEST.fields_by_name['operations'].message_type = _BIDDINGSTRATEGYOPERATION _BIDDINGSTRATEGYOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_BIDDINGSTRATEGYOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY -_BIDDINGSTRATEGYOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY +_BIDDINGSTRATEGYOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY +_BIDDINGSTRATEGYOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY _BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'].fields.append( _BIDDINGSTRATEGYOPERATION.fields_by_name['create']) _BIDDINGSTRATEGYOPERATION.fields_by_name['create'].containing_oneof = _BIDDINGSTRATEGYOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetBiddingStrategyRequest = _reflection.GeneratedProtocolMessageType('GetBiddingStrategyRequest', (_message.Message,), dict( DESCRIPTOR = _GETBIDDINGSTRATEGYREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.bidding_strategy_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.bidding_strategy_service_pb2' , __doc__ = """Request message for - [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v1.services.BiddingStrategyService.GetBiddingStrategy]. + [BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v4.services.BiddingStrategyService.GetBiddingStrategy]. Attributes: resource_name: - The resource name of the bidding strategy to fetch. + Required. The resource name of the bidding strategy to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetBiddingStrategyRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetBiddingStrategyRequest) )) _sym_db.RegisterMessage(GetBiddingStrategyRequest) MutateBiddingStrategiesRequest = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategiesRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEBIDDINGSTRATEGIESREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.bidding_strategy_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.bidding_strategy_service_pb2' , __doc__ = """Request message for - [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v1.services.BiddingStrategyService.MutateBiddingStrategies]. + [BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v4.services.BiddingStrategyService.MutateBiddingStrategies]. Attributes: customer_id: - The ID of the customer whose bidding strategies are being - modified. + Required. The ID of the customer whose bidding strategies are + being modified. operations: - The list of operations to perform on individual bidding - strategies. + Required. The list of operations to perform on individual + bidding strategies. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBiddingStrategiesRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBiddingStrategiesRequest) )) _sym_db.RegisterMessage(MutateBiddingStrategiesRequest) BiddingStrategyOperation = _reflection.GeneratedProtocolMessageType('BiddingStrategyOperation', (_message.Message,), dict( DESCRIPTOR = _BIDDINGSTRATEGYOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.bidding_strategy_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.bidding_strategy_service_pb2' , __doc__ = """A single operation (create, update, remove) on a bidding strategy. @@ -328,13 +330,13 @@ strategy is expected, in this format: ``customers/{customer_i d}/biddingStrategies/{bidding_strategy_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.BiddingStrategyOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.BiddingStrategyOperation) )) _sym_db.RegisterMessage(BiddingStrategyOperation) MutateBiddingStrategiesResponse = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategiesResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEBIDDINGSTRATEGIESRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.bidding_strategy_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.bidding_strategy_service_pb2' , __doc__ = """Response message for bidding strategy mutate. @@ -349,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBiddingStrategiesResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBiddingStrategiesResponse) )) _sym_db.RegisterMessage(MutateBiddingStrategiesResponse) MutateBiddingStrategyResult = _reflection.GeneratedProtocolMessageType('MutateBiddingStrategyResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEBIDDINGSTRATEGYRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.bidding_strategy_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.bidding_strategy_service_pb2' , __doc__ = """The result for the bidding strategy mutate. @@ -364,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBiddingStrategyResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBiddingStrategyResult) )) _sym_db.RegisterMessage(MutateBiddingStrategyResult) DESCRIPTOR._options = None +_GETBIDDINGSTRATEGYREQUEST.fields_by_name['resource_name']._options = None +_MUTATEBIDDINGSTRATEGIESREQUEST.fields_by_name['customer_id']._options = None +_MUTATEBIDDINGSTRATEGIESREQUEST.fields_by_name['operations']._options = None _BIDDINGSTRATEGYSERVICE = _descriptor.ServiceDescriptor( name='BiddingStrategyService', - full_name='google.ads.googleads.v1.services.BiddingStrategyService', + full_name='google.ads.googleads.v4.services.BiddingStrategyService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=999, - serialized_end=1448, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1112, + serialized_end=1631, methods=[ _descriptor.MethodDescriptor( name='GetBiddingStrategy', - full_name='google.ads.googleads.v1.services.BiddingStrategyService.GetBiddingStrategy', + full_name='google.ads.googleads.v4.services.BiddingStrategyService.GetBiddingStrategy', index=0, containing_service=None, input_type=_GETBIDDINGSTRATEGYREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY, - serialized_options=_b('\202\323\344\223\0025\0223/v1/{resource_name=customers/*/biddingStrategies/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY, + serialized_options=_b('\202\323\344\223\0025\0223/v4/{resource_name=customers/*/biddingStrategies/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateBiddingStrategies', - full_name='google.ads.googleads.v1.services.BiddingStrategyService.MutateBiddingStrategies', + full_name='google.ads.googleads.v4.services.BiddingStrategyService.MutateBiddingStrategies', index=1, containing_service=None, input_type=_MUTATEBIDDINGSTRATEGIESREQUEST, output_type=_MUTATEBIDDINGSTRATEGIESRESPONSE, - serialized_options=_b('\202\323\344\223\002;\"6/v1/customers/{customer_id=*}/biddingStrategies:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002;\"6/v4/customers/{customer_id=*}/biddingStrategies:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_BIDDINGSTRATEGYSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2_grpc.py index c1e772276..df9f58f0f 100644 --- a/google/ads/google_ads/v1/proto/services/bidding_strategy_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/bidding_strategy_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2 -from google.ads.google_ads.v1.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2 +from google.ads.google_ads.v4.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2 +from google.ads.google_ads.v4.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2 class BiddingStrategyServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetBiddingStrategy = channel.unary_unary( - '/google.ads.googleads.v1.services.BiddingStrategyService/GetBiddingStrategy', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2.BiddingStrategy.FromString, + '/google.ads.googleads.v4.services.BiddingStrategyService/GetBiddingStrategy', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2.BiddingStrategy.FromString, ) self.MutateBiddingStrategies = channel.unary_unary( - '/google.ads.googleads.v1.services.BiddingStrategyService/MutateBiddingStrategies', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.FromString, + '/google.ads.googleads.v4.services.BiddingStrategyService/MutateBiddingStrategies', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.FromString, ) @@ -55,15 +55,15 @@ def add_BiddingStrategyServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetBiddingStrategy': grpc.unary_unary_rpc_method_handler( servicer.GetBiddingStrategy, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2.BiddingStrategy.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.GetBiddingStrategyRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2.BiddingStrategy.SerializeToString, ), 'MutateBiddingStrategies': grpc.unary_unary_rpc_method_handler( servicer.MutateBiddingStrategies, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.MutateBiddingStrategiesResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.BiddingStrategyService', rpc_method_handlers) + 'google.ads.googleads.v4.services.BiddingStrategyService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/billing_setup_service_pb2.py b/google/ads/google_ads/v4/proto/services/billing_setup_service_pb2.py similarity index 60% rename from google/ads/google_ads/v1/proto/services/billing_setup_service_pb2.py rename to google/ads/google_ads/v4/proto/services/billing_setup_service_pb2.py index 1a5a765eb..efee4dc5d 100644 --- a/google/ads/google_ads/v1/proto/services/billing_setup_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/billing_setup_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/billing_setup_service.proto +# source: google/ads/googleads_v4/proto/services/billing_setup_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,36 +13,39 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2 +from google.ads.google_ads.v4.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/billing_setup_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/billing_setup_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030BillingSetupServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/billing_setup_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/billing_setup.proto\x1a\x1cgoogle/api/annotations.proto\"/\n\x16GetBillingSetupRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"|\n\x19MutateBillingSetupRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12J\n\toperation\x18\x02 \x01(\x0b\x32\x37.google.ads.googleads.v1.services.BillingSetupOperation\"y\n\x15\x42illingSetupOperation\x12\x41\n\x06\x63reate\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v1.resources.BillingSetupH\x00\x12\x10\n\x06remove\x18\x01 \x01(\tH\x00\x42\x0b\n\toperation\"h\n\x1aMutateBillingSetupResponse\x12J\n\x06result\x18\x01 \x01(\x0b\x32:.google.ads.googleads.v1.services.MutateBillingSetupResult\"1\n\x18MutateBillingSetupResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9e\x03\n\x13\x42illingSetupService\x12\xb5\x01\n\x0fGetBillingSetup\x12\x38.google.ads.googleads.v1.services.GetBillingSetupRequest\x1a/.google.ads.googleads.v1.resources.BillingSetup\"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{resource_name=customers/*/billingSetups/*}\x12\xce\x01\n\x12MutateBillingSetup\x12;.google.ads.googleads.v1.services.MutateBillingSetupRequest\x1a<.google.ads.googleads.v1.services.MutateBillingSetupResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/customers/{customer_id=*}/billingSetups:mutate:\x01*B\xff\x01\n$com.google.ads.googleads.v1.servicesB\x18\x42illingSetupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030BillingSetupServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/billing_setup_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/billing_setup.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"^\n\x16GetBillingSetupRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/BillingSetup\"\x86\x01\n\x19MutateBillingSetupRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\toperation\x18\x02 \x01(\x0b\x32\x37.google.ads.googleads.v4.services.BillingSetupOperationB\x03\xe0\x41\x02\"y\n\x15\x42illingSetupOperation\x12\x41\n\x06\x63reate\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v4.resources.BillingSetupH\x00\x12\x10\n\x06remove\x18\x01 \x01(\tH\x00\x42\x0b\n\toperation\"h\n\x1aMutateBillingSetupResponse\x12J\n\x06result\x18\x01 \x01(\x0b\x32:.google.ads.googleads.v4.services.MutateBillingSetupResult\"1\n\x18MutateBillingSetupResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe3\x03\n\x13\x42illingSetupService\x12\xc5\x01\n\x0fGetBillingSetup\x12\x38.google.ads.googleads.v4.services.GetBillingSetupRequest\x1a/.google.ads.googleads.v4.resources.BillingSetup\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/billingSetups/*}\xda\x41\rresource_name\x12\xe6\x01\n\x12MutateBillingSetup\x12;.google.ads.googleads.v4.services.MutateBillingSetupRequest\x1a<.google.ads.googleads.v4.services.MutateBillingSetupResponse\"U\x82\xd3\xe4\x93\x02\x37\"2/v4/customers/{customer_id=*}/billingSetups:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18\x42illingSetupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) _GETBILLINGSETUPREQUEST = _descriptor.Descriptor( name='GetBillingSetupRequest', - full_name='google.ads.googleads.v1.services.GetBillingSetupRequest', + full_name='google.ads.googleads.v4.services.GetBillingSetupRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetBillingSetupRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetBillingSetupRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/BillingSetup'), file=DESCRIPTOR), ], extensions=[ ], @@ -55,32 +58,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=195, - serialized_end=242, + serialized_start=280, + serialized_end=374, ) _MUTATEBILLINGSETUPREQUEST = _descriptor.Descriptor( name='MutateBillingSetupRequest', - full_name='google.ads.googleads.v1.services.MutateBillingSetupRequest', + full_name='google.ads.googleads.v4.services.MutateBillingSetupRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateBillingSetupRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateBillingSetupRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateBillingSetupRequest.operation', index=1, + name='operation', full_name='google.ads.googleads.v4.services.MutateBillingSetupRequest.operation', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -93,27 +96,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=244, - serialized_end=368, + serialized_start=377, + serialized_end=511, ) _BILLINGSETUPOPERATION = _descriptor.Descriptor( name='BillingSetupOperation', - full_name='google.ads.googleads.v1.services.BillingSetupOperation', + full_name='google.ads.googleads.v4.services.BillingSetupOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.BillingSetupOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.BillingSetupOperation.create', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.BillingSetupOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.BillingSetupOperation.remove', index=1, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -131,23 +134,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.BillingSetupOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.BillingSetupOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=370, - serialized_end=491, + serialized_start=513, + serialized_end=634, ) _MUTATEBILLINGSETUPRESPONSE = _descriptor.Descriptor( name='MutateBillingSetupResponse', - full_name='google.ads.googleads.v1.services.MutateBillingSetupResponse', + full_name='google.ads.googleads.v4.services.MutateBillingSetupResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v1.services.MutateBillingSetupResponse.result', index=0, + name='result', full_name='google.ads.googleads.v4.services.MutateBillingSetupResponse.result', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -165,20 +168,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=493, - serialized_end=597, + serialized_start=636, + serialized_end=740, ) _MUTATEBILLINGSETUPRESULT = _descriptor.Descriptor( name='MutateBillingSetupResult', - full_name='google.ads.googleads.v1.services.MutateBillingSetupResult', + full_name='google.ads.googleads.v4.services.MutateBillingSetupResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateBillingSetupResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateBillingSetupResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -196,12 +199,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=599, - serialized_end=648, + serialized_start=742, + serialized_end=791, ) _MUTATEBILLINGSETUPREQUEST.fields_by_name['operation'].message_type = _BILLINGSETUPOPERATION -_BILLINGSETUPOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP +_BILLINGSETUPOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP _BILLINGSETUPOPERATION.oneofs_by_name['operation'].fields.append( _BILLINGSETUPOPERATION.fields_by_name['create']) _BILLINGSETUPOPERATION.fields_by_name['create'].containing_oneof = _BILLINGSETUPOPERATION.oneofs_by_name['operation'] @@ -218,41 +221,41 @@ GetBillingSetupRequest = _reflection.GeneratedProtocolMessageType('GetBillingSetupRequest', (_message.Message,), dict( DESCRIPTOR = _GETBILLINGSETUPREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.billing_setup_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.billing_setup_service_pb2' , __doc__ = """Request message for - [BillingSetupService.GetBillingSetup][google.ads.googleads.v1.services.BillingSetupService.GetBillingSetup]. + [BillingSetupService.GetBillingSetup][google.ads.googleads.v4.services.BillingSetupService.GetBillingSetup]. Attributes: resource_name: - The resource name of the billing setup to fetch. + Required. The resource name of the billing setup to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetBillingSetupRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetBillingSetupRequest) )) _sym_db.RegisterMessage(GetBillingSetupRequest) MutateBillingSetupRequest = _reflection.GeneratedProtocolMessageType('MutateBillingSetupRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEBILLINGSETUPREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.billing_setup_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.billing_setup_service_pb2' , __doc__ = """Request message for billing setup mutate operations. Attributes: customer_id: - Id of the customer to apply the billing setup mutate operation - to. + Required. Id of the customer to apply the billing setup mutate + operation to. operation: - The operation to perform. + Required. The operation to perform. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBillingSetupRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBillingSetupRequest) )) _sym_db.RegisterMessage(MutateBillingSetupRequest) BillingSetupOperation = _reflection.GeneratedProtocolMessageType('BillingSetupOperation', (_message.Message,), dict( DESCRIPTOR = _BILLINGSETUPOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.billing_setup_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.billing_setup_service_pb2' , __doc__ = """A single operation on a billing setup, which describes the cancellation of an existing billing setup. @@ -271,13 +274,13 @@ start time is in the future. The resource name looks like ``customers/{customer_id}/billingSetups/{billing_id}``. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.BillingSetupOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.BillingSetupOperation) )) _sym_db.RegisterMessage(BillingSetupOperation) MutateBillingSetupResponse = _reflection.GeneratedProtocolMessageType('MutateBillingSetupResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEBILLINGSETUPRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.billing_setup_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.billing_setup_service_pb2' , __doc__ = """Response message for a billing setup operation. @@ -287,13 +290,13 @@ A result that identifies the resource affected by the mutate request. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBillingSetupResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBillingSetupResponse) )) _sym_db.RegisterMessage(MutateBillingSetupResponse) MutateBillingSetupResult = _reflection.GeneratedProtocolMessageType('MutateBillingSetupResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEBILLINGSETUPRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.billing_setup_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.billing_setup_service_pb2' , __doc__ = """Result for a single billing setup mutate. @@ -302,39 +305,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateBillingSetupResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateBillingSetupResult) )) _sym_db.RegisterMessage(MutateBillingSetupResult) DESCRIPTOR._options = None +_GETBILLINGSETUPREQUEST.fields_by_name['resource_name']._options = None +_MUTATEBILLINGSETUPREQUEST.fields_by_name['customer_id']._options = None +_MUTATEBILLINGSETUPREQUEST.fields_by_name['operation']._options = None _BILLINGSETUPSERVICE = _descriptor.ServiceDescriptor( name='BillingSetupService', - full_name='google.ads.googleads.v1.services.BillingSetupService', + full_name='google.ads.googleads.v4.services.BillingSetupService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=651, - serialized_end=1065, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=794, + serialized_end=1277, methods=[ _descriptor.MethodDescriptor( name='GetBillingSetup', - full_name='google.ads.googleads.v1.services.BillingSetupService.GetBillingSetup', + full_name='google.ads.googleads.v4.services.BillingSetupService.GetBillingSetup', index=0, containing_service=None, input_type=_GETBILLINGSETUPREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP, - serialized_options=_b('\202\323\344\223\0021\022//v1/{resource_name=customers/*/billingSetups/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/billingSetups/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateBillingSetup', - full_name='google.ads.googleads.v1.services.BillingSetupService.MutateBillingSetup', + full_name='google.ads.googleads.v4.services.BillingSetupService.MutateBillingSetup', index=1, containing_service=None, input_type=_MUTATEBILLINGSETUPREQUEST, output_type=_MUTATEBILLINGSETUPRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v1/customers/{customer_id=*}/billingSetups:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0027\"2/v4/customers/{customer_id=*}/billingSetups:mutate:\001*\332A\025customer_id,operation'), ), ]) _sym_db.RegisterServiceDescriptor(_BILLINGSETUPSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/billing_setup_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/billing_setup_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/billing_setup_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/billing_setup_service_pb2_grpc.py index bed3103ab..e17491aa1 100644 --- a/google/ads/google_ads/v1/proto/services/billing_setup_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/billing_setup_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2 -from google.ads.google_ads.v1.proto.services import billing_setup_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2 +from google.ads.google_ads.v4.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2 +from google.ads.google_ads.v4.proto.services import billing_setup_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2 class BillingSetupServiceStub(object): @@ -10,8 +10,8 @@ class BillingSetupServiceStub(object): A service for designating the business entity responsible for accrued costs. - A billing setup is associated with a Payments account. Billing-related - activity for all billing setups associated with a particular Payments account + A billing setup is associated with a payments account. Billing-related + activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly. Mutates: @@ -26,14 +26,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetBillingSetup = channel.unary_unary( - '/google.ads.googleads.v1.services.BillingSetupService/GetBillingSetup', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2.BillingSetup.FromString, + '/google.ads.googleads.v4.services.BillingSetupService/GetBillingSetup', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2.BillingSetup.FromString, ) self.MutateBillingSetup = channel.unary_unary( - '/google.ads.googleads.v1.services.BillingSetupService/MutateBillingSetup', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.FromString, + '/google.ads.googleads.v4.services.BillingSetupService/MutateBillingSetup', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.FromString, ) @@ -42,8 +42,8 @@ class BillingSetupServiceServicer(object): A service for designating the business entity responsible for accrued costs. - A billing setup is associated with a Payments account. Billing-related - activity for all billing setups associated with a particular Payments account + A billing setup is associated with a payments account. Billing-related + activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly. Mutates: @@ -70,15 +70,15 @@ def add_BillingSetupServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetBillingSetup': grpc.unary_unary_rpc_method_handler( servicer.GetBillingSetup, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2.BillingSetup.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.GetBillingSetupRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2.BillingSetup.SerializeToString, ), 'MutateBillingSetup': grpc.unary_unary_rpc_method_handler( servicer.MutateBillingSetup, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_billing__setup__service__pb2.MutateBillingSetupResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.BillingSetupService', rpc_method_handlers) + 'google.ads.googleads.v4.services.BillingSetupService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2.py new file mode 100644 index 000000000..d9e99dd52 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/campaign_audience_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/campaign_audience_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB CampaignAudienceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/services/campaign_audience_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/resources/campaign_audience_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"n\n\x1eGetCampaignAudienceViewRequest\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-googleads.googleapis.com/CampaignAudienceView2\xa2\x02\n\x1b\x43\x61mpaignAudienceViewService\x12\xe5\x01\n\x17GetCampaignAudienceView\x12@.google.ads.googleads.v4.services.GetCampaignAudienceViewRequest\x1a\x37.google.ads.googleads.v4.resources.CampaignAudienceView\"O\x82\xd3\xe4\x93\x02\x39\x12\x37/v4/{resource_name=customers/*/campaignAudienceViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v4.servicesB CampaignAudienceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCAMPAIGNAUDIENCEVIEWREQUEST = _descriptor.Descriptor( + name='GetCampaignAudienceViewRequest', + full_name='google.ads.googleads.v4.services.GetCampaignAudienceViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignAudienceViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A/\n-googleads.googleapis.com/CampaignAudienceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=408, +) + +DESCRIPTOR.message_types_by_name['GetCampaignAudienceViewRequest'] = _GETCAMPAIGNAUDIENCEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCampaignAudienceViewRequest = _reflection.GeneratedProtocolMessageType('GetCampaignAudienceViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCAMPAIGNAUDIENCEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.campaign_audience_view_service_pb2' + , + __doc__ = """Request message for + [CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v4.services.CampaignAudienceViewService.GetCampaignAudienceView]. + + + Attributes: + resource_name: + Required. The resource name of the campaign audience view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignAudienceViewRequest) + )) +_sym_db.RegisterMessage(GetCampaignAudienceViewRequest) + + +DESCRIPTOR._options = None +_GETCAMPAIGNAUDIENCEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_CAMPAIGNAUDIENCEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='CampaignAudienceViewService', + full_name='google.ads.googleads.v4.services.CampaignAudienceViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=411, + serialized_end=701, + methods=[ + _descriptor.MethodDescriptor( + name='GetCampaignAudienceView', + full_name='google.ads.googleads.v4.services.CampaignAudienceViewService.GetCampaignAudienceView', + index=0, + containing_service=None, + input_type=_GETCAMPAIGNAUDIENCEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2._CAMPAIGNAUDIENCEVIEW, + serialized_options=_b('\202\323\344\223\0029\0227/v4/{resource_name=customers/*/campaignAudienceViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CAMPAIGNAUDIENCEVIEWSERVICE) + +DESCRIPTOR.services_by_name['CampaignAudienceViewService'] = _CAMPAIGNAUDIENCEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/campaign_audience_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/campaign_audience_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2_grpc.py index 02701a275..f79647283 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_audience_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_audience_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2 -from google.ads.google_ads.v1.proto.services import campaign_audience_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__audience__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2 +from google.ads.google_ads.v4.proto.services import campaign_audience_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__audience__view__service__pb2 class CampaignAudienceViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignAudienceView = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignAudienceViewService/GetCampaignAudienceView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.FromString, + '/google.ads.googleads.v4.services.CampaignAudienceViewService/GetCampaignAudienceView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.FromString, ) @@ -42,10 +42,10 @@ def add_CampaignAudienceViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignAudienceView': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignAudienceView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__audience__view__service__pb2.GetCampaignAudienceViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2.CampaignAudienceView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignAudienceViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignAudienceViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2.py index 5773a0501..f55997e58 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_bid_modifier_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_bid_modifier_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_bid_modifier_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_bid_modifier_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\037CampaignBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/campaign_bid_modifier_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/campaign_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"6\n\x1dGetCampaignBidModifierRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xbc\x01\n!MutateCampaignBidModifiersRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12R\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.services.CampaignBidModifierOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x82\x02\n\x1c\x43\x61mpaignBidModifierOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.CampaignBidModifierH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.CampaignBidModifierH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xab\x01\n\"MutateCampaignBidModifiersResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12R\n\x07results\x18\x02 \x03(\x0b\x32\x41.google.ads.googleads.v1.services.MutateCampaignBidModifierResult\"8\n\x1fMutateCampaignBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe0\x03\n\x1a\x43\x61mpaignBidModifierService\x12\xd1\x01\n\x16GetCampaignBidModifier\x12?.google.ads.googleads.v1.services.GetCampaignBidModifierRequest\x1a\x36.google.ads.googleads.v1.resources.CampaignBidModifier\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/campaignBidModifiers/*}\x12\xed\x01\n\x1aMutateCampaignBidModifiers\x12\x43.google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest\x1a\x44.google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse\"D\x82\xd3\xe4\x93\x02>\"9/v1/customers/{customer_id=*}/campaignBidModifiers:mutate:\x01*B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1f\x43\x61mpaignBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037CampaignBidModifierServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/campaign_bid_modifier_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/campaign_bid_modifier.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"l\n\x1dGetCampaignBidModifierRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/CampaignBidModifier\"\xc6\x01\n!MutateCampaignBidModifiersRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.services.CampaignBidModifierOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x82\x02\n\x1c\x43\x61mpaignBidModifierOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.CampaignBidModifierH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.CampaignBidModifierH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xab\x01\n\"MutateCampaignBidModifiersResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12R\n\x07results\x18\x02 \x03(\x0b\x32\x41.google.ads.googleads.v4.services.MutateCampaignBidModifierResult\"8\n\x1fMutateCampaignBidModifierResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa6\x04\n\x1a\x43\x61mpaignBidModifierService\x12\xe1\x01\n\x16GetCampaignBidModifier\x12?.google.ads.googleads.v4.services.GetCampaignBidModifierRequest\x1a\x36.google.ads.googleads.v4.resources.CampaignBidModifier\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/campaignBidModifiers/*}\xda\x41\rresource_name\x12\x86\x02\n\x1aMutateCampaignBidModifiers\x12\x43.google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest\x1a\x44.google.ads.googleads.v4.services.MutateCampaignBidModifiersResponse\"]\x82\xd3\xe4\x93\x02>\"9/v4/customers/{customer_id=*}/campaignBidModifiers:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1f\x43\x61mpaignBidModifierServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNBIDMODIFIERREQUEST = _descriptor.Descriptor( name='GetCampaignBidModifierRequest', - full_name='google.ads.googleads.v1.services.GetCampaignBidModifierRequest', + full_name='google.ads.googleads.v4.services.GetCampaignBidModifierRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignBidModifierRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignBidModifierRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/CampaignBidModifier'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=302, - serialized_end=356, + serialized_start=355, + serialized_end=463, ) _MUTATECAMPAIGNBIDMODIFIERSREQUEST = _descriptor.Descriptor( name='MutateCampaignBidModifiersRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=359, - serialized_end=547, + serialized_start=466, + serialized_end=664, ) _CAMPAIGNBIDMODIFIEROPERATION = _descriptor.Descriptor( name='CampaignBidModifierOperation', - full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation', + full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignBidModifierOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignBidModifierOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=550, - serialized_end=808, + serialized_start=667, + serialized_end=925, ) _MUTATECAMPAIGNBIDMODIFIERSRESPONSE = _descriptor.Descriptor( name='MutateCampaignBidModifiersResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifiersResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=811, - serialized_end=982, + serialized_start=928, + serialized_end=1099, ) _MUTATECAMPAIGNBIDMODIFIERRESULT = _descriptor.Descriptor( name='MutateCampaignBidModifierResult', - full_name='google.ads.googleads.v1.services.MutateCampaignBidModifierResult', + full_name='google.ads.googleads.v4.services.MutateCampaignBidModifierResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignBidModifierResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignBidModifierResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=984, - serialized_end=1040, + serialized_start=1101, + serialized_end=1157, ) _MUTATECAMPAIGNBIDMODIFIERSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNBIDMODIFIEROPERATION _CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER -_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER +_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER +_CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER _CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['create']) _CAMPAIGNBIDMODIFIEROPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNBIDMODIFIEROPERATION.oneofs_by_name['operation'] @@ -262,23 +264,24 @@ GetCampaignBidModifierRequest = _reflection.GeneratedProtocolMessageType('GetCampaignBidModifierRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNBIDMODIFIERREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_bid_modifier_service_pb2' , __doc__ = """Request message for - [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v1.services.CampaignBidModifierService.GetCampaignBidModifier]. + [CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v4.services.CampaignBidModifierService.GetCampaignBidModifier]. Attributes: resource_name: - The resource name of the campaign bid modifier to fetch. + Required. The resource name of the campaign bid modifier to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignBidModifierRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignBidModifierRequest) )) _sym_db.RegisterMessage(GetCampaignBidModifierRequest) MutateCampaignBidModifiersRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifiersRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_bid_modifier_service_pb2' , __doc__ = """Request message for [CampaignBidModifierService.MutateCampaignBidModifier][]. @@ -286,11 +289,11 @@ Attributes: customer_id: - ID of the customer whose campaign bid modifiers are being - modified. + Required. ID of the customer whose campaign bid modifiers are + being modified. operations: - The list of operations to perform on individual campaign bid - modifiers. + Required. The list of operations to perform on individual + campaign bid modifiers. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBidModifiersRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBidModifiersRequest) )) _sym_db.RegisterMessage(MutateCampaignBidModifiersRequest) CampaignBidModifierOperation = _reflection.GeneratedProtocolMessageType('CampaignBidModifierOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNBIDMODIFIEROPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_bid_modifier_service_pb2' , __doc__ = """A single operation (create, remove, update) on a campaign bid modifier. @@ -328,13 +331,13 @@ modifier is expected, in this format: ``customers/{customer_i d}/CampaignBidModifiers/{campaign_id}~{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignBidModifierOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignBidModifierOperation) )) _sym_db.RegisterMessage(CampaignBidModifierOperation) MutateCampaignBidModifiersResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifiersResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_bid_modifier_service_pb2' , __doc__ = """Response message for campaign bid modifiers mutate. @@ -349,13 +352,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBidModifiersResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBidModifiersResponse) )) _sym_db.RegisterMessage(MutateCampaignBidModifiersResponse) MutateCampaignBidModifierResult = _reflection.GeneratedProtocolMessageType('MutateCampaignBidModifierResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBIDMODIFIERRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_bid_modifier_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_bid_modifier_service_pb2' , __doc__ = """The result for the criterion mutate. @@ -364,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBidModifierResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBidModifierResult) )) _sym_db.RegisterMessage(MutateCampaignBidModifierResult) DESCRIPTOR._options = None +_GETCAMPAIGNBIDMODIFIERREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNBIDMODIFIERSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNBIDMODIFIERSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNBIDMODIFIERSERVICE = _descriptor.ServiceDescriptor( name='CampaignBidModifierService', - full_name='google.ads.googleads.v1.services.CampaignBidModifierService', + full_name='google.ads.googleads.v4.services.CampaignBidModifierService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1043, - serialized_end=1523, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1160, + serialized_end=1710, methods=[ _descriptor.MethodDescriptor( name='GetCampaignBidModifier', - full_name='google.ads.googleads.v1.services.CampaignBidModifierService.GetCampaignBidModifier', + full_name='google.ads.googleads.v4.services.CampaignBidModifierService.GetCampaignBidModifier', index=0, containing_service=None, input_type=_GETCAMPAIGNBIDMODIFIERREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/campaignBidModifiers/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/campaignBidModifiers/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignBidModifiers', - full_name='google.ads.googleads.v1.services.CampaignBidModifierService.MutateCampaignBidModifiers', + full_name='google.ads.googleads.v4.services.CampaignBidModifierService.MutateCampaignBidModifiers', index=1, containing_service=None, input_type=_MUTATECAMPAIGNBIDMODIFIERSREQUEST, output_type=_MUTATECAMPAIGNBIDMODIFIERSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v1/customers/{customer_id=*}/campaignBidModifiers:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002>\"9/v4/customers/{customer_id=*}/campaignBidModifiers:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNBIDMODIFIERSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py index cf99d835b..dccfb668a 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_bid_modifier_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_bid_modifier_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 -from google.ads.google_ads.v1.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 class CampaignBidModifierServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignBidModifier = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignBidModifierService/GetCampaignBidModifier', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.CampaignBidModifier.FromString, + '/google.ads.googleads.v4.services.CampaignBidModifierService/GetCampaignBidModifier', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.CampaignBidModifier.FromString, ) self.MutateCampaignBidModifiers = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignBidModifierService/MutateCampaignBidModifiers', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.FromString, + '/google.ads.googleads.v4.services.CampaignBidModifierService/MutateCampaignBidModifiers', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CampaignBidModifierServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignBidModifier': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignBidModifier, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.CampaignBidModifier.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.GetCampaignBidModifierRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.CampaignBidModifier.SerializeToString, ), 'MutateCampaignBidModifiers': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignBidModifiers, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.MutateCampaignBidModifiersResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignBidModifierService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignBidModifierService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2.py index cc7b18374..2974f974c 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_budget_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_budget_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_budget_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_budget_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032CampaignBudgetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/services/campaign_budget_service.proto\x12 google.ads.googleads.v1.services\x1a=google/ads/googleads_v1/proto/resources/campaign_budget.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"1\n\x18GetCampaignBudgetRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb2\x01\n\x1cMutateCampaignBudgetsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.CampaignBudgetOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf3\x01\n\x17\x43\x61mpaignBudgetOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CampaignBudgetH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CampaignBudgetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1dMutateCampaignBudgetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.MutateCampaignBudgetResult\"3\n\x1aMutateCampaignBudgetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb3\x03\n\x15\x43\x61mpaignBudgetService\x12\xbd\x01\n\x11GetCampaignBudget\x12:.google.ads.googleads.v1.services.GetCampaignBudgetRequest\x1a\x31.google.ads.googleads.v1.resources.CampaignBudget\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/campaignBudgets/*}\x12\xd9\x01\n\x15MutateCampaignBudgets\x12>.google.ads.googleads.v1.services.MutateCampaignBudgetsRequest\x1a?.google.ads.googleads.v1.services.MutateCampaignBudgetsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}/campaignBudgets:mutate:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x43\x61mpaignBudgetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032CampaignBudgetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/services/campaign_budget_service.proto\x12 google.ads.googleads.v4.services\x1a=google/ads/googleads_v4/proto/resources/campaign_budget.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"b\n\x18GetCampaignBudgetRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/CampaignBudget\"\xbc\x01\n\x1cMutateCampaignBudgetsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.CampaignBudgetOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf3\x01\n\x17\x43\x61mpaignBudgetOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CampaignBudgetH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CampaignBudgetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1dMutateCampaignBudgetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.MutateCampaignBudgetResult\"3\n\x1aMutateCampaignBudgetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf9\x03\n\x15\x43\x61mpaignBudgetService\x12\xcd\x01\n\x11GetCampaignBudget\x12:.google.ads.googleads.v4.services.GetCampaignBudgetRequest\x1a\x31.google.ads.googleads.v4.resources.CampaignBudget\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/campaignBudgets/*}\xda\x41\rresource_name\x12\xf2\x01\n\x15MutateCampaignBudgets\x12>.google.ads.googleads.v4.services.MutateCampaignBudgetsRequest\x1a?.google.ads.googleads.v4.services.MutateCampaignBudgetsResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/campaignBudgets:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x43\x61mpaignBudgetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNBUDGETREQUEST = _descriptor.Descriptor( name='GetCampaignBudgetRequest', - full_name='google.ads.googleads.v1.services.GetCampaignBudgetRequest', + full_name='google.ads.googleads.v4.services.GetCampaignBudgetRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignBudgetRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignBudgetRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/CampaignBudget'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=290, - serialized_end=339, + serialized_start=343, + serialized_end=441, ) _MUTATECAMPAIGNBUDGETSREQUEST = _descriptor.Descriptor( name='MutateCampaignBudgetsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=342, - serialized_end=520, + serialized_start=444, + serialized_end=632, ) _CAMPAIGNBUDGETOPERATION = _descriptor.Descriptor( name='CampaignBudgetOperation', - full_name='google.ads.googleads.v1.services.CampaignBudgetOperation', + full_name='google.ads.googleads.v4.services.CampaignBudgetOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignBudgetOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignBudgetOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignBudgetOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignBudgetOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignBudgetOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignBudgetOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignBudgetOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignBudgetOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignBudgetOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignBudgetOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=523, - serialized_end=766, + serialized_start=635, + serialized_end=878, ) _MUTATECAMPAIGNBUDGETSRESPONSE = _descriptor.Descriptor( name='MutateCampaignBudgetsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=769, - serialized_end=930, + serialized_start=881, + serialized_end=1042, ) _MUTATECAMPAIGNBUDGETRESULT = _descriptor.Descriptor( name='MutateCampaignBudgetResult', - full_name='google.ads.googleads.v1.services.MutateCampaignBudgetResult', + full_name='google.ads.googleads.v4.services.MutateCampaignBudgetResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignBudgetResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignBudgetResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=932, - serialized_end=983, + serialized_start=1044, + serialized_end=1095, ) _MUTATECAMPAIGNBUDGETSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNBUDGETOPERATION _CAMPAIGNBUDGETOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNBUDGETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET -_CAMPAIGNBUDGETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET +_CAMPAIGNBUDGETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET +_CAMPAIGNBUDGETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET _CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNBUDGETOPERATION.fields_by_name['create']) _CAMPAIGNBUDGETOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNBUDGETOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetCampaignBudgetRequest = _reflection.GeneratedProtocolMessageType('GetCampaignBudgetRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNBUDGETREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_budget_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_budget_service_pb2' , __doc__ = """Request message for - [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v1.services.CampaignBudgetService.GetCampaignBudget]. + [CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v4.services.CampaignBudgetService.GetCampaignBudget]. Attributes: resource_name: - The resource name of the campaign budget to fetch. + Required. The resource name of the campaign budget to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignBudgetRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignBudgetRequest) )) _sym_db.RegisterMessage(GetCampaignBudgetRequest) MutateCampaignBudgetsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBUDGETSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_budget_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_budget_service_pb2' , __doc__ = """Request message for - [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v1.services.CampaignBudgetService.MutateCampaignBudgets]. + [CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v4.services.CampaignBudgetService.MutateCampaignBudgets]. Attributes: customer_id: - The ID of the customer whose campaign budgets are being - modified. + Required. The ID of the customer whose campaign budgets are + being modified. operations: - The list of operations to perform on individual campaign - budgets. + Required. The list of operations to perform on individual + campaign budgets. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBudgetsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBudgetsRequest) )) _sym_db.RegisterMessage(MutateCampaignBudgetsRequest) CampaignBudgetOperation = _reflection.GeneratedProtocolMessageType('CampaignBudgetOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNBUDGETOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_budget_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_budget_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign budget. @@ -328,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/campaignBudgets/{budget_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignBudgetOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignBudgetOperation) )) _sym_db.RegisterMessage(CampaignBudgetOperation) MutateCampaignBudgetsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBUDGETSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_budget_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_budget_service_pb2' , __doc__ = """Response message for campaign budget mutate. @@ -349,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBudgetsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBudgetsResponse) )) _sym_db.RegisterMessage(MutateCampaignBudgetsResponse) MutateCampaignBudgetResult = _reflection.GeneratedProtocolMessageType('MutateCampaignBudgetResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNBUDGETRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_budget_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_budget_service_pb2' , __doc__ = """The result for the campaign budget mutate. @@ -364,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignBudgetResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignBudgetResult) )) _sym_db.RegisterMessage(MutateCampaignBudgetResult) DESCRIPTOR._options = None +_GETCAMPAIGNBUDGETREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNBUDGETSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNBUDGETSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNBUDGETSERVICE = _descriptor.ServiceDescriptor( name='CampaignBudgetService', - full_name='google.ads.googleads.v1.services.CampaignBudgetService', + full_name='google.ads.googleads.v4.services.CampaignBudgetService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=986, - serialized_end=1421, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1098, + serialized_end=1603, methods=[ _descriptor.MethodDescriptor( name='GetCampaignBudget', - full_name='google.ads.googleads.v1.services.CampaignBudgetService.GetCampaignBudget', + full_name='google.ads.googleads.v4.services.CampaignBudgetService.GetCampaignBudget', index=0, containing_service=None, input_type=_GETCAMPAIGNBUDGETREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/campaignBudgets/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/campaignBudgets/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignBudgets', - full_name='google.ads.googleads.v1.services.CampaignBudgetService.MutateCampaignBudgets', + full_name='google.ads.googleads.v4.services.CampaignBudgetService.MutateCampaignBudgets', index=1, containing_service=None, input_type=_MUTATECAMPAIGNBUDGETSREQUEST, output_type=_MUTATECAMPAIGNBUDGETSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}/campaignBudgets:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/campaignBudgets:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNBUDGETSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2_grpc.py index 74eb84466..bbcf1aad3 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_budget_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_budget_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2 -from google.ads.google_ads.v1.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2 +from google.ads.google_ads.v4.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2 class CampaignBudgetServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignBudget = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignBudgetService/GetCampaignBudget', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2.CampaignBudget.FromString, + '/google.ads.googleads.v4.services.CampaignBudgetService/GetCampaignBudget', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2.CampaignBudget.FromString, ) self.MutateCampaignBudgets = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignBudgetService/MutateCampaignBudgets', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignBudgetService/MutateCampaignBudgets', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CampaignBudgetServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignBudget': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignBudget, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2.CampaignBudget.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.GetCampaignBudgetRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2.CampaignBudget.SerializeToString, ), 'MutateCampaignBudgets': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignBudgets, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.MutateCampaignBudgetsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignBudgetService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignBudgetService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2.py index 0e7ea1a10..962f6f040 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_criterion_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_criterion_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_criterion_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_criterion_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035CampaignCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/services/campaign_criterion_service.proto\x12 google.ads.googleads.v1.services\x1a@google/ads/googleads_v1/proto/resources/campaign_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"4\n\x1bGetCampaignCriterionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb6\x01\n\x1dMutateCampaignCriteriaRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.CampaignCriterionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xfc\x01\n\x1a\x43\x61mpaignCriterionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.CampaignCriterionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.CampaignCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa5\x01\n\x1eMutateCampaignCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v1.services.MutateCampaignCriterionResult\"6\n\x1dMutateCampaignCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc4\x03\n\x18\x43\x61mpaignCriterionService\x12\xc7\x01\n\x14GetCampaignCriterion\x12=.google.ads.googleads.v1.services.GetCampaignCriterionRequest\x1a\x34.google.ads.googleads.v1.resources.CampaignCriterion\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{resource_name=customers/*/campaignCriteria/*}\x12\xdd\x01\n\x16MutateCampaignCriteria\x12?.google.ads.googleads.v1.services.MutateCampaignCriteriaRequest\x1a@.google.ads.googleads.v1.services.MutateCampaignCriteriaResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/customers/{customer_id=*}/campaignCriteria:mutate:\x01*B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1d\x43\x61mpaignCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\035CampaignCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/services/campaign_criterion_service.proto\x12 google.ads.googleads.v4.services\x1a@google/ads/googleads_v4/proto/resources/campaign_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"h\n\x1bGetCampaignCriterionRequest\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*googleads.googleapis.com/CampaignCriterion\"\xc0\x01\n\x1dMutateCampaignCriteriaRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.CampaignCriterionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xfc\x01\n\x1a\x43\x61mpaignCriterionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.CampaignCriterionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.CampaignCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa5\x01\n\x1eMutateCampaignCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v4.services.MutateCampaignCriterionResult\"6\n\x1dMutateCampaignCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8a\x04\n\x18\x43\x61mpaignCriterionService\x12\xd7\x01\n\x14GetCampaignCriterion\x12=.google.ads.googleads.v4.services.GetCampaignCriterionRequest\x1a\x34.google.ads.googleads.v4.resources.CampaignCriterion\"J\x82\xd3\xe4\x93\x02\x34\x12\x32/v4/{resource_name=customers/*/campaignCriteria/*}\xda\x41\rresource_name\x12\xf6\x01\n\x16MutateCampaignCriteria\x12?.google.ads.googleads.v4.services.MutateCampaignCriteriaRequest\x1a@.google.ads.googleads.v4.services.MutateCampaignCriteriaResponse\"Y\x82\xd3\xe4\x93\x02:\"5/v4/customers/{customer_id=*}/campaignCriteria:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v4.servicesB\x1d\x43\x61mpaignCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNCRITERIONREQUEST = _descriptor.Descriptor( name='GetCampaignCriterionRequest', - full_name='google.ads.googleads.v1.services.GetCampaignCriterionRequest', + full_name='google.ads.googleads.v4.services.GetCampaignCriterionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignCriterionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignCriterionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A,\n*googleads.googleapis.com/CampaignCriterion'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=296, - serialized_end=348, + serialized_start=349, + serialized_end=453, ) _MUTATECAMPAIGNCRITERIAREQUEST = _descriptor.Descriptor( name='MutateCampaignCriteriaRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=351, - serialized_end=533, + serialized_start=456, + serialized_end=648, ) _CAMPAIGNCRITERIONOPERATION = _descriptor.Descriptor( name='CampaignCriterionOperation', - full_name='google.ads.googleads.v1.services.CampaignCriterionOperation', + full_name='google.ads.googleads.v4.services.CampaignCriterionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignCriterionOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignCriterionOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignCriterionOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignCriterionOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignCriterionOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignCriterionOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignCriterionOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignCriterionOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignCriterionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignCriterionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=536, - serialized_end=788, + serialized_start=651, + serialized_end=903, ) _MUTATECAMPAIGNCRITERIARESPONSE = _descriptor.Descriptor( name='MutateCampaignCriteriaResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignCriteriaResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignCriteriaResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=791, - serialized_end=956, + serialized_start=906, + serialized_end=1071, ) _MUTATECAMPAIGNCRITERIONRESULT = _descriptor.Descriptor( name='MutateCampaignCriterionResult', - full_name='google.ads.googleads.v1.services.MutateCampaignCriterionResult', + full_name='google.ads.googleads.v4.services.MutateCampaignCriterionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignCriterionResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignCriterionResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=958, - serialized_end=1012, + serialized_start=1073, + serialized_end=1127, ) _MUTATECAMPAIGNCRITERIAREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNCRITERIONOPERATION _CAMPAIGNCRITERIONOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION -_CAMPAIGNCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION +_CAMPAIGNCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION +_CAMPAIGNCRITERIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION _CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNCRITERIONOPERATION.fields_by_name['create']) _CAMPAIGNCRITERIONOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNCRITERIONOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetCampaignCriterionRequest = _reflection.GeneratedProtocolMessageType('GetCampaignCriterionRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_service_pb2' , __doc__ = """Request message for - [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v1.services.CampaignCriterionService.GetCampaignCriterion]. + [CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v4.services.CampaignCriterionService.GetCampaignCriterion]. Attributes: resource_name: - The resource name of the criterion to fetch. + Required. The resource name of the criterion to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignCriterionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignCriterionRequest) )) _sym_db.RegisterMessage(GetCampaignCriterionRequest) MutateCampaignCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignCriteriaRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_service_pb2' , __doc__ = """Request message for - [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v1.services.CampaignCriterionService.MutateCampaignCriteria]. + [CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v4.services.CampaignCriterionService.MutateCampaignCriteria]. Attributes: customer_id: - The ID of the customer whose criteria are being modified. + Required. The ID of the customer whose criteria are being + modified. operations: - The list of operations to perform on individual criteria. + Required. The list of operations to perform on individual + criteria. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignCriteriaRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignCriteriaRequest) )) _sym_db.RegisterMessage(MutateCampaignCriteriaRequest) CampaignCriterionOperation = _reflection.GeneratedProtocolMessageType('CampaignCriterionOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign criterion. @@ -326,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/campaignC riteria/{campaign_id}~{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignCriterionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignCriterionOperation) )) _sym_db.RegisterMessage(CampaignCriterionOperation) MutateCampaignCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignCriteriaResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_service_pb2' , __doc__ = """Response message for campaign criterion mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignCriteriaResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignCriteriaResponse) )) _sym_db.RegisterMessage(MutateCampaignCriteriaResponse) MutateCampaignCriterionResult = _reflection.GeneratedProtocolMessageType('MutateCampaignCriterionResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNCRITERIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_service_pb2' , __doc__ = """The result for the criterion mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignCriterionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignCriterionResult) )) _sym_db.RegisterMessage(MutateCampaignCriterionResult) DESCRIPTOR._options = None +_GETCAMPAIGNCRITERIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNCRITERIAREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNCRITERIAREQUEST.fields_by_name['operations']._options = None _CAMPAIGNCRITERIONSERVICE = _descriptor.ServiceDescriptor( name='CampaignCriterionService', - full_name='google.ads.googleads.v1.services.CampaignCriterionService', + full_name='google.ads.googleads.v4.services.CampaignCriterionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1015, - serialized_end=1467, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1130, + serialized_end=1652, methods=[ _descriptor.MethodDescriptor( name='GetCampaignCriterion', - full_name='google.ads.googleads.v1.services.CampaignCriterionService.GetCampaignCriterion', + full_name='google.ads.googleads.v4.services.CampaignCriterionService.GetCampaignCriterion', index=0, containing_service=None, input_type=_GETCAMPAIGNCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION, - serialized_options=_b('\202\323\344\223\0024\0222/v1/{resource_name=customers/*/campaignCriteria/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION, + serialized_options=_b('\202\323\344\223\0024\0222/v4/{resource_name=customers/*/campaignCriteria/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignCriteria', - full_name='google.ads.googleads.v1.services.CampaignCriterionService.MutateCampaignCriteria', + full_name='google.ads.googleads.v4.services.CampaignCriterionService.MutateCampaignCriteria', index=1, containing_service=None, input_type=_MUTATECAMPAIGNCRITERIAREQUEST, output_type=_MUTATECAMPAIGNCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\002:\"5/v1/customers/{customer_id=*}/campaignCriteria:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002:\"5/v4/customers/{customer_id=*}/campaignCriteria:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNCRITERIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2_grpc.py index b2f37d282..bc2a28ba3 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_criterion_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_criterion_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2 -from google.ads.google_ads.v1.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2 +from google.ads.google_ads.v4.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2 class CampaignCriterionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignCriterion = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignCriterionService/GetCampaignCriterion', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2.CampaignCriterion.FromString, + '/google.ads.googleads.v4.services.CampaignCriterionService/GetCampaignCriterion', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2.CampaignCriterion.FromString, ) self.MutateCampaignCriteria = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignCriterionService/MutateCampaignCriteria', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.FromString, + '/google.ads.googleads.v4.services.CampaignCriterionService/MutateCampaignCriteria', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.FromString, ) @@ -54,15 +54,15 @@ def add_CampaignCriterionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignCriterion': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignCriterion, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2.CampaignCriterion.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.GetCampaignCriterionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2.CampaignCriterion.SerializeToString, ), 'MutateCampaignCriteria': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignCriteria, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.MutateCampaignCriteriaResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignCriterionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignCriterionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2.py new file mode 100644 index 000000000..f6ff773ad --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/campaign_criterion_simulation_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/campaign_criterion_simulation_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\'CampaignCriterionSimulationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nRgoogle/ads/googleads_v4/proto/services/campaign_criterion_simulation_service.proto\x12 google.ads.googleads.v4.services\x1aKgoogle/ads/googleads_v4/proto/resources/campaign_criterion_simulation.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"|\n%GetCampaignCriterionSimulationRequest\x12S\n\rresource_name\x18\x01 \x01(\tB<\xe0\x41\x02\xfa\x41\x36\n4googleads.googleapis.com/CampaignCriterionSimulation2\xc5\x02\n\"CampaignCriterionSimulationService\x12\x81\x02\n\x1eGetCampaignCriterionSimulation\x12G.google.ads.googleads.v4.services.GetCampaignCriterionSimulationRequest\x1a>.google.ads.googleads.v4.resources.CampaignCriterionSimulation\"V\x82\xd3\xe4\x93\x02@\x12>/v4/{resource_name=customers/*/campaignCriterionSimulations/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8e\x02\n$com.google.ads.googleads.v4.servicesB\'CampaignCriterionSimulationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCAMPAIGNCRITERIONSIMULATIONREQUEST = _descriptor.Descriptor( + name='GetCampaignCriterionSimulationRequest', + full_name='google.ads.googleads.v4.services.GetCampaignCriterionSimulationRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignCriterionSimulationRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A6\n4googleads.googleapis.com/CampaignCriterionSimulation'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=312, + serialized_end=436, +) + +DESCRIPTOR.message_types_by_name['GetCampaignCriterionSimulationRequest'] = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCampaignCriterionSimulationRequest = _reflection.GeneratedProtocolMessageType('GetCampaignCriterionSimulationRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCAMPAIGNCRITERIONSIMULATIONREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.campaign_criterion_simulation_service_pb2' + , + __doc__ = """Request message for + [CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v4.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation]. + + + Attributes: + resource_name: + Required. The resource name of the campaign criterion + simulation to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignCriterionSimulationRequest) + )) +_sym_db.RegisterMessage(GetCampaignCriterionSimulationRequest) + + +DESCRIPTOR._options = None +_GETCAMPAIGNCRITERIONSIMULATIONREQUEST.fields_by_name['resource_name']._options = None + +_CAMPAIGNCRITERIONSIMULATIONSERVICE = _descriptor.ServiceDescriptor( + name='CampaignCriterionSimulationService', + full_name='google.ads.googleads.v4.services.CampaignCriterionSimulationService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=439, + serialized_end=764, + methods=[ + _descriptor.MethodDescriptor( + name='GetCampaignCriterionSimulation', + full_name='google.ads.googleads.v4.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation', + index=0, + containing_service=None, + input_type=_GETCAMPAIGNCRITERIONSIMULATIONREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION, + serialized_options=_b('\202\323\344\223\002@\022>/v4/{resource_name=customers/*/campaignCriterionSimulations/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CAMPAIGNCRITERIONSIMULATIONSERVICE) + +DESCRIPTOR.services_by_name['CampaignCriterionSimulationService'] = _CAMPAIGNCRITERIONSIMULATIONSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/campaign_criterion_simulation_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/campaign_criterion_simulation_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2_grpc.py index 57066ef51..44912a8c3 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_criterion_simulation_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_criterion_simulation_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 -from google.ads.google_ads.v1.proto.services import campaign_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 +from google.ads.google_ads.v4.proto.services import campaign_criterion_simulation_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2 class CampaignCriterionSimulationServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignCriterionSimulation = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.FromString, + '/google.ads.googleads.v4.services.CampaignCriterionSimulationService/GetCampaignCriterionSimulation', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.FromString, ) @@ -42,10 +42,10 @@ def add_CampaignCriterionSimulationServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignCriterionSimulation': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignCriterionSimulation, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__simulation__service__pb2.GetCampaignCriterionSimulationRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.CampaignCriterionSimulation.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignCriterionSimulationService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignCriterionSimulationService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2.py index b39632ac1..9916d383d 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_draft_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_draft_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,40 +13,42 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_draft_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_draft_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\031CampaignDraftServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/campaign_draft_service.proto\x12 google.ads.googleads.v1.services\x1a.google.ads.googleads.v1.services.MutateCampaignDraftsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}/campaignDrafts:mutate:\x01*\x12\xba\x01\n\x14PromoteCampaignDraft\x12=.google.ads.googleads.v1.services.PromoteCampaignDraftRequest\x1a\x1d.google.longrunning.Operation\"D\x82\xd3\xe4\x93\x02>\"9/v1/{campaign_draft=customers/*/campaignDrafts/*}:promote:\x01*\x12\xf7\x01\n\x1cListCampaignDraftAsyncErrors\x12\x45.google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest\x1a\x46.google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse\"H\x82\xd3\xe4\x93\x02\x42\x12@/v1/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrorsB\x80\x02\n$com.google.ads.googleads.v1.servicesB\x19\x43\x61mpaignDraftServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\031CampaignDraftServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/campaign_draft_service.proto\x12 google.ads.googleads.v4.services\x1a.google.ads.googleads.v4.services.MutateCampaignDraftsResponse\"W\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}/campaignDrafts:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\xfd\x01\n\x14PromoteCampaignDraft\x12=.google.ads.googleads.v4.services.PromoteCampaignDraftRequest\x1a\x1d.google.longrunning.Operation\"\x86\x01\x82\xd3\xe4\x93\x02>\"9/v4/{campaign_draft=customers/*/campaignDrafts/*}:promote:\x01*\xda\x41\x0e\x63\x61mpaign_draft\xca\x41.\n\x15google.protobuf.Empty\x12\x15google.protobuf.Empty\x12\x87\x02\n\x1cListCampaignDraftAsyncErrors\x12\x45.google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest\x1a\x46.google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsResponse\"X\x82\xd3\xe4\x93\x02\x42\x12@/v4/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v4.servicesB\x19\x43\x61mpaignDraftServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNDRAFTREQUEST = _descriptor.Descriptor( name='GetCampaignDraftRequest', - full_name='google.ads.googleads.v1.services.GetCampaignDraftRequest', + full_name='google.ads.googleads.v4.services.GetCampaignDraftRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignDraftRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignDraftRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A(\n&googleads.googleapis.com/CampaignDraft'), file=DESCRIPTOR), ], extensions=[ ], @@ -59,41 +61,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=325, - serialized_end=373, + serialized_start=378, + serialized_end=474, ) _MUTATECAMPAIGNDRAFTSREQUEST = _descriptor.Descriptor( name='MutateCampaignDraftsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignDraftsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignDraftsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -111,25 +113,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=376, - serialized_end=552, + serialized_start=477, + serialized_end=663, ) _PROMOTECAMPAIGNDRAFTREQUEST = _descriptor.Descriptor( name='PromoteCampaignDraftRequest', - full_name='google.ads.googleads.v1.services.PromoteCampaignDraftRequest', + full_name='google.ads.googleads.v4.services.PromoteCampaignDraftRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_draft', full_name='google.ads.googleads.v1.services.PromoteCampaignDraftRequest.campaign_draft', index=0, + name='campaign_draft', full_name='google.ads.googleads.v4.services.PromoteCampaignDraftRequest.campaign_draft', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -142,41 +144,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=554, - serialized_end=607, + serialized_start=665, + serialized_end=723, ) _CAMPAIGNDRAFTOPERATION = _descriptor.Descriptor( name='CampaignDraftOperation', - full_name='google.ads.googleads.v1.services.CampaignDraftOperation', + full_name='google.ads.googleads.v4.services.CampaignDraftOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignDraftOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignDraftOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignDraftOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignDraftOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignDraftOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignDraftOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignDraftOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignDraftOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -194,30 +196,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignDraftOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignDraftOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=610, - serialized_end=850, + serialized_start=726, + serialized_end=966, ) _MUTATECAMPAIGNDRAFTSRESPONSE = _descriptor.Descriptor( name='MutateCampaignDraftsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignDraftsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignDraftsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignDraftsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignDraftsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -235,20 +237,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=853, - serialized_end=1012, + serialized_start=969, + serialized_end=1128, ) _MUTATECAMPAIGNDRAFTRESULT = _descriptor.Descriptor( name='MutateCampaignDraftResult', - full_name='google.ads.googleads.v1.services.MutateCampaignDraftResult', + full_name='google.ads.googleads.v4.services.MutateCampaignDraftResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignDraftResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignDraftResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -266,34 +268,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1014, - serialized_end=1064, + serialized_start=1130, + serialized_end=1180, ) _LISTCAMPAIGNDRAFTASYNCERRORSREQUEST = _descriptor.Descriptor( name='ListCampaignDraftAsyncErrorsRequest', - full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest', + full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A(\n&googleads.googleapis.com/CampaignDraft'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest.page_token', index=1, + name='page_token', full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest.page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_size', full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest.page_size', index=2, + name='page_size', full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest.page_size', index=2, number=3, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -311,27 +313,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1066, - serialized_end=1165, + serialized_start=1183, + serialized_end=1330, ) _LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE = _descriptor.Descriptor( name='ListCampaignDraftAsyncErrorsResponse', - full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse', + full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse.errors', index=0, + name='errors', full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsResponse.errors', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='next_page_token', full_name='google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse.next_page_token', index=1, + name='next_page_token', full_name='google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -349,14 +351,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1167, - serialized_end=1266, + serialized_start=1332, + serialized_end=1431, ) _MUTATECAMPAIGNDRAFTSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNDRAFTOPERATION _CAMPAIGNDRAFTOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNDRAFTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT -_CAMPAIGNDRAFTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT +_CAMPAIGNDRAFTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT +_CAMPAIGNDRAFTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT _CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNDRAFTOPERATION.fields_by_name['create']) _CAMPAIGNDRAFTOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNDRAFTOPERATION.oneofs_by_name['operation'] @@ -381,35 +383,35 @@ GetCampaignDraftRequest = _reflection.GeneratedProtocolMessageType('GetCampaignDraftRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNDRAFTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Request message for - [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v1.services.CampaignDraftService.GetCampaignDraft]. + [CampaignDraftService.GetCampaignDraft][google.ads.googleads.v4.services.CampaignDraftService.GetCampaignDraft]. Attributes: resource_name: - The resource name of the campaign draft to fetch. + Required. The resource name of the campaign draft to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignDraftRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignDraftRequest) )) _sym_db.RegisterMessage(GetCampaignDraftRequest) MutateCampaignDraftsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNDRAFTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Request message for - [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v1.services.CampaignDraftService.MutateCampaignDrafts]. + [CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v4.services.CampaignDraftService.MutateCampaignDrafts]. Attributes: customer_id: - The ID of the customer whose campaign drafts are being - modified. + Required. The ID of the customer whose campaign drafts are + being modified. operations: - The list of operations to perform on individual campaign - drafts. + Required. The list of operations to perform on individual + campaign drafts. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -419,29 +421,29 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignDraftsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignDraftsRequest) )) _sym_db.RegisterMessage(MutateCampaignDraftsRequest) PromoteCampaignDraftRequest = _reflection.GeneratedProtocolMessageType('PromoteCampaignDraftRequest', (_message.Message,), dict( DESCRIPTOR = _PROMOTECAMPAIGNDRAFTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Request message for - [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v1.services.CampaignDraftService.PromoteCampaignDraft]. + [CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v4.services.CampaignDraftService.PromoteCampaignDraft]. Attributes: campaign_draft: - The resource name of the campaign draft to promote. + Required. The resource name of the campaign draft to promote. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.PromoteCampaignDraftRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.PromoteCampaignDraftRequest) )) _sym_db.RegisterMessage(PromoteCampaignDraftRequest) CampaignDraftOperation = _reflection.GeneratedProtocolMessageType('CampaignDraftOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNDRAFTOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign draft. @@ -463,13 +465,13 @@ valid resource name, in this format: ``customers/{customer_id }/campaignDrafts/{base_campaign_id}~{draft_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignDraftOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignDraftOperation) )) _sym_db.RegisterMessage(CampaignDraftOperation) MutateCampaignDraftsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNDRAFTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Response message for campaign draft mutate. @@ -484,13 +486,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignDraftsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignDraftsResponse) )) _sym_db.RegisterMessage(MutateCampaignDraftsResponse) MutateCampaignDraftResult = _reflection.GeneratedProtocolMessageType('MutateCampaignDraftResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNDRAFTRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """The result for the campaign draft mutate. @@ -499,22 +501,22 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignDraftResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignDraftResult) )) _sym_db.RegisterMessage(MutateCampaignDraftResult) ListCampaignDraftAsyncErrorsRequest = _reflection.GeneratedProtocolMessageType('ListCampaignDraftAsyncErrorsRequest', (_message.Message,), dict( DESCRIPTOR = _LISTCAMPAIGNDRAFTASYNCERRORSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Request message for - [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. + [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v4.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. Attributes: resource_name: - The name of the campaign draft from which to retrieve the - async errors. + Required. The name of the campaign draft from which to + retrieve the async errors. page_token: Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from @@ -525,16 +527,16 @@ request is too large, the server may decide to further limit the number of returned resources. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsRequest) )) _sym_db.RegisterMessage(ListCampaignDraftAsyncErrorsRequest) ListCampaignDraftAsyncErrorsResponse = _reflection.GeneratedProtocolMessageType('ListCampaignDraftAsyncErrorsResponse', (_message.Message,), dict( DESCRIPTOR = _LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_draft_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_draft_service_pb2' , __doc__ = """Response message for - [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. + [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v4.services.CampaignDraftService.ListCampaignDraftAsyncErrors]. Attributes: @@ -547,57 +549,62 @@ attribute of the next request. ``next_page_token`` is not returned for the last page. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListCampaignDraftAsyncErrorsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListCampaignDraftAsyncErrorsResponse) )) _sym_db.RegisterMessage(ListCampaignDraftAsyncErrorsResponse) DESCRIPTOR._options = None +_GETCAMPAIGNDRAFTREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNDRAFTSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNDRAFTSREQUEST.fields_by_name['operations']._options = None +_PROMOTECAMPAIGNDRAFTREQUEST.fields_by_name['campaign_draft']._options = None +_LISTCAMPAIGNDRAFTASYNCERRORSREQUEST.fields_by_name['resource_name']._options = None _CAMPAIGNDRAFTSERVICE = _descriptor.ServiceDescriptor( name='CampaignDraftService', - full_name='google.ads.googleads.v1.services.CampaignDraftService', + full_name='google.ads.googleads.v4.services.CampaignDraftService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1269, - serialized_end=2134, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1434, + serialized_end=2452, methods=[ _descriptor.MethodDescriptor( name='GetCampaignDraft', - full_name='google.ads.googleads.v1.services.CampaignDraftService.GetCampaignDraft', + full_name='google.ads.googleads.v4.services.CampaignDraftService.GetCampaignDraft', index=0, containing_service=None, input_type=_GETCAMPAIGNDRAFTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT, - serialized_options=_b('\202\323\344\223\0022\0220/v1/{resource_name=customers/*/campaignDrafts/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT, + serialized_options=_b('\202\323\344\223\0022\0220/v4/{resource_name=customers/*/campaignDrafts/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignDrafts', - full_name='google.ads.googleads.v1.services.CampaignDraftService.MutateCampaignDrafts', + full_name='google.ads.googleads.v4.services.CampaignDraftService.MutateCampaignDrafts', index=1, containing_service=None, input_type=_MUTATECAMPAIGNDRAFTSREQUEST, output_type=_MUTATECAMPAIGNDRAFTSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}/campaignDrafts:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}/campaignDrafts:mutate:\001*\332A\026customer_id,operations'), ), _descriptor.MethodDescriptor( name='PromoteCampaignDraft', - full_name='google.ads.googleads.v1.services.CampaignDraftService.PromoteCampaignDraft', + full_name='google.ads.googleads.v4.services.CampaignDraftService.PromoteCampaignDraft', index=2, containing_service=None, input_type=_PROMOTECAMPAIGNDRAFTREQUEST, output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b('\202\323\344\223\002>\"9/v1/{campaign_draft=customers/*/campaignDrafts/*}:promote:\001*'), + serialized_options=_b('\202\323\344\223\002>\"9/v4/{campaign_draft=customers/*/campaignDrafts/*}:promote:\001*\332A\016campaign_draft\312A.\n\025google.protobuf.Empty\022\025google.protobuf.Empty'), ), _descriptor.MethodDescriptor( name='ListCampaignDraftAsyncErrors', - full_name='google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors', + full_name='google.ads.googleads.v4.services.CampaignDraftService.ListCampaignDraftAsyncErrors', index=3, containing_service=None, input_type=_LISTCAMPAIGNDRAFTASYNCERRORSREQUEST, output_type=_LISTCAMPAIGNDRAFTASYNCERRORSRESPONSE, - serialized_options=_b('\202\323\344\223\002B\022@/v1/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors'), + serialized_options=_b('\202\323\344\223\002B\022@/v4/{resource_name=customers/*/campaignDrafts/*}:listAsyncErrors\332A\rresource_name'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNDRAFTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2_grpc.py similarity index 76% rename from google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2_grpc.py index a3a490a41..4fee9f166 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_draft_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_draft_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2 -from google.ads.google_ads.v1.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2 +from google.ads.google_ads.v4.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2 from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 @@ -19,24 +19,24 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignDraft = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignDraftService/GetCampaignDraft', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2.CampaignDraft.FromString, + '/google.ads.googleads.v4.services.CampaignDraftService/GetCampaignDraft', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2.CampaignDraft.FromString, ) self.MutateCampaignDrafts = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignDraftService/MutateCampaignDrafts', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignDraftService/MutateCampaignDrafts', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsResponse.FromString, ) self.PromoteCampaignDraft = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignDraftService/PromoteCampaignDraft', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.PromoteCampaignDraftRequest.SerializeToString, + '/google.ads.googleads.v4.services.CampaignDraftService/PromoteCampaignDraft', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.PromoteCampaignDraftRequest.SerializeToString, response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, ) self.ListCampaignDraftAsyncErrors = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignDraftService/ListCampaignDraftAsyncErrors', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignDraftService/ListCampaignDraftAsyncErrors', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.FromString, ) @@ -69,7 +69,7 @@ def PromoteCampaignDraft(self, request, context): is done. Only a done status is returned in the response. See the status in the Campaign Draft resource to determine if the promotion was successful. If the LRO failed, use - [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v1.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of + [CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v4.services.CampaignDraftService.ListCampaignDraftAsyncErrors] to view the list of error reasons. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) @@ -90,25 +90,25 @@ def add_CampaignDraftServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignDraft': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignDraft, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2.CampaignDraft.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.GetCampaignDraftRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2.CampaignDraft.SerializeToString, ), 'MutateCampaignDrafts': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignDrafts, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.MutateCampaignDraftsResponse.SerializeToString, ), 'PromoteCampaignDraft': grpc.unary_unary_rpc_method_handler( servicer.PromoteCampaignDraft, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.PromoteCampaignDraftRequest.FromString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.PromoteCampaignDraftRequest.FromString, response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, ), 'ListCampaignDraftAsyncErrors': grpc.unary_unary_rpc_method_handler( servicer.ListCampaignDraftAsyncErrors, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.ListCampaignDraftAsyncErrorsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignDraftService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignDraftService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2.py index c39edb636..c39015218 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_experiment_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_experiment_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,41 +13,43 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_experiment_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_experiment_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036CampaignExperimentServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/services/campaign_experiment_service.proto\x12 google.ads.googleads.v1.services\x1a\x41google/ads/googleads_v1/proto/resources/campaign_experiment.proto\x1a\x1cgoogle/api/annotations.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"5\n\x1cGetCampaignExperimentRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xba\x01\n MutateCampaignExperimentsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12Q\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v1.services.CampaignExperimentOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb6\x01\n\x1b\x43\x61mpaignExperimentOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06update\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CampaignExperimentH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateCampaignExperimentsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v1.services.MutateCampaignExperimentResult\"7\n\x1eMutateCampaignExperimentResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa1\x01\n\x1f\x43reateCampaignExperimentRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12R\n\x13\x63\x61mpaign_experiment\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CampaignExperiment\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"?\n CreateCampaignExperimentMetadata\x12\x1b\n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\t\"Y\n!GraduateCampaignExperimentRequest\x12\x1b\n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\t\x12\x17\n\x0f\x63\x61mpaign_budget\x18\x02 \x01(\t\"@\n\"GraduateCampaignExperimentResponse\x12\x1a\n\x12graduated_campaign\x18\x01 \x01(\t\"?\n PromoteCampaignExperimentRequest\x12\x1b\n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\t\";\n\x1c\x45ndCampaignExperimentRequest\x12\x1b\n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\t\"h\n(ListCampaignExperimentAsyncErrorsRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"h\n)ListCampaignExperimentAsyncErrorsResponse\x12\"\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb3\x0c\n\x19\x43\x61mpaignExperimentService\x12\xcd\x01\n\x15GetCampaignExperiment\x12>.google.ads.googleads.v1.services.GetCampaignExperimentRequest\x1a\x35.google.ads.googleads.v1.resources.CampaignExperiment\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/campaignExperiments/*}\x12\xc1\x01\n\x18\x43reateCampaignExperiment\x12\x41.google.ads.googleads.v1.services.CreateCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/campaignExperiments:create:\x01*\x12\xe9\x01\n\x19MutateCampaignExperiments\x12\x42.google.ads.googleads.v1.services.MutateCampaignExperimentsRequest\x1a\x43.google.ads.googleads.v1.services.MutateCampaignExperimentsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/campaignExperiments:mutate:\x01*\x12\xf8\x01\n\x1aGraduateCampaignExperiment\x12\x43.google.ads.googleads.v1.services.GraduateCampaignExperimentRequest\x1a\x44.google.ads.googleads.v1.services.GraduateCampaignExperimentResponse\"O\x82\xd3\xe4\x93\x02I\"D/v1/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\x01*\x12\xce\x01\n\x19PromoteCampaignExperiment\x12\x42.google.ads.googleads.v1.services.PromoteCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"N\x82\xd3\xe4\x93\x02H\"C/v1/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\x01*\x12\xbb\x01\n\x15\x45ndCampaignExperiment\x12>.google.ads.googleads.v1.services.EndCampaignExperimentRequest\x1a\x16.google.protobuf.Empty\"J\x82\xd3\xe4\x93\x02\x44\"?/v1/{campaign_experiment=customers/*/campaignExperiments/*}:end:\x01*\x12\x8b\x02\n!ListCampaignExperimentAsyncErrors\x12J.google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest\x1aK.google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse\"M\x82\xd3\xe4\x93\x02G\x12\x45/v1/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrorsB\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1e\x43\x61mpaignExperimentServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036CampaignExperimentServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/services/campaign_experiment_service.proto\x12 google.ads.googleads.v4.services\x1a\x41google/ads/googleads_v4/proto/resources/campaign_experiment.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"j\n\x1cGetCampaignExperimentRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/CampaignExperiment\"\xc4\x01\n MutateCampaignExperimentsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12V\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v4.services.CampaignExperimentOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb6\x01\n\x1b\x43\x61mpaignExperimentOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06update\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CampaignExperimentH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateCampaignExperimentsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v4.services.MutateCampaignExperimentResult\"7\n\x1eMutateCampaignExperimentResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xab\x01\n\x1f\x43reateCampaignExperimentRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x13\x63\x61mpaign_experiment\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CampaignExperimentB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x03 \x01(\x08\"?\n CreateCampaignExperimentMetadata\x12\x1b\n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\t\"c\n!GraduateCampaignExperimentRequest\x12 \n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0f\x63\x61mpaign_budget\x18\x02 \x01(\tB\x03\xe0\x41\x02\"@\n\"GraduateCampaignExperimentResponse\x12\x1a\n\x12graduated_campaign\x18\x01 \x01(\t\"D\n PromoteCampaignExperimentRequest\x12 \n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\tB\x03\xe0\x41\x02\"@\n\x1c\x45ndCampaignExperimentRequest\x12 \n\x13\x63\x61mpaign_experiment\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x9d\x01\n(ListCampaignExperimentAsyncErrorsRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/CampaignExperiment\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"h\n)ListCampaignExperimentAsyncErrorsResponse\x12\"\n\x06\x65rrors\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x8d\x0f\n\x19\x43\x61mpaignExperimentService\x12\xdd\x01\n\x15GetCampaignExperiment\x12>.google.ads.googleads.v4.services.GetCampaignExperimentRequest\x1a\x35.google.ads.googleads.v4.resources.CampaignExperiment\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/campaignExperiments/*}\xda\x41\rresource_name\x12\xc1\x02\n\x18\x43reateCampaignExperiment\x12\x41.google.ads.googleads.v4.services.CreateCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"\xc2\x01\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/campaignExperiments:create:\x01*\xda\x41\x1f\x63ustomer_id,campaign_experiment\xca\x41Z\n\x15google.protobuf.Empty\x12\x41google.ads.googleads.v4.services.CreateCampaignExperimentMetadata\x12\x82\x02\n\x19MutateCampaignExperiments\x12\x42.google.ads.googleads.v4.services.MutateCampaignExperimentsRequest\x1a\x43.google.ads.googleads.v4.services.MutateCampaignExperimentsResponse\"\\\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/campaignExperiments:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\x9e\x02\n\x1aGraduateCampaignExperiment\x12\x43.google.ads.googleads.v4.services.GraduateCampaignExperimentRequest\x1a\x44.google.ads.googleads.v4.services.GraduateCampaignExperimentResponse\"u\x82\xd3\xe4\x93\x02I\"D/v4/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\x01*\xda\x41#campaign_experiment,campaign_budget\x12\x96\x02\n\x19PromoteCampaignExperiment\x12\x42.google.ads.googleads.v4.services.PromoteCampaignExperimentRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02H\"C/v4/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\x01*\xda\x41\x13\x63\x61mpaign_experiment\xca\x41.\n\x15google.protobuf.Empty\x12\x15google.protobuf.Empty\x12\xd1\x01\n\x15\x45ndCampaignExperiment\x12>.google.ads.googleads.v4.services.EndCampaignExperimentRequest\x1a\x16.google.protobuf.Empty\"`\x82\xd3\xe4\x93\x02\x44\"?/v4/{campaign_experiment=customers/*/campaignExperiments/*}:end:\x01*\xda\x41\x13\x63\x61mpaign_experiment\x12\x9b\x02\n!ListCampaignExperimentAsyncErrors\x12J.google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest\x1aK.google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsResponse\"]\x82\xd3\xe4\x93\x02G\x12\x45/v4/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1e\x43\x61mpaignExperimentServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_protobuf_dot_empty__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( name='GetCampaignExperimentRequest', - full_name='google.ads.googleads.v1.services.GetCampaignExperimentRequest', + full_name='google.ads.googleads.v4.services.GetCampaignExperimentRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignExperimentRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignExperimentRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/CampaignExperiment'), file=DESCRIPTOR), ], extensions=[ ], @@ -60,41 +62,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=364, - serialized_end=417, + serialized_start=417, + serialized_end=523, ) _MUTATECAMPAIGNEXPERIMENTSREQUEST = _descriptor.Descriptor( name='MutateCampaignExperimentsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -112,34 +114,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=420, - serialized_end=606, + serialized_start=526, + serialized_end=722, ) _CAMPAIGNEXPERIMENTOPERATION = _descriptor.Descriptor( name='CampaignExperimentOperation', - full_name='google.ads.googleads.v1.services.CampaignExperimentOperation', + full_name='google.ads.googleads.v4.services.CampaignExperimentOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignExperimentOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignExperimentOperation.update_mask', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignExperimentOperation.update', index=1, + name='update', full_name='google.ads.googleads.v4.services.CampaignExperimentOperation.update', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignExperimentOperation.remove', index=2, + name='remove', full_name='google.ads.googleads.v4.services.CampaignExperimentOperation.remove', index=2, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -157,30 +159,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignExperimentOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignExperimentOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=609, - serialized_end=791, + serialized_start=725, + serialized_end=907, ) _MUTATECAMPAIGNEXPERIMENTSRESPONSE = _descriptor.Descriptor( name='MutateCampaignExperimentsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -198,20 +200,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=794, - serialized_end=963, + serialized_start=910, + serialized_end=1079, ) _MUTATECAMPAIGNEXPERIMENTRESULT = _descriptor.Descriptor( name='MutateCampaignExperimentResult', - full_name='google.ads.googleads.v1.services.MutateCampaignExperimentResult', + full_name='google.ads.googleads.v4.services.MutateCampaignExperimentResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignExperimentResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignExperimentResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -229,34 +231,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=965, - serialized_end=1020, + serialized_start=1081, + serialized_end=1136, ) _CREATECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( name='CreateCampaignExperimentRequest', - full_name='google.ads.googleads.v1.services.CreateCampaignExperimentRequest', + full_name='google.ads.googleads.v4.services.CreateCampaignExperimentRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.CreateCampaignExperimentRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.CreateCampaignExperimentRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.CreateCampaignExperimentRequest.campaign_experiment', index=1, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.CreateCampaignExperimentRequest.campaign_experiment', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.CreateCampaignExperimentRequest.validate_only', index=2, + name='validate_only', full_name='google.ads.googleads.v4.services.CreateCampaignExperimentRequest.validate_only', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -274,20 +276,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1023, - serialized_end=1184, + serialized_start=1139, + serialized_end=1310, ) _CREATECAMPAIGNEXPERIMENTMETADATA = _descriptor.Descriptor( name='CreateCampaignExperimentMetadata', - full_name='google.ads.googleads.v1.services.CreateCampaignExperimentMetadata', + full_name='google.ads.googleads.v4.services.CreateCampaignExperimentMetadata', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.CreateCampaignExperimentMetadata.campaign_experiment', index=0, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.CreateCampaignExperimentMetadata.campaign_experiment', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -305,32 +307,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1186, - serialized_end=1249, + serialized_start=1312, + serialized_end=1375, ) _GRADUATECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( name='GraduateCampaignExperimentRequest', - full_name='google.ads.googleads.v1.services.GraduateCampaignExperimentRequest', + full_name='google.ads.googleads.v4.services.GraduateCampaignExperimentRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.GraduateCampaignExperimentRequest.campaign_experiment', index=0, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.GraduateCampaignExperimentRequest.campaign_experiment', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v1.services.GraduateCampaignExperimentRequest.campaign_budget', index=1, + name='campaign_budget', full_name='google.ads.googleads.v4.services.GraduateCampaignExperimentRequest.campaign_budget', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -343,20 +345,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1251, - serialized_end=1340, + serialized_start=1377, + serialized_end=1476, ) _GRADUATECAMPAIGNEXPERIMENTRESPONSE = _descriptor.Descriptor( name='GraduateCampaignExperimentResponse', - full_name='google.ads.googleads.v1.services.GraduateCampaignExperimentResponse', + full_name='google.ads.googleads.v4.services.GraduateCampaignExperimentResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='graduated_campaign', full_name='google.ads.googleads.v1.services.GraduateCampaignExperimentResponse.graduated_campaign', index=0, + name='graduated_campaign', full_name='google.ads.googleads.v4.services.GraduateCampaignExperimentResponse.graduated_campaign', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -374,25 +376,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1342, - serialized_end=1406, + serialized_start=1478, + serialized_end=1542, ) _PROMOTECAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( name='PromoteCampaignExperimentRequest', - full_name='google.ads.googleads.v1.services.PromoteCampaignExperimentRequest', + full_name='google.ads.googleads.v4.services.PromoteCampaignExperimentRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.PromoteCampaignExperimentRequest.campaign_experiment', index=0, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.PromoteCampaignExperimentRequest.campaign_experiment', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -405,25 +407,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1408, - serialized_end=1471, + serialized_start=1544, + serialized_end=1612, ) _ENDCAMPAIGNEXPERIMENTREQUEST = _descriptor.Descriptor( name='EndCampaignExperimentRequest', - full_name='google.ads.googleads.v1.services.EndCampaignExperimentRequest', + full_name='google.ads.googleads.v4.services.EndCampaignExperimentRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.EndCampaignExperimentRequest.campaign_experiment', index=0, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.EndCampaignExperimentRequest.campaign_experiment', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -436,34 +438,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1473, - serialized_end=1532, + serialized_start=1614, + serialized_end=1678, ) _LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST = _descriptor.Descriptor( name='ListCampaignExperimentAsyncErrorsRequest', - full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest', + full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/CampaignExperiment'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest.page_token', index=1, + name='page_token', full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest.page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_size', full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest.page_size', index=2, + name='page_size', full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest.page_size', index=2, number=3, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -481,27 +483,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1534, - serialized_end=1638, + serialized_start=1681, + serialized_end=1838, ) _LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE = _descriptor.Descriptor( name='ListCampaignExperimentAsyncErrorsResponse', - full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse', + full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='errors', full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse.errors', index=0, + name='errors', full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsResponse.errors', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='next_page_token', full_name='google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse.next_page_token', index=1, + name='next_page_token', full_name='google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -519,13 +521,13 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1640, - serialized_end=1744, + serialized_start=1840, + serialized_end=1944, ) _MUTATECAMPAIGNEXPERIMENTSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNEXPERIMENTOPERATION _CAMPAIGNEXPERIMENTOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNEXPERIMENTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT +_CAMPAIGNEXPERIMENTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT _CAMPAIGNEXPERIMENTOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNEXPERIMENTOPERATION.fields_by_name['update']) _CAMPAIGNEXPERIMENTOPERATION.fields_by_name['update'].containing_oneof = _CAMPAIGNEXPERIMENTOPERATION.oneofs_by_name['operation'] @@ -534,7 +536,7 @@ _CAMPAIGNEXPERIMENTOPERATION.fields_by_name['remove'].containing_oneof = _CAMPAIGNEXPERIMENTOPERATION.oneofs_by_name['operation'] _MUTATECAMPAIGNEXPERIMENTSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS _MUTATECAMPAIGNEXPERIMENTSRESPONSE.fields_by_name['results'].message_type = _MUTATECAMPAIGNEXPERIMENTRESULT -_CREATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT +_CREATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT _LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE.fields_by_name['errors'].message_type = google_dot_rpc_dot_status__pb2._STATUS DESCRIPTOR.message_types_by_name['GetCampaignExperimentRequest'] = _GETCAMPAIGNEXPERIMENTREQUEST DESCRIPTOR.message_types_by_name['MutateCampaignExperimentsRequest'] = _MUTATECAMPAIGNEXPERIMENTSREQUEST @@ -553,35 +555,36 @@ GetCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('GetCampaignExperimentRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.GetCampaignExperiment]. + [CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v4.services.CampaignExperimentService.GetCampaignExperiment]. Attributes: resource_name: - The resource name of the campaign experiment to fetch. + Required. The resource name of the campaign experiment to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignExperimentRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignExperimentRequest) )) _sym_db.RegisterMessage(GetCampaignExperimentRequest) MutateCampaignExperimentsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v1.services.CampaignExperimentService.MutateCampaignExperiments]. + [CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v4.services.CampaignExperimentService.MutateCampaignExperiments]. Attributes: customer_id: - The ID of the customer whose campaign experiments are being - modified. + Required. The ID of the customer whose campaign experiments + are being modified. operations: - The list of operations to perform on individual campaign - experiments. + Required. The list of operations to perform on individual + campaign experiments. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -591,13 +594,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExperimentsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExperimentsRequest) )) _sym_db.RegisterMessage(MutateCampaignExperimentsRequest) CampaignExperimentOperation = _reflection.GeneratedProtocolMessageType('CampaignExperimentOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXPERIMENTOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """A single update operation on a campaign experiment. @@ -616,13 +619,13 @@ a valid resource name, in this format: ``customers/{customer_ id}/campaignExperiments/{campaign_experiment_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignExperimentOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignExperimentOperation) )) _sym_db.RegisterMessage(CampaignExperimentOperation) MutateCampaignExperimentsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Response message for campaign experiment mutate. @@ -637,13 +640,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExperimentsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExperimentsResponse) )) _sym_db.RegisterMessage(MutateCampaignExperimentsResponse) MutateCampaignExperimentResult = _reflection.GeneratedProtocolMessageType('MutateCampaignExperimentResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXPERIMENTRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """The result for the campaign experiment mutate. @@ -652,35 +655,35 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExperimentResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExperimentResult) )) _sym_db.RegisterMessage(MutateCampaignExperimentResult) CreateCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('CreateCampaignExperimentRequest', (_message.Message,), dict( DESCRIPTOR = _CREATECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.CreateCampaignExperiment]. + [CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v4.services.CampaignExperimentService.CreateCampaignExperiment]. Attributes: customer_id: - The ID of the customer whose campaign experiment is being - created. + Required. The ID of the customer whose campaign experiment is + being created. campaign_experiment: - The campaign experiment to be created. + Required. The campaign experiment to be created. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateCampaignExperimentRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateCampaignExperimentRequest) )) _sym_db.RegisterMessage(CreateCampaignExperimentRequest) CreateCampaignExperimentMetadata = _reflection.GeneratedProtocolMessageType('CreateCampaignExperimentMetadata', (_message.Message,), dict( DESCRIPTOR = _CREATECAMPAIGNEXPERIMENTMETADATA, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Message used as metadata returned in Long Running Operations for CreateCampaignExperimentRequest @@ -690,32 +693,33 @@ campaign_experiment: Resource name of campaign experiment created. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateCampaignExperimentMetadata) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateCampaignExperimentMetadata) )) _sym_db.RegisterMessage(CreateCampaignExperimentMetadata) GraduateCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('GraduateCampaignExperimentRequest', (_message.Message,), dict( DESCRIPTOR = _GRADUATECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.GraduateCampaignExperiment]. + [CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v4.services.CampaignExperimentService.GraduateCampaignExperiment]. Attributes: campaign_experiment: - The resource name of the campaign experiment to graduate. + Required. The resource name of the campaign experiment to + graduate. campaign_budget: - Resource name of the budget to attach to the campaign - graduated from the experiment. + Required. Resource name of the budget to attach to the + campaign graduated from the experiment. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GraduateCampaignExperimentRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GraduateCampaignExperimentRequest) )) _sym_db.RegisterMessage(GraduateCampaignExperimentRequest) GraduateCampaignExperimentResponse = _reflection.GeneratedProtocolMessageType('GraduateCampaignExperimentResponse', (_message.Message,), dict( DESCRIPTOR = _GRADUATECAMPAIGNEXPERIMENTRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Response message for campaign experiment graduate. @@ -726,54 +730,55 @@ experiment. This campaign is the same one as CampaignExperiment.experiment\_campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GraduateCampaignExperimentResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GraduateCampaignExperimentResponse) )) _sym_db.RegisterMessage(GraduateCampaignExperimentResponse) PromoteCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('PromoteCampaignExperimentRequest', (_message.Message,), dict( DESCRIPTOR = _PROMOTECAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.PromoteCampaignExperiment]. + [CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v4.services.CampaignExperimentService.PromoteCampaignExperiment]. Attributes: campaign_experiment: - The resource name of the campaign experiment to promote. + Required. The resource name of the campaign experiment to + promote. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.PromoteCampaignExperimentRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.PromoteCampaignExperimentRequest) )) _sym_db.RegisterMessage(PromoteCampaignExperimentRequest) EndCampaignExperimentRequest = _reflection.GeneratedProtocolMessageType('EndCampaignExperimentRequest', (_message.Message,), dict( DESCRIPTOR = _ENDCAMPAIGNEXPERIMENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v1.services.CampaignExperimentService.EndCampaignExperiment]. + [CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v4.services.CampaignExperimentService.EndCampaignExperiment]. Attributes: campaign_experiment: - The resource name of the campaign experiment to end. + Required. The resource name of the campaign experiment to end. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.EndCampaignExperimentRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.EndCampaignExperimentRequest) )) _sym_db.RegisterMessage(EndCampaignExperimentRequest) ListCampaignExperimentAsyncErrorsRequest = _reflection.GeneratedProtocolMessageType('ListCampaignExperimentAsyncErrorsRequest', (_message.Message,), dict( DESCRIPTOR = _LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Request message for - [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v1.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. + [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v4.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. Attributes: resource_name: - The name of the campaign experiment from which to retrieve the - async errors. + Required. The name of the campaign experiment from which to + retrieve the async errors. page_token: Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from @@ -784,16 +789,16 @@ request is too large, the server may decide to further limit the number of returned resources. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsRequest) )) _sym_db.RegisterMessage(ListCampaignExperimentAsyncErrorsRequest) ListCampaignExperimentAsyncErrorsResponse = _reflection.GeneratedProtocolMessageType('ListCampaignExperimentAsyncErrorsResponse', (_message.Message,), dict( DESCRIPTOR = _LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_experiment_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_experiment_service_pb2' , __doc__ = """Response message for - [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v1.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. + [CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v4.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors]. Attributes: @@ -806,84 +811,94 @@ attribute of the next request. ``next_page_token`` is not returned for the last page. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListCampaignExperimentAsyncErrorsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListCampaignExperimentAsyncErrorsResponse) )) _sym_db.RegisterMessage(ListCampaignExperimentAsyncErrorsResponse) DESCRIPTOR._options = None +_GETCAMPAIGNEXPERIMENTREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNEXPERIMENTSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNEXPERIMENTSREQUEST.fields_by_name['operations']._options = None +_CREATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['customer_id']._options = None +_CREATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment']._options = None +_GRADUATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment']._options = None +_GRADUATECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_budget']._options = None +_PROMOTECAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment']._options = None +_ENDCAMPAIGNEXPERIMENTREQUEST.fields_by_name['campaign_experiment']._options = None +_LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST.fields_by_name['resource_name']._options = None _CAMPAIGNEXPERIMENTSERVICE = _descriptor.ServiceDescriptor( name='CampaignExperimentService', - full_name='google.ads.googleads.v1.services.CampaignExperimentService', + full_name='google.ads.googleads.v4.services.CampaignExperimentService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1747, - serialized_end=3334, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1947, + serialized_end=3880, methods=[ _descriptor.MethodDescriptor( name='GetCampaignExperiment', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.GetCampaignExperiment', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.GetCampaignExperiment', index=0, containing_service=None, input_type=_GETCAMPAIGNEXPERIMENTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/campaignExperiments/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/campaignExperiments/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='CreateCampaignExperiment', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.CreateCampaignExperiment', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.CreateCampaignExperiment', index=1, containing_service=None, input_type=_CREATECAMPAIGNEXPERIMENTREQUEST, output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/campaignExperiments:create:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/campaignExperiments:create:\001*\332A\037customer_id,campaign_experiment\312AZ\n\025google.protobuf.Empty\022Agoogle.ads.googleads.v4.services.CreateCampaignExperimentMetadata'), ), _descriptor.MethodDescriptor( name='MutateCampaignExperiments', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.MutateCampaignExperiments', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.MutateCampaignExperiments', index=2, containing_service=None, input_type=_MUTATECAMPAIGNEXPERIMENTSREQUEST, output_type=_MUTATECAMPAIGNEXPERIMENTSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/campaignExperiments:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/campaignExperiments:mutate:\001*\332A\026customer_id,operations'), ), _descriptor.MethodDescriptor( name='GraduateCampaignExperiment', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.GraduateCampaignExperiment', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.GraduateCampaignExperiment', index=3, containing_service=None, input_type=_GRADUATECAMPAIGNEXPERIMENTREQUEST, output_type=_GRADUATECAMPAIGNEXPERIMENTRESPONSE, - serialized_options=_b('\202\323\344\223\002I\"D/v1/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\001*'), + serialized_options=_b('\202\323\344\223\002I\"D/v4/{campaign_experiment=customers/*/campaignExperiments/*}:graduate:\001*\332A#campaign_experiment,campaign_budget'), ), _descriptor.MethodDescriptor( name='PromoteCampaignExperiment', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.PromoteCampaignExperiment', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.PromoteCampaignExperiment', index=4, containing_service=None, input_type=_PROMOTECAMPAIGNEXPERIMENTREQUEST, output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, - serialized_options=_b('\202\323\344\223\002H\"C/v1/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\001*'), + serialized_options=_b('\202\323\344\223\002H\"C/v4/{campaign_experiment=customers/*/campaignExperiments/*}:promote:\001*\332A\023campaign_experiment\312A.\n\025google.protobuf.Empty\022\025google.protobuf.Empty'), ), _descriptor.MethodDescriptor( name='EndCampaignExperiment', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.EndCampaignExperiment', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.EndCampaignExperiment', index=5, containing_service=None, input_type=_ENDCAMPAIGNEXPERIMENTREQUEST, output_type=google_dot_protobuf_dot_empty__pb2._EMPTY, - serialized_options=_b('\202\323\344\223\002D\"?/v1/{campaign_experiment=customers/*/campaignExperiments/*}:end:\001*'), + serialized_options=_b('\202\323\344\223\002D\"?/v4/{campaign_experiment=customers/*/campaignExperiments/*}:end:\001*\332A\023campaign_experiment'), ), _descriptor.MethodDescriptor( name='ListCampaignExperimentAsyncErrors', - full_name='google.ads.googleads.v1.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors', + full_name='google.ads.googleads.v4.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors', index=6, containing_service=None, input_type=_LISTCAMPAIGNEXPERIMENTASYNCERRORSREQUEST, output_type=_LISTCAMPAIGNEXPERIMENTASYNCERRORSRESPONSE, - serialized_options=_b('\202\323\344\223\002G\022E/v1/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors'), + serialized_options=_b('\202\323\344\223\002G\022E/v4/{resource_name=customers/*/campaignExperiments/*}:listAsyncErrors\332A\rresource_name'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNEXPERIMENTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2_grpc.py similarity index 81% rename from google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2_grpc.py index 96de1635e..0a70193f3 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_experiment_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_experiment_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2 -from google.ads.google_ads.v1.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2 +from google.ads.google_ads.v4.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2 from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 @@ -29,39 +29,39 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/GetCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2.CampaignExperiment.FromString, + '/google.ads.googleads.v4.services.CampaignExperimentService/GetCampaignExperiment', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2.CampaignExperiment.FromString, ) self.CreateCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/CreateCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.CreateCampaignExperimentRequest.SerializeToString, + '/google.ads.googleads.v4.services.CampaignExperimentService/CreateCampaignExperiment', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.CreateCampaignExperimentRequest.SerializeToString, response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, ) self.MutateCampaignExperiments = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/MutateCampaignExperiments', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignExperimentService/MutateCampaignExperiments', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsResponse.FromString, ) self.GraduateCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/GraduateCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentResponse.FromString, + '/google.ads.googleads.v4.services.CampaignExperimentService/GraduateCampaignExperiment', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentResponse.FromString, ) self.PromoteCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/PromoteCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.PromoteCampaignExperimentRequest.SerializeToString, + '/google.ads.googleads.v4.services.CampaignExperimentService/PromoteCampaignExperiment', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.PromoteCampaignExperimentRequest.SerializeToString, response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, ) self.EndCampaignExperiment = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/EndCampaignExperiment', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.EndCampaignExperimentRequest.SerializeToString, + '/google.ads.googleads.v4.services.CampaignExperimentService/EndCampaignExperiment', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.EndCampaignExperimentRequest.SerializeToString, response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString, ) self.ListCampaignExperimentAsyncErrors = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignExperimentService/ListCampaignExperimentAsyncErrors', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.FromString, ) @@ -153,40 +153,40 @@ def add_CampaignExperimentServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignExperiment': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignExperiment, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2.CampaignExperiment.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GetCampaignExperimentRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2.CampaignExperiment.SerializeToString, ), 'CreateCampaignExperiment': grpc.unary_unary_rpc_method_handler( servicer.CreateCampaignExperiment, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.CreateCampaignExperimentRequest.FromString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.CreateCampaignExperimentRequest.FromString, response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, ), 'MutateCampaignExperiments': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignExperiments, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.MutateCampaignExperimentsResponse.SerializeToString, ), 'GraduateCampaignExperiment': grpc.unary_unary_rpc_method_handler( servicer.GraduateCampaignExperiment, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.GraduateCampaignExperimentResponse.SerializeToString, ), 'PromoteCampaignExperiment': grpc.unary_unary_rpc_method_handler( servicer.PromoteCampaignExperiment, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.PromoteCampaignExperimentRequest.FromString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.PromoteCampaignExperimentRequest.FromString, response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, ), 'EndCampaignExperiment': grpc.unary_unary_rpc_method_handler( servicer.EndCampaignExperiment, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.EndCampaignExperimentRequest.FromString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.EndCampaignExperimentRequest.FromString, response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString, ), 'ListCampaignExperimentAsyncErrors': grpc.unary_unary_rpc_method_handler( servicer.ListCampaignExperimentAsyncErrors, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.ListCampaignExperimentAsyncErrorsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignExperimentService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignExperimentService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2.py similarity index 66% rename from google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2.py index 28e11e9aa..2c6c57ac4 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_extension_setting_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_extension_setting_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_extension_setting_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_extension_setting_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB$CampaignExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/services/campaign_extension_setting_service.proto\x12 google.ads.googleads.v1.services\x1aHgoogle/ads/googleads_v1/proto/resources/campaign_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\";\n\"GetCampaignExtensionSettingRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xc6\x01\n&MutateCampaignExtensionSettingsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12W\n\noperations\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v1.services.CampaignExtensionSettingOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x91\x02\n!CampaignExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12M\n\x06\x63reate\x18\x01 \x01(\x0b\x32;.google.ads.googleads.v1.resources.CampaignExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v1.resources.CampaignExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb5\x01\n\'MutateCampaignExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCampaignExtensionSettingResult\"=\n$MutateCampaignExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x04\n\x1f\x43\x61mpaignExtensionSettingService\x12\xe5\x01\n\x1bGetCampaignExtensionSetting\x12\x44.google.ads.googleads.v1.services.GetCampaignExtensionSettingRequest\x1a;.google.ads.googleads.v1.resources.CampaignExtensionSetting\"C\x82\xd3\xe4\x93\x02=\x12;/v1/{resource_name=customers/*/campaignExtensionSettings/*}\x12\x81\x02\n\x1fMutateCampaignExtensionSettings\x12H.google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest\x1aI.google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse\"I\x82\xd3\xe4\x93\x02\x43\">/v1/customers/{customer_id=*}/campaignExtensionSettings:mutate:\x01*B\x8b\x02\n$com.google.ads.googleads.v1.servicesB$CampaignExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB$CampaignExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/services/campaign_extension_setting_service.proto\x12 google.ads.googleads.v4.services\x1aHgoogle/ads/googleads_v4/proto/resources/campaign_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"v\n\"GetCampaignExtensionSettingRequest\x12P\n\rresource_name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1googleads.googleapis.com/CampaignExtensionSetting\"\xd0\x01\n&MutateCampaignExtensionSettingsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\noperations\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v4.services.CampaignExtensionSettingOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x91\x02\n!CampaignExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12M\n\x06\x63reate\x18\x01 \x01(\x0b\x32;.google.ads.googleads.v4.resources.CampaignExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v4.resources.CampaignExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb5\x01\n\'MutateCampaignExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCampaignExtensionSettingResult\"=\n$MutateCampaignExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd3\x04\n\x1f\x43\x61mpaignExtensionSettingService\x12\xf5\x01\n\x1bGetCampaignExtensionSetting\x12\x44.google.ads.googleads.v4.services.GetCampaignExtensionSettingRequest\x1a;.google.ads.googleads.v4.resources.CampaignExtensionSetting\"S\x82\xd3\xe4\x93\x02=\x12;/v4/{resource_name=customers/*/campaignExtensionSettings/*}\xda\x41\rresource_name\x12\x9a\x02\n\x1fMutateCampaignExtensionSettings\x12H.google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest\x1aI.google.ads.googleads.v4.services.MutateCampaignExtensionSettingsResponse\"b\x82\xd3\xe4\x93\x02\x43\">/v4/customers/{customer_id=*}/campaignExtensionSettings:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8b\x02\n$com.google.ads.googleads.v4.servicesB$CampaignExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNEXTENSIONSETTINGREQUEST = _descriptor.Descriptor( name='GetCampaignExtensionSettingRequest', - full_name='google.ads.googleads.v1.services.GetCampaignExtensionSettingRequest', + full_name='google.ads.googleads.v4.services.GetCampaignExtensionSettingRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignExtensionSettingRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignExtensionSettingRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A3\n1googleads.googleapis.com/CampaignExtensionSetting'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=312, - serialized_end=371, + serialized_start=365, + serialized_end=483, ) _MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( name='MutateCampaignExtensionSettingsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=374, - serialized_end=572, + serialized_start=486, + serialized_end=694, ) _CAMPAIGNEXTENSIONSETTINGOPERATION = _descriptor.Descriptor( name='CampaignExtensionSettingOperation', - full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation', + full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignExtensionSettingOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignExtensionSettingOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=575, - serialized_end=848, + serialized_start=697, + serialized_end=970, ) _MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( name='MutateCampaignExtensionSettingsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=851, - serialized_end=1032, + serialized_start=973, + serialized_end=1154, ) _MUTATECAMPAIGNEXTENSIONSETTINGRESULT = _descriptor.Descriptor( name='MutateCampaignExtensionSettingResult', - full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingResult', + full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignExtensionSettingResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignExtensionSettingResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1034, - serialized_end=1095, + serialized_start=1156, + serialized_end=1217, ) _MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNEXTENSIONSETTINGOPERATION _CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING -_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING +_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING +_CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING _CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['create']) _CAMPAIGNEXTENSIONSETTINGOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNEXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetCampaignExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetCampaignExtensionSettingRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNEXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_extension_setting_service_pb2' , __doc__ = """Request message for - [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v1.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. + [CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v4.services.CampaignExtensionSettingService.GetCampaignExtensionSetting]. Attributes: resource_name: - The resource name of the campaign extension setting to fetch. + Required. The resource name of the campaign extension setting + to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignExtensionSettingRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignExtensionSettingRequest) )) _sym_db.RegisterMessage(GetCampaignExtensionSettingRequest) MutateCampaignExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_extension_setting_service_pb2' , __doc__ = """Request message for - [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v1.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. + [CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v4.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings]. Attributes: customer_id: - The ID of the customer whose campaign extension settings are - being modified. + Required. The ID of the customer whose campaign extension + settings are being modified. operations: - The list of operations to perform on individual campaign - extension settings. + Required. The list of operations to perform on individual + campaign extension settings. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExtensionSettingsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExtensionSettingsRequest) )) _sym_db.RegisterMessage(MutateCampaignExtensionSettingsRequest) CampaignExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('CampaignExtensionSettingOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNEXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_extension_setting_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign extension setting. @@ -330,13 +333,13 @@ ustomer_id}/campaignExtensionSettings/{campaign_id}~{extension _type}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignExtensionSettingOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignExtensionSettingOperation) )) _sym_db.RegisterMessage(CampaignExtensionSettingOperation) MutateCampaignExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_extension_setting_service_pb2' , __doc__ = """Response message for a campaign extension setting mutate. @@ -351,13 +354,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExtensionSettingsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExtensionSettingsResponse) )) _sym_db.RegisterMessage(MutateCampaignExtensionSettingsResponse) MutateCampaignExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateCampaignExtensionSettingResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNEXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_extension_setting_service_pb2' , __doc__ = """The result for the campaign extension setting mutate. @@ -366,39 +369,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignExtensionSettingResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignExtensionSettingResult) )) _sym_db.RegisterMessage(MutateCampaignExtensionSettingResult) DESCRIPTOR._options = None +_GETCAMPAIGNEXTENSIONSETTINGREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNEXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( name='CampaignExtensionSettingService', - full_name='google.ads.googleads.v1.services.CampaignExtensionSettingService', + full_name='google.ads.googleads.v4.services.CampaignExtensionSettingService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1098, - serialized_end=1623, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1220, + serialized_end=1815, methods=[ _descriptor.MethodDescriptor( name='GetCampaignExtensionSetting', - full_name='google.ads.googleads.v1.services.CampaignExtensionSettingService.GetCampaignExtensionSetting', + full_name='google.ads.googleads.v4.services.CampaignExtensionSettingService.GetCampaignExtensionSetting', index=0, containing_service=None, input_type=_GETCAMPAIGNEXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002=\022;/v1/{resource_name=customers/*/campaignExtensionSettings/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING, + serialized_options=_b('\202\323\344\223\002=\022;/v4/{resource_name=customers/*/campaignExtensionSettings/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignExtensionSettings', - full_name='google.ads.googleads.v1.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings', + full_name='google.ads.googleads.v4.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings', index=1, containing_service=None, input_type=_MUTATECAMPAIGNEXTENSIONSETTINGSREQUEST, output_type=_MUTATECAMPAIGNEXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002C\">/v1/customers/{customer_id=*}/campaignExtensionSettings:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002C\">/v4/customers/{customer_id=*}/campaignExtensionSettings:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNEXTENSIONSETTINGSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2_grpc.py index 097664517..c7bb56101 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_extension_setting_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_extension_setting_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 -from google.ads.google_ads.v1.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 +from google.ads.google_ads.v4.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 class CampaignExtensionSettingServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExtensionSettingService/GetCampaignExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.CampaignExtensionSetting.FromString, + '/google.ads.googleads.v4.services.CampaignExtensionSettingService/GetCampaignExtensionSetting', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.CampaignExtensionSetting.FromString, ) self.MutateCampaignExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignExtensionSettingService/MutateCampaignExtensionSettings', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CampaignExtensionSettingServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignExtensionSetting': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignExtensionSetting, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.CampaignExtensionSetting.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.GetCampaignExtensionSettingRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.CampaignExtensionSetting.SerializeToString, ), 'MutateCampaignExtensionSettings': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignExtensionSettings, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.MutateCampaignExtensionSettingsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignExtensionSettingService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignExtensionSettingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2.py index 13f36dc53..e9c4da9c3 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_feed_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_feed_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_feed_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_feed_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030CampaignFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/campaign_feed_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/campaign_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"/\n\x16GetCampaignFeedRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xae\x01\n\x1aMutateCampaignFeedsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12K\n\noperations\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.CampaignFeedOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xed\x01\n\x15\x43\x61mpaignFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x41\n\x06\x63reate\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v1.resources.CampaignFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v1.resources.CampaignFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9d\x01\n\x1bMutateCampaignFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.services.MutateCampaignFeedResult\"1\n\x18MutateCampaignFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa1\x03\n\x13\x43\x61mpaignFeedService\x12\xb5\x01\n\x0fGetCampaignFeed\x12\x38.google.ads.googleads.v1.services.GetCampaignFeedRequest\x1a/.google.ads.googleads.v1.resources.CampaignFeed\"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{resource_name=customers/*/campaignFeeds/*}\x12\xd1\x01\n\x13MutateCampaignFeeds\x12<.google.ads.googleads.v1.services.MutateCampaignFeedsRequest\x1a=.google.ads.googleads.v1.services.MutateCampaignFeedsResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/customers/{customer_id=*}/campaignFeeds:mutate:\x01*B\xff\x01\n$com.google.ads.googleads.v1.servicesB\x18\x43\x61mpaignFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030CampaignFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/campaign_feed_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/campaign_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"^\n\x16GetCampaignFeedRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/CampaignFeed\"\xb8\x01\n\x1aMutateCampaignFeedsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\noperations\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.CampaignFeedOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xed\x01\n\x15\x43\x61mpaignFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x41\n\x06\x63reate\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v4.resources.CampaignFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v4.resources.CampaignFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9d\x01\n\x1bMutateCampaignFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.services.MutateCampaignFeedResult\"1\n\x18MutateCampaignFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe7\x03\n\x13\x43\x61mpaignFeedService\x12\xc5\x01\n\x0fGetCampaignFeed\x12\x38.google.ads.googleads.v4.services.GetCampaignFeedRequest\x1a/.google.ads.googleads.v4.resources.CampaignFeed\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/campaignFeeds/*}\xda\x41\rresource_name\x12\xea\x01\n\x13MutateCampaignFeeds\x12<.google.ads.googleads.v4.services.MutateCampaignFeedsRequest\x1a=.google.ads.googleads.v4.services.MutateCampaignFeedsResponse\"V\x82\xd3\xe4\x93\x02\x37\"2/v4/customers/{customer_id=*}/campaignFeeds:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18\x43\x61mpaignFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNFEEDREQUEST = _descriptor.Descriptor( name='GetCampaignFeedRequest', - full_name='google.ads.googleads.v1.services.GetCampaignFeedRequest', + full_name='google.ads.googleads.v4.services.GetCampaignFeedRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignFeedRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignFeedRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/CampaignFeed'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=286, - serialized_end=333, + serialized_start=339, + serialized_end=433, ) _MUTATECAMPAIGNFEEDSREQUEST = _descriptor.Descriptor( name='MutateCampaignFeedsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignFeedsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignFeedsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=336, - serialized_end=510, + serialized_start=436, + serialized_end=620, ) _CAMPAIGNFEEDOPERATION = _descriptor.Descriptor( name='CampaignFeedOperation', - full_name='google.ads.googleads.v1.services.CampaignFeedOperation', + full_name='google.ads.googleads.v4.services.CampaignFeedOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignFeedOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignFeedOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignFeedOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignFeedOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignFeedOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignFeedOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignFeedOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignFeedOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignFeedOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignFeedOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=513, - serialized_end=750, + serialized_start=623, + serialized_end=860, ) _MUTATECAMPAIGNFEEDSRESPONSE = _descriptor.Descriptor( name='MutateCampaignFeedsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignFeedsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignFeedsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignFeedsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignFeedsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=753, - serialized_end=910, + serialized_start=863, + serialized_end=1020, ) _MUTATECAMPAIGNFEEDRESULT = _descriptor.Descriptor( name='MutateCampaignFeedResult', - full_name='google.ads.googleads.v1.services.MutateCampaignFeedResult', + full_name='google.ads.googleads.v4.services.MutateCampaignFeedResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignFeedResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignFeedResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=912, - serialized_end=961, + serialized_start=1022, + serialized_end=1071, ) _MUTATECAMPAIGNFEEDSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNFEEDOPERATION _CAMPAIGNFEEDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED -_CAMPAIGNFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED +_CAMPAIGNFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED +_CAMPAIGNFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED _CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNFEEDOPERATION.fields_by_name['create']) _CAMPAIGNFEEDOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNFEEDOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetCampaignFeedRequest = _reflection.GeneratedProtocolMessageType('GetCampaignFeedRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNFEEDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_feed_service_pb2' , __doc__ = """Request message for - [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v1.services.CampaignFeedService.GetCampaignFeed]. + [CampaignFeedService.GetCampaignFeed][google.ads.googleads.v4.services.CampaignFeedService.GetCampaignFeed]. Attributes: resource_name: - The resource name of the campaign feed to fetch. + Required. The resource name of the campaign feed to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignFeedRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignFeedRequest) )) _sym_db.RegisterMessage(GetCampaignFeedRequest) MutateCampaignFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNFEEDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_feed_service_pb2' , __doc__ = """Request message for - [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v1.services.CampaignFeedService.MutateCampaignFeeds]. + [CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v4.services.CampaignFeedService.MutateCampaignFeeds]. Attributes: customer_id: - The ID of the customer whose campaign feeds are being - modified. + Required. The ID of the customer whose campaign feeds are + being modified. operations: - The list of operations to perform on individual campaign - feeds. + Required. The list of operations to perform on individual + campaign feeds. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignFeedsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignFeedsRequest) )) _sym_db.RegisterMessage(MutateCampaignFeedsRequest) CampaignFeedOperation = _reflection.GeneratedProtocolMessageType('CampaignFeedOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNFEEDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_feed_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign feed. @@ -328,13 +330,13 @@ feed is expected, in this format: ``customers/{customer_id}/c ampaignFeeds/{campaign_id}~{feed_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignFeedOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignFeedOperation) )) _sym_db.RegisterMessage(CampaignFeedOperation) MutateCampaignFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_feed_service_pb2' , __doc__ = """Response message for a campaign feed mutate. @@ -349,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignFeedsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignFeedsResponse) )) _sym_db.RegisterMessage(MutateCampaignFeedsResponse) MutateCampaignFeedResult = _reflection.GeneratedProtocolMessageType('MutateCampaignFeedResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNFEEDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_feed_service_pb2' , __doc__ = """The result for the campaign feed mutate. @@ -364,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignFeedResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignFeedResult) )) _sym_db.RegisterMessage(MutateCampaignFeedResult) DESCRIPTOR._options = None +_GETCAMPAIGNFEEDREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNFEEDSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNFEEDSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNFEEDSERVICE = _descriptor.ServiceDescriptor( name='CampaignFeedService', - full_name='google.ads.googleads.v1.services.CampaignFeedService', + full_name='google.ads.googleads.v4.services.CampaignFeedService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=964, - serialized_end=1381, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1074, + serialized_end=1561, methods=[ _descriptor.MethodDescriptor( name='GetCampaignFeed', - full_name='google.ads.googleads.v1.services.CampaignFeedService.GetCampaignFeed', + full_name='google.ads.googleads.v4.services.CampaignFeedService.GetCampaignFeed', index=0, containing_service=None, input_type=_GETCAMPAIGNFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED, - serialized_options=_b('\202\323\344\223\0021\022//v1/{resource_name=customers/*/campaignFeeds/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/campaignFeeds/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignFeeds', - full_name='google.ads.googleads.v1.services.CampaignFeedService.MutateCampaignFeeds', + full_name='google.ads.googleads.v4.services.CampaignFeedService.MutateCampaignFeeds', index=1, containing_service=None, input_type=_MUTATECAMPAIGNFEEDSREQUEST, output_type=_MUTATECAMPAIGNFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v1/customers/{customer_id=*}/campaignFeeds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0027\"2/v4/customers/{customer_id=*}/campaignFeeds:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNFEEDSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2_grpc.py index 26f107cbd..5d29e8a6c 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_feed_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_feed_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2 -from google.ads.google_ads.v1.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2 +from google.ads.google_ads.v4.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2 class CampaignFeedServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignFeed = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignFeedService/GetCampaignFeed', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2.CampaignFeed.FromString, + '/google.ads.googleads.v4.services.CampaignFeedService/GetCampaignFeed', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2.CampaignFeed.FromString, ) self.MutateCampaignFeeds = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignFeedService/MutateCampaignFeeds', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignFeedService/MutateCampaignFeeds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CampaignFeedServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignFeed': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignFeed, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2.CampaignFeed.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.GetCampaignFeedRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2.CampaignFeed.SerializeToString, ), 'MutateCampaignFeeds': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignFeeds, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.MutateCampaignFeedsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignFeedService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignFeedService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_label_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_label_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/campaign_label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_label_service_pb2.py index 7659b663f..5eab7bf3a 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_label_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\031CampaignLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/campaign_label_service.proto\x12 google.ads.googleads.v1.services\x1a.google.ads.googleads.v1.services.MutateCampaignLabelsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}/campaignLabels:mutate:\x01*B\x80\x02\n$com.google.ads.googleads.v1.servicesB\x19\x43\x61mpaignLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\031CampaignLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/campaign_label_service.proto\x12 google.ads.googleads.v4.services\x1a.google.ads.googleads.v4.services.MutateCampaignLabelsResponse\"W\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}/campaignLabels:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v4.servicesB\x19\x43\x61mpaignLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNLABELREQUEST = _descriptor.Descriptor( name='GetCampaignLabelRequest', - full_name='google.ads.googleads.v1.services.GetCampaignLabelRequest', + full_name='google.ads.googleads.v4.services.GetCampaignLabelRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignLabelRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignLabelRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A(\n&googleads.googleapis.com/CampaignLabel'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=254, - serialized_end=302, + serialized_start=307, + serialized_end=403, ) _MUTATECAMPAIGNLABELSREQUEST = _descriptor.Descriptor( name='MutateCampaignLabelsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignLabelsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignLabelsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=305, - serialized_end=481, + serialized_start=406, + serialized_end=592, ) _CAMPAIGNLABELOPERATION = _descriptor.Descriptor( name='CampaignLabelOperation', - full_name='google.ads.googleads.v1.services.CampaignLabelOperation', + full_name='google.ads.googleads.v4.services.CampaignLabelOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignLabelOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.CampaignLabelOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignLabelOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.CampaignLabelOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignLabelOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignLabelOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=483, - serialized_end=606, + serialized_start=594, + serialized_end=717, ) _MUTATECAMPAIGNLABELSRESPONSE = _descriptor.Descriptor( name='MutateCampaignLabelsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignLabelsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignLabelsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignLabelsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignLabelsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=609, - serialized_end=768, + serialized_start=720, + serialized_end=879, ) _MUTATECAMPAIGNLABELRESULT = _descriptor.Descriptor( name='MutateCampaignLabelResult', - full_name='google.ads.googleads.v1.services.MutateCampaignLabelResult', + full_name='google.ads.googleads.v4.services.MutateCampaignLabelResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignLabelResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignLabelResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=770, - serialized_end=820, + serialized_start=881, + serialized_end=931, ) _MUTATECAMPAIGNLABELSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNLABELOPERATION -_CAMPAIGNLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL +_CAMPAIGNLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL _CAMPAIGNLABELOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNLABELOPERATION.fields_by_name['create']) _CAMPAIGNLABELOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNLABELOPERATION.oneofs_by_name['operation'] @@ -242,34 +244,35 @@ GetCampaignLabelRequest = _reflection.GeneratedProtocolMessageType('GetCampaignLabelRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNLABELREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_label_service_pb2' , __doc__ = """Request message for - [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v1.services.CampaignLabelService.GetCampaignLabel]. + [CampaignLabelService.GetCampaignLabel][google.ads.googleads.v4.services.CampaignLabelService.GetCampaignLabel]. Attributes: resource_name: - The resource name of the campaign-label relationship to fetch. + Required. The resource name of the campaign-label relationship + to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignLabelRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignLabelRequest) )) _sym_db.RegisterMessage(GetCampaignLabelRequest) MutateCampaignLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNLABELSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_label_service_pb2' , __doc__ = """Request message for - [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v1.services.CampaignLabelService.MutateCampaignLabels]. + [CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v4.services.CampaignLabelService.MutateCampaignLabels]. Attributes: customer_id: - ID of the customer whose campaign-label relationships are - being modified. + Required. ID of the customer whose campaign-label + relationships are being modified. operations: - The list of operations to perform on campaign-label + Required. The list of operations to perform on campaign-label relationships. partial_failure: If true, successful operations will be carried out and invalid @@ -280,13 +283,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignLabelsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignLabelsRequest) )) _sym_db.RegisterMessage(MutateCampaignLabelsRequest) CampaignLabelOperation = _reflection.GeneratedProtocolMessageType('CampaignLabelOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNLABELOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_label_service_pb2' , __doc__ = """A single operation (create, remove) on a campaign-label relationship. @@ -302,13 +305,13 @@ relationship being removed, in this format: ``customers/{cust omer_id}/campaignLabels/{campaign_id}~{label_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignLabelOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignLabelOperation) )) _sym_db.RegisterMessage(CampaignLabelOperation) MutateCampaignLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNLABELSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_label_service_pb2' , __doc__ = """Response message for a campaign labels mutate. @@ -323,13 +326,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignLabelsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignLabelsResponse) )) _sym_db.RegisterMessage(MutateCampaignLabelsResponse) MutateCampaignLabelResult = _reflection.GeneratedProtocolMessageType('MutateCampaignLabelResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNLABELRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_label_service_pb2' , __doc__ = """The result for a campaign label mutate. @@ -338,39 +341,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignLabelResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignLabelResult) )) _sym_db.RegisterMessage(MutateCampaignLabelResult) DESCRIPTOR._options = None +_GETCAMPAIGNLABELREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNLABELSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNLABELSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNLABELSERVICE = _descriptor.ServiceDescriptor( name='CampaignLabelService', - full_name='google.ads.googleads.v1.services.CampaignLabelService', + full_name='google.ads.googleads.v4.services.CampaignLabelService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=823, - serialized_end=1249, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=934, + serialized_end=1430, methods=[ _descriptor.MethodDescriptor( name='GetCampaignLabel', - full_name='google.ads.googleads.v1.services.CampaignLabelService.GetCampaignLabel', + full_name='google.ads.googleads.v4.services.CampaignLabelService.GetCampaignLabel', index=0, containing_service=None, input_type=_GETCAMPAIGNLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL, - serialized_options=_b('\202\323\344\223\0022\0220/v1/{resource_name=customers/*/campaignLabels/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL, + serialized_options=_b('\202\323\344\223\0022\0220/v4/{resource_name=customers/*/campaignLabels/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignLabels', - full_name='google.ads.googleads.v1.services.CampaignLabelService.MutateCampaignLabels', + full_name='google.ads.googleads.v4.services.CampaignLabelService.MutateCampaignLabels', index=1, containing_service=None, input_type=_MUTATECAMPAIGNLABELSREQUEST, output_type=_MUTATECAMPAIGNLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}/campaignLabels:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}/campaignLabels:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNLABELSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_label_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_label_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/campaign_label_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_label_service_pb2_grpc.py index 975a111b0..6cb5cf74e 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_label_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_label_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2 -from google.ads.google_ads.v1.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2 +from google.ads.google_ads.v4.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2 class CampaignLabelServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignLabel = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignLabelService/GetCampaignLabel', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2.CampaignLabel.FromString, + '/google.ads.googleads.v4.services.CampaignLabelService/GetCampaignLabel', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2.CampaignLabel.FromString, ) self.MutateCampaignLabels = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignLabelService/MutateCampaignLabels', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignLabelService/MutateCampaignLabels', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CampaignLabelServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignLabel': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignLabel, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2.CampaignLabel.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.GetCampaignLabelRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2.CampaignLabel.SerializeToString, ), 'MutateCampaignLabels': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignLabels, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.MutateCampaignLabelsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignLabelService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignLabelService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/campaign_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_service_pb2.py index e3613b6e9..4a2462000 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\024CampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/services/campaign_service.proto\x12 google.ads.googleads.v1.services\x1a\x36google/ads/googleads_v1/proto/resources/campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"+\n\x12GetCampaignRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa6\x01\n\x16MutateCampaignsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12G\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v1.services.CampaignOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11\x43\x61mpaignOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.CampaignH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.CampaignH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateCampaignsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.MutateCampaignResult\"-\n\x14MutateCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x02\n\x0f\x43\x61mpaignService\x12\xa5\x01\n\x0bGetCampaign\x12\x34.google.ads.googleads.v1.services.GetCampaignRequest\x1a+.google.ads.googleads.v1.resources.Campaign\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{resource_name=customers/*/campaigns/*}\x12\xc1\x01\n\x0fMutateCampaigns\x12\x38.google.ads.googleads.v1.services.MutateCampaignsRequest\x1a\x39.google.ads.googleads.v1.services.MutateCampaignsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/campaigns:mutate:\x01*B\xfb\x01\n$com.google.ads.googleads.v1.servicesB\x14\x43\x61mpaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\024CampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/services/campaign_service.proto\x12 google.ads.googleads.v4.services\x1a\x36google/ads/googleads_v4/proto/resources/campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"V\n\x12GetCampaignRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/Campaign\"\xb0\x01\n\x16MutateCampaignsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v4.services.CampaignOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11\x43\x61mpaignOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.CampaignH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.resources.CampaignH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateCampaignsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.MutateCampaignResult\"-\n\x14MutateCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc3\x03\n\x0f\x43\x61mpaignService\x12\xb5\x01\n\x0bGetCampaign\x12\x34.google.ads.googleads.v4.services.GetCampaignRequest\x1a+.google.ads.googleads.v4.resources.Campaign\"C\x82\xd3\xe4\x93\x02-\x12+/v4/{resource_name=customers/*/campaigns/*}\xda\x41\rresource_name\x12\xda\x01\n\x0fMutateCampaigns\x12\x38.google.ads.googleads.v4.services.MutateCampaignsRequest\x1a\x39.google.ads.googleads.v4.services.MutateCampaignsResponse\"R\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/campaigns:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14\x43\x61mpaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNREQUEST = _descriptor.Descriptor( name='GetCampaignRequest', - full_name='google.ads.googleads.v1.services.GetCampaignRequest', + full_name='google.ads.googleads.v4.services.GetCampaignRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/Campaign'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=276, - serialized_end=319, + serialized_start=329, + serialized_end=415, ) _MUTATECAMPAIGNSREQUEST = _descriptor.Descriptor( name='MutateCampaignsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=322, - serialized_end=488, + serialized_start=418, + serialized_end=594, ) _CAMPAIGNOPERATION = _descriptor.Descriptor( name='CampaignOperation', - full_name='google.ads.googleads.v1.services.CampaignOperation', + full_name='google.ads.googleads.v4.services.CampaignOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CampaignOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CampaignOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CampaignOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CampaignOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CampaignOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CampaignOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=491, - serialized_end=716, + serialized_start=597, + serialized_end=822, ) _MUTATECAMPAIGNSRESPONSE = _descriptor.Descriptor( name='MutateCampaignsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=719, - serialized_end=868, + serialized_start=825, + serialized_end=974, ) _MUTATECAMPAIGNRESULT = _descriptor.Descriptor( name='MutateCampaignResult', - full_name='google.ads.googleads.v1.services.MutateCampaignResult', + full_name='google.ads.googleads.v4.services.MutateCampaignResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=870, - serialized_end=915, + serialized_start=976, + serialized_end=1021, ) _MUTATECAMPAIGNSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNOPERATION _CAMPAIGNOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CAMPAIGNOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN -_CAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN +_CAMPAIGNOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN +_CAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN _CAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNOPERATION.fields_by_name['create']) _CAMPAIGNOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetCampaignRequest = _reflection.GeneratedProtocolMessageType('GetCampaignRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_service_pb2' , __doc__ = """Request message for - [CampaignService.GetCampaign][google.ads.googleads.v1.services.CampaignService.GetCampaign]. + [CampaignService.GetCampaign][google.ads.googleads.v4.services.CampaignService.GetCampaign]. Attributes: resource_name: - The resource name of the campaign to fetch. + Required. The resource name of the campaign to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignRequest) )) _sym_db.RegisterMessage(GetCampaignRequest) MutateCampaignsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_service_pb2' , __doc__ = """Request message for - [CampaignService.MutateCampaigns][google.ads.googleads.v1.services.CampaignService.MutateCampaigns]. + [CampaignService.MutateCampaigns][google.ads.googleads.v4.services.CampaignService.MutateCampaigns]. Attributes: customer_id: - The ID of the customer whose campaigns are being modified. + Required. The ID of the customer whose campaigns are being + modified. operations: - The list of operations to perform on individual campaigns. + Required. The list of operations to perform on individual + campaigns. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignsRequest) )) _sym_db.RegisterMessage(MutateCampaignsRequest) CampaignOperation = _reflection.GeneratedProtocolMessageType('CampaignOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_service_pb2' , __doc__ = """A single operation (create, update, remove) on a campaign. @@ -326,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/campaigns/{campaign_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignOperation) )) _sym_db.RegisterMessage(CampaignOperation) MutateCampaignsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_service_pb2' , __doc__ = """Response message for campaign mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignsResponse) )) _sym_db.RegisterMessage(MutateCampaignsResponse) MutateCampaignResult = _reflection.GeneratedProtocolMessageType('MutateCampaignResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_service_pb2' , __doc__ = """The result for the campaign mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignResult) )) _sym_db.RegisterMessage(MutateCampaignResult) DESCRIPTOR._options = None +_GETCAMPAIGNREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNSERVICE = _descriptor.ServiceDescriptor( name='CampaignService', - full_name='google.ads.googleads.v1.services.CampaignService', + full_name='google.ads.googleads.v4.services.CampaignService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=918, - serialized_end=1299, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1024, + serialized_end=1475, methods=[ _descriptor.MethodDescriptor( name='GetCampaign', - full_name='google.ads.googleads.v1.services.CampaignService.GetCampaign', + full_name='google.ads.googleads.v4.services.CampaignService.GetCampaign', index=0, containing_service=None, input_type=_GETCAMPAIGNREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN, - serialized_options=_b('\202\323\344\223\002-\022+/v1/{resource_name=customers/*/campaigns/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN, + serialized_options=_b('\202\323\344\223\002-\022+/v4/{resource_name=customers/*/campaigns/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaigns', - full_name='google.ads.googleads.v1.services.CampaignService.MutateCampaigns', + full_name='google.ads.googleads.v4.services.CampaignService.MutateCampaigns', index=1, containing_service=None, input_type=_MUTATECAMPAIGNSREQUEST, output_type=_MUTATECAMPAIGNSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/campaigns:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/campaigns:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/campaign_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_service_pb2_grpc.py index aef9a9b29..5621f7826 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2 -from google.ads.google_ads.v1.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2 +from google.ads.google_ads.v4.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2 class CampaignServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaign = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignService/GetCampaign', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2.Campaign.FromString, + '/google.ads.googleads.v4.services.CampaignService/GetCampaign', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2.Campaign.FromString, ) self.MutateCampaigns = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignService/MutateCampaigns', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignService/MutateCampaigns', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_CampaignServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaign': grpc.unary_unary_rpc_method_handler( servicer.GetCampaign, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2.Campaign.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.GetCampaignRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2.Campaign.SerializeToString, ), 'MutateCampaigns': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaigns, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.MutateCampaignsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2.py b/google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2.py rename to google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2.py index 8dbede501..9bf4e9d85 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/campaign_shared_set_service.proto +# source: google/ads/googleads_v4/proto/services/campaign_shared_set_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/campaign_shared_set_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/campaign_shared_set_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035CampaignSharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/services/campaign_shared_set_service.proto\x12 google.ads.googleads.v1.services\x1a\x41google/ads/googleads_v1/proto/resources/campaign_shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"4\n\x1bGetCampaignSharedSetRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb8\x01\n\x1fMutateCampaignSharedSetsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.CampaignSharedSetOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x83\x01\n\x1a\x43\x61mpaignSharedSetOperation\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.CampaignSharedSetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa7\x01\n MutateCampaignSharedSetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v1.services.MutateCampaignSharedSetResult\"6\n\x1dMutateCampaignSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xce\x03\n\x18\x43\x61mpaignSharedSetService\x12\xc9\x01\n\x14GetCampaignSharedSet\x12=.google.ads.googleads.v1.services.GetCampaignSharedSetRequest\x1a\x34.google.ads.googleads.v1.resources.CampaignSharedSet\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{resource_name=customers/*/campaignSharedSets/*}\x12\xe5\x01\n\x18MutateCampaignSharedSets\x12\x41.google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest\x1a\x42.google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v1/customers/{customer_id=*}/campaignSharedSets:mutate:\x01*B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1d\x43\x61mpaignSharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\035CampaignSharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/services/campaign_shared_set_service.proto\x12 google.ads.googleads.v4.services\x1a\x41google/ads/googleads_v4/proto/resources/campaign_shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"h\n\x1bGetCampaignSharedSetRequest\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*googleads.googleapis.com/CampaignSharedSet\"\xc2\x01\n\x1fMutateCampaignSharedSetsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.CampaignSharedSetOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x83\x01\n\x1a\x43\x61mpaignSharedSetOperation\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.CampaignSharedSetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa7\x01\n MutateCampaignSharedSetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v4.services.MutateCampaignSharedSetResult\"6\n\x1dMutateCampaignSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x94\x04\n\x18\x43\x61mpaignSharedSetService\x12\xd9\x01\n\x14GetCampaignSharedSet\x12=.google.ads.googleads.v4.services.GetCampaignSharedSetRequest\x1a\x34.google.ads.googleads.v4.resources.CampaignSharedSet\"L\x82\xd3\xe4\x93\x02\x36\x12\x34/v4/{resource_name=customers/*/campaignSharedSets/*}\xda\x41\rresource_name\x12\xfe\x01\n\x18MutateCampaignSharedSets\x12\x41.google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest\x1a\x42.google.ads.googleads.v4.services.MutateCampaignSharedSetsResponse\"[\x82\xd3\xe4\x93\x02<\"7/v4/customers/{customer_id=*}/campaignSharedSets:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v4.servicesB\x1d\x43\x61mpaignSharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCAMPAIGNSHAREDSETREQUEST = _descriptor.Descriptor( name='GetCampaignSharedSetRequest', - full_name='google.ads.googleads.v1.services.GetCampaignSharedSetRequest', + full_name='google.ads.googleads.v4.services.GetCampaignSharedSetRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCampaignSharedSetRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCampaignSharedSetRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A,\n*googleads.googleapis.com/CampaignSharedSet'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=264, - serialized_end=316, + serialized_start=317, + serialized_end=421, ) _MUTATECAMPAIGNSHAREDSETSREQUEST = _descriptor.Descriptor( name='MutateCampaignSharedSetsRequest', - full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest', + full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=319, - serialized_end=503, + serialized_start=424, + serialized_end=618, ) _CAMPAIGNSHAREDSETOPERATION = _descriptor.Descriptor( name='CampaignSharedSetOperation', - full_name='google.ads.googleads.v1.services.CampaignSharedSetOperation', + full_name='google.ads.googleads.v4.services.CampaignSharedSetOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CampaignSharedSetOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.CampaignSharedSetOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CampaignSharedSetOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.CampaignSharedSetOperation.remove', index=1, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CampaignSharedSetOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CampaignSharedSetOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=506, - serialized_end=637, + serialized_start=621, + serialized_end=752, ) _MUTATECAMPAIGNSHAREDSETSRESPONSE = _descriptor.Descriptor( name='MutateCampaignSharedSetsResponse', - full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse', + full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=640, - serialized_end=807, + serialized_start=755, + serialized_end=922, ) _MUTATECAMPAIGNSHAREDSETRESULT = _descriptor.Descriptor( name='MutateCampaignSharedSetResult', - full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetResult', + full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCampaignSharedSetResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCampaignSharedSetResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=809, - serialized_end=863, + serialized_start=924, + serialized_end=978, ) _MUTATECAMPAIGNSHAREDSETSREQUEST.fields_by_name['operations'].message_type = _CAMPAIGNSHAREDSETOPERATION -_CAMPAIGNSHAREDSETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET +_CAMPAIGNSHAREDSETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET _CAMPAIGNSHAREDSETOPERATION.oneofs_by_name['operation'].fields.append( _CAMPAIGNSHAREDSETOPERATION.fields_by_name['create']) _CAMPAIGNSHAREDSETOPERATION.fields_by_name['create'].containing_oneof = _CAMPAIGNSHAREDSETOPERATION.oneofs_by_name['operation'] @@ -242,35 +244,36 @@ GetCampaignSharedSetRequest = _reflection.GeneratedProtocolMessageType('GetCampaignSharedSetRequest', (_message.Message,), dict( DESCRIPTOR = _GETCAMPAIGNSHAREDSETREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_shared_set_service_pb2' , __doc__ = """Request message for - [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v1.services.CampaignSharedSetService.GetCampaignSharedSet]. + [CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v4.services.CampaignSharedSetService.GetCampaignSharedSet]. Attributes: resource_name: - The resource name of the campaign shared set to fetch. + Required. The resource name of the campaign shared set to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCampaignSharedSetRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCampaignSharedSetRequest) )) _sym_db.RegisterMessage(GetCampaignSharedSetRequest) MutateCampaignSharedSetsRequest = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_shared_set_service_pb2' , __doc__ = """Request message for - [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v1.services.CampaignSharedSetService.MutateCampaignSharedSets]. + [CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v4.services.CampaignSharedSetService.MutateCampaignSharedSets]. Attributes: customer_id: - The ID of the customer whose campaign shared sets are being - modified. + Required. The ID of the customer whose campaign shared sets + are being modified. operations: - The list of operations to perform on individual campaign - shared sets. + Required. The list of operations to perform on individual + campaign shared sets. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -280,13 +283,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignSharedSetsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignSharedSetsRequest) )) _sym_db.RegisterMessage(MutateCampaignSharedSetsRequest) CampaignSharedSetOperation = _reflection.GeneratedProtocolMessageType('CampaignSharedSetOperation', (_message.Message,), dict( DESCRIPTOR = _CAMPAIGNSHAREDSETOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_shared_set_service_pb2' , __doc__ = """A single operation (create, remove) on an campaign shared set. @@ -302,13 +305,13 @@ shared set is expected, in this format: ``customers/{customer _id}/campaignSharedSets/{campaign_id}~{shared_set_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CampaignSharedSetOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignSharedSetOperation) )) _sym_db.RegisterMessage(CampaignSharedSetOperation) MutateCampaignSharedSetsResponse = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_shared_set_service_pb2' , __doc__ = """Response message for a campaign shared set mutate. @@ -323,13 +326,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignSharedSetsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignSharedSetsResponse) )) _sym_db.RegisterMessage(MutateCampaignSharedSetsResponse) MutateCampaignSharedSetResult = _reflection.GeneratedProtocolMessageType('MutateCampaignSharedSetResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECAMPAIGNSHAREDSETRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.campaign_shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.campaign_shared_set_service_pb2' , __doc__ = """The result for the campaign shared set mutate. @@ -338,39 +341,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCampaignSharedSetResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCampaignSharedSetResult) )) _sym_db.RegisterMessage(MutateCampaignSharedSetResult) DESCRIPTOR._options = None +_GETCAMPAIGNSHAREDSETREQUEST.fields_by_name['resource_name']._options = None +_MUTATECAMPAIGNSHAREDSETSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECAMPAIGNSHAREDSETSREQUEST.fields_by_name['operations']._options = None _CAMPAIGNSHAREDSETSERVICE = _descriptor.ServiceDescriptor( name='CampaignSharedSetService', - full_name='google.ads.googleads.v1.services.CampaignSharedSetService', + full_name='google.ads.googleads.v4.services.CampaignSharedSetService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=866, - serialized_end=1328, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=981, + serialized_end=1513, methods=[ _descriptor.MethodDescriptor( name='GetCampaignSharedSet', - full_name='google.ads.googleads.v1.services.CampaignSharedSetService.GetCampaignSharedSet', + full_name='google.ads.googleads.v4.services.CampaignSharedSetService.GetCampaignSharedSet', index=0, containing_service=None, input_type=_GETCAMPAIGNSHAREDSETREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET, - serialized_options=_b('\202\323\344\223\0026\0224/v1/{resource_name=customers/*/campaignSharedSets/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET, + serialized_options=_b('\202\323\344\223\0026\0224/v4/{resource_name=customers/*/campaignSharedSets/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCampaignSharedSets', - full_name='google.ads.googleads.v1.services.CampaignSharedSetService.MutateCampaignSharedSets', + full_name='google.ads.googleads.v4.services.CampaignSharedSetService.MutateCampaignSharedSets', index=1, containing_service=None, input_type=_MUTATECAMPAIGNSHAREDSETSREQUEST, output_type=_MUTATECAMPAIGNSHAREDSETSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v1/customers/{customer_id=*}/campaignSharedSets:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002<\"7/v4/customers/{customer_id=*}/campaignSharedSets:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CAMPAIGNSHAREDSETSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2_grpc.py index 9eb6e2c38..9519bac4b 100644 --- a/google/ads/google_ads/v1/proto/services/campaign_shared_set_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/campaign_shared_set_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2 -from google.ads.google_ads.v1.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2 +from google.ads.google_ads.v4.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 class CampaignSharedSetServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCampaignSharedSet = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignSharedSetService/GetCampaignSharedSet', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2.CampaignSharedSet.FromString, + '/google.ads.googleads.v4.services.CampaignSharedSetService/GetCampaignSharedSet', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2.CampaignSharedSet.FromString, ) self.MutateCampaignSharedSets = channel.unary_unary( - '/google.ads.googleads.v1.services.CampaignSharedSetService/MutateCampaignSharedSets', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.FromString, + '/google.ads.googleads.v4.services.CampaignSharedSetService/MutateCampaignSharedSets', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_CampaignSharedSetServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCampaignSharedSet': grpc.unary_unary_rpc_method_handler( servicer.GetCampaignSharedSet, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2.CampaignSharedSet.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.GetCampaignSharedSetRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2.CampaignSharedSet.SerializeToString, ), 'MutateCampaignSharedSets': grpc.unary_unary_rpc_method_handler( servicer.MutateCampaignSharedSets, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.MutateCampaignSharedSetsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CampaignSharedSetService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CampaignSharedSetService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2.py new file mode 100644 index 000000000..045d63de2 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/carrier_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/carrier_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033CarrierConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/carrier_constant_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/carrier_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"d\n\x19GetCarrierConstantRequest\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(googleads.googleapis.com/CarrierConstant2\xfd\x01\n\x16\x43\x61rrierConstantService\x12\xc5\x01\n\x12GetCarrierConstant\x12;.google.ads.googleads.v4.services.GetCarrierConstantRequest\x1a\x32.google.ads.googleads.v4.resources.CarrierConstant\">\x82\xd3\xe4\x93\x02(\x12&/v4/{resource_name=carrierConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1b\x43\x61rrierConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCARRIERCONSTANTREQUEST = _descriptor.Descriptor( + name='GetCarrierConstantRequest', + full_name='google.ads.googleads.v4.services.GetCarrierConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCarrierConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A*\n(googleads.googleapis.com/CarrierConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=286, + serialized_end=386, +) + +DESCRIPTOR.message_types_by_name['GetCarrierConstantRequest'] = _GETCARRIERCONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCarrierConstantRequest = _reflection.GeneratedProtocolMessageType('GetCarrierConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCARRIERCONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.carrier_constant_service_pb2' + , + __doc__ = """Request message for + [CarrierConstantService.GetCarrierConstant][google.ads.googleads.v4.services.CarrierConstantService.GetCarrierConstant]. + + + Attributes: + resource_name: + Required. Resource name of the carrier constant to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCarrierConstantRequest) + )) +_sym_db.RegisterMessage(GetCarrierConstantRequest) + + +DESCRIPTOR._options = None +_GETCARRIERCONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_CARRIERCONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='CarrierConstantService', + full_name='google.ads.googleads.v4.services.CarrierConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=389, + serialized_end=642, + methods=[ + _descriptor.MethodDescriptor( + name='GetCarrierConstant', + full_name='google.ads.googleads.v4.services.CarrierConstantService.GetCarrierConstant', + index=0, + containing_service=None, + input_type=_GETCARRIERCONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT, + serialized_options=_b('\202\323\344\223\002(\022&/v4/{resource_name=carrierConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CARRIERCONSTANTSERVICE) + +DESCRIPTOR.services_by_name['CarrierConstantService'] = _CARRIERCONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2_grpc.py index 499b9faf9..7ad599fd8 100644 --- a/google/ads/google_ads/v1/proto/services/carrier_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/carrier_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2 -from google.ads.google_ads.v1.proto.services import carrier_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_carrier__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2 +from google.ads.google_ads.v4.proto.services import carrier_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_carrier__constant__service__pb2 class CarrierConstantServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCarrierConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.CarrierConstantService/GetCarrierConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.FromString, + '/google.ads.googleads.v4.services.CarrierConstantService/GetCarrierConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.FromString, ) @@ -42,10 +42,10 @@ def add_CarrierConstantServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCarrierConstant': grpc.unary_unary_rpc_method_handler( servicer.GetCarrierConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_carrier__constant__service__pb2.GetCarrierConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2.CarrierConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CarrierConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CarrierConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/change_status_service_pb2.py b/google/ads/google_ads/v4/proto/services/change_status_service_pb2.py new file mode 100644 index 000000000..06cb46f0b --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/change_status_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/change_status_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/change_status_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030ChangeStatusServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/change_status_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/change_status.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"^\n\x16GetChangeStatusRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/ChangeStatus2\xf9\x01\n\x13\x43hangeStatusService\x12\xc4\x01\n\x0fGetChangeStatus\x12\x38.google.ads.googleads.v4.services.GetChangeStatusRequest\x1a/.google.ads.googleads.v4.resources.ChangeStatus\"F\x82\xd3\xe4\x93\x02\x30\x12./v4/{resource_name=customers/*/changeStatus/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18\x43hangeStatusServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCHANGESTATUSREQUEST = _descriptor.Descriptor( + name='GetChangeStatusRequest', + full_name='google.ads.googleads.v4.services.GetChangeStatusRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetChangeStatusRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/ChangeStatus'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=280, + serialized_end=374, +) + +DESCRIPTOR.message_types_by_name['GetChangeStatusRequest'] = _GETCHANGESTATUSREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetChangeStatusRequest = _reflection.GeneratedProtocolMessageType('GetChangeStatusRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCHANGESTATUSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.change_status_service_pb2' + , + __doc__ = """Request message for + '[ChangeStatusService.GetChangeStatus][google.ads.googleads.v4.services.ChangeStatusService.GetChangeStatus]'. + + + Attributes: + resource_name: + Required. The resource name of the change status to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetChangeStatusRequest) + )) +_sym_db.RegisterMessage(GetChangeStatusRequest) + + +DESCRIPTOR._options = None +_GETCHANGESTATUSREQUEST.fields_by_name['resource_name']._options = None + +_CHANGESTATUSSERVICE = _descriptor.ServiceDescriptor( + name='ChangeStatusService', + full_name='google.ads.googleads.v4.services.ChangeStatusService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=377, + serialized_end=626, + methods=[ + _descriptor.MethodDescriptor( + name='GetChangeStatus', + full_name='google.ads.googleads.v4.services.ChangeStatusService.GetChangeStatus', + index=0, + containing_service=None, + input_type=_GETCHANGESTATUSREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS, + serialized_options=_b('\202\323\344\223\0020\022./v4/{resource_name=customers/*/changeStatus/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CHANGESTATUSSERVICE) + +DESCRIPTOR.services_by_name['ChangeStatusService'] = _CHANGESTATUSSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/change_status_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/change_status_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/change_status_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/change_status_service_pb2_grpc.py index d7db7bebb..c3362270f 100644 --- a/google/ads/google_ads/v1/proto/services/change_status_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/change_status_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2 -from google.ads.google_ads.v1.proto.services import change_status_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_change__status__service__pb2 +from google.ads.google_ads.v4.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2 +from google.ads.google_ads.v4.proto.services import change_status_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_change__status__service__pb2 class ChangeStatusServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetChangeStatus = channel.unary_unary( - '/google.ads.googleads.v1.services.ChangeStatusService/GetChangeStatus', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.FromString, + '/google.ads.googleads.v4.services.ChangeStatusService/GetChangeStatus', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.FromString, ) @@ -42,10 +42,10 @@ def add_ChangeStatusServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetChangeStatus': grpc.unary_unary_rpc_method_handler( servicer.GetChangeStatus, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_change__status__service__pb2.GetChangeStatusRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2.ChangeStatus.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ChangeStatusService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ChangeStatusService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/click_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/click_view_service_pb2.py new file mode 100644 index 000000000..d1a9a3465 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/click_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/click_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/click_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025ClickViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/services/click_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x38google/ads/googleads_v4/proto/resources/click_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"X\n\x13GetClickViewRequest\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"googleads.googleapis.com/ClickView2\xeb\x01\n\x10\x43lickViewService\x12\xb9\x01\n\x0cGetClickView\x12\x35.google.ads.googleads.v4.services.GetClickViewRequest\x1a,.google.ads.googleads.v4.resources.ClickView\"D\x82\xd3\xe4\x93\x02.\x12,/v4/{resource_name=customers/*/clickViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15\x43lickViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCLICKVIEWREQUEST = _descriptor.Descriptor( + name='GetClickViewRequest', + full_name='google.ads.googleads.v4.services.GetClickViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetClickViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A$\n\"googleads.googleapis.com/ClickView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=274, + serialized_end=362, +) + +DESCRIPTOR.message_types_by_name['GetClickViewRequest'] = _GETCLICKVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetClickViewRequest = _reflection.GeneratedProtocolMessageType('GetClickViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCLICKVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.click_view_service_pb2' + , + __doc__ = """Request message for + [ClickViewService.GetClickView][google.ads.googleads.v4.services.ClickViewService.GetClickView]. + + + Attributes: + resource_name: + Required. The resource name of the click view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetClickViewRequest) + )) +_sym_db.RegisterMessage(GetClickViewRequest) + + +DESCRIPTOR._options = None +_GETCLICKVIEWREQUEST.fields_by_name['resource_name']._options = None + +_CLICKVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ClickViewService', + full_name='google.ads.googleads.v4.services.ClickViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=365, + serialized_end=600, + methods=[ + _descriptor.MethodDescriptor( + name='GetClickView', + full_name='google.ads.googleads.v4.services.ClickViewService.GetClickView', + index=0, + containing_service=None, + input_type=_GETCLICKVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW, + serialized_options=_b('\202\323\344\223\002.\022,/v4/{resource_name=customers/*/clickViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CLICKVIEWSERVICE) + +DESCRIPTOR.services_by_name['ClickViewService'] = _CLICKVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/click_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/click_view_service_pb2_grpc.py similarity index 69% rename from google/ads/google_ads/v1/proto/services/click_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/click_view_service_pb2_grpc.py index 00af337f0..4708b7dd4 100644 --- a/google/ads/google_ads/v1/proto/services/click_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/click_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2 -from google.ads.google_ads.v1.proto.services import click_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_click__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2 +from google.ads.google_ads.v4.proto.services import click_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_click__view__service__pb2 class ClickViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetClickView = channel.unary_unary( - '/google.ads.googleads.v1.services.ClickViewService/GetClickView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2.ClickView.FromString, + '/google.ads.googleads.v4.services.ClickViewService/GetClickView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2.ClickView.FromString, ) @@ -42,10 +42,10 @@ def add_ClickViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetClickView': grpc.unary_unary_rpc_method_handler( servicer.GetClickView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2.ClickView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_click__view__service__pb2.GetClickViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2.ClickView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ClickViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ClickViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/conversion_action_service_pb2.py b/google/ads/google_ads/v4/proto/services/conversion_action_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/conversion_action_service_pb2.py rename to google/ads/google_ads/v4/proto/services/conversion_action_service_pb2.py index 1ec297acf..6e87bd68a 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_action_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/conversion_action_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/conversion_action_service.proto +# source: google/ads/googleads_v4/proto/services/conversion_action_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2 +from google.ads.google_ads.v4.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/conversion_action_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/conversion_action_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\034ConversionActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/conversion_action_service.proto\x12 google.ads.googleads.v1.services\x1a?google/ads/googleads_v1/proto/resources/conversion_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"3\n\x1aGetConversionActionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb6\x01\n\x1eMutateConversionActionsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12O\n\noperations\x18\x02 \x03(\x0b\x32;.google.ads.googleads.v1.services.ConversionActionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf9\x01\n\x19\x43onversionActionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x45\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.ConversionActionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.ConversionActionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa5\x01\n\x1fMutateConversionActionsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12O\n\x07results\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.services.MutateConversionActionResult\"5\n\x1cMutateConversionActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc5\x03\n\x17\x43onversionActionService\x12\xc5\x01\n\x13GetConversionAction\x12<.google.ads.googleads.v1.services.GetConversionActionRequest\x1a\x33.google.ads.googleads.v1.resources.ConversionAction\";\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{resource_name=customers/*/conversionActions/*}\x12\xe1\x01\n\x17MutateConversionActions\x12@.google.ads.googleads.v1.services.MutateConversionActionsRequest\x1a\x41.google.ads.googleads.v1.services.MutateConversionActionsResponse\"A\x82\xd3\xe4\x93\x02;\"6/v1/customers/{customer_id=*}/conversionActions:mutate:\x01*B\x83\x02\n$com.google.ads.googleads.v1.servicesB\x1c\x43onversionActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034ConversionActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/conversion_action_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/conversion_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"f\n\x1aGetConversionActionRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/ConversionAction\"\xc0\x01\n\x1eMutateConversionActionsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12T\n\noperations\x18\x02 \x03(\x0b\x32;.google.ads.googleads.v4.services.ConversionActionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xf9\x01\n\x19\x43onversionActionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x45\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.ConversionActionH\x00\x12\x45\n\x06update\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.ConversionActionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa5\x01\n\x1fMutateConversionActionsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12O\n\x07results\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.services.MutateConversionActionResult\"5\n\x1cMutateConversionActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8b\x04\n\x17\x43onversionActionService\x12\xd5\x01\n\x13GetConversionAction\x12<.google.ads.googleads.v4.services.GetConversionActionRequest\x1a\x33.google.ads.googleads.v4.resources.ConversionAction\"K\x82\xd3\xe4\x93\x02\x35\x12\x33/v4/{resource_name=customers/*/conversionActions/*}\xda\x41\rresource_name\x12\xfa\x01\n\x17MutateConversionActions\x12@.google.ads.googleads.v4.services.MutateConversionActionsRequest\x1a\x41.google.ads.googleads.v4.services.MutateConversionActionsResponse\"Z\x82\xd3\xe4\x93\x02;\"6/v4/customers/{customer_id=*}/conversionActions:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1c\x43onversionActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCONVERSIONACTIONREQUEST = _descriptor.Descriptor( name='GetConversionActionRequest', - full_name='google.ads.googleads.v1.services.GetConversionActionRequest', + full_name='google.ads.googleads.v4.services.GetConversionActionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetConversionActionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetConversionActionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/ConversionAction'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=294, - serialized_end=345, + serialized_start=347, + serialized_end=449, ) _MUTATECONVERSIONACTIONSREQUEST = _descriptor.Descriptor( name='MutateConversionActionsRequest', - full_name='google.ads.googleads.v1.services.MutateConversionActionsRequest', + full_name='google.ads.googleads.v4.services.MutateConversionActionsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateConversionActionsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateConversionActionsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateConversionActionsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateConversionActionsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateConversionActionsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateConversionActionsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateConversionActionsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateConversionActionsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=348, - serialized_end=530, + serialized_start=452, + serialized_end=644, ) _CONVERSIONACTIONOPERATION = _descriptor.Descriptor( name='ConversionActionOperation', - full_name='google.ads.googleads.v1.services.ConversionActionOperation', + full_name='google.ads.googleads.v4.services.ConversionActionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.ConversionActionOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.ConversionActionOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.ConversionActionOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.ConversionActionOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.ConversionActionOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.ConversionActionOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.ConversionActionOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.ConversionActionOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.ConversionActionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.ConversionActionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=533, - serialized_end=782, + serialized_start=647, + serialized_end=896, ) _MUTATECONVERSIONACTIONSRESPONSE = _descriptor.Descriptor( name='MutateConversionActionsResponse', - full_name='google.ads.googleads.v1.services.MutateConversionActionsResponse', + full_name='google.ads.googleads.v4.services.MutateConversionActionsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateConversionActionsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateConversionActionsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateConversionActionsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateConversionActionsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=785, - serialized_end=950, + serialized_start=899, + serialized_end=1064, ) _MUTATECONVERSIONACTIONRESULT = _descriptor.Descriptor( name='MutateConversionActionResult', - full_name='google.ads.googleads.v1.services.MutateConversionActionResult', + full_name='google.ads.googleads.v4.services.MutateConversionActionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateConversionActionResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateConversionActionResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=952, - serialized_end=1005, + serialized_start=1066, + serialized_end=1119, ) _MUTATECONVERSIONACTIONSREQUEST.fields_by_name['operations'].message_type = _CONVERSIONACTIONOPERATION _CONVERSIONACTIONOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CONVERSIONACTIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION -_CONVERSIONACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION +_CONVERSIONACTIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION +_CONVERSIONACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION _CONVERSIONACTIONOPERATION.oneofs_by_name['operation'].fields.append( _CONVERSIONACTIONOPERATION.fields_by_name['create']) _CONVERSIONACTIONOPERATION.fields_by_name['create'].containing_oneof = _CONVERSIONACTIONOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetConversionActionRequest = _reflection.GeneratedProtocolMessageType('GetConversionActionRequest', (_message.Message,), dict( DESCRIPTOR = _GETCONVERSIONACTIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_action_service_pb2' , __doc__ = """Request message for - [ConversionActionService.GetConversionAction][google.ads.googleads.v1.services.ConversionActionService.GetConversionAction]. + [ConversionActionService.GetConversionAction][google.ads.googleads.v4.services.ConversionActionService.GetConversionAction]. Attributes: resource_name: - The resource name of the conversion action to fetch. + Required. The resource name of the conversion action to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetConversionActionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetConversionActionRequest) )) _sym_db.RegisterMessage(GetConversionActionRequest) MutateConversionActionsRequest = _reflection.GeneratedProtocolMessageType('MutateConversionActionsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECONVERSIONACTIONSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_action_service_pb2' , __doc__ = """Request message for - [ConversionActionService.MutateConversionActions][google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions]. + [ConversionActionService.MutateConversionActions][google.ads.googleads.v4.services.ConversionActionService.MutateConversionActions]. Attributes: customer_id: - The ID of the customer whose conversion actions are being - modified. + Required. The ID of the customer whose conversion actions are + being modified. operations: - The list of operations to perform on individual conversion - actions. + Required. The list of operations to perform on individual + conversion actions. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateConversionActionsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateConversionActionsRequest) )) _sym_db.RegisterMessage(MutateConversionActionsRequest) ConversionActionOperation = _reflection.GeneratedProtocolMessageType('ConversionActionOperation', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONACTIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_action_service_pb2' , __doc__ = """A single operation (create, update, remove) on a conversion action. @@ -328,16 +330,16 @@ action is expected, in this format: ``customers/{customer_id} /conversionActions/{conversion_action_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ConversionActionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ConversionActionOperation) )) _sym_db.RegisterMessage(ConversionActionOperation) MutateConversionActionsResponse = _reflection.GeneratedProtocolMessageType('MutateConversionActionsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECONVERSIONACTIONSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_action_service_pb2' , __doc__ = """Response message for - [ConversionActionService.MutateConversionActions][google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions]. + [ConversionActionService.MutateConversionActions][google.ads.googleads.v4.services.ConversionActionService.MutateConversionActions]. Attributes: @@ -350,13 +352,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateConversionActionsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateConversionActionsResponse) )) _sym_db.RegisterMessage(MutateConversionActionsResponse) MutateConversionActionResult = _reflection.GeneratedProtocolMessageType('MutateConversionActionResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECONVERSIONACTIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_action_service_pb2' , __doc__ = """The result for the conversion action mutate. @@ -365,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateConversionActionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateConversionActionResult) )) _sym_db.RegisterMessage(MutateConversionActionResult) DESCRIPTOR._options = None +_GETCONVERSIONACTIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATECONVERSIONACTIONSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECONVERSIONACTIONSREQUEST.fields_by_name['operations']._options = None _CONVERSIONACTIONSERVICE = _descriptor.ServiceDescriptor( name='ConversionActionService', - full_name='google.ads.googleads.v1.services.ConversionActionService', + full_name='google.ads.googleads.v4.services.ConversionActionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1008, - serialized_end=1461, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1122, + serialized_end=1645, methods=[ _descriptor.MethodDescriptor( name='GetConversionAction', - full_name='google.ads.googleads.v1.services.ConversionActionService.GetConversionAction', + full_name='google.ads.googleads.v4.services.ConversionActionService.GetConversionAction', index=0, containing_service=None, input_type=_GETCONVERSIONACTIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION, - serialized_options=_b('\202\323\344\223\0025\0223/v1/{resource_name=customers/*/conversionActions/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION, + serialized_options=_b('\202\323\344\223\0025\0223/v4/{resource_name=customers/*/conversionActions/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateConversionActions', - full_name='google.ads.googleads.v1.services.ConversionActionService.MutateConversionActions', + full_name='google.ads.googleads.v4.services.ConversionActionService.MutateConversionActions', index=1, containing_service=None, input_type=_MUTATECONVERSIONACTIONSREQUEST, output_type=_MUTATECONVERSIONACTIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002;\"6/v1/customers/{customer_id=*}/conversionActions:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002;\"6/v4/customers/{customer_id=*}/conversionActions:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CONVERSIONACTIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/conversion_action_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/conversion_action_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/conversion_action_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/conversion_action_service_pb2_grpc.py index e4cc63463..b065570cb 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_action_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/conversion_action_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2 -from google.ads.google_ads.v1.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2 +from google.ads.google_ads.v4.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2 +from google.ads.google_ads.v4.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2 class ConversionActionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetConversionAction = channel.unary_unary( - '/google.ads.googleads.v1.services.ConversionActionService/GetConversionAction', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2.ConversionAction.FromString, + '/google.ads.googleads.v4.services.ConversionActionService/GetConversionAction', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2.ConversionAction.FromString, ) self.MutateConversionActions = channel.unary_unary( - '/google.ads.googleads.v1.services.ConversionActionService/MutateConversionActions', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.FromString, + '/google.ads.googleads.v4.services.ConversionActionService/MutateConversionActions', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_ConversionActionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetConversionAction': grpc.unary_unary_rpc_method_handler( servicer.GetConversionAction, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2.ConversionAction.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.GetConversionActionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2.ConversionAction.SerializeToString, ), 'MutateConversionActions': grpc.unary_unary_rpc_method_handler( servicer.MutateConversionActions, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.MutateConversionActionsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ConversionActionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ConversionActionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2.py b/google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2.py rename to google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2.py index 2ab1e7563..dac9c56ba 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/conversion_adjustment_upload_service.proto +# source: google/ads/googleads_v4/proto/services/conversion_adjustment_upload_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,54 +13,56 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.enums import conversion_adjustment_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2 +from google.ads.google_ads.v4.proto.enums import conversion_adjustment_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/conversion_adjustment_upload_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/conversion_adjustment_upload_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB&ConversionAdjustmentUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nQgoogle/ads/googleads_v1/proto/services/conversion_adjustment_upload_service.proto\x12 google.ads.googleads.v1.services\x1a\x44google/ads/googleads_v1/proto/enums/conversion_adjustment_type.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xc1\x01\n\"UploadConversionAdjustmentsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12V\n\x16\x63onversion_adjustments\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.ConversionAdjustment\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xa7\x01\n#UploadConversionAdjustmentsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.ConversionAdjustmentResult\"\xe9\x03\n\x14\x43onversionAdjustment\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x61\x64justment_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\x0f\x61\x64justment_type\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12M\n\x11restatement_value\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v1.services.RestatementValue\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.GclidDateTimePairH\x00\x12\x30\n\x08order_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x17\n\x15\x63onversion_identifier\"}\n\x10RestatementValue\x12\x34\n\x0e\x61\x64justed_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"|\n\x11GclidDateTimePair\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa0\x03\n\x1a\x43onversionAdjustmentResult\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x61\x64justment_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\x0f\x61\x64justment_type\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v1.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.GclidDateTimePairH\x00\x12\x30\n\x08order_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x17\n\x15\x63onversion_identifier2\x96\x02\n!ConversionAdjustmentUploadService\x12\xf0\x01\n\x1bUploadConversionAdjustments\x12\x44.google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest\x1a\x45.google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse\"D\x82\xd3\xe4\x93\x02>\"9/v1/customers/{customer_id=*}:uploadConversionAdjustments:\x01*B\x8d\x02\n$com.google.ads.googleads.v1.servicesB&ConversionAdjustmentUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB&ConversionAdjustmentUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nQgoogle/ads/googleads_v4/proto/services/conversion_adjustment_upload_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/enums/conversion_adjustment_type.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xd0\x01\n\"UploadConversionAdjustmentsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12[\n\x16\x63onversion_adjustments\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.ConversionAdjustmentB\x03\xe0\x41\x02\x12\x1c\n\x0fpartial_failure\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xa7\x01\n#UploadConversionAdjustmentsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.ConversionAdjustmentResult\"\xe9\x03\n\x14\x43onversionAdjustment\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x61\x64justment_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\x0f\x61\x64justment_type\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12M\n\x11restatement_value\x18\x06 \x01(\x0b\x32\x32.google.ads.googleads.v4.services.RestatementValue\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.GclidDateTimePairH\x00\x12\x30\n\x08order_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x17\n\x15\x63onversion_identifier\"}\n\x10RestatementValue\x12\x34\n\x0e\x61\x64justed_value\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"|\n\x11GclidDateTimePair\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xa0\x03\n\x1a\x43onversionAdjustmentResult\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x61\x64justment_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12m\n\x0f\x61\x64justment_type\x18\x05 \x01(\x0e\x32T.google.ads.googleads.v4.enums.ConversionAdjustmentTypeEnum.ConversionAdjustmentType\x12S\n\x14gclid_date_time_pair\x18\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.GclidDateTimePairH\x00\x12\x30\n\x08order_id\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValueH\x00\x42\x17\n\x15\x63onversion_identifier2\xe8\x02\n!ConversionAdjustmentUploadService\x12\xa5\x02\n\x1bUploadConversionAdjustments\x12\x44.google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest\x1a\x45.google.ads.googleads.v4.services.UploadConversionAdjustmentsResponse\"y\x82\xd3\xe4\x93\x02>\"9/v4/customers/{customer_id=*}:uploadConversionAdjustments:\x01*\xda\x41\x32\x63ustomer_id,conversion_adjustments,partial_failure\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v4.servicesB&ConversionAdjustmentUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _UPLOADCONVERSIONADJUSTMENTSREQUEST = _descriptor.Descriptor( name='UploadConversionAdjustmentsRequest', - full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest', + full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_adjustments', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest.conversion_adjustments', index=1, + name='conversion_adjustments', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest.conversion_adjustments', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -78,27 +80,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=277, - serialized_end=470, + serialized_start=335, + serialized_end=543, ) _UPLOADCONVERSIONADJUSTMENTSRESPONSE = _descriptor.Descriptor( name='UploadConversionAdjustmentsResponse', - full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse', + full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsResponse.partial_failure_error', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.UploadConversionAdjustmentsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -116,55 +118,55 @@ extension_ranges=[], oneofs=[ ], - serialized_start=473, - serialized_end=640, + serialized_start=546, + serialized_end=713, ) _CONVERSIONADJUSTMENT = _descriptor.Descriptor( name='ConversionAdjustment', - full_name='google.ads.googleads.v1.services.ConversionAdjustment', + full_name='google.ads.googleads.v4.services.ConversionAdjustment', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.ConversionAdjustment.conversion_action', index=0, + name='conversion_action', full_name='google.ads.googleads.v4.services.ConversionAdjustment.conversion_action', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjustment_date_time', full_name='google.ads.googleads.v1.services.ConversionAdjustment.adjustment_date_time', index=1, + name='adjustment_date_time', full_name='google.ads.googleads.v4.services.ConversionAdjustment.adjustment_date_time', index=1, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjustment_type', full_name='google.ads.googleads.v1.services.ConversionAdjustment.adjustment_type', index=2, + name='adjustment_type', full_name='google.ads.googleads.v4.services.ConversionAdjustment.adjustment_type', index=2, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='restatement_value', full_name='google.ads.googleads.v1.services.ConversionAdjustment.restatement_value', index=3, + name='restatement_value', full_name='google.ads.googleads.v4.services.ConversionAdjustment.restatement_value', index=3, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gclid_date_time_pair', full_name='google.ads.googleads.v1.services.ConversionAdjustment.gclid_date_time_pair', index=4, + name='gclid_date_time_pair', full_name='google.ads.googleads.v4.services.ConversionAdjustment.gclid_date_time_pair', index=4, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='order_id', full_name='google.ads.googleads.v1.services.ConversionAdjustment.order_id', index=5, + name='order_id', full_name='google.ads.googleads.v4.services.ConversionAdjustment.order_id', index=5, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -182,30 +184,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='conversion_identifier', full_name='google.ads.googleads.v1.services.ConversionAdjustment.conversion_identifier', + name='conversion_identifier', full_name='google.ads.googleads.v4.services.ConversionAdjustment.conversion_identifier', index=0, containing_type=None, fields=[]), ], - serialized_start=643, - serialized_end=1132, + serialized_start=716, + serialized_end=1205, ) _RESTATEMENTVALUE = _descriptor.Descriptor( name='RestatementValue', - full_name='google.ads.googleads.v1.services.RestatementValue', + full_name='google.ads.googleads.v4.services.RestatementValue', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='adjusted_value', full_name='google.ads.googleads.v1.services.RestatementValue.adjusted_value', index=0, + name='adjusted_value', full_name='google.ads.googleads.v4.services.RestatementValue.adjusted_value', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.services.RestatementValue.currency_code', index=1, + name='currency_code', full_name='google.ads.googleads.v4.services.RestatementValue.currency_code', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -223,27 +225,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1134, - serialized_end=1259, + serialized_start=1207, + serialized_end=1332, ) _GCLIDDATETIMEPAIR = _descriptor.Descriptor( name='GclidDateTimePair', - full_name='google.ads.googleads.v1.services.GclidDateTimePair', + full_name='google.ads.googleads.v4.services.GclidDateTimePair', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v1.services.GclidDateTimePair.gclid', index=0, + name='gclid', full_name='google.ads.googleads.v4.services.GclidDateTimePair.gclid', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_date_time', full_name='google.ads.googleads.v1.services.GclidDateTimePair.conversion_date_time', index=1, + name='conversion_date_time', full_name='google.ads.googleads.v4.services.GclidDateTimePair.conversion_date_time', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -261,48 +263,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1261, - serialized_end=1385, + serialized_start=1334, + serialized_end=1458, ) _CONVERSIONADJUSTMENTRESULT = _descriptor.Descriptor( name='ConversionAdjustmentResult', - full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult', + full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.conversion_action', index=0, + name='conversion_action', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.conversion_action', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjustment_date_time', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.adjustment_date_time', index=1, + name='adjustment_date_time', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.adjustment_date_time', index=1, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='adjustment_type', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.adjustment_type', index=2, + name='adjustment_type', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.adjustment_type', index=2, number=5, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gclid_date_time_pair', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.gclid_date_time_pair', index=3, + name='gclid_date_time_pair', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.gclid_date_time_pair', index=3, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='order_id', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.order_id', index=4, + name='order_id', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.order_id', index=4, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -320,11 +322,11 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='conversion_identifier', full_name='google.ads.googleads.v1.services.ConversionAdjustmentResult.conversion_identifier', + name='conversion_identifier', full_name='google.ads.googleads.v4.services.ConversionAdjustmentResult.conversion_identifier', index=0, containing_type=None, fields=[]), ], - serialized_start=1388, - serialized_end=1804, + serialized_start=1461, + serialized_end=1877, ) _UPLOADCONVERSIONADJUSTMENTSREQUEST.fields_by_name['conversion_adjustments'].message_type = _CONVERSIONADJUSTMENT @@ -332,7 +334,7 @@ _UPLOADCONVERSIONADJUSTMENTSRESPONSE.fields_by_name['results'].message_type = _CONVERSIONADJUSTMENTRESULT _CONVERSIONADJUSTMENT.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CONVERSIONADJUSTMENT.fields_by_name['adjustment_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONVERSIONADJUSTMENT.fields_by_name['adjustment_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2._CONVERSIONADJUSTMENTTYPEENUM_CONVERSIONADJUSTMENTTYPE +_CONVERSIONADJUSTMENT.fields_by_name['adjustment_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2._CONVERSIONADJUSTMENTTYPEENUM_CONVERSIONADJUSTMENTTYPE _CONVERSIONADJUSTMENT.fields_by_name['restatement_value'].message_type = _RESTATEMENTVALUE _CONVERSIONADJUSTMENT.fields_by_name['gclid_date_time_pair'].message_type = _GCLIDDATETIMEPAIR _CONVERSIONADJUSTMENT.fields_by_name['order_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -348,7 +350,7 @@ _GCLIDDATETIMEPAIR.fields_by_name['conversion_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CONVERSIONADJUSTMENTRESULT.fields_by_name['conversion_action'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CONVERSIONADJUSTMENTRESULT.fields_by_name['adjustment_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_CONVERSIONADJUSTMENTRESULT.fields_by_name['adjustment_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2._CONVERSIONADJUSTMENTTYPEENUM_CONVERSIONADJUSTMENTTYPE +_CONVERSIONADJUSTMENTRESULT.fields_by_name['adjustment_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_conversion__adjustment__type__pb2._CONVERSIONADJUSTMENTTYPEENUM_CONVERSIONADJUSTMENTTYPE _CONVERSIONADJUSTMENTRESULT.fields_by_name['gclid_date_time_pair'].message_type = _GCLIDDATETIMEPAIR _CONVERSIONADJUSTMENTRESULT.fields_by_name['order_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _CONVERSIONADJUSTMENTRESULT.oneofs_by_name['conversion_identifier'].fields.append( @@ -367,36 +369,39 @@ UploadConversionAdjustmentsRequest = _reflection.GeneratedProtocolMessageType('UploadConversionAdjustmentsRequest', (_message.Message,), dict( DESCRIPTOR = _UPLOADCONVERSIONADJUSTMENTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """Request message for - [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v1.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. + [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v4.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. Attributes: customer_id: - The ID of the customer performing the upload. + Required. The ID of the customer performing the upload. conversion_adjustments: - The conversion adjustments that are being uploaded. + Required. The conversion adjustments that are being uploaded. partial_failure: - If true, successful operations will be carried out and invalid - operations will return errors. If false, all operations will - be carried out in one transaction if and only if they are all - valid. This should always be set to true. + Required. If true, successful operations will be carried out + and invalid operations will return errors. If false, all + operations will be carried out in one transaction if and only + if they are all valid. This should always be set to true. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadConversionAdjustmentsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadConversionAdjustmentsRequest) )) _sym_db.RegisterMessage(UploadConversionAdjustmentsRequest) UploadConversionAdjustmentsResponse = _reflection.GeneratedProtocolMessageType('UploadConversionAdjustmentsResponse', (_message.Message,), dict( DESCRIPTOR = _UPLOADCONVERSIONADJUSTMENTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """Response message for - [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v1.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. + [ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v4.services.ConversionAdjustmentUploadService.UploadConversionAdjustments]. Attributes: @@ -404,19 +409,22 @@ Errors that pertain to conversion adjustment failures in the partial failure mode. Returned when all errors occur inside the adjustments. If any errors occur outside the adjustments - (e.g. auth errors), we return an RPC level error. + (e.g. auth errors), we return an RPC level error. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. results: Returned for successfully processed conversion adjustments. Proto will be empty for rows that received an error. Results are not returned when validate\_only is true. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadConversionAdjustmentsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadConversionAdjustmentsResponse) )) _sym_db.RegisterMessage(UploadConversionAdjustmentsResponse) ConversionAdjustment = _reflection.GeneratedProtocolMessageType('ConversionAdjustment', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONADJUSTMENT, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """A conversion adjustment. @@ -449,13 +457,13 @@ conversion was reported with an order ID specified, that order ID must be used as the identifier here. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ConversionAdjustment) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ConversionAdjustment) )) _sym_db.RegisterMessage(ConversionAdjustment) RestatementValue = _reflection.GeneratedProtocolMessageType('RestatementValue', (_message.Message,), dict( DESCRIPTOR = _RESTATEMENTVALUE, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """Contains information needed to restate a conversion's value. @@ -472,13 +480,13 @@ that is not set then the account currency is used. This is the ISO 4217 3-character currency code e.g. USD or EUR. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.RestatementValue) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.RestatementValue) )) _sym_db.RegisterMessage(RestatementValue) GclidDateTimePair = _reflection.GeneratedProtocolMessageType('GclidDateTimePair', (_message.Message,), dict( DESCRIPTOR = _GCLIDDATETIMEPAIR, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """Uniquely identifies a conversion that was reported without an order ID specified. @@ -494,13 +502,13 @@ format is "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GclidDateTimePair) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GclidDateTimePair) )) _sym_db.RegisterMessage(GclidDateTimePair) ConversionAdjustmentResult = _reflection.GeneratedProtocolMessageType('ConversionAdjustmentResult', (_message.Message,), dict( DESCRIPTOR = _CONVERSIONADJUSTMENTRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_adjustment_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_adjustment_upload_service_pb2' , __doc__ = """Information identifying a successfully processed ConversionAdjustment. @@ -523,30 +531,33 @@ order_id: The order ID of the conversion that was adjusted. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ConversionAdjustmentResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ConversionAdjustmentResult) )) _sym_db.RegisterMessage(ConversionAdjustmentResult) DESCRIPTOR._options = None +_UPLOADCONVERSIONADJUSTMENTSREQUEST.fields_by_name['customer_id']._options = None +_UPLOADCONVERSIONADJUSTMENTSREQUEST.fields_by_name['conversion_adjustments']._options = None +_UPLOADCONVERSIONADJUSTMENTSREQUEST.fields_by_name['partial_failure']._options = None _CONVERSIONADJUSTMENTUPLOADSERVICE = _descriptor.ServiceDescriptor( name='ConversionAdjustmentUploadService', - full_name='google.ads.googleads.v1.services.ConversionAdjustmentUploadService', + full_name='google.ads.googleads.v4.services.ConversionAdjustmentUploadService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1807, - serialized_end=2085, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1880, + serialized_end=2240, methods=[ _descriptor.MethodDescriptor( name='UploadConversionAdjustments', - full_name='google.ads.googleads.v1.services.ConversionAdjustmentUploadService.UploadConversionAdjustments', + full_name='google.ads.googleads.v4.services.ConversionAdjustmentUploadService.UploadConversionAdjustments', index=0, containing_service=None, input_type=_UPLOADCONVERSIONADJUSTMENTSREQUEST, output_type=_UPLOADCONVERSIONADJUSTMENTSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v1/customers/{customer_id=*}:uploadConversionAdjustments:\001*'), + serialized_options=_b('\202\323\344\223\002>\"9/v4/customers/{customer_id=*}:uploadConversionAdjustments:\001*\332A2customer_id,conversion_adjustments,partial_failure'), ), ]) _sym_db.RegisterServiceDescriptor(_CONVERSIONADJUSTMENTUPLOADSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2_grpc.py similarity index 77% rename from google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2_grpc.py index 6e9635e57..920b37dba 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_adjustment_upload_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/conversion_adjustment_upload_service_pb2_grpc.py @@ -1,7 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.services import conversion_adjustment_upload_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2 +from google.ads.google_ads.v4.proto.services import conversion_adjustment_upload_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2 class ConversionAdjustmentUploadServiceStub(object): @@ -15,9 +15,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UploadConversionAdjustments = channel.unary_unary( - '/google.ads.googleads.v1.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.FromString, + '/google.ads.googleads.v4.services.ConversionAdjustmentUploadService/UploadConversionAdjustments', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.FromString, ) @@ -37,10 +37,10 @@ def add_ConversionAdjustmentUploadServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'UploadConversionAdjustments': grpc.unary_unary_rpc_method_handler( servicer.UploadConversionAdjustments, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__adjustment__upload__service__pb2.UploadConversionAdjustmentsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ConversionAdjustmentUploadService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ConversionAdjustmentUploadService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2.py b/google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2.py similarity index 69% rename from google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2.py rename to google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2.py index 64d44fdb9..e5d40dcb4 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/conversion_upload_service.proto +# source: google/ads/googleads_v4/proto/services/conversion_upload_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -14,52 +14,54 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/conversion_upload_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/conversion_upload_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\034ConversionUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/conversion_upload_service.proto\x12 google.ads.googleads.v1.services\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xac\x01\n\x1dUploadClickConversionsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x46\n\x0b\x63onversions\x18\x02 \x03(\x0b\x32\x31.google.ads.googleads.v1.services.ClickConversion\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x9d\x01\n\x1eUploadClickConversionsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.ClickConversionResult\"\xaa\x01\n\x1cUploadCallConversionsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x45\n\x0b\x63onversions\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v1.services.CallConversion\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x9b\x01\n\x1dUploadCallConversionsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.CallConversionResult\"\xae\x03\n\x0f\x43lickConversion\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63onversion_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08order_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\\\n\x19\x65xternal_attribution_data\x18\x07 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.ExternalAttributionData\"\xdf\x02\n\x0e\x43\x61llConversion\x12/\n\tcaller_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63\x61ll_start_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63onversion_value\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x9e\x01\n\x17\x45xternalAttributionData\x12\x41\n\x1b\x65xternal_attribution_credit\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x65xternal_attribution_model\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb9\x01\n\x15\x43lickConversionResult\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf8\x01\n\x14\x43\x61llConversionResult\x12/\n\tcaller_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63\x61ll_start_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue2\xd3\x03\n\x17\x43onversionUploadService\x12\xdc\x01\n\x16UploadClickConversions\x12?.google.ads.googleads.v1.services.UploadClickConversionsRequest\x1a@.google.ads.googleads.v1.services.UploadClickConversionsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}:uploadClickConversions:\x01*\x12\xd8\x01\n\x15UploadCallConversions\x12>.google.ads.googleads.v1.services.UploadCallConversionsRequest\x1a?.google.ads.googleads.v1.services.UploadCallConversionsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}:uploadCallConversions:\x01*B\x83\x02\n$com.google.ads.googleads.v1.servicesB\x1c\x43onversionUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034ConversionUploadServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/conversion_upload_service.proto\x12 google.ads.googleads.v4.services\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\xbb\x01\n\x1dUploadClickConversionsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\x0b\x63onversions\x18\x02 \x03(\x0b\x32\x31.google.ads.googleads.v4.services.ClickConversionB\x03\xe0\x41\x02\x12\x1c\n\x0fpartial_failure\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x9d\x01\n\x1eUploadClickConversionsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.ClickConversionResult\"\xb9\x01\n\x1cUploadCallConversionsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12J\n\x0b\x63onversions\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v4.services.CallConversionB\x03\xe0\x41\x02\x12\x1c\n\x0fpartial_failure\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x9b\x01\n\x1dUploadCallConversionsResponse\x12\x31\n\x15partial_failure_error\x18\x01 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.CallConversionResult\"\xae\x03\n\x0f\x43lickConversion\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63onversion_value\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08order_id\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\\\n\x19\x65xternal_attribution_data\x18\x07 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.ExternalAttributionData\"\xdf\x02\n\x0e\x43\x61llConversion\x12/\n\tcaller_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63\x61ll_start_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x36\n\x10\x63onversion_value\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x33\n\rcurrency_code\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x9e\x01\n\x17\x45xternalAttributionData\x12\x41\n\x1b\x65xternal_attribution_credit\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12@\n\x1a\x65xternal_attribution_model\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xb9\x01\n\x15\x43lickConversionResult\x12+\n\x05gclid\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\xf8\x01\n\x14\x43\x61llConversionResult\x12/\n\tcaller_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63\x61ll_start_date_time\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x37\n\x11\x63onversion_action\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14\x63onversion_date_time\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValue2\xc4\x04\n\x17\x43onversionUploadService\x12\x86\x02\n\x16UploadClickConversions\x12?.google.ads.googleads.v4.services.UploadClickConversionsRequest\x1a@.google.ads.googleads.v4.services.UploadClickConversionsResponse\"i\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}:uploadClickConversions:\x01*\xda\x41\'customer_id,conversions,partial_failure\x12\x82\x02\n\x15UploadCallConversions\x12>.google.ads.googleads.v4.services.UploadCallConversionsRequest\x1a?.google.ads.googleads.v4.services.UploadCallConversionsResponse\"h\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}:uploadCallConversions:\x01*\xda\x41\'customer_id,conversions,partial_failure\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1c\x43onversionUploadServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _UPLOADCLICKCONVERSIONSREQUEST = _descriptor.Descriptor( name='UploadClickConversionsRequest', - full_name='google.ads.googleads.v1.services.UploadClickConversionsRequest', + full_name='google.ads.googleads.v4.services.UploadClickConversionsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.UploadClickConversionsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.UploadClickConversionsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v1.services.UploadClickConversionsRequest.conversions', index=1, + name='conversions', full_name='google.ads.googleads.v4.services.UploadClickConversionsRequest.conversions', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.UploadClickConversionsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.UploadClickConversionsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.UploadClickConversionsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.UploadClickConversionsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -77,27 +79,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=196, - serialized_end=368, + serialized_start=254, + serialized_end=441, ) _UPLOADCLICKCONVERSIONSRESPONSE = _descriptor.Descriptor( name='UploadClickConversionsResponse', - full_name='google.ads.googleads.v1.services.UploadClickConversionsResponse', + full_name='google.ads.googleads.v4.services.UploadClickConversionsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.UploadClickConversionsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.UploadClickConversionsResponse.partial_failure_error', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.UploadClickConversionsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.UploadClickConversionsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -115,41 +117,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=371, - serialized_end=528, + serialized_start=444, + serialized_end=601, ) _UPLOADCALLCONVERSIONSREQUEST = _descriptor.Descriptor( name='UploadCallConversionsRequest', - full_name='google.ads.googleads.v1.services.UploadCallConversionsRequest', + full_name='google.ads.googleads.v4.services.UploadCallConversionsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.UploadCallConversionsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.UploadCallConversionsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversions', full_name='google.ads.googleads.v1.services.UploadCallConversionsRequest.conversions', index=1, + name='conversions', full_name='google.ads.googleads.v4.services.UploadCallConversionsRequest.conversions', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.UploadCallConversionsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.UploadCallConversionsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.UploadCallConversionsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.UploadCallConversionsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -167,27 +169,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=531, - serialized_end=701, + serialized_start=604, + serialized_end=789, ) _UPLOADCALLCONVERSIONSRESPONSE = _descriptor.Descriptor( name='UploadCallConversionsResponse', - full_name='google.ads.googleads.v1.services.UploadCallConversionsResponse', + full_name='google.ads.googleads.v4.services.UploadCallConversionsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.UploadCallConversionsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.UploadCallConversionsResponse.partial_failure_error', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.UploadCallConversionsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.UploadCallConversionsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -205,62 +207,62 @@ extension_ranges=[], oneofs=[ ], - serialized_start=704, - serialized_end=859, + serialized_start=792, + serialized_end=947, ) _CLICKCONVERSION = _descriptor.Descriptor( name='ClickConversion', - full_name='google.ads.googleads.v1.services.ClickConversion', + full_name='google.ads.googleads.v4.services.ClickConversion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v1.services.ClickConversion.gclid', index=0, + name='gclid', full_name='google.ads.googleads.v4.services.ClickConversion.gclid', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.ClickConversion.conversion_action', index=1, + name='conversion_action', full_name='google.ads.googleads.v4.services.ClickConversion.conversion_action', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_date_time', full_name='google.ads.googleads.v1.services.ClickConversion.conversion_date_time', index=2, + name='conversion_date_time', full_name='google.ads.googleads.v4.services.ClickConversion.conversion_date_time', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_value', full_name='google.ads.googleads.v1.services.ClickConversion.conversion_value', index=3, + name='conversion_value', full_name='google.ads.googleads.v4.services.ClickConversion.conversion_value', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.services.ClickConversion.currency_code', index=4, + name='currency_code', full_name='google.ads.googleads.v4.services.ClickConversion.currency_code', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='order_id', full_name='google.ads.googleads.v1.services.ClickConversion.order_id', index=5, + name='order_id', full_name='google.ads.googleads.v4.services.ClickConversion.order_id', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='external_attribution_data', full_name='google.ads.googleads.v1.services.ClickConversion.external_attribution_data', index=6, + name='external_attribution_data', full_name='google.ads.googleads.v4.services.ClickConversion.external_attribution_data', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -278,55 +280,55 @@ extension_ranges=[], oneofs=[ ], - serialized_start=862, - serialized_end=1292, + serialized_start=950, + serialized_end=1380, ) _CALLCONVERSION = _descriptor.Descriptor( name='CallConversion', - full_name='google.ads.googleads.v1.services.CallConversion', + full_name='google.ads.googleads.v4.services.CallConversion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='caller_id', full_name='google.ads.googleads.v1.services.CallConversion.caller_id', index=0, + name='caller_id', full_name='google.ads.googleads.v4.services.CallConversion.caller_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_start_date_time', full_name='google.ads.googleads.v1.services.CallConversion.call_start_date_time', index=1, + name='call_start_date_time', full_name='google.ads.googleads.v4.services.CallConversion.call_start_date_time', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.CallConversion.conversion_action', index=2, + name='conversion_action', full_name='google.ads.googleads.v4.services.CallConversion.conversion_action', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_date_time', full_name='google.ads.googleads.v1.services.CallConversion.conversion_date_time', index=3, + name='conversion_date_time', full_name='google.ads.googleads.v4.services.CallConversion.conversion_date_time', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_value', full_name='google.ads.googleads.v1.services.CallConversion.conversion_value', index=4, + name='conversion_value', full_name='google.ads.googleads.v4.services.CallConversion.conversion_value', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='currency_code', full_name='google.ads.googleads.v1.services.CallConversion.currency_code', index=5, + name='currency_code', full_name='google.ads.googleads.v4.services.CallConversion.currency_code', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -344,27 +346,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1295, - serialized_end=1646, + serialized_start=1383, + serialized_end=1734, ) _EXTERNALATTRIBUTIONDATA = _descriptor.Descriptor( name='ExternalAttributionData', - full_name='google.ads.googleads.v1.services.ExternalAttributionData', + full_name='google.ads.googleads.v4.services.ExternalAttributionData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='external_attribution_credit', full_name='google.ads.googleads.v1.services.ExternalAttributionData.external_attribution_credit', index=0, + name='external_attribution_credit', full_name='google.ads.googleads.v4.services.ExternalAttributionData.external_attribution_credit', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='external_attribution_model', full_name='google.ads.googleads.v1.services.ExternalAttributionData.external_attribution_model', index=1, + name='external_attribution_model', full_name='google.ads.googleads.v4.services.ExternalAttributionData.external_attribution_model', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -382,34 +384,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1649, - serialized_end=1807, + serialized_start=1737, + serialized_end=1895, ) _CLICKCONVERSIONRESULT = _descriptor.Descriptor( name='ClickConversionResult', - full_name='google.ads.googleads.v1.services.ClickConversionResult', + full_name='google.ads.googleads.v4.services.ClickConversionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='gclid', full_name='google.ads.googleads.v1.services.ClickConversionResult.gclid', index=0, + name='gclid', full_name='google.ads.googleads.v4.services.ClickConversionResult.gclid', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.ClickConversionResult.conversion_action', index=1, + name='conversion_action', full_name='google.ads.googleads.v4.services.ClickConversionResult.conversion_action', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_date_time', full_name='google.ads.googleads.v1.services.ClickConversionResult.conversion_date_time', index=2, + name='conversion_date_time', full_name='google.ads.googleads.v4.services.ClickConversionResult.conversion_date_time', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -427,41 +429,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1810, - serialized_end=1995, + serialized_start=1898, + serialized_end=2083, ) _CALLCONVERSIONRESULT = _descriptor.Descriptor( name='CallConversionResult', - full_name='google.ads.googleads.v1.services.CallConversionResult', + full_name='google.ads.googleads.v4.services.CallConversionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='caller_id', full_name='google.ads.googleads.v1.services.CallConversionResult.caller_id', index=0, + name='caller_id', full_name='google.ads.googleads.v4.services.CallConversionResult.caller_id', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_start_date_time', full_name='google.ads.googleads.v1.services.CallConversionResult.call_start_date_time', index=1, + name='call_start_date_time', full_name='google.ads.googleads.v4.services.CallConversionResult.call_start_date_time', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.CallConversionResult.conversion_action', index=2, + name='conversion_action', full_name='google.ads.googleads.v4.services.CallConversionResult.conversion_action', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_date_time', full_name='google.ads.googleads.v1.services.CallConversionResult.conversion_date_time', index=3, + name='conversion_date_time', full_name='google.ads.googleads.v4.services.CallConversionResult.conversion_date_time', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -479,8 +481,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1998, - serialized_end=2246, + serialized_start=2086, + serialized_end=2334, ) _UPLOADCLICKCONVERSIONSREQUEST.fields_by_name['conversions'].message_type = _CLICKCONVERSION @@ -524,36 +526,39 @@ UploadClickConversionsRequest = _reflection.GeneratedProtocolMessageType('UploadClickConversionsRequest', (_message.Message,), dict( DESCRIPTOR = _UPLOADCLICKCONVERSIONSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Request message for - [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions]. + [ConversionUploadService.UploadClickConversions][google.ads.googleads.v4.services.ConversionUploadService.UploadClickConversions]. Attributes: customer_id: - The ID of the customer performing the upload. + Required. The ID of the customer performing the upload. conversions: - The conversions that are being uploaded. + Required. The conversions that are being uploaded. partial_failure: - If true, successful operations will be carried out and invalid - operations will return errors. If false, all operations will - be carried out in one transaction if and only if they are all - valid. This should always be set to true. + Required. If true, successful operations will be carried out + and invalid operations will return errors. If false, all + operations will be carried out in one transaction if and only + if they are all valid. This should always be set to true. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadClickConversionsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadClickConversionsRequest) )) _sym_db.RegisterMessage(UploadClickConversionsRequest) UploadClickConversionsResponse = _reflection.GeneratedProtocolMessageType('UploadClickConversionsResponse', (_message.Message,), dict( DESCRIPTOR = _UPLOADCLICKCONVERSIONSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Response message for - [ConversionUploadService.UploadClickConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions]. + [ConversionUploadService.UploadClickConversions][google.ads.googleads.v4.services.ConversionUploadService.UploadClickConversions]. Attributes: @@ -561,48 +566,54 @@ Errors that pertain to conversion failures in the partial failure mode. Returned when all errors occur inside the conversions. If any errors occur outside the conversions (e.g. - auth errors), we return an RPC level error. + auth errors), we return an RPC level error. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. results: Returned for successfully processed conversions. Proto will be empty for rows that received an error. Results are not returned when validate\_only is true. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadClickConversionsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadClickConversionsResponse) )) _sym_db.RegisterMessage(UploadClickConversionsResponse) UploadCallConversionsRequest = _reflection.GeneratedProtocolMessageType('UploadCallConversionsRequest', (_message.Message,), dict( DESCRIPTOR = _UPLOADCALLCONVERSIONSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Request message for - [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions]. + [ConversionUploadService.UploadCallConversions][google.ads.googleads.v4.services.ConversionUploadService.UploadCallConversions]. Attributes: customer_id: - The ID of the customer performing the upload. + Required. The ID of the customer performing the upload. conversions: - The conversions that are being uploaded. + Required. The conversions that are being uploaded. partial_failure: - If true, successful operations will be carried out and invalid - operations will return errors. If false, all operations will - be carried out in one transaction if and only if they are all - valid. This should always be set to true. + Required. If true, successful operations will be carried out + and invalid operations will return errors. If false, all + operations will be carried out in one transaction if and only + if they are all valid. This should always be set to true. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadCallConversionsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadCallConversionsRequest) )) _sym_db.RegisterMessage(UploadCallConversionsRequest) UploadCallConversionsResponse = _reflection.GeneratedProtocolMessageType('UploadCallConversionsResponse', (_message.Message,), dict( DESCRIPTOR = _UPLOADCALLCONVERSIONSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Response message for - [ConversionUploadService.UploadCallConversions][google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions]. + [ConversionUploadService.UploadCallConversions][google.ads.googleads.v4.services.ConversionUploadService.UploadCallConversions]. Attributes: @@ -610,19 +621,22 @@ Errors that pertain to conversion failures in the partial failure mode. Returned when all errors occur inside the conversions. If any errors occur outside the conversions (e.g. - auth errors), we return an RPC level error. + auth errors), we return an RPC level error. See + https://developers.google.com/google-ads/api/docs/best- + practices/partial-failures for more information about partial + failure. results: Returned for successfully processed conversions. Proto will be empty for rows that received an error. Results are not returned when validate\_only is true. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UploadCallConversionsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadCallConversionsResponse) )) _sym_db.RegisterMessage(UploadCallConversionsResponse) ClickConversion = _reflection.GeneratedProtocolMessageType('ClickConversion', (_message.Message,), dict( DESCRIPTOR = _CLICKCONVERSION, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """A click conversion. @@ -654,13 +668,13 @@ field is required for conversions with an externally attributed conversion action, but should not be set otherwise. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ClickConversion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ClickConversion) )) _sym_db.RegisterMessage(ClickConversion) CallConversion = _reflection.GeneratedProtocolMessageType('CallConversion', (_message.Message,), dict( DESCRIPTOR = _CALLCONVERSION, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """A call conversion. @@ -691,13 +705,13 @@ Currency associated with the conversion value. This is the ISO 4217 3-character currency code. For example: USD, EUR. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CallConversion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CallConversion) )) _sym_db.RegisterMessage(CallConversion) ExternalAttributionData = _reflection.GeneratedProtocolMessageType('ExternalAttributionData', (_message.Message,), dict( DESCRIPTOR = _EXTERNALATTRIBUTIONDATA, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Contains additional information about externally attributed conversions. @@ -709,13 +723,13 @@ external_attribution_model: Specifies the attribution model name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ExternalAttributionData) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ExternalAttributionData) )) _sym_db.RegisterMessage(ExternalAttributionData) ClickConversionResult = _reflection.GeneratedProtocolMessageType('ClickConversionResult', (_message.Message,), dict( DESCRIPTOR = _CLICKCONVERSIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Identifying information for a successfully processed ClickConversion. @@ -731,13 +745,13 @@ "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ClickConversionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ClickConversionResult) )) _sym_db.RegisterMessage(ClickConversionResult) CallConversionResult = _reflection.GeneratedProtocolMessageType('CallConversionResult', (_message.Message,), dict( DESCRIPTOR = _CALLCONVERSIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.conversion_upload_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.conversion_upload_service_pb2' , __doc__ = """Identifying information for a successfully processed CallConversionUpload. @@ -758,39 +772,45 @@ "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CallConversionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CallConversionResult) )) _sym_db.RegisterMessage(CallConversionResult) DESCRIPTOR._options = None +_UPLOADCLICKCONVERSIONSREQUEST.fields_by_name['customer_id']._options = None +_UPLOADCLICKCONVERSIONSREQUEST.fields_by_name['conversions']._options = None +_UPLOADCLICKCONVERSIONSREQUEST.fields_by_name['partial_failure']._options = None +_UPLOADCALLCONVERSIONSREQUEST.fields_by_name['customer_id']._options = None +_UPLOADCALLCONVERSIONSREQUEST.fields_by_name['conversions']._options = None +_UPLOADCALLCONVERSIONSREQUEST.fields_by_name['partial_failure']._options = None _CONVERSIONUPLOADSERVICE = _descriptor.ServiceDescriptor( name='ConversionUploadService', - full_name='google.ads.googleads.v1.services.ConversionUploadService', + full_name='google.ads.googleads.v4.services.ConversionUploadService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=2249, - serialized_end=2716, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=2337, + serialized_end=2917, methods=[ _descriptor.MethodDescriptor( name='UploadClickConversions', - full_name='google.ads.googleads.v1.services.ConversionUploadService.UploadClickConversions', + full_name='google.ads.googleads.v4.services.ConversionUploadService.UploadClickConversions', index=0, containing_service=None, input_type=_UPLOADCLICKCONVERSIONSREQUEST, output_type=_UPLOADCLICKCONVERSIONSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}:uploadClickConversions:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}:uploadClickConversions:\001*\332A\'customer_id,conversions,partial_failure'), ), _descriptor.MethodDescriptor( name='UploadCallConversions', - full_name='google.ads.googleads.v1.services.ConversionUploadService.UploadCallConversions', + full_name='google.ads.googleads.v4.services.ConversionUploadService.UploadCallConversions', index=1, containing_service=None, input_type=_UPLOADCALLCONVERSIONSREQUEST, output_type=_UPLOADCALLCONVERSIONSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}:uploadCallConversions:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}:uploadCallConversions:\001*\332A\'customer_id,conversions,partial_failure'), ), ]) _sym_db.RegisterServiceDescriptor(_CONVERSIONUPLOADSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2_grpc.py index f3d35e5bf..be36ae393 100644 --- a/google/ads/google_ads/v1/proto/services/conversion_upload_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/conversion_upload_service_pb2_grpc.py @@ -1,7 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.services import conversion_upload_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2 +from google.ads.google_ads.v4.proto.services import conversion_upload_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2 class ConversionUploadServiceStub(object): @@ -15,14 +15,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.UploadClickConversions = channel.unary_unary( - '/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsResponse.FromString, + '/google.ads.googleads.v4.services.ConversionUploadService/UploadClickConversions', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsResponse.FromString, ) self.UploadCallConversions = channel.unary_unary( - '/google.ads.googleads.v1.services.ConversionUploadService/UploadCallConversions', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.FromString, + '/google.ads.googleads.v4.services.ConversionUploadService/UploadCallConversions', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.FromString, ) @@ -49,15 +49,15 @@ def add_ConversionUploadServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'UploadClickConversions': grpc.unary_unary_rpc_method_handler( servicer.UploadClickConversions, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadClickConversionsResponse.SerializeToString, ), 'UploadCallConversions': grpc.unary_unary_rpc_method_handler( servicer.UploadCallConversions, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__upload__service__pb2.UploadCallConversionsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ConversionUploadService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ConversionUploadService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2.py new file mode 100644 index 000000000..b1bdeb7bb --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/currency_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import currency_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/currency_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034CurrencyConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/currency_constant_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/currency_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"f\n\x1aGetCurrencyConstantRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/CurrencyConstant2\x82\x02\n\x17\x43urrencyConstantService\x12\xc9\x01\n\x13GetCurrencyConstant\x12<.google.ads.googleads.v4.services.GetCurrencyConstantRequest\x1a\x33.google.ads.googleads.v4.resources.CurrencyConstant\"?\x82\xd3\xe4\x93\x02)\x12\'/v4/{resource_name=currencyConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1c\x43urrencyConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCURRENCYCONSTANTREQUEST = _descriptor.Descriptor( + name='GetCurrencyConstantRequest', + full_name='google.ads.googleads.v4.services.GetCurrencyConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCurrencyConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/CurrencyConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=288, + serialized_end=390, +) + +DESCRIPTOR.message_types_by_name['GetCurrencyConstantRequest'] = _GETCURRENCYCONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCurrencyConstantRequest = _reflection.GeneratedProtocolMessageType('GetCurrencyConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCURRENCYCONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.currency_constant_service_pb2' + , + __doc__ = """Request message for + [CurrencyConstantService.GetCurrencyConstant][google.ads.googleads.v4.services.CurrencyConstantService.GetCurrencyConstant]. + + + Attributes: + resource_name: + Required. Resource name of the currency constant to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCurrencyConstantRequest) + )) +_sym_db.RegisterMessage(GetCurrencyConstantRequest) + + +DESCRIPTOR._options = None +_GETCURRENCYCONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_CURRENCYCONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='CurrencyConstantService', + full_name='google.ads.googleads.v4.services.CurrencyConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=393, + serialized_end=651, + methods=[ + _descriptor.MethodDescriptor( + name='GetCurrencyConstant', + full_name='google.ads.googleads.v4.services.CurrencyConstantService.GetCurrencyConstant', + index=0, + containing_service=None, + input_type=_GETCURRENCYCONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2._CURRENCYCONSTANT, + serialized_options=_b('\202\323\344\223\002)\022\'/v4/{resource_name=currencyConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CURRENCYCONSTANTSERVICE) + +DESCRIPTOR.services_by_name['CurrencyConstantService'] = _CURRENCYCONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2_grpc.py new file mode 100644 index 000000000..b93e38eaf --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/currency_constant_service_pb2_grpc.py @@ -0,0 +1,47 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import currency_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2 +from google.ads.google_ads.v4.proto.services import currency_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_currency__constant__service__pb2 + + +class CurrencyConstantServiceStub(object): + """Service to fetch currency constants. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetCurrencyConstant = channel.unary_unary( + '/google.ads.googleads.v4.services.CurrencyConstantService/GetCurrencyConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_currency__constant__service__pb2.GetCurrencyConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2.CurrencyConstant.FromString, + ) + + +class CurrencyConstantServiceServicer(object): + """Service to fetch currency constants. + """ + + def GetCurrencyConstant(self, request, context): + """Returns the requested currency constant. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_CurrencyConstantServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetCurrencyConstant': grpc.unary_unary_rpc_method_handler( + servicer.GetCurrencyConstant, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_currency__constant__service__pb2.GetCurrencyConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2.CurrencyConstant.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.CurrencyConstantService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/custom_interest_service_pb2.py b/google/ads/google_ads/v4/proto/services/custom_interest_service_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/services/custom_interest_service_pb2.py rename to google/ads/google_ads/v4/proto/services/custom_interest_service_pb2.py index c146f2118..1fc668135 100644 --- a/google/ads/google_ads/v1/proto/services/custom_interest_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/custom_interest_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/custom_interest_service.proto +# source: google/ads/googleads_v4/proto/services/custom_interest_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2 +from google.ads.google_ads.v4.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/custom_interest_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/custom_interest_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032CustomInterestServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nDgoogle/ads/googleads_v1/proto/services/custom_interest_service.proto\x12 google.ads.googleads.v1.services\x1a=google/ads/googleads_v1/proto/resources/custom_interest.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"1\n\x18GetCustomInterestRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x99\x01\n\x1cMutateCustomInterestsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.CustomInterestOperation\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x17\x43ustomInterestOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CustomInterestH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CustomInterestH\x00\x42\x0b\n\toperation\"n\n\x1dMutateCustomInterestsResponse\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.MutateCustomInterestResult\"3\n\x1aMutateCustomInterestResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb3\x03\n\x15\x43ustomInterestService\x12\xbd\x01\n\x11GetCustomInterest\x12:.google.ads.googleads.v1.services.GetCustomInterestRequest\x1a\x31.google.ads.googleads.v1.resources.CustomInterest\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/customInterests/*}\x12\xd9\x01\n\x15MutateCustomInterests\x12>.google.ads.googleads.v1.services.MutateCustomInterestsRequest\x1a?.google.ads.googleads.v1.services.MutateCustomInterestsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}/customInterests:mutate:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x43ustomInterestServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032CustomInterestServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/services/custom_interest_service.proto\x12 google.ads.googleads.v4.services\x1a=google/ads/googleads_v4/proto/resources/custom_interest.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"b\n\x18GetCustomInterestRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/CustomInterest\"\xa3\x01\n\x1cMutateCustomInterestsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.CustomInterestOperationB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x17\x43ustomInterestOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CustomInterestH\x00\x12\x43\n\x06update\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CustomInterestH\x00\x42\x0b\n\toperation\"n\n\x1dMutateCustomInterestsResponse\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.MutateCustomInterestResult\"3\n\x1aMutateCustomInterestResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf9\x03\n\x15\x43ustomInterestService\x12\xcd\x01\n\x11GetCustomInterest\x12:.google.ads.googleads.v4.services.GetCustomInterestRequest\x1a\x31.google.ads.googleads.v4.resources.CustomInterest\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/customInterests/*}\xda\x41\rresource_name\x12\xf2\x01\n\x15MutateCustomInterests\x12>.google.ads.googleads.v4.services.MutateCustomInterestsRequest\x1a?.google.ads.googleads.v4.services.MutateCustomInterestsResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/customInterests:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x43ustomInterestServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) _GETCUSTOMINTERESTREQUEST = _descriptor.Descriptor( name='GetCustomInterestRequest', - full_name='google.ads.googleads.v1.services.GetCustomInterestRequest', + full_name='google.ads.googleads.v4.services.GetCustomInterestRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomInterestRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomInterestRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/CustomInterest'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,34 +59,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=265, - serialized_end=314, + serialized_start=318, + serialized_end=416, ) _MUTATECUSTOMINTERESTSREQUEST = _descriptor.Descriptor( name='MutateCustomInterestsRequest', - full_name='google.ads.googleads.v1.services.MutateCustomInterestsRequest', + full_name='google.ads.googleads.v4.services.MutateCustomInterestsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomInterestsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomInterestsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomInterestsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomInterestsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomInterestsRequest.validate_only', index=2, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomInterestsRequest.validate_only', index=2, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -102,34 +104,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=317, - serialized_end=470, + serialized_start=419, + serialized_end=582, ) _CUSTOMINTERESTOPERATION = _descriptor.Descriptor( name='CustomInterestOperation', - full_name='google.ads.googleads.v1.services.CustomInterestOperation', + full_name='google.ads.googleads.v4.services.CustomInterestOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomInterestOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CustomInterestOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomInterestOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CustomInterestOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomInterestOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CustomInterestOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -147,23 +149,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomInterestOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomInterestOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=473, - serialized_end=698, + serialized_start=585, + serialized_end=810, ) _MUTATECUSTOMINTERESTSRESPONSE = _descriptor.Descriptor( name='MutateCustomInterestsResponse', - full_name='google.ads.googleads.v1.services.MutateCustomInterestsResponse', + full_name='google.ads.googleads.v4.services.MutateCustomInterestsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomInterestsResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.MutateCustomInterestsResponse.results', index=0, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -181,20 +183,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=700, - serialized_end=810, + serialized_start=812, + serialized_end=922, ) _MUTATECUSTOMINTERESTRESULT = _descriptor.Descriptor( name='MutateCustomInterestResult', - full_name='google.ads.googleads.v1.services.MutateCustomInterestResult', + full_name='google.ads.googleads.v4.services.MutateCustomInterestResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomInterestResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomInterestResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -212,14 +214,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=812, - serialized_end=863, + serialized_start=924, + serialized_end=975, ) _MUTATECUSTOMINTERESTSREQUEST.fields_by_name['operations'].message_type = _CUSTOMINTERESTOPERATION _CUSTOMINTERESTOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CUSTOMINTERESTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST -_CUSTOMINTERESTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST +_CUSTOMINTERESTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST +_CUSTOMINTERESTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST _CUSTOMINTERESTOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMINTERESTOPERATION.fields_by_name['create']) _CUSTOMINTERESTOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMINTERESTOPERATION.oneofs_by_name['operation'] @@ -236,46 +238,46 @@ GetCustomInterestRequest = _reflection.GeneratedProtocolMessageType('GetCustomInterestRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMINTERESTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.custom_interest_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.custom_interest_service_pb2' , __doc__ = """Request message for - [CustomInterestService.GetCustomInterest][google.ads.googleads.v1.services.CustomInterestService.GetCustomInterest]. + [CustomInterestService.GetCustomInterest][google.ads.googleads.v4.services.CustomInterestService.GetCustomInterest]. Attributes: resource_name: - The resource name of the custom interest to fetch. + Required. The resource name of the custom interest to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomInterestRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomInterestRequest) )) _sym_db.RegisterMessage(GetCustomInterestRequest) MutateCustomInterestsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomInterestsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMINTERESTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.custom_interest_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.custom_interest_service_pb2' , __doc__ = """Request message for - [CustomInterestService.MutateCustomInterests][google.ads.googleads.v1.services.CustomInterestService.MutateCustomInterests]. + [CustomInterestService.MutateCustomInterests][google.ads.googleads.v4.services.CustomInterestService.MutateCustomInterests]. Attributes: customer_id: - The ID of the customer whose custom interests are being - modified. + Required. The ID of the customer whose custom interests are + being modified. operations: - The list of operations to perform on individual custom - interests. + Required. The list of operations to perform on individual + custom interests. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomInterestsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomInterestsRequest) )) _sym_db.RegisterMessage(MutateCustomInterestsRequest) CustomInterestOperation = _reflection.GeneratedProtocolMessageType('CustomInterestOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMINTERESTOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.custom_interest_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.custom_interest_service_pb2' , __doc__ = """A single operation (create, update) on a custom interest. @@ -293,13 +295,13 @@ Update operation: The custom interest is expected to have a valid resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomInterestOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomInterestOperation) )) _sym_db.RegisterMessage(CustomInterestOperation) MutateCustomInterestsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomInterestsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMINTERESTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.custom_interest_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.custom_interest_service_pb2' , __doc__ = """Response message for custom interest mutate. @@ -308,13 +310,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomInterestsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomInterestsResponse) )) _sym_db.RegisterMessage(MutateCustomInterestsResponse) MutateCustomInterestResult = _reflection.GeneratedProtocolMessageType('MutateCustomInterestResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMINTERESTRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.custom_interest_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.custom_interest_service_pb2' , __doc__ = """The result for the custom interest mutate. @@ -323,39 +325,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomInterestResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomInterestResult) )) _sym_db.RegisterMessage(MutateCustomInterestResult) DESCRIPTOR._options = None +_GETCUSTOMINTERESTREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMINTERESTSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMINTERESTSREQUEST.fields_by_name['operations']._options = None _CUSTOMINTERESTSERVICE = _descriptor.ServiceDescriptor( name='CustomInterestService', - full_name='google.ads.googleads.v1.services.CustomInterestService', + full_name='google.ads.googleads.v4.services.CustomInterestService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=866, - serialized_end=1301, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=978, + serialized_end=1483, methods=[ _descriptor.MethodDescriptor( name='GetCustomInterest', - full_name='google.ads.googleads.v1.services.CustomInterestService.GetCustomInterest', + full_name='google.ads.googleads.v4.services.CustomInterestService.GetCustomInterest', index=0, containing_service=None, input_type=_GETCUSTOMINTERESTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/customInterests/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/customInterests/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomInterests', - full_name='google.ads.googleads.v1.services.CustomInterestService.MutateCustomInterests', + full_name='google.ads.googleads.v4.services.CustomInterestService.MutateCustomInterests', index=1, containing_service=None, input_type=_MUTATECUSTOMINTERESTSREQUEST, output_type=_MUTATECUSTOMINTERESTSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}/customInterests:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/customInterests:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMINTERESTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/custom_interest_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/custom_interest_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/custom_interest_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/custom_interest_service_pb2_grpc.py index c48f37657..4c994db3d 100644 --- a/google/ads/google_ads/v1/proto/services/custom_interest_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/custom_interest_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2 -from google.ads.google_ads.v1.proto.services import custom_interest_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2 +from google.ads.google_ads.v4.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2 +from google.ads.google_ads.v4.proto.services import custom_interest_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2 class CustomInterestServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomInterest = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomInterestService/GetCustomInterest', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2.CustomInterest.FromString, + '/google.ads.googleads.v4.services.CustomInterestService/GetCustomInterest', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2.CustomInterest.FromString, ) self.MutateCustomInterests = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomInterestService/MutateCustomInterests', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.FromString, + '/google.ads.googleads.v4.services.CustomInterestService/MutateCustomInterests', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_CustomInterestServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomInterest': grpc.unary_unary_rpc_method_handler( servicer.GetCustomInterest, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2.CustomInterest.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.GetCustomInterestRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2.CustomInterest.SerializeToString, ), 'MutateCustomInterests': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomInterests, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_custom__interest__service__pb2.MutateCustomInterestsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomInterestService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomInterestService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2.py index d5666b834..8b15491e6 100644 --- a/google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_client_link_service.proto +# source: google/ads/googleads_v4/proto/services/customer_client_link_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2 +from google.ads.google_ads.v4.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_client_link_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_client_link_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036CustomerClientLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/services/customer_client_link_service.proto\x12 google.ads.googleads.v1.services\x1a\x42google/ads/googleads_v1/proto/resources/customer_client_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"5\n\x1cGetCustomerClientLinkRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x88\x01\n\x1fMutateCustomerClientLinkRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\toperation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v1.services.CustomerClientLinkOperation\"\xed\x01\n\x1b\x43ustomerClientLinkOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CustomerClientLinkH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CustomerClientLinkH\x00\x42\x0b\n\toperation\"t\n MutateCustomerClientLinkResponse\x12P\n\x06result\x18\x01 \x01(\x0b\x32@.google.ads.googleads.v1.services.MutateCustomerClientLinkResult\"7\n\x1eMutateCustomerClientLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd4\x03\n\x19\x43ustomerClientLinkService\x12\xcd\x01\n\x15GetCustomerClientLink\x12>.google.ads.googleads.v1.services.GetCustomerClientLinkRequest\x1a\x35.google.ads.googleads.v1.resources.CustomerClientLink\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/customerClientLinks/*}\x12\xe6\x01\n\x18MutateCustomerClientLink\x12\x41.google.ads.googleads.v1.services.MutateCustomerClientLinkRequest\x1a\x42.google.ads.googleads.v1.services.MutateCustomerClientLinkResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/customerClientLinks:mutate:\x01*B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1e\x43ustomerClientLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036CustomerClientLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/services/customer_client_link_service.proto\x12 google.ads.googleads.v4.services\x1a\x42google/ads/googleads_v4/proto/resources/customer_client_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"j\n\x1cGetCustomerClientLinkRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/CustomerClientLink\"\x92\x01\n\x1fMutateCustomerClientLinkRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\toperation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v4.services.CustomerClientLinkOperationB\x03\xe0\x41\x02\"\xed\x01\n\x1b\x43ustomerClientLinkOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CustomerClientLinkH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CustomerClientLinkH\x00\x42\x0b\n\toperation\"t\n MutateCustomerClientLinkResponse\x12P\n\x06result\x18\x01 \x01(\x0b\x32@.google.ads.googleads.v4.services.MutateCustomerClientLinkResult\"7\n\x1eMutateCustomerClientLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x99\x04\n\x19\x43ustomerClientLinkService\x12\xdd\x01\n\x15GetCustomerClientLink\x12>.google.ads.googleads.v4.services.GetCustomerClientLinkRequest\x1a\x35.google.ads.googleads.v4.resources.CustomerClientLink\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/customerClientLinks/*}\xda\x41\rresource_name\x12\xfe\x01\n\x18MutateCustomerClientLink\x12\x41.google.ads.googleads.v4.services.MutateCustomerClientLinkRequest\x1a\x42.google.ads.googleads.v4.services.MutateCustomerClientLinkResponse\"[\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/customerClientLinks:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1e\x43ustomerClientLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) _GETCUSTOMERCLIENTLINKREQUEST = _descriptor.Descriptor( name='GetCustomerClientLinkRequest', - full_name='google.ads.googleads.v1.services.GetCustomerClientLinkRequest', + full_name='google.ads.googleads.v4.services.GetCustomerClientLinkRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerClientLinkRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerClientLinkRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/CustomerClientLink'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,32 +59,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=275, - serialized_end=328, + serialized_start=328, + serialized_end=434, ) _MUTATECUSTOMERCLIENTLINKREQUEST = _descriptor.Descriptor( name='MutateCustomerClientLinkRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkRequest.operation', index=1, + name='operation', full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkRequest.operation', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -95,34 +97,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=331, - serialized_end=467, + serialized_start=437, + serialized_end=583, ) _CUSTOMERCLIENTLINKOPERATION = _descriptor.Descriptor( name='CustomerClientLinkOperation', - full_name='google.ads.googleads.v1.services.CustomerClientLinkOperation', + full_name='google.ads.googleads.v4.services.CustomerClientLinkOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomerClientLinkOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CustomerClientLinkOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomerClientLinkOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CustomerClientLinkOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomerClientLinkOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CustomerClientLinkOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -140,23 +142,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerClientLinkOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomerClientLinkOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=470, - serialized_end=707, + serialized_start=586, + serialized_end=823, ) _MUTATECUSTOMERCLIENTLINKRESPONSE = _descriptor.Descriptor( name='MutateCustomerClientLinkResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkResponse.result', index=0, + name='result', full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkResponse.result', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -174,20 +176,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=709, - serialized_end=825, + serialized_start=825, + serialized_end=941, ) _MUTATECUSTOMERCLIENTLINKRESULT = _descriptor.Descriptor( name='MutateCustomerClientLinkResult', - full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkResult', + full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerClientLinkResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerClientLinkResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -205,14 +207,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=827, - serialized_end=882, + serialized_start=943, + serialized_end=998, ) _MUTATECUSTOMERCLIENTLINKREQUEST.fields_by_name['operation'].message_type = _CUSTOMERCLIENTLINKOPERATION _CUSTOMERCLIENTLINKOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CUSTOMERCLIENTLINKOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK -_CUSTOMERCLIENTLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK +_CUSTOMERCLIENTLINKOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK +_CUSTOMERCLIENTLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK _CUSTOMERCLIENTLINKOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMERCLIENTLINKOPERATION.fields_by_name['create']) _CUSTOMERCLIENTLINKOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMERCLIENTLINKOPERATION.oneofs_by_name['operation'] @@ -229,41 +231,44 @@ GetCustomerClientLinkRequest = _reflection.GeneratedProtocolMessageType('GetCustomerClientLinkRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMERCLIENTLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_link_service_pb2' , __doc__ = """Request message for - [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v1.services.CustomerClientLinkService.GetCustomerClientLink]. + [CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v4.services.CustomerClientLinkService.GetCustomerClientLink]. Attributes: resource_name: - The resource name of the customer client link to fetch. + Required. The resource name of the customer client link to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerClientLinkRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerClientLinkRequest) )) _sym_db.RegisterMessage(GetCustomerClientLinkRequest) MutateCustomerClientLinkRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_link_service_pb2' , __doc__ = """Request message for - [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v1.services.CustomerClientLinkService.MutateCustomerClientLink]. + [CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v4.services.CustomerClientLinkService.MutateCustomerClientLink]. Attributes: customer_id: - The ID of the customer whose customer link are being modified. + Required. The ID of the customer whose customer link are being + modified. operation: - The operation to perform on the individual CustomerClientLink. + Required. The operation to perform on the individual + CustomerClientLink. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerClientLinkRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerClientLinkRequest) )) _sym_db.RegisterMessage(MutateCustomerClientLinkRequest) CustomerClientLinkOperation = _reflection.GeneratedProtocolMessageType('CustomerClientLinkOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERCLIENTLINKOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_link_service_pb2' , __doc__ = """A single operation (create, update) on a CustomerClientLink. @@ -281,13 +286,13 @@ Update operation: The link is expected to have a valid resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerClientLinkOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerClientLinkOperation) )) _sym_db.RegisterMessage(CustomerClientLinkOperation) MutateCustomerClientLinkResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_link_service_pb2' , __doc__ = """Response message for a CustomerClientLink mutate. @@ -297,13 +302,13 @@ A result that identifies the resource affected by the mutate request. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerClientLinkResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerClientLinkResponse) )) _sym_db.RegisterMessage(MutateCustomerClientLinkResponse) MutateCustomerClientLinkResult = _reflection.GeneratedProtocolMessageType('MutateCustomerClientLinkResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERCLIENTLINKRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_client_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_link_service_pb2' , __doc__ = """The result for a single customer client link mutate. @@ -312,39 +317,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerClientLinkResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerClientLinkResult) )) _sym_db.RegisterMessage(MutateCustomerClientLinkResult) DESCRIPTOR._options = None +_GETCUSTOMERCLIENTLINKREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERCLIENTLINKREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERCLIENTLINKREQUEST.fields_by_name['operation']._options = None _CUSTOMERCLIENTLINKSERVICE = _descriptor.ServiceDescriptor( name='CustomerClientLinkService', - full_name='google.ads.googleads.v1.services.CustomerClientLinkService', + full_name='google.ads.googleads.v4.services.CustomerClientLinkService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=885, - serialized_end=1353, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1001, + serialized_end=1538, methods=[ _descriptor.MethodDescriptor( name='GetCustomerClientLink', - full_name='google.ads.googleads.v1.services.CustomerClientLinkService.GetCustomerClientLink', + full_name='google.ads.googleads.v4.services.CustomerClientLinkService.GetCustomerClientLink', index=0, containing_service=None, input_type=_GETCUSTOMERCLIENTLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/customerClientLinks/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/customerClientLinks/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomerClientLink', - full_name='google.ads.googleads.v1.services.CustomerClientLinkService.MutateCustomerClientLink', + full_name='google.ads.googleads.v4.services.CustomerClientLinkService.MutateCustomerClientLink', index=1, containing_service=None, input_type=_MUTATECUSTOMERCLIENTLINKREQUEST, output_type=_MUTATECUSTOMERCLIENTLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/customerClientLinks:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/customerClientLinks:mutate:\001*\332A\025customer_id,operation'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMERCLIENTLINKSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2_grpc.py index 07574595e..938fa57b0 100644 --- a/google/ads/google_ads/v1/proto/services/customer_client_link_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_client_link_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2 -from google.ads.google_ads.v1.proto.services import customer_client_link_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2 +from google.ads.google_ads.v4.proto.services import customer_client_link_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2 class CustomerClientLinkServiceStub(object): @@ -16,14 +16,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerClientLink = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerClientLinkService/GetCustomerClientLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2.CustomerClientLink.FromString, + '/google.ads.googleads.v4.services.CustomerClientLinkService/GetCustomerClientLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2.CustomerClientLink.FromString, ) self.MutateCustomerClientLink = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerClientLinkService/MutateCustomerClientLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.FromString, + '/google.ads.googleads.v4.services.CustomerClientLinkService/MutateCustomerClientLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.FromString, ) @@ -50,15 +50,15 @@ def add_CustomerClientLinkServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerClientLink': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerClientLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2.CustomerClientLink.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.GetCustomerClientLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2.CustomerClientLink.SerializeToString, ), 'MutateCustomerClientLink': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerClientLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__link__service__pb2.MutateCustomerClientLinkResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerClientLinkService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerClientLinkService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/customer_client_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_client_service_pb2.py new file mode 100644 index 000000000..0d0b31cb3 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/customer_client_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/customer_client_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/customer_client_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032CustomerClientServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/services/customer_client_service.proto\x12 google.ads.googleads.v4.services\x1a=google/ads/googleads_v4/proto/resources/customer_client.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetCustomerClientRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/CustomerClient2\x84\x02\n\x15\x43ustomerClientService\x12\xcd\x01\n\x11GetCustomerClient\x12:.google.ads.googleads.v4.services.GetCustomerClientRequest\x1a\x31.google.ads.googleads.v4.resources.CustomerClient\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/customerClients/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x43ustomerClientServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETCUSTOMERCLIENTREQUEST = _descriptor.Descriptor( + name='GetCustomerClientRequest', + full_name='google.ads.googleads.v4.services.GetCustomerClientRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerClientRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/CustomerClient'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=284, + serialized_end=382, +) + +DESCRIPTOR.message_types_by_name['GetCustomerClientRequest'] = _GETCUSTOMERCLIENTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCustomerClientRequest = _reflection.GeneratedProtocolMessageType('GetCustomerClientRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCUSTOMERCLIENTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.customer_client_service_pb2' + , + __doc__ = """Request message for + [CustomerClientService.GetCustomerClient][google.ads.googleads.v4.services.CustomerClientService.GetCustomerClient]. + + + Attributes: + resource_name: + Required. The resource name of the client to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerClientRequest) + )) +_sym_db.RegisterMessage(GetCustomerClientRequest) + + +DESCRIPTOR._options = None +_GETCUSTOMERCLIENTREQUEST.fields_by_name['resource_name']._options = None + +_CUSTOMERCLIENTSERVICE = _descriptor.ServiceDescriptor( + name='CustomerClientService', + full_name='google.ads.googleads.v4.services.CustomerClientService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=385, + serialized_end=645, + methods=[ + _descriptor.MethodDescriptor( + name='GetCustomerClient', + full_name='google.ads.googleads.v4.services.CustomerClientService.GetCustomerClient', + index=0, + containing_service=None, + input_type=_GETCUSTOMERCLIENTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/customerClients/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CUSTOMERCLIENTSERVICE) + +DESCRIPTOR.services_by_name['CustomerClientService'] = _CUSTOMERCLIENTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/customer_client_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_client_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/customer_client_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_client_service_pb2_grpc.py index 58e40e6e7..b97d1771b 100644 --- a/google/ads/google_ads/v1/proto/services/customer_client_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_client_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2 -from google.ads.google_ads.v1.proto.services import customer_client_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2 +from google.ads.google_ads.v4.proto.services import customer_client_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__service__pb2 class CustomerClientServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerClient = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerClientService/GetCustomerClient', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.FromString, + '/google.ads.googleads.v4.services.CustomerClientService/GetCustomerClient', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.FromString, ) @@ -42,10 +42,10 @@ def add_CustomerClientServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerClient': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerClient, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__client__service__pb2.GetCustomerClientRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2.CustomerClient.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerClientService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerClientService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2.py similarity index 66% rename from google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2.py index c6c1f42ab..779b0d0d8 100644 --- a/google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_extension_setting_service.proto +# source: google/ads/googleads_v4/proto/services/customer_extension_setting_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_extension_setting_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_extension_setting_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB$CustomerExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nOgoogle/ads/googleads_v1/proto/services/customer_extension_setting_service.proto\x12 google.ads.googleads.v1.services\x1aHgoogle/ads/googleads_v1/proto/resources/customer_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\";\n\"GetCustomerExtensionSettingRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xc6\x01\n&MutateCustomerExtensionSettingsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12W\n\noperations\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v1.services.CustomerExtensionSettingOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x91\x02\n!CustomerExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12M\n\x06\x63reate\x18\x01 \x01(\x0b\x32;.google.ads.googleads.v1.resources.CustomerExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v1.resources.CustomerExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb5\x01\n\'MutateCustomerExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCustomerExtensionSettingResult\"=\n$MutateCustomerExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8d\x04\n\x1f\x43ustomerExtensionSettingService\x12\xe5\x01\n\x1bGetCustomerExtensionSetting\x12\x44.google.ads.googleads.v1.services.GetCustomerExtensionSettingRequest\x1a;.google.ads.googleads.v1.resources.CustomerExtensionSetting\"C\x82\xd3\xe4\x93\x02=\x12;/v1/{resource_name=customers/*/customerExtensionSettings/*}\x12\x81\x02\n\x1fMutateCustomerExtensionSettings\x12H.google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest\x1aI.google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse\"I\x82\xd3\xe4\x93\x02\x43\">/v1/customers/{customer_id=*}/customerExtensionSettings:mutate:\x01*B\x8b\x02\n$com.google.ads.googleads.v1.servicesB$CustomerExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB$CustomerExtensionSettingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/services/customer_extension_setting_service.proto\x12 google.ads.googleads.v4.services\x1aHgoogle/ads/googleads_v4/proto/resources/customer_extension_setting.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"v\n\"GetCustomerExtensionSettingRequest\x12P\n\rresource_name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1googleads.googleapis.com/CustomerExtensionSetting\"\xd0\x01\n&MutateCustomerExtensionSettingsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\noperations\x18\x02 \x03(\x0b\x32\x43.google.ads.googleads.v4.services.CustomerExtensionSettingOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x91\x02\n!CustomerExtensionSettingOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12M\n\x06\x63reate\x18\x01 \x01(\x0b\x32;.google.ads.googleads.v4.resources.CustomerExtensionSettingH\x00\x12M\n\x06update\x18\x02 \x01(\x0b\x32;.google.ads.googleads.v4.resources.CustomerExtensionSettingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb5\x01\n\'MutateCustomerExtensionSettingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCustomerExtensionSettingResult\"=\n$MutateCustomerExtensionSettingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd3\x04\n\x1f\x43ustomerExtensionSettingService\x12\xf5\x01\n\x1bGetCustomerExtensionSetting\x12\x44.google.ads.googleads.v4.services.GetCustomerExtensionSettingRequest\x1a;.google.ads.googleads.v4.resources.CustomerExtensionSetting\"S\x82\xd3\xe4\x93\x02=\x12;/v4/{resource_name=customers/*/customerExtensionSettings/*}\xda\x41\rresource_name\x12\x9a\x02\n\x1fMutateCustomerExtensionSettings\x12H.google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest\x1aI.google.ads.googleads.v4.services.MutateCustomerExtensionSettingsResponse\"b\x82\xd3\xe4\x93\x02\x43\">/v4/customers/{customer_id=*}/customerExtensionSettings:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8b\x02\n$com.google.ads.googleads.v4.servicesB$CustomerExtensionSettingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCUSTOMEREXTENSIONSETTINGREQUEST = _descriptor.Descriptor( name='GetCustomerExtensionSettingRequest', - full_name='google.ads.googleads.v1.services.GetCustomerExtensionSettingRequest', + full_name='google.ads.googleads.v4.services.GetCustomerExtensionSettingRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerExtensionSettingRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerExtensionSettingRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A3\n1googleads.googleapis.com/CustomerExtensionSetting'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=312, - serialized_end=371, + serialized_start=365, + serialized_end=483, ) _MUTATECUSTOMEREXTENSIONSETTINGSREQUEST = _descriptor.Descriptor( name='MutateCustomerExtensionSettingsRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=374, - serialized_end=572, + serialized_start=486, + serialized_end=694, ) _CUSTOMEREXTENSIONSETTINGOPERATION = _descriptor.Descriptor( name='CustomerExtensionSettingOperation', - full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation', + full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerExtensionSettingOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomerExtensionSettingOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=575, - serialized_end=848, + serialized_start=697, + serialized_end=970, ) _MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE = _descriptor.Descriptor( name='MutateCustomerExtensionSettingsResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=851, - serialized_end=1032, + serialized_start=973, + serialized_end=1154, ) _MUTATECUSTOMEREXTENSIONSETTINGRESULT = _descriptor.Descriptor( name='MutateCustomerExtensionSettingResult', - full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingResult', + full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerExtensionSettingResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerExtensionSettingResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1034, - serialized_end=1095, + serialized_start=1156, + serialized_end=1217, ) _MUTATECUSTOMEREXTENSIONSETTINGSREQUEST.fields_by_name['operations'].message_type = _CUSTOMEREXTENSIONSETTINGOPERATION _CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING -_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING +_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING +_CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING _CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['create']) _CUSTOMEREXTENSIONSETTINGOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMEREXTENSIONSETTINGOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetCustomerExtensionSettingRequest = _reflection.GeneratedProtocolMessageType('GetCustomerExtensionSettingRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMEREXTENSIONSETTINGREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_extension_setting_service_pb2' , __doc__ = """Request message for - [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v1.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. + [CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v4.services.CustomerExtensionSettingService.GetCustomerExtensionSetting]. Attributes: resource_name: - The resource name of the customer extension setting to fetch. + Required. The resource name of the customer extension setting + to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerExtensionSettingRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerExtensionSettingRequest) )) _sym_db.RegisterMessage(GetCustomerExtensionSettingRequest) MutateCustomerExtensionSettingsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_extension_setting_service_pb2' , __doc__ = """Request message for - [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v1.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. + [CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v4.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings]. Attributes: customer_id: - The ID of the customer whose customer extension settings are - being modified. + Required. The ID of the customer whose customer extension + settings are being modified. operations: - The list of operations to perform on individual customer - extension settings. + Required. The list of operations to perform on individual + customer extension settings. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerExtensionSettingsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerExtensionSettingsRequest) )) _sym_db.RegisterMessage(MutateCustomerExtensionSettingsRequest) CustomerExtensionSettingOperation = _reflection.GeneratedProtocolMessageType('CustomerExtensionSettingOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMEREXTENSIONSETTINGOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_extension_setting_service_pb2' , __doc__ = """A single operation (create, update, remove) on a customer extension setting. @@ -329,13 +332,13 @@ extension setting is expected, in this format: ``customers/{c ustomer_id}/customerExtensionSettings/{extension_type}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerExtensionSettingOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerExtensionSettingOperation) )) _sym_db.RegisterMessage(CustomerExtensionSettingOperation) MutateCustomerExtensionSettingsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_extension_setting_service_pb2' , __doc__ = """Response message for a customer extension setting mutate. @@ -350,13 +353,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerExtensionSettingsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerExtensionSettingsResponse) )) _sym_db.RegisterMessage(MutateCustomerExtensionSettingsResponse) MutateCustomerExtensionSettingResult = _reflection.GeneratedProtocolMessageType('MutateCustomerExtensionSettingResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMEREXTENSIONSETTINGRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_extension_setting_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_extension_setting_service_pb2' , __doc__ = """The result for the customer extension setting mutate. @@ -365,39 +368,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerExtensionSettingResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerExtensionSettingResult) )) _sym_db.RegisterMessage(MutateCustomerExtensionSettingResult) DESCRIPTOR._options = None +_GETCUSTOMEREXTENSIONSETTINGREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMEREXTENSIONSETTINGSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMEREXTENSIONSETTINGSREQUEST.fields_by_name['operations']._options = None _CUSTOMEREXTENSIONSETTINGSERVICE = _descriptor.ServiceDescriptor( name='CustomerExtensionSettingService', - full_name='google.ads.googleads.v1.services.CustomerExtensionSettingService', + full_name='google.ads.googleads.v4.services.CustomerExtensionSettingService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1098, - serialized_end=1623, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1220, + serialized_end=1815, methods=[ _descriptor.MethodDescriptor( name='GetCustomerExtensionSetting', - full_name='google.ads.googleads.v1.services.CustomerExtensionSettingService.GetCustomerExtensionSetting', + full_name='google.ads.googleads.v4.services.CustomerExtensionSettingService.GetCustomerExtensionSetting', index=0, containing_service=None, input_type=_GETCUSTOMEREXTENSIONSETTINGREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING, - serialized_options=_b('\202\323\344\223\002=\022;/v1/{resource_name=customers/*/customerExtensionSettings/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING, + serialized_options=_b('\202\323\344\223\002=\022;/v4/{resource_name=customers/*/customerExtensionSettings/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomerExtensionSettings', - full_name='google.ads.googleads.v1.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings', + full_name='google.ads.googleads.v4.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings', index=1, containing_service=None, input_type=_MUTATECUSTOMEREXTENSIONSETTINGSREQUEST, output_type=_MUTATECUSTOMEREXTENSIONSETTINGSRESPONSE, - serialized_options=_b('\202\323\344\223\002C\">/v1/customers/{customer_id=*}/customerExtensionSettings:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002C\">/v4/customers/{customer_id=*}/customerExtensionSettings:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMEREXTENSIONSETTINGSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2_grpc.py index 333c0ffaa..d2bc33de3 100644 --- a/google/ads/google_ads/v1/proto/services/customer_extension_setting_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_extension_setting_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2 -from google.ads.google_ads.v1.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2 +from google.ads.google_ads.v4.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 class CustomerExtensionSettingServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerExtensionSetting = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerExtensionSettingService/GetCustomerExtensionSetting', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2.CustomerExtensionSetting.FromString, + '/google.ads.googleads.v4.services.CustomerExtensionSettingService/GetCustomerExtensionSetting', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2.CustomerExtensionSetting.FromString, ) self.MutateCustomerExtensionSettings = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.FromString, + '/google.ads.googleads.v4.services.CustomerExtensionSettingService/MutateCustomerExtensionSettings', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CustomerExtensionSettingServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerExtensionSetting': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerExtensionSetting, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2.CustomerExtensionSetting.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.GetCustomerExtensionSettingRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2.CustomerExtensionSetting.SerializeToString, ), 'MutateCustomerExtensionSettings': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerExtensionSettings, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.MutateCustomerExtensionSettingsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerExtensionSettingService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerExtensionSettingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_feed_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_feed_service_pb2.py similarity index 64% rename from google/ads/google_ads/v1/proto/services/customer_feed_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_feed_service_pb2.py index 7a1fc046d..1b40f7654 100644 --- a/google/ads/google_ads/v1/proto/services/customer_feed_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_feed_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_feed_service.proto +# source: google/ads/googleads_v4/proto/services/customer_feed_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2 +from google.ads.google_ads.v4.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_feed_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_feed_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\030CustomerFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nBgoogle/ads/googleads_v1/proto/services/customer_feed_service.proto\x12 google.ads.googleads.v1.services\x1a;google/ads/googleads_v1/proto/resources/customer_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"/\n\x16GetCustomerFeedRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xae\x01\n\x1aMutateCustomerFeedsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12K\n\noperations\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.CustomerFeedOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xed\x01\n\x15\x43ustomerFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x41\n\x06\x63reate\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v1.resources.CustomerFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v1.resources.CustomerFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9d\x01\n\x1bMutateCustomerFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.services.MutateCustomerFeedResult\"1\n\x18MutateCustomerFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa1\x03\n\x13\x43ustomerFeedService\x12\xb5\x01\n\x0fGetCustomerFeed\x12\x38.google.ads.googleads.v1.services.GetCustomerFeedRequest\x1a/.google.ads.googleads.v1.resources.CustomerFeed\"7\x82\xd3\xe4\x93\x02\x31\x12//v1/{resource_name=customers/*/customerFeeds/*}\x12\xd1\x01\n\x13MutateCustomerFeeds\x12<.google.ads.googleads.v1.services.MutateCustomerFeedsRequest\x1a=.google.ads.googleads.v1.services.MutateCustomerFeedsResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/customers/{customer_id=*}/customerFeeds:mutate:\x01*B\xff\x01\n$com.google.ads.googleads.v1.servicesB\x18\x43ustomerFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030CustomerFeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/customer_feed_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/customer_feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"^\n\x16GetCustomerFeedRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/CustomerFeed\"\xb8\x01\n\x1aMutateCustomerFeedsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12P\n\noperations\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.CustomerFeedOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xed\x01\n\x15\x43ustomerFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x41\n\x06\x63reate\x18\x01 \x01(\x0b\x32/.google.ads.googleads.v4.resources.CustomerFeedH\x00\x12\x41\n\x06update\x18\x02 \x01(\x0b\x32/.google.ads.googleads.v4.resources.CustomerFeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9d\x01\n\x1bMutateCustomerFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.services.MutateCustomerFeedResult\"1\n\x18MutateCustomerFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe7\x03\n\x13\x43ustomerFeedService\x12\xc5\x01\n\x0fGetCustomerFeed\x12\x38.google.ads.googleads.v4.services.GetCustomerFeedRequest\x1a/.google.ads.googleads.v4.resources.CustomerFeed\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/customerFeeds/*}\xda\x41\rresource_name\x12\xea\x01\n\x13MutateCustomerFeeds\x12<.google.ads.googleads.v4.services.MutateCustomerFeedsRequest\x1a=.google.ads.googleads.v4.services.MutateCustomerFeedsResponse\"V\x82\xd3\xe4\x93\x02\x37\"2/v4/customers/{customer_id=*}/customerFeeds:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18\x43ustomerFeedServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCUSTOMERFEEDREQUEST = _descriptor.Descriptor( name='GetCustomerFeedRequest', - full_name='google.ads.googleads.v1.services.GetCustomerFeedRequest', + full_name='google.ads.googleads.v4.services.GetCustomerFeedRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerFeedRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerFeedRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/CustomerFeed'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=286, - serialized_end=333, + serialized_start=339, + serialized_end=433, ) _MUTATECUSTOMERFEEDSREQUEST = _descriptor.Descriptor( name='MutateCustomerFeedsRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerFeedsRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerFeedsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=336, - serialized_end=510, + serialized_start=436, + serialized_end=620, ) _CUSTOMERFEEDOPERATION = _descriptor.Descriptor( name='CustomerFeedOperation', - full_name='google.ads.googleads.v1.services.CustomerFeedOperation', + full_name='google.ads.googleads.v4.services.CustomerFeedOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomerFeedOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.CustomerFeedOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomerFeedOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.CustomerFeedOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomerFeedOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.CustomerFeedOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CustomerFeedOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.CustomerFeedOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerFeedOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomerFeedOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=513, - serialized_end=750, + serialized_start=623, + serialized_end=860, ) _MUTATECUSTOMERFEEDSRESPONSE = _descriptor.Descriptor( name='MutateCustomerFeedsResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerFeedsResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerFeedsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomerFeedsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCustomerFeedsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=753, - serialized_end=910, + serialized_start=863, + serialized_end=1020, ) _MUTATECUSTOMERFEEDRESULT = _descriptor.Descriptor( name='MutateCustomerFeedResult', - full_name='google.ads.googleads.v1.services.MutateCustomerFeedResult', + full_name='google.ads.googleads.v4.services.MutateCustomerFeedResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerFeedResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerFeedResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=912, - serialized_end=961, + serialized_start=1022, + serialized_end=1071, ) _MUTATECUSTOMERFEEDSREQUEST.fields_by_name['operations'].message_type = _CUSTOMERFEEDOPERATION _CUSTOMERFEEDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_CUSTOMERFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED -_CUSTOMERFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED +_CUSTOMERFEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED +_CUSTOMERFEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED _CUSTOMERFEEDOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMERFEEDOPERATION.fields_by_name['create']) _CUSTOMERFEEDOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMERFEEDOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,35 @@ GetCustomerFeedRequest = _reflection.GeneratedProtocolMessageType('GetCustomerFeedRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMERFEEDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_feed_service_pb2' , __doc__ = """Request message for - [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v1.services.CustomerFeedService.GetCustomerFeed]. + [CustomerFeedService.GetCustomerFeed][google.ads.googleads.v4.services.CustomerFeedService.GetCustomerFeed]. Attributes: resource_name: - The resource name of the customer feed to fetch. + Required. The resource name of the customer feed to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerFeedRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerFeedRequest) )) _sym_db.RegisterMessage(GetCustomerFeedRequest) MutateCustomerFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERFEEDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_feed_service_pb2' , __doc__ = """Request message for - [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v1.services.CustomerFeedService.MutateCustomerFeeds]. + [CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v4.services.CustomerFeedService.MutateCustomerFeeds]. Attributes: customer_id: - The ID of the customer whose customer feeds are being - modified. + Required. The ID of the customer whose customer feeds are + being modified. operations: - The list of operations to perform on individual customer - feeds. + Required. The list of operations to perform on individual + customer feeds. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerFeedsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerFeedsRequest) )) _sym_db.RegisterMessage(MutateCustomerFeedsRequest) CustomerFeedOperation = _reflection.GeneratedProtocolMessageType('CustomerFeedOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERFEEDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_feed_service_pb2' , __doc__ = """A single operation (create, update, remove) on a customer feed. @@ -328,13 +330,13 @@ feed is expected, in this format: ``customers/{customer_id}/customerFeeds/{feed_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerFeedOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerFeedOperation) )) _sym_db.RegisterMessage(CustomerFeedOperation) MutateCustomerFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_feed_service_pb2' , __doc__ = """Response message for a customer feed mutate. @@ -349,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerFeedsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerFeedsResponse) )) _sym_db.RegisterMessage(MutateCustomerFeedsResponse) MutateCustomerFeedResult = _reflection.GeneratedProtocolMessageType('MutateCustomerFeedResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERFEEDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_feed_service_pb2' , __doc__ = """The result for the customer feed mutate. @@ -364,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerFeedResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerFeedResult) )) _sym_db.RegisterMessage(MutateCustomerFeedResult) DESCRIPTOR._options = None +_GETCUSTOMERFEEDREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERFEEDSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERFEEDSREQUEST.fields_by_name['operations']._options = None _CUSTOMERFEEDSERVICE = _descriptor.ServiceDescriptor( name='CustomerFeedService', - full_name='google.ads.googleads.v1.services.CustomerFeedService', + full_name='google.ads.googleads.v4.services.CustomerFeedService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=964, - serialized_end=1381, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1074, + serialized_end=1561, methods=[ _descriptor.MethodDescriptor( name='GetCustomerFeed', - full_name='google.ads.googleads.v1.services.CustomerFeedService.GetCustomerFeed', + full_name='google.ads.googleads.v4.services.CustomerFeedService.GetCustomerFeed', index=0, containing_service=None, input_type=_GETCUSTOMERFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED, - serialized_options=_b('\202\323\344\223\0021\022//v1/{resource_name=customers/*/customerFeeds/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/customerFeeds/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomerFeeds', - full_name='google.ads.googleads.v1.services.CustomerFeedService.MutateCustomerFeeds', + full_name='google.ads.googleads.v4.services.CustomerFeedService.MutateCustomerFeeds', index=1, containing_service=None, input_type=_MUTATECUSTOMERFEEDSREQUEST, output_type=_MUTATECUSTOMERFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v1/customers/{customer_id=*}/customerFeeds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0027\"2/v4/customers/{customer_id=*}/customerFeeds:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMERFEEDSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_feed_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_feed_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/customer_feed_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_feed_service_pb2_grpc.py index 02561e92f..1a07c812b 100644 --- a/google/ads/google_ads/v1/proto/services/customer_feed_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_feed_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2 -from google.ads.google_ads.v1.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2 +from google.ads.google_ads.v4.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2 class CustomerFeedServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerFeed = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerFeedService/GetCustomerFeed', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2.CustomerFeed.FromString, + '/google.ads.googleads.v4.services.CustomerFeedService/GetCustomerFeed', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2.CustomerFeed.FromString, ) self.MutateCustomerFeeds = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerFeedService/MutateCustomerFeeds', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.FromString, + '/google.ads.googleads.v4.services.CustomerFeedService/MutateCustomerFeeds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CustomerFeedServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerFeed': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerFeed, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2.CustomerFeed.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.GetCustomerFeedRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2.CustomerFeed.SerializeToString, ), 'MutateCustomerFeeds': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerFeeds, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.MutateCustomerFeedsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerFeedService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerFeedService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_label_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_label_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/customer_label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_label_service_pb2.py index 87031769a..e1865fe6a 100644 --- a/google/ads/google_ads/v1/proto/services/customer_label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_label_service.proto +# source: google/ads/googleads_v4/proto/services/customer_label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2 +from google.ads.google_ads.v4.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\031CustomerLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/customer_label_service.proto\x12 google.ads.googleads.v1.services\x1a.google.ads.googleads.v1.services.MutateCustomerLabelsResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}/customerLabels:mutate:\x01*B\x80\x02\n$com.google.ads.googleads.v1.servicesB\x19\x43ustomerLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\031CustomerLabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/customer_label_service.proto\x12 google.ads.googleads.v4.services\x1a.google.ads.googleads.v4.services.MutateCustomerLabelsResponse\"W\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}/customerLabels:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x80\x02\n$com.google.ads.googleads.v4.servicesB\x19\x43ustomerLabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCUSTOMERLABELREQUEST = _descriptor.Descriptor( name='GetCustomerLabelRequest', - full_name='google.ads.googleads.v1.services.GetCustomerLabelRequest', + full_name='google.ads.googleads.v4.services.GetCustomerLabelRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerLabelRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerLabelRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A(\n&googleads.googleapis.com/CustomerLabel'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=254, - serialized_end=302, + serialized_start=307, + serialized_end=403, ) _MUTATECUSTOMERLABELSREQUEST = _descriptor.Descriptor( name='MutateCustomerLabelsRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerLabelsRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerLabelsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=305, - serialized_end=481, + serialized_start=406, + serialized_end=592, ) _CUSTOMERLABELOPERATION = _descriptor.Descriptor( name='CustomerLabelOperation', - full_name='google.ads.googleads.v1.services.CustomerLabelOperation', + full_name='google.ads.googleads.v4.services.CustomerLabelOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomerLabelOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.CustomerLabelOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CustomerLabelOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.CustomerLabelOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerLabelOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomerLabelOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=483, - serialized_end=606, + serialized_start=594, + serialized_end=717, ) _MUTATECUSTOMERLABELSRESPONSE = _descriptor.Descriptor( name='MutateCustomerLabelsResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerLabelsResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerLabelsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomerLabelsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCustomerLabelsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=609, - serialized_end=768, + serialized_start=720, + serialized_end=879, ) _MUTATECUSTOMERLABELRESULT = _descriptor.Descriptor( name='MutateCustomerLabelResult', - full_name='google.ads.googleads.v1.services.MutateCustomerLabelResult', + full_name='google.ads.googleads.v4.services.MutateCustomerLabelResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerLabelResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerLabelResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=770, - serialized_end=820, + serialized_start=881, + serialized_end=931, ) _MUTATECUSTOMERLABELSREQUEST.fields_by_name['operations'].message_type = _CUSTOMERLABELOPERATION -_CUSTOMERLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL +_CUSTOMERLABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL _CUSTOMERLABELOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMERLABELOPERATION.fields_by_name['create']) _CUSTOMERLABELOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMERLABELOPERATION.oneofs_by_name['operation'] @@ -242,34 +244,35 @@ GetCustomerLabelRequest = _reflection.GeneratedProtocolMessageType('GetCustomerLabelRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMERLABELREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_label_service_pb2' , __doc__ = """Request message for - [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v1.services.CustomerLabelService.GetCustomerLabel]. + [CustomerLabelService.GetCustomerLabel][google.ads.googleads.v4.services.CustomerLabelService.GetCustomerLabel]. Attributes: resource_name: - The resource name of the customer-label relationship to fetch. + Required. The resource name of the customer-label relationship + to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerLabelRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerLabelRequest) )) _sym_db.RegisterMessage(GetCustomerLabelRequest) MutateCustomerLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERLABELSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_label_service_pb2' , __doc__ = """Request message for - [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v1.services.CustomerLabelService.MutateCustomerLabels]. + [CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v4.services.CustomerLabelService.MutateCustomerLabels]. Attributes: customer_id: - ID of the customer whose customer-label relationships are - being modified. + Required. ID of the customer whose customer-label + relationships are being modified. operations: - The list of operations to perform on customer-label + Required. The list of operations to perform on customer-label relationships. partial_failure: If true, successful operations will be carried out and invalid @@ -280,13 +283,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerLabelsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerLabelsRequest) )) _sym_db.RegisterMessage(MutateCustomerLabelsRequest) CustomerLabelOperation = _reflection.GeneratedProtocolMessageType('CustomerLabelOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERLABELOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_label_service_pb2' , __doc__ = """A single operation (create, remove) on a customer-label relationship. @@ -302,13 +305,13 @@ relationship being removed, in this format: ``customers/{customer_id}/customerLabels/{label_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerLabelOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerLabelOperation) )) _sym_db.RegisterMessage(CustomerLabelOperation) MutateCustomerLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERLABELSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_label_service_pb2' , __doc__ = """Response message for a customer labels mutate. @@ -323,13 +326,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerLabelsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerLabelsResponse) )) _sym_db.RegisterMessage(MutateCustomerLabelsResponse) MutateCustomerLabelResult = _reflection.GeneratedProtocolMessageType('MutateCustomerLabelResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERLABELRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_label_service_pb2' , __doc__ = """The result for a customer label mutate. @@ -338,39 +341,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerLabelResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerLabelResult) )) _sym_db.RegisterMessage(MutateCustomerLabelResult) DESCRIPTOR._options = None +_GETCUSTOMERLABELREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERLABELSREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERLABELSREQUEST.fields_by_name['operations']._options = None _CUSTOMERLABELSERVICE = _descriptor.ServiceDescriptor( name='CustomerLabelService', - full_name='google.ads.googleads.v1.services.CustomerLabelService', + full_name='google.ads.googleads.v4.services.CustomerLabelService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=823, - serialized_end=1249, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=934, + serialized_end=1430, methods=[ _descriptor.MethodDescriptor( name='GetCustomerLabel', - full_name='google.ads.googleads.v1.services.CustomerLabelService.GetCustomerLabel', + full_name='google.ads.googleads.v4.services.CustomerLabelService.GetCustomerLabel', index=0, containing_service=None, input_type=_GETCUSTOMERLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL, - serialized_options=_b('\202\323\344\223\0022\0220/v1/{resource_name=customers/*/customerLabels/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL, + serialized_options=_b('\202\323\344\223\0022\0220/v4/{resource_name=customers/*/customerLabels/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomerLabels', - full_name='google.ads.googleads.v1.services.CustomerLabelService.MutateCustomerLabels', + full_name='google.ads.googleads.v4.services.CustomerLabelService.MutateCustomerLabels', index=1, containing_service=None, input_type=_MUTATECUSTOMERLABELSREQUEST, output_type=_MUTATECUSTOMERLABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}/customerLabels:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}/customerLabels:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMERLABELSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_label_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_label_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/customer_label_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_label_service_pb2_grpc.py index 296c3bd99..0854a6f26 100644 --- a/google/ads/google_ads/v1/proto/services/customer_label_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_label_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2 -from google.ads.google_ads.v1.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2 +from google.ads.google_ads.v4.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2 class CustomerLabelServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerLabel = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerLabelService/GetCustomerLabel', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2.CustomerLabel.FromString, + '/google.ads.googleads.v4.services.CustomerLabelService/GetCustomerLabel', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2.CustomerLabel.FromString, ) self.MutateCustomerLabels = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerLabelService/MutateCustomerLabels', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.FromString, + '/google.ads.googleads.v4.services.CustomerLabelService/MutateCustomerLabels', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_CustomerLabelServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerLabel': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerLabel, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2.CustomerLabel.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.GetCustomerLabelRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2.CustomerLabel.SerializeToString, ), 'MutateCustomerLabels': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerLabels, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.MutateCustomerLabelsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerLabelService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerLabelService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2.py new file mode 100644 index 000000000..5c77797db --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2.py @@ -0,0 +1,484 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/customer_manager_link_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/customer_manager_link_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037CustomerManagerLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/customer_manager_link_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/customer_manager_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\"l\n\x1dGetCustomerManagerLinkRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/CustomerManagerLink\"\x95\x01\n MutateCustomerManagerLinkRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.services.CustomerManagerLinkOperationB\x03\xe0\x41\x02\"y\n\x16MoveManagerLinkRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12+\n\x1eprevious_customer_manager_link\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bnew_manager\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xa6\x01\n\x1c\x43ustomerManagerLinkOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.CustomerManagerLinkH\x00\x42\x0b\n\toperation\"w\n!MutateCustomerManagerLinkResponse\x12R\n\x07results\x18\x01 \x03(\x0b\x32\x41.google.ads.googleads.v4.services.MutateCustomerManagerLinkResult\"0\n\x17MoveManagerLinkResponse\x12\x15\n\rresource_name\x18\x01 \x01(\t\"8\n\x1fMutateCustomerManagerLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb5\x06\n\x1a\x43ustomerManagerLinkService\x12\xe1\x01\n\x16GetCustomerManagerLink\x12?.google.ads.googleads.v4.services.GetCustomerManagerLinkRequest\x1a\x36.google.ads.googleads.v4.resources.CustomerManagerLink\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/customerManagerLinks/*}\xda\x41\rresource_name\x12\x83\x02\n\x19MutateCustomerManagerLink\x12\x42.google.ads.googleads.v4.services.MutateCustomerManagerLinkRequest\x1a\x43.google.ads.googleads.v4.services.MutateCustomerManagerLinkResponse\"]\x82\xd3\xe4\x93\x02>\"9/v4/customers/{customer_id=*}/customerManagerLinks:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\x8f\x02\n\x0fMoveManagerLink\x12\x38.google.ads.googleads.v4.services.MoveManagerLinkRequest\x1a\x39.google.ads.googleads.v4.services.MoveManagerLinkResponse\"\x86\x01\x82\xd3\xe4\x93\x02G\"B/v4/customers/{customer_id=*}/customerManagerLinks:moveManagerLink:\x01*\xda\x41\x36\x63ustomer_id,previous_customer_manager_link,new_manager\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1f\x43ustomerManagerLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) + + + + +_GETCUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( + name='GetCustomerManagerLinkRequest', + full_name='google.ads.googleads.v4.services.GetCustomerManagerLinkRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerManagerLinkRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/CustomerManagerLink'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=330, + serialized_end=438, +) + + +_MUTATECUSTOMERMANAGERLINKREQUEST = _descriptor.Descriptor( + name='MutateCustomerManagerLinkRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkRequest.operations', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=441, + serialized_end=590, +) + + +_MOVEMANAGERLINKREQUEST = _descriptor.Descriptor( + name='MoveManagerLinkRequest', + full_name='google.ads.googleads.v4.services.MoveManagerLinkRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.MoveManagerLinkRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='previous_customer_manager_link', full_name='google.ads.googleads.v4.services.MoveManagerLinkRequest.previous_customer_manager_link', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='new_manager', full_name='google.ads.googleads.v4.services.MoveManagerLinkRequest.new_manager', index=2, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=592, + serialized_end=713, +) + + +_CUSTOMERMANAGERLINKOPERATION = _descriptor.Descriptor( + name='CustomerManagerLinkOperation', + full_name='google.ads.googleads.v4.services.CustomerManagerLinkOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='update_mask', full_name='google.ads.googleads.v4.services.CustomerManagerLinkOperation.update_mask', index=0, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='update', full_name='google.ads.googleads.v4.services.CustomerManagerLinkOperation.update', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.CustomerManagerLinkOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=716, + serialized_end=882, +) + + +_MUTATECUSTOMERMANAGERLINKRESPONSE = _descriptor.Descriptor( + name='MutateCustomerManagerLinkResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkResponse.results', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=884, + serialized_end=1003, +) + + +_MOVEMANAGERLINKRESPONSE = _descriptor.Descriptor( + name='MoveManagerLinkResponse', + full_name='google.ads.googleads.v4.services.MoveManagerLinkResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.MoveManagerLinkResponse.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1005, + serialized_end=1053, +) + + +_MUTATECUSTOMERMANAGERLINKRESULT = _descriptor.Descriptor( + name='MutateCustomerManagerLinkResult', + full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerManagerLinkResult.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1055, + serialized_end=1111, +) + +_MUTATECUSTOMERMANAGERLINKREQUEST.fields_by_name['operations'].message_type = _CUSTOMERMANAGERLINKOPERATION +_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK +_CUSTOMERMANAGERLINKOPERATION.oneofs_by_name['operation'].fields.append( + _CUSTOMERMANAGERLINKOPERATION.fields_by_name['update']) +_CUSTOMERMANAGERLINKOPERATION.fields_by_name['update'].containing_oneof = _CUSTOMERMANAGERLINKOPERATION.oneofs_by_name['operation'] +_MUTATECUSTOMERMANAGERLINKRESPONSE.fields_by_name['results'].message_type = _MUTATECUSTOMERMANAGERLINKRESULT +DESCRIPTOR.message_types_by_name['GetCustomerManagerLinkRequest'] = _GETCUSTOMERMANAGERLINKREQUEST +DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkRequest'] = _MUTATECUSTOMERMANAGERLINKREQUEST +DESCRIPTOR.message_types_by_name['MoveManagerLinkRequest'] = _MOVEMANAGERLINKREQUEST +DESCRIPTOR.message_types_by_name['CustomerManagerLinkOperation'] = _CUSTOMERMANAGERLINKOPERATION +DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkResponse'] = _MUTATECUSTOMERMANAGERLINKRESPONSE +DESCRIPTOR.message_types_by_name['MoveManagerLinkResponse'] = _MOVEMANAGERLINKRESPONSE +DESCRIPTOR.message_types_by_name['MutateCustomerManagerLinkResult'] = _MUTATECUSTOMERMANAGERLINKRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetCustomerManagerLinkRequest = _reflection.GeneratedProtocolMessageType('GetCustomerManagerLinkRequest', (_message.Message,), dict( + DESCRIPTOR = _GETCUSTOMERMANAGERLINKREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Request message for + [CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v4.services.CustomerManagerLinkService.GetCustomerManagerLink]. + + + Attributes: + resource_name: + Required. The resource name of the CustomerManagerLink to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerManagerLinkRequest) + )) +_sym_db.RegisterMessage(GetCustomerManagerLinkRequest) + +MutateCustomerManagerLinkRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkRequest', (_message.Message,), dict( + DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Request message for + [CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v4.services.CustomerManagerLinkService.MutateCustomerManagerLink]. + + + Attributes: + customer_id: + Required. The ID of the customer whose customer manager links + are being modified. + operations: + Required. The list of operations to perform on individual + customer manager links. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerManagerLinkRequest) + )) +_sym_db.RegisterMessage(MutateCustomerManagerLinkRequest) + +MoveManagerLinkRequest = _reflection.GeneratedProtocolMessageType('MoveManagerLinkRequest', (_message.Message,), dict( + DESCRIPTOR = _MOVEMANAGERLINKREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Request message for + [CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v4.services.CustomerManagerLinkService.MoveManagerLink]. + + + Attributes: + customer_id: + Required. The ID of the client customer that is being moved. + previous_customer_manager_link: + Required. The resource name of the previous + CustomerManagerLink. The resource name has the form: ``custome + rs/{customer_id}/customerManagerLinks/{manager_customer_id}~{m + anager_link_id}`` + new_manager: + Required. The resource name of the new manager customer that + the client wants to move to. Customer resource names have the + format: "customers/{customer\_id}" + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MoveManagerLinkRequest) + )) +_sym_db.RegisterMessage(MoveManagerLinkRequest) + +CustomerManagerLinkOperation = _reflection.GeneratedProtocolMessageType('CustomerManagerLinkOperation', (_message.Message,), dict( + DESCRIPTOR = _CUSTOMERMANAGERLINKOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Updates the status of a CustomerManagerLink. The following actions are + possible: 1. Update operation with status ACTIVE accepts a pending + invitation. 2. Update operation with status REFUSED declines a pending + invitation. 3. Update operation with status INACTIVE terminates link to + manager. + + + Attributes: + update_mask: + FieldMask that determines which resource fields are modified + in an update. + operation: + The mutate operation. + update: + Update operation: The link is expected to have a valid + resource name. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerManagerLinkOperation) + )) +_sym_db.RegisterMessage(CustomerManagerLinkOperation) + +MutateCustomerManagerLinkResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResponse', (_message.Message,), dict( + DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Response message for a CustomerManagerLink mutate. + + + Attributes: + results: + A result that identifies the resource affected by the mutate + request. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerManagerLinkResponse) + )) +_sym_db.RegisterMessage(MutateCustomerManagerLinkResponse) + +MoveManagerLinkResponse = _reflection.GeneratedProtocolMessageType('MoveManagerLinkResponse', (_message.Message,), dict( + DESCRIPTOR = _MOVEMANAGERLINKRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """Response message for a CustomerManagerLink moveManagerLink. + + + Attributes: + resource_name: + Returned for successful operations. Represents a + CustomerManagerLink resource of the newly created link between + client customer and new manager customer. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MoveManagerLinkResponse) + )) +_sym_db.RegisterMessage(MoveManagerLinkResponse) + +MutateCustomerManagerLinkResult = _reflection.GeneratedProtocolMessageType('MutateCustomerManagerLinkResult', (_message.Message,), dict( + DESCRIPTOR = _MUTATECUSTOMERMANAGERLINKRESULT, + __module__ = 'google.ads.googleads_v4.proto.services.customer_manager_link_service_pb2' + , + __doc__ = """The result for the customer manager link mutate. + + + Attributes: + resource_name: + Returned for successful operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerManagerLinkResult) + )) +_sym_db.RegisterMessage(MutateCustomerManagerLinkResult) + + +DESCRIPTOR._options = None +_GETCUSTOMERMANAGERLINKREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERMANAGERLINKREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERMANAGERLINKREQUEST.fields_by_name['operations']._options = None +_MOVEMANAGERLINKREQUEST.fields_by_name['customer_id']._options = None +_MOVEMANAGERLINKREQUEST.fields_by_name['previous_customer_manager_link']._options = None +_MOVEMANAGERLINKREQUEST.fields_by_name['new_manager']._options = None + +_CUSTOMERMANAGERLINKSERVICE = _descriptor.ServiceDescriptor( + name='CustomerManagerLinkService', + full_name='google.ads.googleads.v4.services.CustomerManagerLinkService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1114, + serialized_end=1935, + methods=[ + _descriptor.MethodDescriptor( + name='GetCustomerManagerLink', + full_name='google.ads.googleads.v4.services.CustomerManagerLinkService.GetCustomerManagerLink', + index=0, + containing_service=None, + input_type=_GETCUSTOMERMANAGERLINKREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/customerManagerLinks/*}\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='MutateCustomerManagerLink', + full_name='google.ads.googleads.v4.services.CustomerManagerLinkService.MutateCustomerManagerLink', + index=1, + containing_service=None, + input_type=_MUTATECUSTOMERMANAGERLINKREQUEST, + output_type=_MUTATECUSTOMERMANAGERLINKRESPONSE, + serialized_options=_b('\202\323\344\223\002>\"9/v4/customers/{customer_id=*}/customerManagerLinks:mutate:\001*\332A\026customer_id,operations'), + ), + _descriptor.MethodDescriptor( + name='MoveManagerLink', + full_name='google.ads.googleads.v4.services.CustomerManagerLinkService.MoveManagerLink', + index=2, + containing_service=None, + input_type=_MOVEMANAGERLINKREQUEST, + output_type=_MOVEMANAGERLINKRESPONSE, + serialized_options=_b('\202\323\344\223\002G\"B/v4/customers/{customer_id=*}/customerManagerLinks:moveManagerLink:\001*\332A6customer_id,previous_customer_manager_link,new_manager'), + ), +]) +_sym_db.RegisterServiceDescriptor(_CUSTOMERMANAGERLINKSERVICE) + +DESCRIPTOR.services_by_name['CustomerManagerLinkService'] = _CUSTOMERMANAGERLINKSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2_grpc.py similarity index 52% rename from google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2_grpc.py index b52cdef47..01f424d4c 100644 --- a/google/ads/google_ads/v1/proto/services/customer_manager_link_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_manager_link_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2 -from google.ads.google_ads.v1.proto.services import customer_manager_link_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2 +from google.ads.google_ads.v4.proto.services import customer_manager_link_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2 class CustomerManagerLinkServiceStub(object): @@ -16,14 +16,19 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerManagerLink = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerManagerLinkService/GetCustomerManagerLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2.CustomerManagerLink.FromString, + '/google.ads.googleads.v4.services.CustomerManagerLinkService/GetCustomerManagerLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2.CustomerManagerLink.FromString, ) self.MutateCustomerManagerLink = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerManagerLinkService/MutateCustomerManagerLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.FromString, + '/google.ads.googleads.v4.services.CustomerManagerLinkService/MutateCustomerManagerLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.FromString, + ) + self.MoveManagerLink = channel.unary_unary( + '/google.ads.googleads.v4.services.CustomerManagerLinkService/MoveManagerLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MoveManagerLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MoveManagerLinkResponse.FromString, ) @@ -45,20 +50,36 @@ def MutateCustomerManagerLink(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def MoveManagerLink(self, request, context): + """Moves a client customer to a new manager customer. + This simplifies the complex request that requires two operations to move + a client customer to a new manager. i.e: + 1. Update operation with Status INACTIVE (previous manager) and, + 2. Update operation with Status ACTIVE (new manager). + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_CustomerManagerLinkServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerManagerLink': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerManagerLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2.CustomerManagerLink.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.GetCustomerManagerLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2.CustomerManagerLink.SerializeToString, ), 'MutateCustomerManagerLink': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerManagerLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MutateCustomerManagerLinkResponse.SerializeToString, + ), + 'MoveManagerLink': grpc.unary_unary_rpc_method_handler( + servicer.MoveManagerLink, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MoveManagerLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__manager__link__service__pb2.MoveManagerLinkResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerManagerLinkService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerManagerLinkService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2.py index 5c427ffa5..fccd479b4 100644 --- a/google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_negative_criterion_service.proto +# source: google/ads/googleads_v4/proto/services/customer_negative_criterion_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_negative_criterion_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_negative_criterion_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB%CustomerNegativeCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nPgoogle/ads/googleads_v1/proto/services/customer_negative_criterion_service.proto\x12 google.ads.googleads.v1.services\x1aIgoogle/ads/googleads_v1/proto/resources/customer_negative_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"<\n#GetCustomerNegativeCriterionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xc6\x01\n%MutateCustomerNegativeCriteriaRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12X\n\noperations\x18\x02 \x03(\x0b\x32\x44.google.ads.googleads.v1.services.CustomerNegativeCriterionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x93\x01\n\"CustomerNegativeCriterionOperation\x12N\n\x06\x63reate\x18\x01 \x01(\x0b\x32<.google.ads.googleads.v1.resources.CustomerNegativeCriterionH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xb4\x01\n&MutateCustomerNegativeCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult\"=\n$MutateCustomerNegativeCriteriaResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x8c\x04\n CustomerNegativeCriterionService\x12\xe7\x01\n\x1cGetCustomerNegativeCriterion\x12\x45.google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest\x1a<.google.ads.googleads.v1.resources.CustomerNegativeCriterion\"B\x82\xd3\xe4\x93\x02<\x12:/v1/{resource_name=customers/*/customerNegativeCriteria/*}\x12\xfd\x01\n\x1eMutateCustomerNegativeCriteria\x12G.google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest\x1aH.google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/customers/{customer_id=*}/customerNegativeCriteria:mutate:\x01*B\x8c\x02\n$com.google.ads.googleads.v1.servicesB%CustomerNegativeCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB%CustomerNegativeCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nPgoogle/ads/googleads_v4/proto/services/customer_negative_criterion_service.proto\x12 google.ads.googleads.v4.services\x1aIgoogle/ads/googleads_v4/proto/resources/customer_negative_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"x\n#GetCustomerNegativeCriterionRequest\x12Q\n\rresource_name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2googleads.googleapis.com/CustomerNegativeCriterion\"\xd0\x01\n%MutateCustomerNegativeCriteriaRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12]\n\noperations\x18\x02 \x03(\x0b\x32\x44.google.ads.googleads.v4.services.CustomerNegativeCriterionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x93\x01\n\"CustomerNegativeCriterionOperation\x12N\n\x06\x63reate\x18\x01 \x01(\x0b\x32<.google.ads.googleads.v4.resources.CustomerNegativeCriterionH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"\xb4\x01\n&MutateCustomerNegativeCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12W\n\x07results\x18\x02 \x03(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResult\"=\n$MutateCustomerNegativeCriteriaResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd2\x04\n CustomerNegativeCriterionService\x12\xf7\x01\n\x1cGetCustomerNegativeCriterion\x12\x45.google.ads.googleads.v4.services.GetCustomerNegativeCriterionRequest\x1a<.google.ads.googleads.v4.resources.CustomerNegativeCriterion\"R\x82\xd3\xe4\x93\x02<\x12:/v4/{resource_name=customers/*/customerNegativeCriteria/*}\xda\x41\rresource_name\x12\x96\x02\n\x1eMutateCustomerNegativeCriteria\x12G.google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest\x1aH.google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResponse\"a\x82\xd3\xe4\x93\x02\x42\"=/v4/customers/{customer_id=*}/customerNegativeCriteria:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8c\x02\n$com.google.ads.googleads.v4.servicesB%CustomerNegativeCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETCUSTOMERNEGATIVECRITERIONREQUEST = _descriptor.Descriptor( name='GetCustomerNegativeCriterionRequest', - full_name='google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest', + full_name='google.ads.googleads.v4.services.GetCustomerNegativeCriterionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerNegativeCriterionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A4\n2googleads.googleapis.com/CustomerNegativeCriterion'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=280, - serialized_end=340, + serialized_start=333, + serialized_end=453, ) _MUTATECUSTOMERNEGATIVECRITERIAREQUEST = _descriptor.Descriptor( name='MutateCustomerNegativeCriteriaRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=343, - serialized_end=541, + serialized_start=456, + serialized_end=664, ) _CUSTOMERNEGATIVECRITERIONOPERATION = _descriptor.Descriptor( name='CustomerNegativeCriterionOperation', - full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionOperation', + full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=544, - serialized_end=691, + serialized_start=667, + serialized_end=814, ) _MUTATECUSTOMERNEGATIVECRITERIARESPONSE = _descriptor.Descriptor( name='MutateCustomerNegativeCriteriaResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=694, - serialized_end=874, + serialized_start=817, + serialized_end=997, ) _MUTATECUSTOMERNEGATIVECRITERIARESULT = _descriptor.Descriptor( name='MutateCustomerNegativeCriteriaResult', - full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult', + full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=876, - serialized_end=937, + serialized_start=999, + serialized_end=1060, ) _MUTATECUSTOMERNEGATIVECRITERIAREQUEST.fields_by_name['operations'].message_type = _CUSTOMERNEGATIVECRITERIONOPERATION -_CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION +_CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION _CUSTOMERNEGATIVECRITERIONOPERATION.oneofs_by_name['operation'].fields.append( _CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['create']) _CUSTOMERNEGATIVECRITERIONOPERATION.fields_by_name['create'].containing_oneof = _CUSTOMERNEGATIVECRITERIONOPERATION.oneofs_by_name['operation'] @@ -242,33 +244,35 @@ GetCustomerNegativeCriterionRequest = _reflection.GeneratedProtocolMessageType('GetCustomerNegativeCriterionRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMERNEGATIVECRITERIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_negative_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_negative_criterion_service_pb2' , __doc__ = """Request message for - [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v1.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. + [CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v4.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion]. Attributes: resource_name: - The resource name of the criterion to fetch. + Required. The resource name of the criterion to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerNegativeCriterionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerNegativeCriterionRequest) )) _sym_db.RegisterMessage(GetCustomerNegativeCriterionRequest) MutateCustomerNegativeCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIAREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_negative_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_negative_criterion_service_pb2' , __doc__ = """Request message for - [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v1.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. + [CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v4.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria]. Attributes: customer_id: - The ID of the customer whose criteria are being modified. + Required. The ID of the customer whose criteria are being + modified. operations: - The list of operations to perform on individual criteria. + Required. The list of operations to perform on individual + criteria. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -278,13 +282,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaRequest) )) _sym_db.RegisterMessage(MutateCustomerNegativeCriteriaRequest) CustomerNegativeCriterionOperation = _reflection.GeneratedProtocolMessageType('CustomerNegativeCriterionOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMERNEGATIVECRITERIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_negative_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_negative_criterion_service_pb2' , __doc__ = """A single operation (create or remove) on a customer level negative criterion. @@ -301,13 +305,13 @@ expected, in this format: ``customers/{customer_id}/customerN egativeCriteria/{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerNegativeCriterionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerNegativeCriterionOperation) )) _sym_db.RegisterMessage(CustomerNegativeCriterionOperation) MutateCustomerNegativeCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIARESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_negative_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_negative_criterion_service_pb2' , __doc__ = """Response message for customer negative criterion mutate. @@ -322,13 +326,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResponse) )) _sym_db.RegisterMessage(MutateCustomerNegativeCriteriaResponse) MutateCustomerNegativeCriteriaResult = _reflection.GeneratedProtocolMessageType('MutateCustomerNegativeCriteriaResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERNEGATIVECRITERIARESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_negative_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_negative_criterion_service_pb2' , __doc__ = """The result for the criterion mutate. @@ -337,39 +341,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResult) )) _sym_db.RegisterMessage(MutateCustomerNegativeCriteriaResult) DESCRIPTOR._options = None +_GETCUSTOMERNEGATIVECRITERIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERNEGATIVECRITERIAREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERNEGATIVECRITERIAREQUEST.fields_by_name['operations']._options = None _CUSTOMERNEGATIVECRITERIONSERVICE = _descriptor.ServiceDescriptor( name='CustomerNegativeCriterionService', - full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionService', + full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=940, - serialized_end=1464, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1063, + serialized_end=1657, methods=[ _descriptor.MethodDescriptor( name='GetCustomerNegativeCriterion', - full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion', + full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion', index=0, containing_service=None, input_type=_GETCUSTOMERNEGATIVECRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION, - serialized_options=_b('\202\323\344\223\002<\022:/v1/{resource_name=customers/*/customerNegativeCriteria/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION, + serialized_options=_b('\202\323\344\223\002<\022:/v4/{resource_name=customers/*/customerNegativeCriteria/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomerNegativeCriteria', - full_name='google.ads.googleads.v1.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria', + full_name='google.ads.googleads.v4.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria', index=1, containing_service=None, input_type=_MUTATECUSTOMERNEGATIVECRITERIAREQUEST, output_type=_MUTATECUSTOMERNEGATIVECRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\002B\"=/v1/customers/{customer_id=*}/customerNegativeCriteria:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002B\"=/v4/customers/{customer_id=*}/customerNegativeCriteria:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMERNEGATIVECRITERIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2_grpc.py similarity index 75% rename from google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2_grpc.py index adc68853c..7eaa60c9c 100644 --- a/google/ads/google_ads/v1/proto/services/customer_negative_criterion_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_negative_criterion_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 -from google.ads.google_ads.v1.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 +from google.ads.google_ads.v4.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 class CustomerNegativeCriterionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomerNegativeCriterion = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.CustomerNegativeCriterion.FromString, + '/google.ads.googleads.v4.services.CustomerNegativeCriterionService/GetCustomerNegativeCriterion', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.CustomerNegativeCriterion.FromString, ) self.MutateCustomerNegativeCriteria = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.FromString, + '/google.ads.googleads.v4.services.CustomerNegativeCriterionService/MutateCustomerNegativeCriteria', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.FromString, ) @@ -54,15 +54,15 @@ def add_CustomerNegativeCriterionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomerNegativeCriterion': grpc.unary_unary_rpc_method_handler( servicer.GetCustomerNegativeCriterion, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.CustomerNegativeCriterion.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.GetCustomerNegativeCriterionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.CustomerNegativeCriterion.SerializeToString, ), 'MutateCustomerNegativeCriteria': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomerNegativeCriteria, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.MutateCustomerNegativeCriteriaResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerNegativeCriterionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerNegativeCriterionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/customer_service_pb2.py b/google/ads/google_ads/v4/proto/services/customer_service_pb2.py similarity index 55% rename from google/ads/google_ads/v1/proto/services/customer_service_pb2.py rename to google/ads/google_ads/v4/proto/services/customer_service_pb2.py index 351af6717..8f6bc9ccf 100644 --- a/google/ads/google_ads/v1/proto/services/customer_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/customer_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/customer_service.proto +# source: google/ads/googleads_v4/proto/services/customer_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,42 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2 +from google.ads.google_ads.v4.proto.enums import access_role_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_access__role__pb2 +from google.ads.google_ads.v4.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/customer_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/customer_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\024CustomerServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n=google/ads/googleads_v1/proto/services/customer_service.proto\x12 google.ads.googleads.v1.services\x1a\x36google/ads/googleads_v1/proto/resources/customer.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"+\n\x12GetCustomerRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x8b\x01\n\x15MutateCustomerRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x46\n\toperation\x18\x04 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.CustomerOperation\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\"x\n\x1b\x43reateCustomerClientRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x44\n\x0f\x63ustomer_client\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.Customer\"\x81\x01\n\x11\x43ustomerOperation\x12;\n\x06update\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.Customer\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"5\n\x1c\x43reateCustomerClientResponse\x12\x15\n\rresource_name\x18\x02 \x01(\t\"`\n\x16MutateCustomerResponse\x12\x46\n\x06result\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v1.services.MutateCustomerResult\"-\n\x14MutateCustomerResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\" \n\x1eListAccessibleCustomersRequest\"9\n\x1fListAccessibleCustomersResponse\x12\x16\n\x0eresource_names\x18\x01 \x03(\t2\x8b\x06\n\x0f\x43ustomerService\x12\x99\x01\n\x0bGetCustomer\x12\x34.google.ads.googleads.v1.services.GetCustomerRequest\x1a+.google.ads.googleads.v1.resources.Customer\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{resource_name=customers/*}\x12\xb4\x01\n\x0eMutateCustomer\x12\x37.google.ads.googleads.v1.services.MutateCustomerRequest\x1a\x38.google.ads.googleads.v1.services.MutateCustomerResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/customers/{customer_id=*}:mutate:\x01*\x12\xcd\x01\n\x17ListAccessibleCustomers\x12@.google.ads.googleads.v1.services.ListAccessibleCustomersRequest\x1a\x41.google.ads.googleads.v1.services.ListAccessibleCustomersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v1/customers:listAccessibleCustomers\x12\xd4\x01\n\x14\x43reateCustomerClient\x12=.google.ads.googleads.v1.services.CreateCustomerClientRequest\x1a>.google.ads.googleads.v1.services.CreateCustomerClientResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/customers/{customer_id=*}:createCustomerClient:\x01*B\xfb\x01\n$com.google.ads.googleads.v1.servicesB\x14\x43ustomerServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\024CustomerServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n=google/ads/googleads_v4/proto/services/customer_service.proto\x12 google.ads.googleads.v4.services\x1a\x35google/ads/googleads_v4/proto/enums/access_role.proto\x1a\x36google/ads/googleads_v4/proto/resources/customer.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"V\n\x12GetCustomerRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/Customer\"\x95\x01\n\x15MutateCustomerRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\toperation\x18\x04 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.CustomerOperationB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\"\x86\x02\n\x1b\x43reateCustomerClientRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12I\n\x0f\x63ustomer_client\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.resources.CustomerB\x03\xe0\x41\x02\x12\x33\n\remail_address\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12M\n\x0b\x61\x63\x63\x65ss_role\x18\x04 \x01(\x0e\x32\x38.google.ads.googleads.v4.enums.AccessRoleEnum.AccessRole\"\x81\x01\n\x11\x43ustomerOperation\x12;\n\x06update\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.Customer\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"N\n\x1c\x43reateCustomerClientResponse\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\x17\n\x0finvitation_link\x18\x03 \x01(\t\"`\n\x16MutateCustomerResponse\x12\x46\n\x06result\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateCustomerResult\"-\n\x14MutateCustomerResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\" \n\x1eListAccessibleCustomersRequest\"9\n\x1fListAccessibleCustomersResponse\x12\x16\n\x0eresource_names\x18\x01 \x03(\t2\xee\x06\n\x0f\x43ustomerService\x12\xa9\x01\n\x0bGetCustomer\x12\x34.google.ads.googleads.v4.services.GetCustomerRequest\x1a+.google.ads.googleads.v4.resources.Customer\"7\x82\xd3\xe4\x93\x02!\x12\x1f/v4/{resource_name=customers/*}\xda\x41\rresource_name\x12\xcc\x01\n\x0eMutateCustomer\x12\x37.google.ads.googleads.v4.services.MutateCustomerRequest\x1a\x38.google.ads.googleads.v4.services.MutateCustomerResponse\"G\x82\xd3\xe4\x93\x02)\"$/v4/customers/{customer_id=*}:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x12\xcd\x01\n\x17ListAccessibleCustomers\x12@.google.ads.googleads.v4.services.ListAccessibleCustomersRequest\x1a\x41.google.ads.googleads.v4.services.ListAccessibleCustomersResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v4/customers:listAccessibleCustomers\x12\xf2\x01\n\x14\x43reateCustomerClient\x12=.google.ads.googleads.v4.services.CreateCustomerClientRequest\x1a>.google.ads.googleads.v4.services.CreateCustomerClientResponse\"[\x82\xd3\xe4\x93\x02\x37\"2/v4/customers/{customer_id=*}:createCustomerClient:\x01*\xda\x41\x1b\x63ustomer_id,customer_client\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14\x43ustomerServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_access__role__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) _GETCUSTOMERREQUEST = _descriptor.Descriptor( name='GetCustomerRequest', - full_name='google.ads.googleads.v1.services.GetCustomerRequest', + full_name='google.ads.googleads.v4.services.GetCustomerRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetCustomerRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetCustomerRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/Customer'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,34 +61,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=251, - serialized_end=294, + serialized_start=391, + serialized_end=477, ) _MUTATECUSTOMERREQUEST = _descriptor.Descriptor( name='MutateCustomerRequest', - full_name='google.ads.googleads.v1.services.MutateCustomerRequest', + full_name='google.ads.googleads.v4.services.MutateCustomerRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateCustomerRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateCustomerRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateCustomerRequest.operation', index=1, + name='operation', full_name='google.ads.googleads.v4.services.MutateCustomerRequest.operation', index=1, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateCustomerRequest.validate_only', index=2, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateCustomerRequest.validate_only', index=2, number=5, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -102,31 +106,45 @@ extension_ranges=[], oneofs=[ ], - serialized_start=297, - serialized_end=436, + serialized_start=480, + serialized_end=629, ) _CREATECUSTOMERCLIENTREQUEST = _descriptor.Descriptor( name='CreateCustomerClientRequest', - full_name='google.ads.googleads.v1.services.CreateCustomerClientRequest', + full_name='google.ads.googleads.v4.services.CreateCustomerClientRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.CreateCustomerClientRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.CreateCustomerClientRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_client', full_name='google.ads.googleads.v1.services.CreateCustomerClientRequest.customer_client', index=1, + name='customer_client', full_name='google.ads.googleads.v4.services.CreateCustomerClientRequest.customer_client', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='email_address', full_name='google.ads.googleads.v4.services.CreateCustomerClientRequest.email_address', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='access_role', full_name='google.ads.googleads.v4.services.CreateCustomerClientRequest.access_role', index=3, + number=4, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ @@ -140,27 +158,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=438, - serialized_end=558, + serialized_start=632, + serialized_end=894, ) _CUSTOMEROPERATION = _descriptor.Descriptor( name='CustomerOperation', - full_name='google.ads.googleads.v1.services.CustomerOperation', + full_name='google.ads.googleads.v4.services.CustomerOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.CustomerOperation.update', index=0, + name='update', full_name='google.ads.googleads.v4.services.CustomerOperation.update', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.CustomerOperation.update_mask', index=1, + name='update_mask', full_name='google.ads.googleads.v4.services.CustomerOperation.update_mask', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -178,25 +196,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=561, - serialized_end=690, + serialized_start=897, + serialized_end=1026, ) _CREATECUSTOMERCLIENTRESPONSE = _descriptor.Descriptor( name='CreateCustomerClientResponse', - full_name='google.ads.googleads.v1.services.CreateCustomerClientResponse', + full_name='google.ads.googleads.v4.services.CreateCustomerClientResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.CreateCustomerClientResponse.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.CreateCustomerClientResponse.resource_name', index=0, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='invitation_link', full_name='google.ads.googleads.v4.services.CreateCustomerClientResponse.invitation_link', index=1, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -209,20 +234,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=692, - serialized_end=745, + serialized_start=1028, + serialized_end=1106, ) _MUTATECUSTOMERRESPONSE = _descriptor.Descriptor( name='MutateCustomerResponse', - full_name='google.ads.googleads.v1.services.MutateCustomerResponse', + full_name='google.ads.googleads.v4.services.MutateCustomerResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v1.services.MutateCustomerResponse.result', index=0, + name='result', full_name='google.ads.googleads.v4.services.MutateCustomerResponse.result', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -240,20 +265,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=747, - serialized_end=843, + serialized_start=1108, + serialized_end=1204, ) _MUTATECUSTOMERRESULT = _descriptor.Descriptor( name='MutateCustomerResult', - full_name='google.ads.googleads.v1.services.MutateCustomerResult', + full_name='google.ads.googleads.v4.services.MutateCustomerResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateCustomerResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateCustomerResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -271,14 +296,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=845, - serialized_end=890, + serialized_start=1206, + serialized_end=1251, ) _LISTACCESSIBLECUSTOMERSREQUEST = _descriptor.Descriptor( name='ListAccessibleCustomersRequest', - full_name='google.ads.googleads.v1.services.ListAccessibleCustomersRequest', + full_name='google.ads.googleads.v4.services.ListAccessibleCustomersRequest', filename=None, file=DESCRIPTOR, containing_type=None, @@ -295,20 +320,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=892, - serialized_end=924, + serialized_start=1253, + serialized_end=1285, ) _LISTACCESSIBLECUSTOMERSRESPONSE = _descriptor.Descriptor( name='ListAccessibleCustomersResponse', - full_name='google.ads.googleads.v1.services.ListAccessibleCustomersResponse', + full_name='google.ads.googleads.v4.services.ListAccessibleCustomersResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_names', full_name='google.ads.googleads.v1.services.ListAccessibleCustomersResponse.resource_names', index=0, + name='resource_names', full_name='google.ads.googleads.v4.services.ListAccessibleCustomersResponse.resource_names', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -326,13 +351,15 @@ extension_ranges=[], oneofs=[ ], - serialized_start=926, - serialized_end=983, + serialized_start=1287, + serialized_end=1344, ) _MUTATECUSTOMERREQUEST.fields_by_name['operation'].message_type = _CUSTOMEROPERATION -_CREATECUSTOMERCLIENTREQUEST.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER -_CUSTOMEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER +_CREATECUSTOMERCLIENTREQUEST.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER +_CREATECUSTOMERCLIENTREQUEST.fields_by_name['email_address'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_CREATECUSTOMERCLIENTREQUEST.fields_by_name['access_role'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_access__role__pb2._ACCESSROLEENUM_ACCESSROLE +_CUSTOMEROPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER _CUSTOMEROPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK _MUTATECUSTOMERRESPONSE.fields_by_name['result'].message_type = _MUTATECUSTOMERRESULT DESCRIPTOR.message_types_by_name['GetCustomerRequest'] = _GETCUSTOMERREQUEST @@ -348,64 +375,70 @@ GetCustomerRequest = _reflection.GeneratedProtocolMessageType('GetCustomerRequest', (_message.Message,), dict( DESCRIPTOR = _GETCUSTOMERREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Request message for - [CustomerService.GetCustomer][google.ads.googleads.v1.services.CustomerService.GetCustomer]. + [CustomerService.GetCustomer][google.ads.googleads.v4.services.CustomerService.GetCustomer]. Attributes: resource_name: - The resource name of the customer to fetch. + Required. The resource name of the customer to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetCustomerRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetCustomerRequest) )) _sym_db.RegisterMessage(GetCustomerRequest) MutateCustomerRequest = _reflection.GeneratedProtocolMessageType('MutateCustomerRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Request message for - [CustomerService.MutateCustomer][google.ads.googleads.v1.services.CustomerService.MutateCustomer]. + [CustomerService.MutateCustomer][google.ads.googleads.v4.services.CustomerService.MutateCustomer]. Attributes: customer_id: - The ID of the customer being modified. + Required. The ID of the customer being modified. operation: - The operation to perform on the customer + Required. The operation to perform on the customer validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerRequest) )) _sym_db.RegisterMessage(MutateCustomerRequest) CreateCustomerClientRequest = _reflection.GeneratedProtocolMessageType('CreateCustomerClientRequest', (_message.Message,), dict( DESCRIPTOR = _CREATECUSTOMERCLIENTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Request message for - [CustomerService.CreateCustomerClient][google.ads.googleads.v1.services.CustomerService.CreateCustomerClient]. + [CustomerService.CreateCustomerClient][google.ads.googleads.v4.services.CustomerService.CreateCustomerClient]. Attributes: customer_id: - The ID of the Manager under whom client customer is being - created. + Required. The ID of the Manager under whom client customer is + being created. customer_client: - The new client customer to create. The resource name on this - customer will be ignored. + Required. The new client customer to create. The resource name + on this customer will be ignored. + email_address: + Email address of the user who should be invited on the created + client customer. Accessible to whitelisted customers only. + access_role: + The proposed role of user on the created client customer. + Accessible to whitelisted customers only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateCustomerClientRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateCustomerClientRequest) )) _sym_db.RegisterMessage(CreateCustomerClientRequest) CustomerOperation = _reflection.GeneratedProtocolMessageType('CustomerOperation', (_message.Message,), dict( DESCRIPTOR = _CUSTOMEROPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """A single update on a customer. @@ -417,13 +450,13 @@ FieldMask that determines which resource fields are modified in an update. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CustomerOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CustomerOperation) )) _sym_db.RegisterMessage(CustomerOperation) CreateCustomerClientResponse = _reflection.GeneratedProtocolMessageType('CreateCustomerClientResponse', (_message.Message,), dict( DESCRIPTOR = _CREATECUSTOMERCLIENTRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Response message for CreateCustomerClient mutate. @@ -431,14 +464,17 @@ Attributes: resource_name: The resource name of the newly created customer client. + invitation_link: + Link for inviting user to access the created customer. + Accessible to allowlisted customers only. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.CreateCustomerClientResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateCustomerClientResponse) )) _sym_db.RegisterMessage(CreateCustomerClientResponse) MutateCustomerResponse = _reflection.GeneratedProtocolMessageType('MutateCustomerResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Response message for customer mutate. @@ -447,13 +483,13 @@ result: Result for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerResponse) )) _sym_db.RegisterMessage(MutateCustomerResponse) MutateCustomerResult = _reflection.GeneratedProtocolMessageType('MutateCustomerResult', (_message.Message,), dict( DESCRIPTOR = _MUTATECUSTOMERRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """The result for the customer mutate. @@ -462,27 +498,27 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateCustomerResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateCustomerResult) )) _sym_db.RegisterMessage(MutateCustomerResult) ListAccessibleCustomersRequest = _reflection.GeneratedProtocolMessageType('ListAccessibleCustomersRequest', (_message.Message,), dict( DESCRIPTOR = _LISTACCESSIBLECUSTOMERSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Request message for - [CustomerService.ListAccessibleCustomers][google.ads.googleads.v1.services.CustomerService.ListAccessibleCustomers]. + [CustomerService.ListAccessibleCustomers][google.ads.googleads.v4.services.CustomerService.ListAccessibleCustomers]. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListAccessibleCustomersRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListAccessibleCustomersRequest) )) _sym_db.RegisterMessage(ListAccessibleCustomersRequest) ListAccessibleCustomersResponse = _reflection.GeneratedProtocolMessageType('ListAccessibleCustomersResponse', (_message.Message,), dict( DESCRIPTOR = _LISTACCESSIBLECUSTOMERSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.customer_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.customer_service_pb2' , __doc__ = """Response message for - [CustomerService.ListAccessibleCustomers][google.ads.googleads.v1.services.CustomerService.ListAccessibleCustomers]. + [CustomerService.ListAccessibleCustomers][google.ads.googleads.v4.services.CustomerService.ListAccessibleCustomers]. Attributes: @@ -490,57 +526,62 @@ Resource name of customers directly accessible by the user authenticating the call. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListAccessibleCustomersResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListAccessibleCustomersResponse) )) _sym_db.RegisterMessage(ListAccessibleCustomersResponse) DESCRIPTOR._options = None +_GETCUSTOMERREQUEST.fields_by_name['resource_name']._options = None +_MUTATECUSTOMERREQUEST.fields_by_name['customer_id']._options = None +_MUTATECUSTOMERREQUEST.fields_by_name['operation']._options = None +_CREATECUSTOMERCLIENTREQUEST.fields_by_name['customer_id']._options = None +_CREATECUSTOMERCLIENTREQUEST.fields_by_name['customer_client']._options = None _CUSTOMERSERVICE = _descriptor.ServiceDescriptor( name='CustomerService', - full_name='google.ads.googleads.v1.services.CustomerService', + full_name='google.ads.googleads.v4.services.CustomerService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=986, - serialized_end=1765, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1347, + serialized_end=2225, methods=[ _descriptor.MethodDescriptor( name='GetCustomer', - full_name='google.ads.googleads.v1.services.CustomerService.GetCustomer', + full_name='google.ads.googleads.v4.services.CustomerService.GetCustomer', index=0, containing_service=None, input_type=_GETCUSTOMERREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER, - serialized_options=_b('\202\323\344\223\002!\022\037/v1/{resource_name=customers/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER, + serialized_options=_b('\202\323\344\223\002!\022\037/v4/{resource_name=customers/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateCustomer', - full_name='google.ads.googleads.v1.services.CustomerService.MutateCustomer', + full_name='google.ads.googleads.v4.services.CustomerService.MutateCustomer', index=1, containing_service=None, input_type=_MUTATECUSTOMERREQUEST, output_type=_MUTATECUSTOMERRESPONSE, - serialized_options=_b('\202\323\344\223\002)\"$/v1/customers/{customer_id=*}:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002)\"$/v4/customers/{customer_id=*}:mutate:\001*\332A\025customer_id,operation'), ), _descriptor.MethodDescriptor( name='ListAccessibleCustomers', - full_name='google.ads.googleads.v1.services.CustomerService.ListAccessibleCustomers', + full_name='google.ads.googleads.v4.services.CustomerService.ListAccessibleCustomers', index=2, containing_service=None, input_type=_LISTACCESSIBLECUSTOMERSREQUEST, output_type=_LISTACCESSIBLECUSTOMERSRESPONSE, - serialized_options=_b('\202\323\344\223\002\'\022%/v1/customers:listAccessibleCustomers'), + serialized_options=_b('\202\323\344\223\002\'\022%/v4/customers:listAccessibleCustomers'), ), _descriptor.MethodDescriptor( name='CreateCustomerClient', - full_name='google.ads.googleads.v1.services.CustomerService.CreateCustomerClient', + full_name='google.ads.googleads.v4.services.CustomerService.CreateCustomerClient', index=3, containing_service=None, input_type=_CREATECUSTOMERCLIENTREQUEST, output_type=_CREATECUSTOMERCLIENTRESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v1/customers/{customer_id=*}:createCustomerClient:\001*'), + serialized_options=_b('\202\323\344\223\0027\"2/v4/customers/{customer_id=*}:createCustomerClient:\001*\332A\033customer_id,customer_client'), ), ]) _sym_db.RegisterServiceDescriptor(_CUSTOMERSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/customer_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/customer_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/customer_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/customer_service_pb2_grpc.py index 8c9d5b1ab..b4e3b28b1 100644 --- a/google/ads/google_ads/v1/proto/services/customer_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/customer_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2 -from google.ads.google_ads.v1.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2 +from google.ads.google_ads.v4.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2 +from google.ads.google_ads.v4.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2 class CustomerServiceStub(object): @@ -18,24 +18,24 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetCustomer = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerService/GetCustomer', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2.Customer.FromString, + '/google.ads.googleads.v4.services.CustomerService/GetCustomer', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2.Customer.FromString, ) self.MutateCustomer = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerService/MutateCustomer', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerResponse.FromString, + '/google.ads.googleads.v4.services.CustomerService/MutateCustomer', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerResponse.FromString, ) self.ListAccessibleCustomers = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerService/ListAccessibleCustomers', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersResponse.FromString, + '/google.ads.googleads.v4.services.CustomerService/ListAccessibleCustomers', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersResponse.FromString, ) self.CreateCustomerClient = channel.unary_unary( - '/google.ads.googleads.v1.services.CustomerService/CreateCustomerClient', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.FromString, + '/google.ads.googleads.v4.services.CustomerService/CreateCustomerClient', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.FromString, ) @@ -79,25 +79,25 @@ def add_CustomerServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetCustomer': grpc.unary_unary_rpc_method_handler( servicer.GetCustomer, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2.Customer.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.GetCustomerRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2.Customer.SerializeToString, ), 'MutateCustomer': grpc.unary_unary_rpc_method_handler( servicer.MutateCustomer, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.MutateCustomerResponse.SerializeToString, ), 'ListAccessibleCustomers': grpc.unary_unary_rpc_method_handler( servicer.ListAccessibleCustomers, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.ListAccessibleCustomersResponse.SerializeToString, ), 'CreateCustomerClient': grpc.unary_unary_rpc_method_handler( servicer.CreateCustomerClient, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.CreateCustomerClientResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.CustomerService', rpc_method_handlers) + 'google.ads.googleads.v4.services.CustomerService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2.py new file mode 100644 index 000000000..7e0f40544 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/detail_placement_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/detail_placement_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037DetailPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/detail_placement_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/detail_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"l\n\x1dGetDetailPlacementViewRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/DetailPlacementView2\x9d\x02\n\x1a\x44\x65tailPlacementViewService\x12\xe1\x01\n\x16GetDetailPlacementView\x12?.google.ads.googleads.v4.services.GetDetailPlacementViewRequest\x1a\x36.google.ads.googleads.v4.resources.DetailPlacementView\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/detailPlacementViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1f\x44\x65tailPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETDETAILPLACEMENTVIEWREQUEST = _descriptor.Descriptor( + name='GetDetailPlacementViewRequest', + full_name='google.ads.googleads.v4.services.GetDetailPlacementViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetDetailPlacementViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/DetailPlacementView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=296, + serialized_end=404, +) + +DESCRIPTOR.message_types_by_name['GetDetailPlacementViewRequest'] = _GETDETAILPLACEMENTVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetDetailPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetDetailPlacementViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDETAILPLACEMENTVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.detail_placement_view_service_pb2' + , + __doc__ = """Request message for + [DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v4.services.DetailPlacementViewService.GetDetailPlacementView]. + + + Attributes: + resource_name: + Required. The resource name of the Detail Placement view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetDetailPlacementViewRequest) + )) +_sym_db.RegisterMessage(GetDetailPlacementViewRequest) + + +DESCRIPTOR._options = None +_GETDETAILPLACEMENTVIEWREQUEST.fields_by_name['resource_name']._options = None + +_DETAILPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( + name='DetailPlacementViewService', + full_name='google.ads.googleads.v4.services.DetailPlacementViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=407, + serialized_end=692, + methods=[ + _descriptor.MethodDescriptor( + name='GetDetailPlacementView', + full_name='google.ads.googleads.v4.services.DetailPlacementViewService.GetDetailPlacementView', + index=0, + containing_service=None, + input_type=_GETDETAILPLACEMENTVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/detailPlacementViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_DETAILPLACEMENTVIEWSERVICE) + +DESCRIPTOR.services_by_name['DetailPlacementViewService'] = _DETAILPLACEMENTVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2_grpc.py index 3b6930969..6034ce6ac 100644 --- a/google/ads/google_ads/v1/proto/services/detail_placement_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/detail_placement_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2 -from google.ads.google_ads.v1.proto.services import detail_placement_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_detail__placement__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2 +from google.ads.google_ads.v4.proto.services import detail_placement_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_detail__placement__view__service__pb2 class DetailPlacementViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetDetailPlacementView = channel.unary_unary( - '/google.ads.googleads.v1.services.DetailPlacementViewService/GetDetailPlacementView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.FromString, + '/google.ads.googleads.v4.services.DetailPlacementViewService/GetDetailPlacementView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.FromString, ) @@ -42,10 +42,10 @@ def add_DetailPlacementViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetDetailPlacementView': grpc.unary_unary_rpc_method_handler( servicer.GetDetailPlacementView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_detail__placement__view__service__pb2.GetDetailPlacementViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2.DetailPlacementView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.DetailPlacementViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.DetailPlacementViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2.py new file mode 100644 index 000000000..60a1d0fc5 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/display_keyword_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/display_keyword_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036DisplayKeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/services/display_keyword_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x42google/ads/googleads_v4/proto/resources/display_keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"j\n\x1cGetDisplayKeywordViewRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/DisplayKeywordView2\x98\x02\n\x19\x44isplayKeywordViewService\x12\xdd\x01\n\x15GetDisplayKeywordView\x12>.google.ads.googleads.v4.services.GetDisplayKeywordViewRequest\x1a\x35.google.ads.googleads.v4.resources.DisplayKeywordView\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/displayKeywordViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1e\x44isplayKeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETDISPLAYKEYWORDVIEWREQUEST = _descriptor.Descriptor( + name='GetDisplayKeywordViewRequest', + full_name='google.ads.googleads.v4.services.GetDisplayKeywordViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetDisplayKeywordViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/DisplayKeywordView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=294, + serialized_end=400, +) + +DESCRIPTOR.message_types_by_name['GetDisplayKeywordViewRequest'] = _GETDISPLAYKEYWORDVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetDisplayKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetDisplayKeywordViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDISPLAYKEYWORDVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.display_keyword_view_service_pb2' + , + __doc__ = """Request message for + [DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v4.services.DisplayKeywordViewService.GetDisplayKeywordView]. + + + Attributes: + resource_name: + Required. The resource name of the display keyword view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetDisplayKeywordViewRequest) + )) +_sym_db.RegisterMessage(GetDisplayKeywordViewRequest) + + +DESCRIPTOR._options = None +_GETDISPLAYKEYWORDVIEWREQUEST.fields_by_name['resource_name']._options = None + +_DISPLAYKEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( + name='DisplayKeywordViewService', + full_name='google.ads.googleads.v4.services.DisplayKeywordViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=403, + serialized_end=683, + methods=[ + _descriptor.MethodDescriptor( + name='GetDisplayKeywordView', + full_name='google.ads.googleads.v4.services.DisplayKeywordViewService.GetDisplayKeywordView', + index=0, + containing_service=None, + input_type=_GETDISPLAYKEYWORDVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/displayKeywordViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_DISPLAYKEYWORDVIEWSERVICE) + +DESCRIPTOR.services_by_name['DisplayKeywordViewService'] = _DISPLAYKEYWORDVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2_grpc.py index 8fad0913d..ed2722fec 100644 --- a/google/ads/google_ads/v1/proto/services/display_keyword_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/display_keyword_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2 -from google.ads.google_ads.v1.proto.services import display_keyword_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_display__keyword__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2 +from google.ads.google_ads.v4.proto.services import display_keyword_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_display__keyword__view__service__pb2 class DisplayKeywordViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetDisplayKeywordView = channel.unary_unary( - '/google.ads.googleads.v1.services.DisplayKeywordViewService/GetDisplayKeywordView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.FromString, + '/google.ads.googleads.v4.services.DisplayKeywordViewService/GetDisplayKeywordView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.FromString, ) @@ -42,10 +42,10 @@ def add_DisplayKeywordViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetDisplayKeywordView': grpc.unary_unary_rpc_method_handler( servicer.GetDisplayKeywordView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_display__keyword__view__service__pb2.GetDisplayKeywordViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2.DisplayKeywordView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.DisplayKeywordViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.DisplayKeywordViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/distance_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/distance_view_service_pb2.py new file mode 100644 index 000000000..b1367fc90 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/distance_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/distance_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/distance_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030DistanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/distance_view_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/distance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"^\n\x16GetDistanceViewRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/DistanceView2\xfa\x01\n\x13\x44istanceViewService\x12\xc5\x01\n\x0fGetDistanceView\x12\x38.google.ads.googleads.v4.services.GetDistanceViewRequest\x1a/.google.ads.googleads.v4.resources.DistanceView\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/distanceViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18\x44istanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETDISTANCEVIEWREQUEST = _descriptor.Descriptor( + name='GetDistanceViewRequest', + full_name='google.ads.googleads.v4.services.GetDistanceViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetDistanceViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/DistanceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=280, + serialized_end=374, +) + +DESCRIPTOR.message_types_by_name['GetDistanceViewRequest'] = _GETDISTANCEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetDistanceViewRequest = _reflection.GeneratedProtocolMessageType('GetDistanceViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDISTANCEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.distance_view_service_pb2' + , + __doc__ = """Request message for + [DistanceViewService.GetDistanceView][google.ads.googleads.v4.services.DistanceViewService.GetDistanceView]. + + + Attributes: + resource_name: + Required. The resource name of the distance view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetDistanceViewRequest) + )) +_sym_db.RegisterMessage(GetDistanceViewRequest) + + +DESCRIPTOR._options = None +_GETDISTANCEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_DISTANCEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='DistanceViewService', + full_name='google.ads.googleads.v4.services.DistanceViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=377, + serialized_end=627, + methods=[ + _descriptor.MethodDescriptor( + name='GetDistanceView', + full_name='google.ads.googleads.v4.services.DistanceViewService.GetDistanceView', + index=0, + containing_service=None, + input_type=_GETDISTANCEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2._DISTANCEVIEW, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/distanceViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_DISTANCEVIEWSERVICE) + +DESCRIPTOR.services_by_name['DistanceViewService'] = _DISTANCEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/distance_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/distance_view_service_pb2_grpc.py new file mode 100644 index 000000000..5c6905322 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/distance_view_service_pb2_grpc.py @@ -0,0 +1,51 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2 +from google.ads.google_ads.v4.proto.services import distance_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_distance__view__service__pb2 + + +class DistanceViewServiceStub(object): + """Proto file describing the Distance View service. + + Service to fetch distance views. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetDistanceView = channel.unary_unary( + '/google.ads.googleads.v4.services.DistanceViewService/GetDistanceView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_distance__view__service__pb2.GetDistanceViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2.DistanceView.FromString, + ) + + +class DistanceViewServiceServicer(object): + """Proto file describing the Distance View service. + + Service to fetch distance views. + """ + + def GetDistanceView(self, request, context): + """Returns the attributes of the requested distance view. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_DistanceViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetDistanceView': grpc.unary_unary_rpc_method_handler( + servicer.GetDistanceView, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_distance__view__service__pb2.GetDistanceViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2.DistanceView.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.DistanceViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/domain_category_service_pb2.py b/google/ads/google_ads/v4/proto/services/domain_category_service_pb2.py new file mode 100644 index 000000000..f8cd6ce8d --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/domain_category_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/domain_category_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/domain_category_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032DomainCategoryServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/services/domain_category_service.proto\x12 google.ads.googleads.v4.services\x1a=google/ads/googleads_v4/proto/resources/domain_category.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetDomainCategoryRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/DomainCategory2\x85\x02\n\x15\x44omainCategoryService\x12\xce\x01\n\x11GetDomainCategory\x12:.google.ads.googleads.v4.services.GetDomainCategoryRequest\x1a\x31.google.ads.googleads.v4.resources.DomainCategory\"J\x82\xd3\xe4\x93\x02\x34\x12\x32/v4/{resource_name=customers/*/domainCategories/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x44omainCategoryServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETDOMAINCATEGORYREQUEST = _descriptor.Descriptor( + name='GetDomainCategoryRequest', + full_name='google.ads.googleads.v4.services.GetDomainCategoryRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetDomainCategoryRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/DomainCategory'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=284, + serialized_end=382, +) + +DESCRIPTOR.message_types_by_name['GetDomainCategoryRequest'] = _GETDOMAINCATEGORYREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetDomainCategoryRequest = _reflection.GeneratedProtocolMessageType('GetDomainCategoryRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDOMAINCATEGORYREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.domain_category_service_pb2' + , + __doc__ = """Request message for + [DomainCategoryService.GetDomainCategory][google.ads.googleads.v4.services.DomainCategoryService.GetDomainCategory]. + + + Attributes: + resource_name: + Required. Resource name of the domain category to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetDomainCategoryRequest) + )) +_sym_db.RegisterMessage(GetDomainCategoryRequest) + + +DESCRIPTOR._options = None +_GETDOMAINCATEGORYREQUEST.fields_by_name['resource_name']._options = None + +_DOMAINCATEGORYSERVICE = _descriptor.ServiceDescriptor( + name='DomainCategoryService', + full_name='google.ads.googleads.v4.services.DomainCategoryService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=385, + serialized_end=646, + methods=[ + _descriptor.MethodDescriptor( + name='GetDomainCategory', + full_name='google.ads.googleads.v4.services.DomainCategoryService.GetDomainCategory', + index=0, + containing_service=None, + input_type=_GETDOMAINCATEGORYREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY, + serialized_options=_b('\202\323\344\223\0024\0222/v4/{resource_name=customers/*/domainCategories/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_DOMAINCATEGORYSERVICE) + +DESCRIPTOR.services_by_name['DomainCategoryService'] = _DOMAINCATEGORYSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/domain_category_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/domain_category_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/domain_category_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/domain_category_service_pb2_grpc.py index dffd135ad..52ff63bda 100644 --- a/google/ads/google_ads/v1/proto/services/domain_category_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/domain_category_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2 -from google.ads.google_ads.v1.proto.services import domain_category_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_domain__category__service__pb2 +from google.ads.google_ads.v4.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2 +from google.ads.google_ads.v4.proto.services import domain_category_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_domain__category__service__pb2 class DomainCategoryServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetDomainCategory = channel.unary_unary( - '/google.ads.googleads.v1.services.DomainCategoryService/GetDomainCategory', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.FromString, + '/google.ads.googleads.v4.services.DomainCategoryService/GetDomainCategory', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.FromString, ) @@ -42,10 +42,10 @@ def add_DomainCategoryServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetDomainCategory': grpc.unary_unary_rpc_method_handler( servicer.GetDomainCategory, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_domain__category__service__pb2.GetDomainCategoryRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2.DomainCategory.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.DomainCategoryService', rpc_method_handlers) + 'google.ads.googleads.v4.services.DomainCategoryService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2.py new file mode 100644 index 000000000..ba99b74e8 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/dynamic_search_ads_search_term_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/dynamic_search_ads_search_term_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nXgoogle/ads/googleads_v4/proto/services/dynamic_search_ads_search_term_view_service.proto\x12 google.ads.googleads.v4.services\x1aQgoogle/ads/googleads_v4/proto/resources/dynamic_search_ads_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x82\x01\n(GetDynamicSearchAdsSearchTermViewRequest\x12V\n\rresource_name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView2\xd4\x02\n%DynamicSearchAdsSearchTermViewService\x12\x8d\x02\n!GetDynamicSearchAdsSearchTermView\x12J.google.ads.googleads.v4.services.GetDynamicSearchAdsSearchTermViewRequest\x1a\x41.google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView\"Y\x82\xd3\xe4\x93\x02\x43\x12\x41/v4/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v4.servicesB*DynamicSearchAdsSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( + name='GetDynamicSearchAdsSearchTermViewRequest', + full_name='google.ads.googleads.v4.services.GetDynamicSearchAdsSearchTermViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetDynamicSearchAdsSearchTermViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A9\n7googleads.googleapis.com/DynamicSearchAdsSearchTermView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=325, + serialized_end=455, +) + +DESCRIPTOR.message_types_by_name['GetDynamicSearchAdsSearchTermViewRequest'] = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetDynamicSearchAdsSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetDynamicSearchAdsSearchTermViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.dynamic_search_ads_search_term_view_service_pb2' + , + __doc__ = """Request message for + [DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView]. + + + Attributes: + resource_name: + Required. The resource name of the dynamic search ads search + term view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetDynamicSearchAdsSearchTermViewRequest) + )) +_sym_db.RegisterMessage(GetDynamicSearchAdsSearchTermViewRequest) + + +DESCRIPTOR._options = None +_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST.fields_by_name['resource_name']._options = None + +_DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( + name='DynamicSearchAdsSearchTermViewService', + full_name='google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=458, + serialized_end=798, + methods=[ + _descriptor.MethodDescriptor( + name='GetDynamicSearchAdsSearchTermView', + full_name='google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView', + index=0, + containing_service=None, + input_type=_GETDYNAMICSEARCHADSSEARCHTERMVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2._DYNAMICSEARCHADSSEARCHTERMVIEW, + serialized_options=_b('\202\323\344\223\002C\022A/v4/{resource_name=customers/*/dynamicSearchAdsSearchTermViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE) + +DESCRIPTOR.services_by_name['DynamicSearchAdsSearchTermViewService'] = _DYNAMICSEARCHADSSEARCHTERMVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py similarity index 76% rename from google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py index 2b75991cd..cfab943ca 100644 --- a/google/ads/google_ads/v1/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/dynamic_search_ads_search_term_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 -from google.ads.google_ads.v1.proto.services import dynamic_search_ads_search_term_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 +from google.ads.google_ads.v4.proto.services import dynamic_search_ads_search_term_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2 class DynamicSearchAdsSearchTermViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetDynamicSearchAdsSearchTermView = channel.unary_unary( - '/google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.FromString, + '/google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService/GetDynamicSearchAdsSearchTermView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.FromString, ) @@ -42,10 +42,10 @@ def add_DynamicSearchAdsSearchTermViewServiceServicer_to_server(servicer, server rpc_method_handlers = { 'GetDynamicSearchAdsSearchTermView': grpc.unary_unary_rpc_method_handler( servicer.GetDynamicSearchAdsSearchTermView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_dynamic__search__ads__search__term__view__service__pb2.GetDynamicSearchAdsSearchTermViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DynamicSearchAdsSearchTermView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2.py new file mode 100644 index 000000000..db7c1fbed --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/expanded_landing_page_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/expanded_landing_page_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB#ExpandedLandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nOgoogle/ads/googleads_v4/proto/services/expanded_landing_page_view_service.proto\x12 google.ads.googleads.v4.services\x1aHgoogle/ads/googleads_v4/proto/resources/expanded_landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"t\n!GetExpandedLandingPageViewRequest\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0googleads.googleapis.com/ExpandedLandingPageView2\xb1\x02\n\x1e\x45xpandedLandingPageViewService\x12\xf1\x01\n\x1aGetExpandedLandingPageView\x12\x43.google.ads.googleads.v4.services.GetExpandedLandingPageViewRequest\x1a:.google.ads.googleads.v4.resources.ExpandedLandingPageView\"R\x82\xd3\xe4\x93\x02<\x12:/v4/{resource_name=customers/*/expandedLandingPageViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v4.servicesB#ExpandedLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETEXPANDEDLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( + name='GetExpandedLandingPageViewRequest', + full_name='google.ads.googleads.v4.services.GetExpandedLandingPageViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetExpandedLandingPageViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A2\n0googleads.googleapis.com/ExpandedLandingPageView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=306, + serialized_end=422, +) + +DESCRIPTOR.message_types_by_name['GetExpandedLandingPageViewRequest'] = _GETEXPANDEDLANDINGPAGEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetExpandedLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetExpandedLandingPageViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETEXPANDEDLANDINGPAGEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.expanded_landing_page_view_service_pb2' + , + __doc__ = """Request message for + [ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v4.services.ExpandedLandingPageViewService.GetExpandedLandingPageView]. + + + Attributes: + resource_name: + Required. The resource name of the expanded landing page view + to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetExpandedLandingPageViewRequest) + )) +_sym_db.RegisterMessage(GetExpandedLandingPageViewRequest) + + +DESCRIPTOR._options = None +_GETEXPANDEDLANDINGPAGEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_EXPANDEDLANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ExpandedLandingPageViewService', + full_name='google.ads.googleads.v4.services.ExpandedLandingPageViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=425, + serialized_end=730, + methods=[ + _descriptor.MethodDescriptor( + name='GetExpandedLandingPageView', + full_name='google.ads.googleads.v4.services.ExpandedLandingPageViewService.GetExpandedLandingPageView', + index=0, + containing_service=None, + input_type=_GETEXPANDEDLANDINGPAGEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2._EXPANDEDLANDINGPAGEVIEW, + serialized_options=_b('\202\323\344\223\002<\022:/v4/{resource_name=customers/*/expandedLandingPageViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_EXPANDEDLANDINGPAGEVIEWSERVICE) + +DESCRIPTOR.services_by_name['ExpandedLandingPageViewService'] = _EXPANDEDLANDINGPAGEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2_grpc.py index a3d6c401e..80b7304f6 100644 --- a/google/ads/google_ads/v1/proto/services/expanded_landing_page_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/expanded_landing_page_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 -from google.ads.google_ads.v1.proto.services import expanded_landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 +from google.ads.google_ads.v4.proto.services import expanded_landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2 class ExpandedLandingPageViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetExpandedLandingPageView = channel.unary_unary( - '/google.ads.googleads.v1.services.ExpandedLandingPageViewService/GetExpandedLandingPageView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.FromString, + '/google.ads.googleads.v4.services.ExpandedLandingPageViewService/GetExpandedLandingPageView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.FromString, ) @@ -42,10 +42,10 @@ def add_ExpandedLandingPageViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetExpandedLandingPageView': grpc.unary_unary_rpc_method_handler( servicer.GetExpandedLandingPageView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_expanded__landing__page__view__service__pb2.GetExpandedLandingPageViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.ExpandedLandingPageView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ExpandedLandingPageViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ExpandedLandingPageViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2.py b/google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2.py similarity index 57% rename from google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2.py rename to google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2.py index ab32b1c00..b301ae764 100644 --- a/google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/extension_feed_item_service.proto +# source: google/ads/googleads_v4/proto/services/extension_feed_item_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2 +from google.ads.google_ads.v4.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/extension_feed_item_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/extension_feed_item_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035ExtensionFeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/services/extension_feed_item_service.proto\x12 google.ads.googleads.v1.services\x1a\x41google/ads/googleads_v1/proto/resources/extension_feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\"4\n\x1bGetExtensionFeedItemRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x9f\x01\n\x1fMutateExtensionFeedItemsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.ExtensionFeedItemOperation\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xfc\x01\n\x1a\x45xtensionFeedItemOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.ExtensionFeedItemH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.ExtensionFeedItemH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"t\n MutateExtensionFeedItemsResponse\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v1.services.MutateExtensionFeedItemResult\"6\n\x1dMutateExtensionFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xce\x03\n\x18\x45xtensionFeedItemService\x12\xc9\x01\n\x14GetExtensionFeedItem\x12=.google.ads.googleads.v1.services.GetExtensionFeedItemRequest\x1a\x34.google.ads.googleads.v1.resources.ExtensionFeedItem\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{resource_name=customers/*/extensionFeedItems/*}\x12\xe5\x01\n\x18MutateExtensionFeedItems\x12\x41.google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest\x1a\x42.google.ads.googleads.v1.services.MutateExtensionFeedItemsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v1/customers/{customer_id=*}/extensionFeedItems:mutate:\x01*B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1d\x45xtensionFeedItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\035ExtensionFeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/services/extension_feed_item_service.proto\x12 google.ads.googleads.v4.services\x1a\x41google/ads/googleads_v4/proto/resources/extension_feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"h\n\x1bGetExtensionFeedItemRequest\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*googleads.googleapis.com/ExtensionFeedItem\"\xc2\x01\n\x1fMutateExtensionFeedItemsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.ExtensionFeedItemOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xfc\x01\n\x1a\x45xtensionFeedItemOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.ExtensionFeedItemH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.ExtensionFeedItemH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa7\x01\n MutateExtensionFeedItemsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v4.services.MutateExtensionFeedItemResult\"6\n\x1dMutateExtensionFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x94\x04\n\x18\x45xtensionFeedItemService\x12\xd9\x01\n\x14GetExtensionFeedItem\x12=.google.ads.googleads.v4.services.GetExtensionFeedItemRequest\x1a\x34.google.ads.googleads.v4.resources.ExtensionFeedItem\"L\x82\xd3\xe4\x93\x02\x36\x12\x34/v4/{resource_name=customers/*/extensionFeedItems/*}\xda\x41\rresource_name\x12\xfe\x01\n\x18MutateExtensionFeedItems\x12\x41.google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest\x1a\x42.google.ads.googleads.v4.services.MutateExtensionFeedItemsResponse\"[\x82\xd3\xe4\x93\x02<\"7/v4/customers/{customer_id=*}/extensionFeedItems:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v4.servicesB\x1d\x45xtensionFeedItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETEXTENSIONFEEDITEMREQUEST = _descriptor.Descriptor( name='GetExtensionFeedItemRequest', - full_name='google.ads.googleads.v1.services.GetExtensionFeedItemRequest', + full_name='google.ads.googleads.v4.services.GetExtensionFeedItemRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetExtensionFeedItemRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetExtensionFeedItemRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A,\n*googleads.googleapis.com/ExtensionFeedItem'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,34 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=273, - serialized_end=325, + serialized_start=351, + serialized_end=455, ) _MUTATEEXTENSIONFEEDITEMSREQUEST = _descriptor.Descriptor( name='MutateExtensionFeedItemsRequest', - full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest', + full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest.partial_failure', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest.validate_only', index=2, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -102,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=328, - serialized_end=487, + serialized_start=458, + serialized_end=652, ) _EXTENSIONFEEDITEMOPERATION = _descriptor.Descriptor( name='ExtensionFeedItemOperation', - full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation', + full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -154,23 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.ExtensionFeedItemOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.ExtensionFeedItemOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=490, - serialized_end=742, + serialized_start=655, + serialized_end=907, ) _MUTATEEXTENSIONFEEDITEMSRESPONSE = _descriptor.Descriptor( name='MutateExtensionFeedItemsResponse', - full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsResponse', + full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemsResponse.results', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsResponse.partial_failure_error', index=0, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=744, - serialized_end=860, + serialized_start=910, + serialized_end=1077, ) _MUTATEEXTENSIONFEEDITEMRESULT = _descriptor.Descriptor( name='MutateExtensionFeedItemResult', - full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemResult', + full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateExtensionFeedItemResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateExtensionFeedItemResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=862, - serialized_end=916, + serialized_start=1079, + serialized_end=1133, ) _MUTATEEXTENSIONFEEDITEMSREQUEST.fields_by_name['operations'].message_type = _EXTENSIONFEEDITEMOPERATION _EXTENSIONFEEDITEMOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_EXTENSIONFEEDITEMOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM -_EXTENSIONFEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM +_EXTENSIONFEEDITEMOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM +_EXTENSIONFEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM _EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( _EXTENSIONFEEDITEMOPERATION.fields_by_name['create']) _EXTENSIONFEEDITEMOPERATION.fields_by_name['create'].containing_oneof = _EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'] @@ -236,6 +253,7 @@ _EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( _EXTENSIONFEEDITEMOPERATION.fields_by_name['remove']) _EXTENSIONFEEDITEMOPERATION.fields_by_name['remove'].containing_oneof = _EXTENSIONFEEDITEMOPERATION.oneofs_by_name['operation'] +_MUTATEEXTENSIONFEEDITEMSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS _MUTATEEXTENSIONFEEDITEMSRESPONSE.fields_by_name['results'].message_type = _MUTATEEXTENSIONFEEDITEMRESULT DESCRIPTOR.message_types_by_name['GetExtensionFeedItemRequest'] = _GETEXTENSIONFEEDITEMREQUEST DESCRIPTOR.message_types_by_name['MutateExtensionFeedItemsRequest'] = _MUTATEEXTENSIONFEEDITEMSREQUEST @@ -246,46 +264,52 @@ GetExtensionFeedItemRequest = _reflection.GeneratedProtocolMessageType('GetExtensionFeedItemRequest', (_message.Message,), dict( DESCRIPTOR = _GETEXTENSIONFEEDITEMREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.extension_feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.extension_feed_item_service_pb2' , __doc__ = """Request message for - [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v1.services.ExtensionFeedItemService.GetExtensionFeedItem]. + [ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v4.services.ExtensionFeedItemService.GetExtensionFeedItem]. Attributes: resource_name: - The resource name of the extension feed item to fetch. + Required. The resource name of the extension feed item to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetExtensionFeedItemRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetExtensionFeedItemRequest) )) _sym_db.RegisterMessage(GetExtensionFeedItemRequest) MutateExtensionFeedItemsRequest = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.extension_feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.extension_feed_item_service_pb2' , __doc__ = """Request message for - [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v1.services.ExtensionFeedItemService.MutateExtensionFeedItems]. + [ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v4.services.ExtensionFeedItemService.MutateExtensionFeedItems]. Attributes: customer_id: - The ID of the customer whose extension feed items are being - modified. + Required. The ID of the customer whose extension feed items + are being modified. operations: - The list of operations to perform on individual extension feed - items. + Required. The list of operations to perform on individual + extension feed items. + partial_failure: + If true, successful operations will be carried out and invalid + operations will return errors. If false, all operations will + be carried out in one transaction if and only if they are all + valid. Default is false. validate_only: If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateExtensionFeedItemsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateExtensionFeedItemsRequest) )) _sym_db.RegisterMessage(MutateExtensionFeedItemsRequest) ExtensionFeedItemOperation = _reflection.GeneratedProtocolMessageType('ExtensionFeedItemOperation', (_message.Message,), dict( DESCRIPTOR = _EXTENSIONFEEDITEMOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.extension_feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.extension_feed_item_service_pb2' , __doc__ = """A single operation (create, update, remove) on an extension feed item. @@ -307,28 +331,34 @@ feed item is expected, in this format: ``customers/{customer_id}/extensionFeedItems/{feed_item_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ExtensionFeedItemOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ExtensionFeedItemOperation) )) _sym_db.RegisterMessage(ExtensionFeedItemOperation) MutateExtensionFeedItemsResponse = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.extension_feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.extension_feed_item_service_pb2' , __doc__ = """Response message for an extension feed item mutate. Attributes: + partial_failure_error: + Errors that pertain to operation failures in the partial + failure mode. Returned only when partial\_failure = true and + all errors occur inside the operations. If any errors occur + outside the operations (e.g. auth errors), we return an RPC + level error. results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateExtensionFeedItemsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateExtensionFeedItemsResponse) )) _sym_db.RegisterMessage(MutateExtensionFeedItemsResponse) MutateExtensionFeedItemResult = _reflection.GeneratedProtocolMessageType('MutateExtensionFeedItemResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEEXTENSIONFEEDITEMRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.extension_feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.extension_feed_item_service_pb2' , __doc__ = """The result for the extension feed item mutate. @@ -337,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateExtensionFeedItemResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateExtensionFeedItemResult) )) _sym_db.RegisterMessage(MutateExtensionFeedItemResult) DESCRIPTOR._options = None +_GETEXTENSIONFEEDITEMREQUEST.fields_by_name['resource_name']._options = None +_MUTATEEXTENSIONFEEDITEMSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEEXTENSIONFEEDITEMSREQUEST.fields_by_name['operations']._options = None _EXTENSIONFEEDITEMSERVICE = _descriptor.ServiceDescriptor( name='ExtensionFeedItemService', - full_name='google.ads.googleads.v1.services.ExtensionFeedItemService', + full_name='google.ads.googleads.v4.services.ExtensionFeedItemService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=919, - serialized_end=1381, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1136, + serialized_end=1668, methods=[ _descriptor.MethodDescriptor( name='GetExtensionFeedItem', - full_name='google.ads.googleads.v1.services.ExtensionFeedItemService.GetExtensionFeedItem', + full_name='google.ads.googleads.v4.services.ExtensionFeedItemService.GetExtensionFeedItem', index=0, containing_service=None, input_type=_GETEXTENSIONFEEDITEMREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM, - serialized_options=_b('\202\323\344\223\0026\0224/v1/{resource_name=customers/*/extensionFeedItems/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM, + serialized_options=_b('\202\323\344\223\0026\0224/v4/{resource_name=customers/*/extensionFeedItems/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateExtensionFeedItems', - full_name='google.ads.googleads.v1.services.ExtensionFeedItemService.MutateExtensionFeedItems', + full_name='google.ads.googleads.v4.services.ExtensionFeedItemService.MutateExtensionFeedItems', index=1, containing_service=None, input_type=_MUTATEEXTENSIONFEEDITEMSREQUEST, output_type=_MUTATEEXTENSIONFEEDITEMSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v1/customers/{customer_id=*}/extensionFeedItems:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002<\"7/v4/customers/{customer_id=*}/extensionFeedItems:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_EXTENSIONFEEDITEMSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2_grpc.py index ee70f3418..083eacdd7 100644 --- a/google/ads/google_ads/v1/proto/services/extension_feed_item_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/extension_feed_item_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2 -from google.ads.google_ads.v1.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2 +from google.ads.google_ads.v4.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2 +from google.ads.google_ads.v4.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2 class ExtensionFeedItemServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetExtensionFeedItem = channel.unary_unary( - '/google.ads.googleads.v1.services.ExtensionFeedItemService/GetExtensionFeedItem', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2.ExtensionFeedItem.FromString, + '/google.ads.googleads.v4.services.ExtensionFeedItemService/GetExtensionFeedItem', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2.ExtensionFeedItem.FromString, ) self.MutateExtensionFeedItems = channel.unary_unary( - '/google.ads.googleads.v1.services.ExtensionFeedItemService/MutateExtensionFeedItems', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.FromString, + '/google.ads.googleads.v4.services.ExtensionFeedItemService/MutateExtensionFeedItems', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_ExtensionFeedItemServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetExtensionFeedItem': grpc.unary_unary_rpc_method_handler( servicer.GetExtensionFeedItem, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2.ExtensionFeedItem.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.GetExtensionFeedItemRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2.ExtensionFeedItem.SerializeToString, ), 'MutateExtensionFeedItems': grpc.unary_unary_rpc_method_handler( servicer.MutateExtensionFeedItems, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.MutateExtensionFeedItemsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ExtensionFeedItemService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ExtensionFeedItemService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/feed_item_service_pb2.py b/google/ads/google_ads/v4/proto/services/feed_item_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/feed_item_service_pb2.py rename to google/ads/google_ads/v4/proto/services/feed_item_service_pb2.py index 6a916f34e..069605043 100644 --- a/google/ads/google_ads/v1/proto/services/feed_item_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/feed_item_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/feed_item_service.proto +# source: google/ads/googleads_v4/proto/services/feed_item_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/feed_item_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/feed_item_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\024FeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/services/feed_item_service.proto\x12 google.ads.googleads.v1.services\x1a\x37google/ads/googleads_v1/proto/resources/feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"+\n\x12GetFeedItemRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa6\x01\n\x16MutateFeedItemsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12G\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v1.services.FeedItemOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11\x46\x65\x65\x64ItemOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.FeedItemH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.FeedItemH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateFeedItemsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.MutateFeedItemResult\"-\n\x14MutateFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x02\n\x0f\x46\x65\x65\x64ItemService\x12\xa5\x01\n\x0bGetFeedItem\x12\x34.google.ads.googleads.v1.services.GetFeedItemRequest\x1a+.google.ads.googleads.v1.resources.FeedItem\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{resource_name=customers/*/feedItems/*}\x12\xc1\x01\n\x0fMutateFeedItems\x12\x38.google.ads.googleads.v1.services.MutateFeedItemsRequest\x1a\x39.google.ads.googleads.v1.services.MutateFeedItemsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/feedItems:mutate:\x01*B\xfb\x01\n$com.google.ads.googleads.v1.servicesB\x14\x46\x65\x65\x64ItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\024FeedItemServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/services/feed_item_service.proto\x12 google.ads.googleads.v4.services\x1a\x37google/ads/googleads_v4/proto/resources/feed_item.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"V\n\x12GetFeedItemRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/FeedItem\"\xb0\x01\n\x16MutateFeedItemsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v4.services.FeedItemOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11\x46\x65\x65\x64ItemOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.FeedItemH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.resources.FeedItemH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateFeedItemsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.MutateFeedItemResult\"-\n\x14MutateFeedItemResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc3\x03\n\x0f\x46\x65\x65\x64ItemService\x12\xb5\x01\n\x0bGetFeedItem\x12\x34.google.ads.googleads.v4.services.GetFeedItemRequest\x1a+.google.ads.googleads.v4.resources.FeedItem\"C\x82\xd3\xe4\x93\x02-\x12+/v4/{resource_name=customers/*/feedItems/*}\xda\x41\rresource_name\x12\xda\x01\n\x0fMutateFeedItems\x12\x38.google.ads.googleads.v4.services.MutateFeedItemsRequest\x1a\x39.google.ads.googleads.v4.services.MutateFeedItemsResponse\"R\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/feedItems:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14\x46\x65\x65\x64ItemServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETFEEDITEMREQUEST = _descriptor.Descriptor( name='GetFeedItemRequest', - full_name='google.ads.googleads.v1.services.GetFeedItemRequest', + full_name='google.ads.googleads.v4.services.GetFeedItemRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetFeedItemRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetFeedItemRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/FeedItem'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=278, - serialized_end=321, + serialized_start=331, + serialized_end=417, ) _MUTATEFEEDITEMSREQUEST = _descriptor.Descriptor( name='MutateFeedItemsRequest', - full_name='google.ads.googleads.v1.services.MutateFeedItemsRequest', + full_name='google.ads.googleads.v4.services.MutateFeedItemsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateFeedItemsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateFeedItemsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateFeedItemsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateFeedItemsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateFeedItemsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateFeedItemsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateFeedItemsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateFeedItemsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=324, - serialized_end=490, + serialized_start=420, + serialized_end=596, ) _FEEDITEMOPERATION = _descriptor.Descriptor( name='FeedItemOperation', - full_name='google.ads.googleads.v1.services.FeedItemOperation', + full_name='google.ads.googleads.v4.services.FeedItemOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.FeedItemOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.FeedItemOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.FeedItemOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.FeedItemOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.FeedItemOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.FeedItemOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.FeedItemOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.FeedItemOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.FeedItemOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.FeedItemOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=493, - serialized_end=718, + serialized_start=599, + serialized_end=824, ) _MUTATEFEEDITEMSRESPONSE = _descriptor.Descriptor( name='MutateFeedItemsResponse', - full_name='google.ads.googleads.v1.services.MutateFeedItemsResponse', + full_name='google.ads.googleads.v4.services.MutateFeedItemsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateFeedItemsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateFeedItemsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateFeedItemsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateFeedItemsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=721, - serialized_end=870, + serialized_start=827, + serialized_end=976, ) _MUTATEFEEDITEMRESULT = _descriptor.Descriptor( name='MutateFeedItemResult', - full_name='google.ads.googleads.v1.services.MutateFeedItemResult', + full_name='google.ads.googleads.v4.services.MutateFeedItemResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateFeedItemResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateFeedItemResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=872, - serialized_end=917, + serialized_start=978, + serialized_end=1023, ) _MUTATEFEEDITEMSREQUEST.fields_by_name['operations'].message_type = _FEEDITEMOPERATION _FEEDITEMOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_FEEDITEMOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM -_FEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM +_FEEDITEMOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM +_FEEDITEMOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM _FEEDITEMOPERATION.oneofs_by_name['operation'].fields.append( _FEEDITEMOPERATION.fields_by_name['create']) _FEEDITEMOPERATION.fields_by_name['create'].containing_oneof = _FEEDITEMOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetFeedItemRequest = _reflection.GeneratedProtocolMessageType('GetFeedItemRequest', (_message.Message,), dict( DESCRIPTOR = _GETFEEDITEMREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_service_pb2' , __doc__ = """Request message for - [FeedItemService.GetFeedItem][google.ads.googleads.v1.services.FeedItemService.GetFeedItem]. + [FeedItemService.GetFeedItem][google.ads.googleads.v4.services.FeedItemService.GetFeedItem]. Attributes: resource_name: - The resource name of the feed item to fetch. + Required. The resource name of the feed item to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetFeedItemRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetFeedItemRequest) )) _sym_db.RegisterMessage(GetFeedItemRequest) MutateFeedItemsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedItemsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_service_pb2' , __doc__ = """Request message for - [FeedItemService.MutateFeedItems][google.ads.googleads.v1.services.FeedItemService.MutateFeedItems]. + [FeedItemService.MutateFeedItems][google.ads.googleads.v4.services.FeedItemService.MutateFeedItems]. Attributes: customer_id: - The ID of the customer whose feed items are being modified. + Required. The ID of the customer whose feed items are being + modified. operations: - The list of operations to perform on individual feed items. + Required. The list of operations to perform on individual feed + items. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemsRequest) )) _sym_db.RegisterMessage(MutateFeedItemsRequest) FeedItemOperation = _reflection.GeneratedProtocolMessageType('FeedItemOperation', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_service_pb2' , __doc__ = """A single operation (create, update, remove) on an feed item. @@ -326,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.FeedItemOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.FeedItemOperation) )) _sym_db.RegisterMessage(FeedItemOperation) MutateFeedItemsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedItemsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_service_pb2' , __doc__ = """Response message for an feed item mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemsResponse) )) _sym_db.RegisterMessage(MutateFeedItemsResponse) MutateFeedItemResult = _reflection.GeneratedProtocolMessageType('MutateFeedItemResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_service_pb2' , __doc__ = """The result for the feed item mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemResult) )) _sym_db.RegisterMessage(MutateFeedItemResult) DESCRIPTOR._options = None +_GETFEEDITEMREQUEST.fields_by_name['resource_name']._options = None +_MUTATEFEEDITEMSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEFEEDITEMSREQUEST.fields_by_name['operations']._options = None _FEEDITEMSERVICE = _descriptor.ServiceDescriptor( name='FeedItemService', - full_name='google.ads.googleads.v1.services.FeedItemService', + full_name='google.ads.googleads.v4.services.FeedItemService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=920, - serialized_end=1301, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1026, + serialized_end=1477, methods=[ _descriptor.MethodDescriptor( name='GetFeedItem', - full_name='google.ads.googleads.v1.services.FeedItemService.GetFeedItem', + full_name='google.ads.googleads.v4.services.FeedItemService.GetFeedItem', index=0, containing_service=None, input_type=_GETFEEDITEMREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM, - serialized_options=_b('\202\323\344\223\002-\022+/v1/{resource_name=customers/*/feedItems/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM, + serialized_options=_b('\202\323\344\223\002-\022+/v4/{resource_name=customers/*/feedItems/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateFeedItems', - full_name='google.ads.googleads.v1.services.FeedItemService.MutateFeedItems', + full_name='google.ads.googleads.v4.services.FeedItemService.MutateFeedItems', index=1, containing_service=None, input_type=_MUTATEFEEDITEMSREQUEST, output_type=_MUTATEFEEDITEMSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/feedItems:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/feedItems:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_FEEDITEMSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/feed_item_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/feed_item_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/feed_item_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/feed_item_service_pb2_grpc.py index f99efe4d0..6d6a0f774 100644 --- a/google/ads/google_ads/v1/proto/services/feed_item_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/feed_item_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2 -from google.ads.google_ads.v1.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2 +from google.ads.google_ads.v4.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2 class FeedItemServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetFeedItem = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedItemService/GetFeedItem', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2.FeedItem.FromString, + '/google.ads.googleads.v4.services.FeedItemService/GetFeedItem', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2.FeedItem.FromString, ) self.MutateFeedItems = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedItemService/MutateFeedItems', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.FromString, + '/google.ads.googleads.v4.services.FeedItemService/MutateFeedItems', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_FeedItemServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetFeedItem': grpc.unary_unary_rpc_method_handler( servicer.GetFeedItem, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2.FeedItem.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.GetFeedItemRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2.FeedItem.SerializeToString, ), 'MutateFeedItems': grpc.unary_unary_rpc_method_handler( servicer.MutateFeedItems, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.MutateFeedItemsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.FeedItemService', rpc_method_handlers) + 'google.ads.googleads.v4.services.FeedItemService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2.py b/google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2.py similarity index 60% rename from google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2.py rename to google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2.py index 495eb969d..dfdeb0038 100644 --- a/google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/feed_item_target_service.proto +# source: google/ads/googleads_v4/proto/services/feed_item_target_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,36 +13,39 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/feed_item_target_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/feed_item_target_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032FeedItemTargetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/feed_item_target_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/feed_item_target.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetFeedItemTargetRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x82\x01\n\x1cMutateFeedItemTargetsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.FeedItemTargetOperation\"}\n\x17\x46\x65\x65\x64ItemTargetOperation\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.FeedItemTargetH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"n\n\x1dMutateFeedItemTargetsResponse\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.MutateFeedItemTargetResult\"3\n\x1aMutateFeedItemTargetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb3\x03\n\x15\x46\x65\x65\x64ItemTargetService\x12\xbd\x01\n\x11GetFeedItemTarget\x12:.google.ads.googleads.v1.services.GetFeedItemTargetRequest\x1a\x31.google.ads.googleads.v1.resources.FeedItemTarget\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/feedItemTargets/*}\x12\xd9\x01\n\x15MutateFeedItemTargets\x12>.google.ads.googleads.v1.services.MutateFeedItemTargetsRequest\x1a?.google.ads.googleads.v1.services.MutateFeedItemTargetsResponse\"?\x82\xd3\xe4\x93\x02\x39\"4/v1/customers/{customer_id=*}/feedItemTargets:mutate:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1a\x46\x65\x65\x64ItemTargetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032FeedItemTargetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/feed_item_target_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/feed_item_target.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetFeedItemTargetRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/FeedItemTarget\"\x8c\x01\n\x1cMutateFeedItemTargetsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12R\n\noperations\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.FeedItemTargetOperationB\x03\xe0\x41\x02\"}\n\x17\x46\x65\x65\x64ItemTargetOperation\x12\x43\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.FeedItemTargetH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"n\n\x1dMutateFeedItemTargetsResponse\x12M\n\x07results\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.MutateFeedItemTargetResult\"3\n\x1aMutateFeedItemTargetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf9\x03\n\x15\x46\x65\x65\x64ItemTargetService\x12\xcd\x01\n\x11GetFeedItemTarget\x12:.google.ads.googleads.v4.services.GetFeedItemTargetRequest\x1a\x31.google.ads.googleads.v4.resources.FeedItemTarget\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/feedItemTargets/*}\xda\x41\rresource_name\x12\xf2\x01\n\x15MutateFeedItemTargets\x12>.google.ads.googleads.v4.services.MutateFeedItemTargetsRequest\x1a?.google.ads.googleads.v4.services.MutateFeedItemTargetsResponse\"X\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/feedItemTargets:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1a\x46\x65\x65\x64ItemTargetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) _GETFEEDITEMTARGETREQUEST = _descriptor.Descriptor( name='GetFeedItemTargetRequest', - full_name='google.ads.googleads.v1.services.GetFeedItemTargetRequest', + full_name='google.ads.googleads.v4.services.GetFeedItemTargetRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetFeedItemTargetRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetFeedItemTargetRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/FeedItemTarget'), file=DESCRIPTOR), ], extensions=[ ], @@ -55,32 +58,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=201, - serialized_end=250, + serialized_start=286, + serialized_end=384, ) _MUTATEFEEDITEMTARGETSREQUEST = _descriptor.Descriptor( name='MutateFeedItemTargetsRequest', - full_name='google.ads.googleads.v1.services.MutateFeedItemTargetsRequest', + full_name='google.ads.googleads.v4.services.MutateFeedItemTargetsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateFeedItemTargetsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateFeedItemTargetsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateFeedItemTargetsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateFeedItemTargetsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -93,27 +96,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=253, - serialized_end=383, + serialized_start=387, + serialized_end=527, ) _FEEDITEMTARGETOPERATION = _descriptor.Descriptor( name='FeedItemTargetOperation', - full_name='google.ads.googleads.v1.services.FeedItemTargetOperation', + full_name='google.ads.googleads.v4.services.FeedItemTargetOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.FeedItemTargetOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.FeedItemTargetOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.FeedItemTargetOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.FeedItemTargetOperation.remove', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -131,23 +134,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.FeedItemTargetOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.FeedItemTargetOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=385, - serialized_end=510, + serialized_start=529, + serialized_end=654, ) _MUTATEFEEDITEMTARGETSRESPONSE = _descriptor.Descriptor( name='MutateFeedItemTargetsResponse', - full_name='google.ads.googleads.v1.services.MutateFeedItemTargetsResponse', + full_name='google.ads.googleads.v4.services.MutateFeedItemTargetsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateFeedItemTargetsResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.MutateFeedItemTargetsResponse.results', index=0, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -165,20 +168,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=512, - serialized_end=622, + serialized_start=656, + serialized_end=766, ) _MUTATEFEEDITEMTARGETRESULT = _descriptor.Descriptor( name='MutateFeedItemTargetResult', - full_name='google.ads.googleads.v1.services.MutateFeedItemTargetResult', + full_name='google.ads.googleads.v4.services.MutateFeedItemTargetResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateFeedItemTargetResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateFeedItemTargetResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -196,12 +199,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=624, - serialized_end=675, + serialized_start=768, + serialized_end=819, ) _MUTATEFEEDITEMTARGETSREQUEST.fields_by_name['operations'].message_type = _FEEDITEMTARGETOPERATION -_FEEDITEMTARGETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET +_FEEDITEMTARGETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET _FEEDITEMTARGETOPERATION.oneofs_by_name['operation'].fields.append( _FEEDITEMTARGETOPERATION.fields_by_name['create']) _FEEDITEMTARGETOPERATION.fields_by_name['create'].containing_oneof = _FEEDITEMTARGETOPERATION.oneofs_by_name['operation'] @@ -218,43 +221,43 @@ GetFeedItemTargetRequest = _reflection.GeneratedProtocolMessageType('GetFeedItemTargetRequest', (_message.Message,), dict( DESCRIPTOR = _GETFEEDITEMTARGETREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_target_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_target_service_pb2' , __doc__ = """Request message for - [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v1.services.FeedItemTargetService.GetFeedItemTarget]. + [FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v4.services.FeedItemTargetService.GetFeedItemTarget]. Attributes: resource_name: - The resource name of the feed item targets to fetch. + Required. The resource name of the feed item targets to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetFeedItemTargetRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetFeedItemTargetRequest) )) _sym_db.RegisterMessage(GetFeedItemTargetRequest) MutateFeedItemTargetsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMTARGETSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_target_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_target_service_pb2' , __doc__ = """Request message for - [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v1.services.FeedItemTargetService.MutateFeedItemTargets]. + [FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v4.services.FeedItemTargetService.MutateFeedItemTargets]. Attributes: customer_id: - The ID of the customer whose feed item targets are being - modified. + Required. The ID of the customer whose feed item targets are + being modified. operations: - The list of operations to perform on individual feed item - targets. + Required. The list of operations to perform on individual feed + item targets. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemTargetsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemTargetsRequest) )) _sym_db.RegisterMessage(MutateFeedItemTargetsRequest) FeedItemTargetOperation = _reflection.GeneratedProtocolMessageType('FeedItemTargetOperation', (_message.Message,), dict( DESCRIPTOR = _FEEDITEMTARGETOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_target_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_target_service_pb2' , __doc__ = """A single operation (create, remove) on an feed item target. @@ -271,13 +274,13 @@ /feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_ty pe}~{feed_item_target_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.FeedItemTargetOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.FeedItemTargetOperation) )) _sym_db.RegisterMessage(FeedItemTargetOperation) MutateFeedItemTargetsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMTARGETSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_target_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_target_service_pb2' , __doc__ = """Response message for an feed item target mutate. @@ -286,13 +289,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemTargetsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemTargetsResponse) )) _sym_db.RegisterMessage(MutateFeedItemTargetsResponse) MutateFeedItemTargetResult = _reflection.GeneratedProtocolMessageType('MutateFeedItemTargetResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDITEMTARGETRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.feed_item_target_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_item_target_service_pb2' , __doc__ = """The result for the feed item target mutate. @@ -301,39 +304,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedItemTargetResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedItemTargetResult) )) _sym_db.RegisterMessage(MutateFeedItemTargetResult) DESCRIPTOR._options = None +_GETFEEDITEMTARGETREQUEST.fields_by_name['resource_name']._options = None +_MUTATEFEEDITEMTARGETSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEFEEDITEMTARGETSREQUEST.fields_by_name['operations']._options = None _FEEDITEMTARGETSERVICE = _descriptor.ServiceDescriptor( name='FeedItemTargetService', - full_name='google.ads.googleads.v1.services.FeedItemTargetService', + full_name='google.ads.googleads.v4.services.FeedItemTargetService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=678, - serialized_end=1113, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=822, + serialized_end=1327, methods=[ _descriptor.MethodDescriptor( name='GetFeedItemTarget', - full_name='google.ads.googleads.v1.services.FeedItemTargetService.GetFeedItemTarget', + full_name='google.ads.googleads.v4.services.FeedItemTargetService.GetFeedItemTarget', index=0, containing_service=None, input_type=_GETFEEDITEMTARGETREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/feedItemTargets/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/feedItemTargets/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateFeedItemTargets', - full_name='google.ads.googleads.v1.services.FeedItemTargetService.MutateFeedItemTargets', + full_name='google.ads.googleads.v4.services.FeedItemTargetService.MutateFeedItemTargets', index=1, containing_service=None, input_type=_MUTATEFEEDITEMTARGETSREQUEST, output_type=_MUTATEFEEDITEMTARGETSRESPONSE, - serialized_options=_b('\202\323\344\223\0029\"4/v1/customers/{customer_id=*}/feedItemTargets:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/feedItemTargets:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_FEEDITEMTARGETSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2_grpc.py index 231ea1e4f..6de22febb 100644 --- a/google/ads/google_ads/v1/proto/services/feed_item_target_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/feed_item_target_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2 -from google.ads.google_ads.v1.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2 +from google.ads.google_ads.v4.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2 class FeedItemTargetServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetFeedItemTarget = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedItemTargetService/GetFeedItemTarget', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2.FeedItemTarget.FromString, + '/google.ads.googleads.v4.services.FeedItemTargetService/GetFeedItemTarget', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2.FeedItemTarget.FromString, ) self.MutateFeedItemTargets = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedItemTargetService/MutateFeedItemTargets', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.FromString, + '/google.ads.googleads.v4.services.FeedItemTargetService/MutateFeedItemTargets', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_FeedItemTargetServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetFeedItemTarget': grpc.unary_unary_rpc_method_handler( servicer.GetFeedItemTarget, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2.FeedItemTarget.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.GetFeedItemTargetRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2.FeedItemTarget.SerializeToString, ), 'MutateFeedItemTargets': grpc.unary_unary_rpc_method_handler( servicer.MutateFeedItemTargets, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.MutateFeedItemTargetsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.FeedItemTargetService', rpc_method_handlers) + 'google.ads.googleads.v4.services.FeedItemTargetService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2.py b/google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2.py rename to google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2.py index 11ae76c71..1366ce24f 100644 --- a/google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/feed_mapping_service.proto +# source: google/ads/googleads_v4/proto/services/feed_mapping_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2 +from google.ads.google_ads.v4.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/feed_mapping_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/feed_mapping_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\027FeedMappingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/services/feed_mapping_service.proto\x12 google.ads.googleads.v1.services\x1a:google/ads/googleads_v1/proto/resources/feed_mapping.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\".\n\x15GetFeedMappingRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xac\x01\n\x19MutateFeedMappingsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12J\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.FeedMappingOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"w\n\x14\x46\x65\x65\x64MappingOperation\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v1.resources.FeedMappingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9b\x01\n\x1aMutateFeedMappingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12J\n\x07results\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.MutateFeedMappingResult\"0\n\x17MutateFeedMappingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x98\x03\n\x12\x46\x65\x65\x64MappingService\x12\xb1\x01\n\x0eGetFeedMapping\x12\x37.google.ads.googleads.v1.services.GetFeedMappingRequest\x1a..google.ads.googleads.v1.resources.FeedMapping\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{resource_name=customers/*/feedMappings/*}\x12\xcd\x01\n\x12MutateFeedMappings\x12;.google.ads.googleads.v1.services.MutateFeedMappingsRequest\x1a<.google.ads.googleads.v1.services.MutateFeedMappingsResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1/customers/{customer_id=*}/feedMappings:mutate:\x01*B\xfe\x01\n$com.google.ads.googleads.v1.servicesB\x17\x46\x65\x65\x64MappingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\027FeedMappingServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/services/feed_mapping_service.proto\x12 google.ads.googleads.v4.services\x1a:google/ads/googleads_v4/proto/resources/feed_mapping.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"\\\n\x15GetFeedMappingRequest\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$googleads.googleapis.com/FeedMapping\"\xb6\x01\n\x19MutateFeedMappingsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.FeedMappingOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"w\n\x14\x46\x65\x65\x64MappingOperation\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v4.resources.FeedMappingH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9b\x01\n\x1aMutateFeedMappingsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12J\n\x07results\x18\x02 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.MutateFeedMappingResult\"0\n\x17MutateFeedMappingResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xde\x03\n\x12\x46\x65\x65\x64MappingService\x12\xc1\x01\n\x0eGetFeedMapping\x12\x37.google.ads.googleads.v4.services.GetFeedMappingRequest\x1a..google.ads.googleads.v4.resources.FeedMapping\"F\x82\xd3\xe4\x93\x02\x30\x12./v4/{resource_name=customers/*/feedMappings/*}\xda\x41\rresource_name\x12\xe6\x01\n\x12MutateFeedMappings\x12;.google.ads.googleads.v4.services.MutateFeedMappingsRequest\x1a<.google.ads.googleads.v4.services.MutateFeedMappingsResponse\"U\x82\xd3\xe4\x93\x02\x36\"1/v4/customers/{customer_id=*}/feedMappings:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v4.servicesB\x17\x46\x65\x65\x64MappingServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETFEEDMAPPINGREQUEST = _descriptor.Descriptor( name='GetFeedMappingRequest', - full_name='google.ads.googleads.v1.services.GetFeedMappingRequest', + full_name='google.ads.googleads.v4.services.GetFeedMappingRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetFeedMappingRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetFeedMappingRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A&\n$googleads.googleapis.com/FeedMapping'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=250, - serialized_end=296, + serialized_start=303, + serialized_end=395, ) _MUTATEFEEDMAPPINGSREQUEST = _descriptor.Descriptor( name='MutateFeedMappingsRequest', - full_name='google.ads.googleads.v1.services.MutateFeedMappingsRequest', + full_name='google.ads.googleads.v4.services.MutateFeedMappingsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateFeedMappingsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateFeedMappingsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateFeedMappingsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateFeedMappingsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateFeedMappingsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateFeedMappingsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateFeedMappingsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateFeedMappingsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=299, - serialized_end=471, + serialized_start=398, + serialized_end=580, ) _FEEDMAPPINGOPERATION = _descriptor.Descriptor( name='FeedMappingOperation', - full_name='google.ads.googleads.v1.services.FeedMappingOperation', + full_name='google.ads.googleads.v4.services.FeedMappingOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.FeedMappingOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.FeedMappingOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.FeedMappingOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.FeedMappingOperation.remove', index=1, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.FeedMappingOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.FeedMappingOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=473, - serialized_end=592, + serialized_start=582, + serialized_end=701, ) _MUTATEFEEDMAPPINGSRESPONSE = _descriptor.Descriptor( name='MutateFeedMappingsResponse', - full_name='google.ads.googleads.v1.services.MutateFeedMappingsResponse', + full_name='google.ads.googleads.v4.services.MutateFeedMappingsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateFeedMappingsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateFeedMappingsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateFeedMappingsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateFeedMappingsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=595, - serialized_end=750, + serialized_start=704, + serialized_end=859, ) _MUTATEFEEDMAPPINGRESULT = _descriptor.Descriptor( name='MutateFeedMappingResult', - full_name='google.ads.googleads.v1.services.MutateFeedMappingResult', + full_name='google.ads.googleads.v4.services.MutateFeedMappingResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateFeedMappingResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateFeedMappingResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=752, - serialized_end=800, + serialized_start=861, + serialized_end=909, ) _MUTATEFEEDMAPPINGSREQUEST.fields_by_name['operations'].message_type = _FEEDMAPPINGOPERATION -_FEEDMAPPINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING +_FEEDMAPPINGOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING _FEEDMAPPINGOPERATION.oneofs_by_name['operation'].fields.append( _FEEDMAPPINGOPERATION.fields_by_name['create']) _FEEDMAPPINGOPERATION.fields_by_name['create'].containing_oneof = _FEEDMAPPINGOPERATION.oneofs_by_name['operation'] @@ -242,33 +244,35 @@ GetFeedMappingRequest = _reflection.GeneratedProtocolMessageType('GetFeedMappingRequest', (_message.Message,), dict( DESCRIPTOR = _GETFEEDMAPPINGREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_mapping_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_mapping_service_pb2' , __doc__ = """Request message for - [FeedMappingService.GetFeedMapping][google.ads.googleads.v1.services.FeedMappingService.GetFeedMapping]. + [FeedMappingService.GetFeedMapping][google.ads.googleads.v4.services.FeedMappingService.GetFeedMapping]. Attributes: resource_name: - The resource name of the feed mapping to fetch. + Required. The resource name of the feed mapping to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetFeedMappingRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetFeedMappingRequest) )) _sym_db.RegisterMessage(GetFeedMappingRequest) MutateFeedMappingsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedMappingsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDMAPPINGSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_mapping_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_mapping_service_pb2' , __doc__ = """Request message for - [FeedMappingService.MutateFeedMappings][google.ads.googleads.v1.services.FeedMappingService.MutateFeedMappings]. + [FeedMappingService.MutateFeedMappings][google.ads.googleads.v4.services.FeedMappingService.MutateFeedMappings]. Attributes: customer_id: - The ID of the customer whose feed mappings are being modified. + Required. The ID of the customer whose feed mappings are being + modified. operations: - The list of operations to perform on individual feed mappings. + Required. The list of operations to perform on individual feed + mappings. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -278,13 +282,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedMappingsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedMappingsRequest) )) _sym_db.RegisterMessage(MutateFeedMappingsRequest) FeedMappingOperation = _reflection.GeneratedProtocolMessageType('FeedMappingOperation', (_message.Message,), dict( DESCRIPTOR = _FEEDMAPPINGOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.feed_mapping_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_mapping_service_pb2' , __doc__ = """A single operation (create, remove) on a feed mapping. @@ -300,13 +304,13 @@ is expected, in this format: ``customers/{customer_id}/feedMa ppings/{feed_id}~{feed_mapping_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.FeedMappingOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.FeedMappingOperation) )) _sym_db.RegisterMessage(FeedMappingOperation) MutateFeedMappingsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedMappingsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDMAPPINGSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.feed_mapping_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_mapping_service_pb2' , __doc__ = """Response message for a feed mapping mutate. @@ -321,13 +325,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedMappingsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedMappingsResponse) )) _sym_db.RegisterMessage(MutateFeedMappingsResponse) MutateFeedMappingResult = _reflection.GeneratedProtocolMessageType('MutateFeedMappingResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDMAPPINGRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.feed_mapping_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_mapping_service_pb2' , __doc__ = """The result for the feed mapping mutate. @@ -336,39 +340,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedMappingResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedMappingResult) )) _sym_db.RegisterMessage(MutateFeedMappingResult) DESCRIPTOR._options = None +_GETFEEDMAPPINGREQUEST.fields_by_name['resource_name']._options = None +_MUTATEFEEDMAPPINGSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEFEEDMAPPINGSREQUEST.fields_by_name['operations']._options = None _FEEDMAPPINGSERVICE = _descriptor.ServiceDescriptor( name='FeedMappingService', - full_name='google.ads.googleads.v1.services.FeedMappingService', + full_name='google.ads.googleads.v4.services.FeedMappingService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=803, - serialized_end=1211, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=912, + serialized_end=1390, methods=[ _descriptor.MethodDescriptor( name='GetFeedMapping', - full_name='google.ads.googleads.v1.services.FeedMappingService.GetFeedMapping', + full_name='google.ads.googleads.v4.services.FeedMappingService.GetFeedMapping', index=0, containing_service=None, input_type=_GETFEEDMAPPINGREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING, - serialized_options=_b('\202\323\344\223\0020\022./v1/{resource_name=customers/*/feedMappings/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING, + serialized_options=_b('\202\323\344\223\0020\022./v4/{resource_name=customers/*/feedMappings/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateFeedMappings', - full_name='google.ads.googleads.v1.services.FeedMappingService.MutateFeedMappings', + full_name='google.ads.googleads.v4.services.FeedMappingService.MutateFeedMappings', index=1, containing_service=None, input_type=_MUTATEFEEDMAPPINGSREQUEST, output_type=_MUTATEFEEDMAPPINGSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v1/customers/{customer_id=*}/feedMappings:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0026\"1/v4/customers/{customer_id=*}/feedMappings:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_FEEDMAPPINGSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2_grpc.py index 6ce4fc75c..de71fc637 100644 --- a/google/ads/google_ads/v1/proto/services/feed_mapping_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/feed_mapping_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2 -from google.ads.google_ads.v1.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2 +from google.ads.google_ads.v4.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2 +from google.ads.google_ads.v4.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2 class FeedMappingServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetFeedMapping = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedMappingService/GetFeedMapping', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2.FeedMapping.FromString, + '/google.ads.googleads.v4.services.FeedMappingService/GetFeedMapping', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2.FeedMapping.FromString, ) self.MutateFeedMappings = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedMappingService/MutateFeedMappings', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.FromString, + '/google.ads.googleads.v4.services.FeedMappingService/MutateFeedMappings', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_FeedMappingServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetFeedMapping': grpc.unary_unary_rpc_method_handler( servicer.GetFeedMapping, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2.FeedMapping.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.GetFeedMappingRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2.FeedMapping.SerializeToString, ), 'MutateFeedMappings': grpc.unary_unary_rpc_method_handler( servicer.MutateFeedMappings, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.MutateFeedMappingsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.FeedMappingService', rpc_method_handlers) + 'google.ads.googleads.v4.services.FeedMappingService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py new file mode 100644 index 000000000..1e1f5c794 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/feed_placeholder_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/feed_placeholder_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037FeedPlaceholderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/feed_placeholder_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/feed_placeholder_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"l\n\x1dGetFeedPlaceholderViewRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/FeedPlaceholderView2\x9d\x02\n\x1a\x46\x65\x65\x64PlaceholderViewService\x12\xe1\x01\n\x16GetFeedPlaceholderView\x12?.google.ads.googleads.v4.services.GetFeedPlaceholderViewRequest\x1a\x36.google.ads.googleads.v4.resources.FeedPlaceholderView\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/feedPlaceholderViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1f\x46\x65\x65\x64PlaceholderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETFEEDPLACEHOLDERVIEWREQUEST = _descriptor.Descriptor( + name='GetFeedPlaceholderViewRequest', + full_name='google.ads.googleads.v4.services.GetFeedPlaceholderViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetFeedPlaceholderViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/FeedPlaceholderView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=296, + serialized_end=404, +) + +DESCRIPTOR.message_types_by_name['GetFeedPlaceholderViewRequest'] = _GETFEEDPLACEHOLDERVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetFeedPlaceholderViewRequest = _reflection.GeneratedProtocolMessageType('GetFeedPlaceholderViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETFEEDPLACEHOLDERVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.feed_placeholder_view_service_pb2' + , + __doc__ = """Request message for + [FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v4.services.FeedPlaceholderViewService.GetFeedPlaceholderView]. + + + Attributes: + resource_name: + Required. The resource name of the feed placeholder view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetFeedPlaceholderViewRequest) + )) +_sym_db.RegisterMessage(GetFeedPlaceholderViewRequest) + + +DESCRIPTOR._options = None +_GETFEEDPLACEHOLDERVIEWREQUEST.fields_by_name['resource_name']._options = None + +_FEEDPLACEHOLDERVIEWSERVICE = _descriptor.ServiceDescriptor( + name='FeedPlaceholderViewService', + full_name='google.ads.googleads.v4.services.FeedPlaceholderViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=407, + serialized_end=692, + methods=[ + _descriptor.MethodDescriptor( + name='GetFeedPlaceholderView', + full_name='google.ads.googleads.v4.services.FeedPlaceholderViewService.GetFeedPlaceholderView', + index=0, + containing_service=None, + input_type=_GETFEEDPLACEHOLDERVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/feedPlaceholderViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_FEEDPLACEHOLDERVIEWSERVICE) + +DESCRIPTOR.services_by_name['FeedPlaceholderViewService'] = _FEEDPLACEHOLDERVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2_grpc.py index 61943aef9..785796e52 100644 --- a/google/ads/google_ads/v1/proto/services/feed_placeholder_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/feed_placeholder_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 -from google.ads.google_ads.v1.proto.services import feed_placeholder_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 +from google.ads.google_ads.v4.proto.services import feed_placeholder_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2 class FeedPlaceholderViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetFeedPlaceholderView = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedPlaceholderViewService/GetFeedPlaceholderView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.FromString, + '/google.ads.googleads.v4.services.FeedPlaceholderViewService/GetFeedPlaceholderView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.FromString, ) @@ -42,10 +42,10 @@ def add_FeedPlaceholderViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetFeedPlaceholderView': grpc.unary_unary_rpc_method_handler( servicer.GetFeedPlaceholderView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__placeholder__view__service__pb2.GetFeedPlaceholderViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.FeedPlaceholderView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.FeedPlaceholderViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.FeedPlaceholderViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/feed_service_pb2.py b/google/ads/google_ads/v4/proto/services/feed_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/feed_service_pb2.py rename to google/ads/google_ads/v4/proto/services/feed_service_pb2.py index 2aad747d6..0e1d709d2 100644 --- a/google/ads/google_ads/v1/proto/services/feed_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/feed_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/feed_service.proto +# source: google/ads/googleads_v4/proto/services/feed_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2 +from google.ads.google_ads.v4.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/feed_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/feed_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\020FeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n9google/ads/googleads_v1/proto/services/feed_service.proto\x12 google.ads.googleads.v1.services\x1a\x32google/ads/googleads_v1/proto/resources/feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\'\n\x0eGetFeedRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x9e\x01\n\x12MutateFeedsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x43\n\noperations\x18\x02 \x03(\x0b\x32/.google.ads.googleads.v1.services.FeedOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd5\x01\n\rFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x39\n\x06\x63reate\x18\x01 \x01(\x0b\x32\'.google.ads.googleads.v1.resources.FeedH\x00\x12\x39\n\x06update\x18\x02 \x01(\x0b\x32\'.google.ads.googleads.v1.resources.FeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x8d\x01\n\x13MutateFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x43\n\x07results\x18\x02 \x03(\x0b\x32\x32.google.ads.googleads.v1.services.MutateFeedResult\")\n\x10MutateFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xd9\x02\n\x0b\x46\x65\x65\x64Service\x12\x95\x01\n\x07GetFeed\x12\x30.google.ads.googleads.v1.services.GetFeedRequest\x1a\'.google.ads.googleads.v1.resources.Feed\"/\x82\xd3\xe4\x93\x02)\x12\'/v1/{resource_name=customers/*/feeds/*}\x12\xb1\x01\n\x0bMutateFeeds\x12\x34.google.ads.googleads.v1.services.MutateFeedsRequest\x1a\x35.google.ads.googleads.v1.services.MutateFeedsResponse\"5\x82\xd3\xe4\x93\x02/\"*/v1/customers/{customer_id=*}/feeds:mutate:\x01*B\xf7\x01\n$com.google.ads.googleads.v1.servicesB\x10\x46\x65\x65\x64ServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\020FeedServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n9google/ads/googleads_v4/proto/services/feed_service.proto\x12 google.ads.googleads.v4.services\x1a\x32google/ads/googleads_v4/proto/resources/feed.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"N\n\x0eGetFeedRequest\x12<\n\rresource_name\x18\x01 \x01(\tB%\xe0\x41\x02\xfa\x41\x1f\n\x1dgoogleads.googleapis.com/Feed\"\xa8\x01\n\x12MutateFeedsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12H\n\noperations\x18\x02 \x03(\x0b\x32/.google.ads.googleads.v4.services.FeedOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd5\x01\n\rFeedOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x39\n\x06\x63reate\x18\x01 \x01(\x0b\x32\'.google.ads.googleads.v4.resources.FeedH\x00\x12\x39\n\x06update\x18\x02 \x01(\x0b\x32\'.google.ads.googleads.v4.resources.FeedH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x8d\x01\n\x13MutateFeedsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x43\n\x07results\x18\x02 \x03(\x0b\x32\x32.google.ads.googleads.v4.services.MutateFeedResult\")\n\x10MutateFeedResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9f\x03\n\x0b\x46\x65\x65\x64Service\x12\xa5\x01\n\x07GetFeed\x12\x30.google.ads.googleads.v4.services.GetFeedRequest\x1a\'.google.ads.googleads.v4.resources.Feed\"?\x82\xd3\xe4\x93\x02)\x12\'/v4/{resource_name=customers/*/feeds/*}\xda\x41\rresource_name\x12\xca\x01\n\x0bMutateFeeds\x12\x34.google.ads.googleads.v4.services.MutateFeedsRequest\x1a\x35.google.ads.googleads.v4.services.MutateFeedsResponse\"N\x82\xd3\xe4\x93\x02/\"*/v4/customers/{customer_id=*}/feeds:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf7\x01\n$com.google.ads.googleads.v4.servicesB\x10\x46\x65\x65\x64ServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETFEEDREQUEST = _descriptor.Descriptor( name='GetFeedRequest', - full_name='google.ads.googleads.v1.services.GetFeedRequest', + full_name='google.ads.googleads.v4.services.GetFeedRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetFeedRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetFeedRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A\037\n\035googleads.googleapis.com/Feed'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=268, - serialized_end=307, + serialized_start=321, + serialized_end=399, ) _MUTATEFEEDSREQUEST = _descriptor.Descriptor( name='MutateFeedsRequest', - full_name='google.ads.googleads.v1.services.MutateFeedsRequest', + full_name='google.ads.googleads.v4.services.MutateFeedsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateFeedsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateFeedsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateFeedsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateFeedsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateFeedsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateFeedsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateFeedsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateFeedsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=310, - serialized_end=468, + serialized_start=402, + serialized_end=570, ) _FEEDOPERATION = _descriptor.Descriptor( name='FeedOperation', - full_name='google.ads.googleads.v1.services.FeedOperation', + full_name='google.ads.googleads.v4.services.FeedOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.FeedOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.FeedOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.FeedOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.FeedOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.FeedOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.FeedOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.FeedOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.FeedOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.FeedOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.FeedOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=471, - serialized_end=684, + serialized_start=573, + serialized_end=786, ) _MUTATEFEEDSRESPONSE = _descriptor.Descriptor( name='MutateFeedsResponse', - full_name='google.ads.googleads.v1.services.MutateFeedsResponse', + full_name='google.ads.googleads.v4.services.MutateFeedsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateFeedsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateFeedsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateFeedsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateFeedsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=687, - serialized_end=828, + serialized_start=789, + serialized_end=930, ) _MUTATEFEEDRESULT = _descriptor.Descriptor( name='MutateFeedResult', - full_name='google.ads.googleads.v1.services.MutateFeedResult', + full_name='google.ads.googleads.v4.services.MutateFeedResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateFeedResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateFeedResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=830, - serialized_end=871, + serialized_start=932, + serialized_end=973, ) _MUTATEFEEDSREQUEST.fields_by_name['operations'].message_type = _FEEDOPERATION _FEEDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_FEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2._FEED -_FEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2._FEED +_FEEDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2._FEED +_FEEDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2._FEED _FEEDOPERATION.oneofs_by_name['operation'].fields.append( _FEEDOPERATION.fields_by_name['create']) _FEEDOPERATION.fields_by_name['create'].containing_oneof = _FEEDOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetFeedRequest = _reflection.GeneratedProtocolMessageType('GetFeedRequest', (_message.Message,), dict( DESCRIPTOR = _GETFEEDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_service_pb2' , __doc__ = """Request message for - [FeedService.GetFeed][google.ads.googleads.v1.services.FeedService.GetFeed]. + [FeedService.GetFeed][google.ads.googleads.v4.services.FeedService.GetFeed]. Attributes: resource_name: - The resource name of the feed to fetch. + Required. The resource name of the feed to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetFeedRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetFeedRequest) )) _sym_db.RegisterMessage(GetFeedRequest) MutateFeedsRequest = _reflection.GeneratedProtocolMessageType('MutateFeedsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_service_pb2' , __doc__ = """Request message for - [FeedService.MutateFeeds][google.ads.googleads.v1.services.FeedService.MutateFeeds]. + [FeedService.MutateFeeds][google.ads.googleads.v4.services.FeedService.MutateFeeds]. Attributes: customer_id: - The ID of the customer whose feeds are being modified. + Required. The ID of the customer whose feeds are being + modified. operations: - The list of operations to perform on individual feeds. + Required. The list of operations to perform on individual + feeds. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedsRequest) )) _sym_db.RegisterMessage(MutateFeedsRequest) FeedOperation = _reflection.GeneratedProtocolMessageType('FeedOperation', (_message.Message,), dict( DESCRIPTOR = _FEEDOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_service_pb2' , __doc__ = """A single operation (create, update, remove) on an feed. @@ -326,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/feeds/{feed_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.FeedOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.FeedOperation) )) _sym_db.RegisterMessage(FeedOperation) MutateFeedsResponse = _reflection.GeneratedProtocolMessageType('MutateFeedsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_service_pb2' , __doc__ = """Response message for an feed mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedsResponse) )) _sym_db.RegisterMessage(MutateFeedsResponse) MutateFeedResult = _reflection.GeneratedProtocolMessageType('MutateFeedResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEFEEDRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.feed_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.feed_service_pb2' , __doc__ = """The result for the feed mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateFeedResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateFeedResult) )) _sym_db.RegisterMessage(MutateFeedResult) DESCRIPTOR._options = None +_GETFEEDREQUEST.fields_by_name['resource_name']._options = None +_MUTATEFEEDSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEFEEDSREQUEST.fields_by_name['operations']._options = None _FEEDSERVICE = _descriptor.ServiceDescriptor( name='FeedService', - full_name='google.ads.googleads.v1.services.FeedService', + full_name='google.ads.googleads.v4.services.FeedService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=874, - serialized_end=1219, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=976, + serialized_end=1391, methods=[ _descriptor.MethodDescriptor( name='GetFeed', - full_name='google.ads.googleads.v1.services.FeedService.GetFeed', + full_name='google.ads.googleads.v4.services.FeedService.GetFeed', index=0, containing_service=None, input_type=_GETFEEDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2._FEED, - serialized_options=_b('\202\323\344\223\002)\022\'/v1/{resource_name=customers/*/feeds/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2._FEED, + serialized_options=_b('\202\323\344\223\002)\022\'/v4/{resource_name=customers/*/feeds/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateFeeds', - full_name='google.ads.googleads.v1.services.FeedService.MutateFeeds', + full_name='google.ads.googleads.v4.services.FeedService.MutateFeeds', index=1, containing_service=None, input_type=_MUTATEFEEDSREQUEST, output_type=_MUTATEFEEDSRESPONSE, - serialized_options=_b('\202\323\344\223\002/\"*/v1/customers/{customer_id=*}/feeds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002/\"*/v4/customers/{customer_id=*}/feeds:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_FEEDSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/feed_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/feed_service_pb2_grpc.py similarity index 68% rename from google/ads/google_ads/v1/proto/services/feed_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/feed_service_pb2_grpc.py index b27241d76..40a3328b3 100644 --- a/google/ads/google_ads/v1/proto/services/feed_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/feed_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2 -from google.ads.google_ads.v1.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2 +from google.ads.google_ads.v4.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2 +from google.ads.google_ads.v4.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2 class FeedServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetFeed = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedService/GetFeed', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2.Feed.FromString, + '/google.ads.googleads.v4.services.FeedService/GetFeed', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2.Feed.FromString, ) self.MutateFeeds = channel.unary_unary( - '/google.ads.googleads.v1.services.FeedService/MutateFeeds', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.FromString, + '/google.ads.googleads.v4.services.FeedService/MutateFeeds', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_FeedServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetFeed': grpc.unary_unary_rpc_method_handler( servicer.GetFeed, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2.Feed.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.GetFeedRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2.Feed.SerializeToString, ), 'MutateFeeds': grpc.unary_unary_rpc_method_handler( servicer.MutateFeeds, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.MutateFeedsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.FeedService', rpc_method_handlers) + 'google.ads.googleads.v4.services.FeedService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/gender_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/gender_view_service_pb2.py new file mode 100644 index 000000000..0f67fa5ad --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/gender_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/gender_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/gender_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\026GenderViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n@google/ads/googleads_v4/proto/services/gender_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x39google/ads/googleads_v4/proto/resources/gender_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"Z\n\x14GetGenderViewRequest\x12\x42\n\rresource_name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#googleads.googleapis.com/GenderView2\xf0\x01\n\x11GenderViewService\x12\xbd\x01\n\rGetGenderView\x12\x36.google.ads.googleads.v4.services.GetGenderViewRequest\x1a-.google.ads.googleads.v4.resources.GenderView\"E\x82\xd3\xe4\x93\x02/\x12-/v4/{resource_name=customers/*/genderViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfd\x01\n$com.google.ads.googleads.v4.servicesB\x16GenderViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETGENDERVIEWREQUEST = _descriptor.Descriptor( + name='GetGenderViewRequest', + full_name='google.ads.googleads.v4.services.GetGenderViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetGenderViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A%\n#googleads.googleapis.com/GenderView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=276, + serialized_end=366, +) + +DESCRIPTOR.message_types_by_name['GetGenderViewRequest'] = _GETGENDERVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetGenderViewRequest = _reflection.GeneratedProtocolMessageType('GetGenderViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETGENDERVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.gender_view_service_pb2' + , + __doc__ = """Request message for + [GenderViewService.GetGenderView][google.ads.googleads.v4.services.GenderViewService.GetGenderView]. + + + Attributes: + resource_name: + Required. The resource name of the gender view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetGenderViewRequest) + )) +_sym_db.RegisterMessage(GetGenderViewRequest) + + +DESCRIPTOR._options = None +_GETGENDERVIEWREQUEST.fields_by_name['resource_name']._options = None + +_GENDERVIEWSERVICE = _descriptor.ServiceDescriptor( + name='GenderViewService', + full_name='google.ads.googleads.v4.services.GenderViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=369, + serialized_end=609, + methods=[ + _descriptor.MethodDescriptor( + name='GetGenderView', + full_name='google.ads.googleads.v4.services.GenderViewService.GetGenderView', + index=0, + containing_service=None, + input_type=_GETGENDERVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW, + serialized_options=_b('\202\323\344\223\002/\022-/v4/{resource_name=customers/*/genderViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_GENDERVIEWSERVICE) + +DESCRIPTOR.services_by_name['GenderViewService'] = _GENDERVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/gender_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/gender_view_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/gender_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/gender_view_service_pb2_grpc.py index b07d1810e..fecba3fec 100644 --- a/google/ads/google_ads/v1/proto/services/gender_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/gender_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2 -from google.ads.google_ads.v1.proto.services import gender_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_gender__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2 +from google.ads.google_ads.v4.proto.services import gender_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_gender__view__service__pb2 class GenderViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetGenderView = channel.unary_unary( - '/google.ads.googleads.v1.services.GenderViewService/GetGenderView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.FromString, + '/google.ads.googleads.v4.services.GenderViewService/GetGenderView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.FromString, ) @@ -42,10 +42,10 @@ def add_GenderViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetGenderView': grpc.unary_unary_rpc_method_handler( servicer.GetGenderView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_gender__view__service__pb2.GetGenderViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2.GenderView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GenderViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GenderViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2.py similarity index 68% rename from google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2.py rename to google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2.py index 34fd867b2..35b3a0645 100644 --- a/google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/geo_target_constant_service.proto +# source: google/ads/googleads_v4/proto/services/geo_target_constant_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,37 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2 +from google.ads.google_ads.v4.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/geo_target_constant_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/geo_target_constant_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035GeoTargetConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nHgoogle/ads/googleads_v1/proto/services/geo_target_constant_service.proto\x12 google.ads.googleads.v1.services\x1a\x41google/ads/googleads_v1/proto/resources/geo_target_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\"4\n\x1bGetGeoTargetConstantRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xe7\x03\n SuggestGeoTargetConstantsRequest\x12,\n\x06locale\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12j\n\x0elocation_names\x18\x01 \x01(\x0b\x32P.google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNamesH\x00\x12\x64\n\x0bgeo_targets\x18\x02 \x01(\x0b\x32M.google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargetsH\x00\x1a<\n\rLocationNames\x12+\n\x05names\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1aH\n\nGeoTargets\x12:\n\x14geo_target_constants\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x07\n\x05query\"\x8b\x01\n!SuggestGeoTargetConstantsResponse\x12\x66\n\x1fgeo_target_constant_suggestions\x18\x01 \x03(\x0b\x32=.google.ads.googleads.v1.services.GeoTargetConstantSuggestion\"\xd8\x02\n\x1bGeoTargetConstantSuggestion\x12,\n\x06locale\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x05reach\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0bsearch_term\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Q\n\x13geo_target_constant\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.GeoTargetConstant\x12Y\n\x1bgeo_target_constant_parents\x18\x05 \x03(\x0b\x32\x34.google.ads.googleads.v1.resources.GeoTargetConstant2\xac\x03\n\x18GeoTargetConstantService\x12\xbd\x01\n\x14GetGeoTargetConstant\x12=.google.ads.googleads.v1.services.GetGeoTargetConstantRequest\x1a\x34.google.ads.googleads.v1.resources.GeoTargetConstant\"0\x82\xd3\xe4\x93\x02*\x12(/v1/{resource_name=geoTargetConstants/*}\x12\xcf\x01\n\x19SuggestGeoTargetConstants\x12\x42.google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest\x1a\x43.google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/geoTargetConstants:suggest:\x01*B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1dGeoTargetConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\035GeoTargetConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nHgoogle/ads/googleads_v4/proto/services/geo_target_constant_service.proto\x12 google.ads.googleads.v4.services\x1a\x41google/ads/googleads_v4/proto/resources/geo_target_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/wrappers.proto\"h\n\x1bGetGeoTargetConstantRequest\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*googleads.googleapis.com/GeoTargetConstant\"\xe7\x03\n SuggestGeoTargetConstantsRequest\x12,\n\x06locale\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\x0c\x63ountry_code\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12j\n\x0elocation_names\x18\x01 \x01(\x0b\x32P.google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.LocationNamesH\x00\x12\x64\n\x0bgeo_targets\x18\x02 \x01(\x0b\x32M.google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.GeoTargetsH\x00\x1a<\n\rLocationNames\x12+\n\x05names\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x1aH\n\nGeoTargets\x12:\n\x14geo_target_constants\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValueB\x07\n\x05query\"\x8b\x01\n!SuggestGeoTargetConstantsResponse\x12\x66\n\x1fgeo_target_constant_suggestions\x18\x01 \x03(\x0b\x32=.google.ads.googleads.v4.services.GeoTargetConstantSuggestion\"\xd8\x02\n\x1bGeoTargetConstantSuggestion\x12,\n\x06locale\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12*\n\x05reach\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x31\n\x0bsearch_term\x18\x03 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Q\n\x13geo_target_constant\x18\x04 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.GeoTargetConstant\x12Y\n\x1bgeo_target_constant_parents\x18\x05 \x03(\x0b\x32\x34.google.ads.googleads.v4.resources.GeoTargetConstant2\xd9\x03\n\x18GeoTargetConstantService\x12\xcd\x01\n\x14GetGeoTargetConstant\x12=.google.ads.googleads.v4.services.GetGeoTargetConstantRequest\x1a\x34.google.ads.googleads.v4.resources.GeoTargetConstant\"@\x82\xd3\xe4\x93\x02*\x12(/v4/{resource_name=geoTargetConstants/*}\xda\x41\rresource_name\x12\xcf\x01\n\x19SuggestGeoTargetConstants\x12\x42.google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest\x1a\x43.google.ads.googleads.v4.services.SuggestGeoTargetConstantsResponse\")\x82\xd3\xe4\x93\x02#\"\x1e/v4/geoTargetConstants:suggest:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v4.servicesB\x1dGeoTargetConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) _GETGEOTARGETCONSTANTREQUEST = _descriptor.Descriptor( name='GetGeoTargetConstantRequest', - full_name='google.ads.googleads.v1.services.GetGeoTargetConstantRequest', + full_name='google.ads.googleads.v4.services.GetGeoTargetConstantRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetGeoTargetConstantRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetGeoTargetConstantRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A,\n*googleads.googleapis.com/GeoTargetConstant'), file=DESCRIPTOR), ], extensions=[ ], @@ -56,20 +59,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=239, - serialized_end=291, + serialized_start=324, + serialized_end=428, ) _SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES = _descriptor.Descriptor( name='LocationNames', - full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames', + full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.LocationNames', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='names', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames.names', index=0, + name='names', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.LocationNames.names', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -87,19 +90,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=638, - serialized_end=698, + serialized_start=775, + serialized_end=835, ) _SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS = _descriptor.Descriptor( name='GeoTargets', - full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets', + full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.GeoTargets', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='geo_target_constants', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets.geo_target_constants', index=0, + name='geo_target_constants', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.GeoTargets.geo_target_constants', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -117,40 +120,40 @@ extension_ranges=[], oneofs=[ ], - serialized_start=700, - serialized_end=772, + serialized_start=837, + serialized_end=909, ) _SUGGESTGEOTARGETCONSTANTSREQUEST = _descriptor.Descriptor( name='SuggestGeoTargetConstantsRequest', - full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest', + full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='locale', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.locale', index=0, + name='locale', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.locale', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='country_code', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.country_code', index=1, + name='country_code', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.country_code', index=1, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_names', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.location_names', index=2, + name='location_names', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.location_names', index=2, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_targets', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.geo_targets', index=3, + name='geo_targets', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.geo_targets', index=3, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -168,23 +171,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='query', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.query', + name='query', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.query', index=0, containing_type=None, fields=[]), ], - serialized_start=294, - serialized_end=781, + serialized_start=431, + serialized_end=918, ) _SUGGESTGEOTARGETCONSTANTSRESPONSE = _descriptor.Descriptor( name='SuggestGeoTargetConstantsResponse', - full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse', + full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='geo_target_constant_suggestions', full_name='google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse.geo_target_constant_suggestions', index=0, + name='geo_target_constant_suggestions', full_name='google.ads.googleads.v4.services.SuggestGeoTargetConstantsResponse.geo_target_constant_suggestions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -202,48 +205,48 @@ extension_ranges=[], oneofs=[ ], - serialized_start=784, - serialized_end=923, + serialized_start=921, + serialized_end=1060, ) _GEOTARGETCONSTANTSUGGESTION = _descriptor.Descriptor( name='GeoTargetConstantSuggestion', - full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion', + full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='locale', full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion.locale', index=0, + name='locale', full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion.locale', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='reach', full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion.reach', index=1, + name='reach', full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion.reach', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_term', full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion.search_term', index=2, + name='search_term', full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion.search_term', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion.geo_target_constant', index=3, + name='geo_target_constant', full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion.geo_target_constant', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constant_parents', full_name='google.ads.googleads.v1.services.GeoTargetConstantSuggestion.geo_target_constant_parents', index=4, + name='geo_target_constant_parents', full_name='google.ads.googleads.v4.services.GeoTargetConstantSuggestion.geo_target_constant_parents', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -261,8 +264,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=926, - serialized_end=1270, + serialized_start=1063, + serialized_end=1407, ) _SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES.fields_by_name['names'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE @@ -283,8 +286,8 @@ _GEOTARGETCONSTANTSUGGESTION.fields_by_name['locale'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _GEOTARGETCONSTANTSUGGESTION.fields_by_name['reach'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _GEOTARGETCONSTANTSUGGESTION.fields_by_name['search_term'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GEOTARGETCONSTANTSUGGESTION.fields_by_name['geo_target_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT -_GEOTARGETCONSTANTSUGGESTION.fields_by_name['geo_target_constant_parents'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT +_GEOTARGETCONSTANTSUGGESTION.fields_by_name['geo_target_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT +_GEOTARGETCONSTANTSUGGESTION.fields_by_name['geo_target_constant_parents'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT DESCRIPTOR.message_types_by_name['GetGeoTargetConstantRequest'] = _GETGEOTARGETCONSTANTREQUEST DESCRIPTOR.message_types_by_name['SuggestGeoTargetConstantsRequest'] = _SUGGESTGEOTARGETCONSTANTSREQUEST DESCRIPTOR.message_types_by_name['SuggestGeoTargetConstantsResponse'] = _SUGGESTGEOTARGETCONSTANTSRESPONSE @@ -293,17 +296,18 @@ GetGeoTargetConstantRequest = _reflection.GeneratedProtocolMessageType('GetGeoTargetConstantRequest', (_message.Message,), dict( DESCRIPTOR = _GETGEOTARGETCONSTANTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """Request message for - [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v1.services.GeoTargetConstantService.GetGeoTargetConstant]. + [GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v4.services.GeoTargetConstantService.GetGeoTargetConstant]. Attributes: resource_name: - The resource name of the geo target constant to fetch. + Required. The resource name of the geo target constant to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetGeoTargetConstantRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetGeoTargetConstantRequest) )) _sym_db.RegisterMessage(GetGeoTargetConstantRequest) @@ -311,7 +315,7 @@ LocationNames = _reflection.GeneratedProtocolMessageType('LocationNames', (_message.Message,), dict( DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST_LOCATIONNAMES, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """A list of location names. @@ -320,13 +324,13 @@ names: A list of location names. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.LocationNames) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.LocationNames) )) , GeoTargets = _reflection.GeneratedProtocolMessageType('GeoTargets', (_message.Message,), dict( DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST_GEOTARGETS, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """A list of geo target constant resource names. @@ -335,11 +339,11 @@ geo_target_constants: A list of geo target constant resource names. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest.GeoTargets) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest.GeoTargets) )) , DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """Request message for [GeoTargetConstantService.SuggestGeoTargetConstantsRequest][]. @@ -359,7 +363,7 @@ geo_targets: The geo target constant resource names to filter by. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SuggestGeoTargetConstantsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SuggestGeoTargetConstantsRequest) )) _sym_db.RegisterMessage(SuggestGeoTargetConstantsRequest) _sym_db.RegisterMessage(SuggestGeoTargetConstantsRequest.LocationNames) @@ -367,23 +371,23 @@ SuggestGeoTargetConstantsResponse = _reflection.GeneratedProtocolMessageType('SuggestGeoTargetConstantsResponse', (_message.Message,), dict( DESCRIPTOR = _SUGGESTGEOTARGETCONSTANTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """Response message for - [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v1.services.GeoTargetConstantService.SuggestGeoTargetConstants] + [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v4.services.GeoTargetConstantService.SuggestGeoTargetConstants] Attributes: geo_target_constant_suggestions: Geo target constant suggestions. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SuggestGeoTargetConstantsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SuggestGeoTargetConstantsResponse) )) _sym_db.RegisterMessage(SuggestGeoTargetConstantsResponse) GeoTargetConstantSuggestion = _reflection.GeneratedProtocolMessageType('GeoTargetConstantSuggestion', (_message.Message,), dict( DESCRIPTOR = _GEOTARGETCONSTANTSUGGESTION, - __module__ = 'google.ads.googleads_v1.proto.services.geo_target_constant_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.geo_target_constant_service_pb2' , __doc__ = """A geo target constant suggestion. @@ -406,39 +410,40 @@ geo_target_constant_parents: The list of parents of the geo target constant. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GeoTargetConstantSuggestion) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GeoTargetConstantSuggestion) )) _sym_db.RegisterMessage(GeoTargetConstantSuggestion) DESCRIPTOR._options = None +_GETGEOTARGETCONSTANTREQUEST.fields_by_name['resource_name']._options = None _GEOTARGETCONSTANTSERVICE = _descriptor.ServiceDescriptor( name='GeoTargetConstantService', - full_name='google.ads.googleads.v1.services.GeoTargetConstantService', + full_name='google.ads.googleads.v4.services.GeoTargetConstantService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1273, - serialized_end=1701, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1410, + serialized_end=1883, methods=[ _descriptor.MethodDescriptor( name='GetGeoTargetConstant', - full_name='google.ads.googleads.v1.services.GeoTargetConstantService.GetGeoTargetConstant', + full_name='google.ads.googleads.v4.services.GeoTargetConstantService.GetGeoTargetConstant', index=0, containing_service=None, input_type=_GETGEOTARGETCONSTANTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT, - serialized_options=_b('\202\323\344\223\002*\022(/v1/{resource_name=geoTargetConstants/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT, + serialized_options=_b('\202\323\344\223\002*\022(/v4/{resource_name=geoTargetConstants/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='SuggestGeoTargetConstants', - full_name='google.ads.googleads.v1.services.GeoTargetConstantService.SuggestGeoTargetConstants', + full_name='google.ads.googleads.v4.services.GeoTargetConstantService.SuggestGeoTargetConstants', index=1, containing_service=None, input_type=_SUGGESTGEOTARGETCONSTANTSREQUEST, output_type=_SUGGESTGEOTARGETCONSTANTSRESPONSE, - serialized_options=_b('\202\323\344\223\002#\"\036/v1/geoTargetConstants:suggest:\001*'), + serialized_options=_b('\202\323\344\223\002#\"\036/v4/geoTargetConstants:suggest:\001*'), ), ]) _sym_db.RegisterServiceDescriptor(_GEOTARGETCONSTANTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2_grpc.py index d2ea163c7..be4af3af9 100644 --- a/google/ads/google_ads/v1/proto/services/geo_target_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/geo_target_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2 -from google.ads.google_ads.v1.proto.services import geo_target_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2 +from google.ads.google_ads.v4.proto.services import geo_target_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2 class GeoTargetConstantServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetGeoTargetConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.GeoTargetConstantService/GetGeoTargetConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2.GeoTargetConstant.FromString, + '/google.ads.googleads.v4.services.GeoTargetConstantService/GetGeoTargetConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2.GeoTargetConstant.FromString, ) self.SuggestGeoTargetConstants = channel.unary_unary( - '/google.ads.googleads.v1.services.GeoTargetConstantService/SuggestGeoTargetConstants', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.FromString, + '/google.ads.googleads.v4.services.GeoTargetConstantService/SuggestGeoTargetConstants', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_GeoTargetConstantServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetGeoTargetConstant': grpc.unary_unary_rpc_method_handler( servicer.GetGeoTargetConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2.GeoTargetConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.GetGeoTargetConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2.GeoTargetConstant.SerializeToString, ), 'SuggestGeoTargetConstants': grpc.unary_unary_rpc_method_handler( servicer.SuggestGeoTargetConstants, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geo__target__constant__service__pb2.SuggestGeoTargetConstantsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GeoTargetConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GeoTargetConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/geographic_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/geographic_view_service_pb2.py new file mode 100644 index 000000000..a361a7cf0 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/geographic_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/geographic_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/geographic_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032GeographicViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nDgoogle/ads/googleads_v4/proto/services/geographic_view_service.proto\x12 google.ads.googleads.v4.services\x1a=google/ads/googleads_v4/proto/resources/geographic_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetGeographicViewRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/GeographicView2\x84\x02\n\x15GeographicViewService\x12\xcd\x01\n\x11GetGeographicView\x12:.google.ads.googleads.v4.services.GetGeographicViewRequest\x1a\x31.google.ads.googleads.v4.resources.GeographicView\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/geographicViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1aGeographicViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETGEOGRAPHICVIEWREQUEST = _descriptor.Descriptor( + name='GetGeographicViewRequest', + full_name='google.ads.googleads.v4.services.GetGeographicViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetGeographicViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/GeographicView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=284, + serialized_end=382, +) + +DESCRIPTOR.message_types_by_name['GetGeographicViewRequest'] = _GETGEOGRAPHICVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetGeographicViewRequest = _reflection.GeneratedProtocolMessageType('GetGeographicViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETGEOGRAPHICVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.geographic_view_service_pb2' + , + __doc__ = """Request message for + [GeographicViewService.GetGeographicView][google.ads.googleads.v4.services.GeographicViewService.GetGeographicView]. + + + Attributes: + resource_name: + Required. The resource name of the geographic view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetGeographicViewRequest) + )) +_sym_db.RegisterMessage(GetGeographicViewRequest) + + +DESCRIPTOR._options = None +_GETGEOGRAPHICVIEWREQUEST.fields_by_name['resource_name']._options = None + +_GEOGRAPHICVIEWSERVICE = _descriptor.ServiceDescriptor( + name='GeographicViewService', + full_name='google.ads.googleads.v4.services.GeographicViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=385, + serialized_end=645, + methods=[ + _descriptor.MethodDescriptor( + name='GetGeographicView', + full_name='google.ads.googleads.v4.services.GeographicViewService.GetGeographicView', + index=0, + containing_service=None, + input_type=_GETGEOGRAPHICVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/geographicViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_GEOGRAPHICVIEWSERVICE) + +DESCRIPTOR.services_by_name['GeographicViewService'] = _GEOGRAPHICVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/geographic_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/geographic_view_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/geographic_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/geographic_view_service_pb2_grpc.py index a621f19a4..c00fa994c 100644 --- a/google/ads/google_ads/v1/proto/services/geographic_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/geographic_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2 -from google.ads.google_ads.v1.proto.services import geographic_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geographic__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2 +from google.ads.google_ads.v4.proto.services import geographic_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geographic__view__service__pb2 class GeographicViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetGeographicView = channel.unary_unary( - '/google.ads.googleads.v1.services.GeographicViewService/GetGeographicView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.FromString, + '/google.ads.googleads.v4.services.GeographicViewService/GetGeographicView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.FromString, ) @@ -42,10 +42,10 @@ def add_GeographicViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetGeographicView': grpc.unary_unary_rpc_method_handler( servicer.GetGeographicView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_geographic__view__service__pb2.GetGeographicViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2.GeographicView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GeographicViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GeographicViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2.py b/google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2.py similarity index 59% rename from google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2.py rename to google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2.py index 256aa66d2..0946d0f7f 100644 --- a/google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/google_ads_field_service.proto +# source: google/ads/googleads_v4/proto/services/google_ads_field_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,36 +13,39 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2 +from google.ads.google_ads.v4.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/google_ads_field_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/google_ads_field_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032GoogleAdsFieldServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/google_ads_field_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/google_ads_field.proto\x1a\x1cgoogle/api/annotations.proto\"1\n\x18GetGoogleAdsFieldRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"T\n\x1cSearchGoogleAdsFieldsRequest\x12\r\n\x05query\x18\x01 \x01(\t\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x99\x01\n\x1dSearchGoogleAdsFieldsResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v1.resources.GoogleAdsField\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1b\n\x13total_results_count\x18\x03 \x01(\x03\x32\x8d\x03\n\x15GoogleAdsFieldService\x12\xb1\x01\n\x11GetGoogleAdsField\x12:.google.ads.googleads.v1.services.GetGoogleAdsFieldRequest\x1a\x31.google.ads.googleads.v1.resources.GoogleAdsField\"-\x82\xd3\xe4\x93\x02\'\x12%/v1/{resource_name=googleAdsFields/*}\x12\xbf\x01\n\x15SearchGoogleAdsFields\x12>.google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest\x1a?.google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v1/googleAdsFields:search:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1aGoogleAdsFieldServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032GoogleAdsFieldServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/google_ads_field_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/google_ads_field.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetGoogleAdsFieldRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/GoogleAdsField\"Y\n\x1cSearchGoogleAdsFieldsRequest\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\"\x99\x01\n\x1dSearchGoogleAdsFieldsResponse\x12\x42\n\x07results\x18\x01 \x03(\x0b\x32\x31.google.ads.googleads.v4.resources.GoogleAdsField\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1b\n\x13total_results_count\x18\x03 \x01(\x03\x32\xc2\x03\n\x15GoogleAdsFieldService\x12\xc1\x01\n\x11GetGoogleAdsField\x12:.google.ads.googleads.v4.services.GetGoogleAdsFieldRequest\x1a\x31.google.ads.googleads.v4.resources.GoogleAdsField\"=\x82\xd3\xe4\x93\x02\'\x12%/v4/{resource_name=googleAdsFields/*}\xda\x41\rresource_name\x12\xc7\x01\n\x15SearchGoogleAdsFields\x12>.google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest\x1a?.google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse\"-\x82\xd3\xe4\x93\x02\x1f\"\x1a/v4/googleAdsFields:search:\x01*\xda\x41\x05query\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1aGoogleAdsFieldServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) _GETGOOGLEADSFIELDREQUEST = _descriptor.Descriptor( name='GetGoogleAdsFieldRequest', - full_name='google.ads.googleads.v1.services.GetGoogleAdsFieldRequest', + full_name='google.ads.googleads.v4.services.GetGoogleAdsFieldRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetGoogleAdsFieldRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetGoogleAdsFieldRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/GoogleAdsField'), file=DESCRIPTOR), ], extensions=[ ], @@ -55,34 +58,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=201, - serialized_end=250, + serialized_start=286, + serialized_end=384, ) _SEARCHGOOGLEADSFIELDSREQUEST = _descriptor.Descriptor( name='SearchGoogleAdsFieldsRequest', - full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='query', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest.query', index=0, + name='query', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest.query', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest.page_token', index=1, + name='page_token', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest.page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_size', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest.page_size', index=2, + name='page_size', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest.page_size', index=2, number=3, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -100,34 +103,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=252, - serialized_end=336, + serialized_start=386, + serialized_end=475, ) _SEARCHGOOGLEADSFIELDSRESPONSE = _descriptor.Descriptor( name='SearchGoogleAdsFieldsResponse', - full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse.results', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='next_page_token', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse.next_page_token', index=1, + name='next_page_token', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='total_results_count', full_name='google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse.total_results_count', index=2, + name='total_results_count', full_name='google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse.total_results_count', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, @@ -145,11 +148,11 @@ extension_ranges=[], oneofs=[ ], - serialized_start=339, - serialized_end=492, + serialized_start=478, + serialized_end=631, ) -_SEARCHGOOGLEADSFIELDSRESPONSE.fields_by_name['results'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2._GOOGLEADSFIELD +_SEARCHGOOGLEADSFIELDSRESPONSE.fields_by_name['results'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2._GOOGLEADSFIELD DESCRIPTOR.message_types_by_name['GetGoogleAdsFieldRequest'] = _GETGOOGLEADSFIELDREQUEST DESCRIPTOR.message_types_by_name['SearchGoogleAdsFieldsRequest'] = _SEARCHGOOGLEADSFIELDSREQUEST DESCRIPTOR.message_types_by_name['SearchGoogleAdsFieldsResponse'] = _SEARCHGOOGLEADSFIELDSRESPONSE @@ -157,31 +160,31 @@ GetGoogleAdsFieldRequest = _reflection.GeneratedProtocolMessageType('GetGoogleAdsFieldRequest', (_message.Message,), dict( DESCRIPTOR = _GETGOOGLEADSFIELDREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_field_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_field_service_pb2' , __doc__ = """Request message for - [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v1.services.GoogleAdsFieldService.GetGoogleAdsField]. + [GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v4.services.GoogleAdsFieldService.GetGoogleAdsField]. Attributes: resource_name: - The resource name of the field to get. + Required. The resource name of the field to get. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetGoogleAdsFieldRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetGoogleAdsFieldRequest) )) _sym_db.RegisterMessage(GetGoogleAdsFieldRequest) SearchGoogleAdsFieldsRequest = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsFieldsRequest', (_message.Message,), dict( DESCRIPTOR = _SEARCHGOOGLEADSFIELDSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_field_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_field_service_pb2' , __doc__ = """Request message for - [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v1.services.GoogleAdsFieldService.SearchGoogleAdsFields]. + [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v4.services.GoogleAdsFieldService.SearchGoogleAdsFields]. Attributes: query: - The query string. + Required. The query string. page_token: Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from @@ -192,16 +195,16 @@ large a page is requested, the server may decide to further limit the number of returned resources. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SearchGoogleAdsFieldsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsFieldsRequest) )) _sym_db.RegisterMessage(SearchGoogleAdsFieldsRequest) SearchGoogleAdsFieldsResponse = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsFieldsResponse', (_message.Message,), dict( DESCRIPTOR = _SEARCHGOOGLEADSFIELDSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_field_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_field_service_pb2' , __doc__ = """Response message for - [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v1.services.GoogleAdsFieldService.SearchGoogleAdsFields]. + [GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v4.services.GoogleAdsFieldService.SearchGoogleAdsFields]. Attributes: @@ -216,39 +219,41 @@ Total number of results that match the query ignoring the LIMIT clause. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SearchGoogleAdsFieldsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsFieldsResponse) )) _sym_db.RegisterMessage(SearchGoogleAdsFieldsResponse) DESCRIPTOR._options = None +_GETGOOGLEADSFIELDREQUEST.fields_by_name['resource_name']._options = None +_SEARCHGOOGLEADSFIELDSREQUEST.fields_by_name['query']._options = None _GOOGLEADSFIELDSERVICE = _descriptor.ServiceDescriptor( name='GoogleAdsFieldService', - full_name='google.ads.googleads.v1.services.GoogleAdsFieldService', + full_name='google.ads.googleads.v4.services.GoogleAdsFieldService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=495, - serialized_end=892, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=634, + serialized_end=1084, methods=[ _descriptor.MethodDescriptor( name='GetGoogleAdsField', - full_name='google.ads.googleads.v1.services.GoogleAdsFieldService.GetGoogleAdsField', + full_name='google.ads.googleads.v4.services.GoogleAdsFieldService.GetGoogleAdsField', index=0, containing_service=None, input_type=_GETGOOGLEADSFIELDREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2._GOOGLEADSFIELD, - serialized_options=_b('\202\323\344\223\002\'\022%/v1/{resource_name=googleAdsFields/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2._GOOGLEADSFIELD, + serialized_options=_b('\202\323\344\223\002\'\022%/v4/{resource_name=googleAdsFields/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='SearchGoogleAdsFields', - full_name='google.ads.googleads.v1.services.GoogleAdsFieldService.SearchGoogleAdsFields', + full_name='google.ads.googleads.v4.services.GoogleAdsFieldService.SearchGoogleAdsFields', index=1, containing_service=None, input_type=_SEARCHGOOGLEADSFIELDSREQUEST, output_type=_SEARCHGOOGLEADSFIELDSRESPONSE, - serialized_options=_b('\202\323\344\223\002\037\"\032/v1/googleAdsFields:search:\001*'), + serialized_options=_b('\202\323\344\223\002\037\"\032/v4/googleAdsFields:search:\001*\332A\005query'), ), ]) _sym_db.RegisterServiceDescriptor(_GOOGLEADSFIELDSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2_grpc.py index f52c74062..e1ecd9cb7 100644 --- a/google/ads/google_ads/v1/proto/services/google_ads_field_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/google_ads_field_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2 -from google.ads.google_ads.v1.proto.services import google_ads_field_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2 +from google.ads.google_ads.v4.proto.resources import google_ads_field_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2 +from google.ads.google_ads.v4.proto.services import google_ads_field_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2 class GoogleAdsFieldServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetGoogleAdsField = channel.unary_unary( - '/google.ads.googleads.v1.services.GoogleAdsFieldService/GetGoogleAdsField', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2.GoogleAdsField.FromString, + '/google.ads.googleads.v4.services.GoogleAdsFieldService/GetGoogleAdsField', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2.GoogleAdsField.FromString, ) self.SearchGoogleAdsFields = channel.unary_unary( - '/google.ads.googleads.v1.services.GoogleAdsFieldService/SearchGoogleAdsFields', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.FromString, + '/google.ads.googleads.v4.services.GoogleAdsFieldService/SearchGoogleAdsFields', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_GoogleAdsFieldServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetGoogleAdsField': grpc.unary_unary_rpc_method_handler( servicer.GetGoogleAdsField, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_google__ads__field__pb2.GoogleAdsField.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.GetGoogleAdsFieldRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_google__ads__field__pb2.GoogleAdsField.SerializeToString, ), 'SearchGoogleAdsFields': grpc.unary_unary_rpc_method_handler( servicer.SearchGoogleAdsFields, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__field__service__pb2.SearchGoogleAdsFieldsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GoogleAdsFieldService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GoogleAdsFieldService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/google_ads_service_pb2.py b/google/ads/google_ads/v4/proto/services/google_ads_service_pb2.py similarity index 51% rename from google/ads/google_ads/v1/proto/services/google_ads_service_pb2.py rename to google/ads/google_ads/v4/proto/services/google_ads_service_pb2.py index c2398d672..05094bd8c 100644 --- a/google/ads/google_ads/v1/proto/services/google_ads_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/google_ads_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/google_ads_service.proto +# source: google/ads/googleads_v4/proto/services/google_ads_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,199 +13,230 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import metrics_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_metrics__pb2 -from google.ads.google_ads.v1.proto.common import segments_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_segments__pb2 -from google.ads.google_ads.v1.proto.resources import account_budget_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__pb2 -from google.ads.google_ads.v1.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__label__pb2 -from google.ads.google_ads.v1.proto.resources import ad_group_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2 -from google.ads.google_ads.v1.proto.resources import ad_parameter_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__parameter__pb2 -from google.ads.google_ads.v1.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2 -from google.ads.google_ads.v1.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_age__range__view__pb2 -from google.ads.google_ads.v1.proto.resources import asset_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_asset__pb2 -from google.ads.google_ads.v1.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2 -from google.ads.google_ads.v1.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2 -from google.ads.google_ads.v1.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2 -from google.ads.google_ads.v1.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2 -from google.ads.google_ads.v1.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2 -from google.ads.google_ads.v1.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2 -from google.ads.google_ads.v1.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2 -from google.ads.google_ads.v1.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2 -from google.ads.google_ads.v1.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2 -from google.ads.google_ads.v1.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2 -from google.ads.google_ads.v1.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2 -from google.ads.google_ads.v1.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2 -from google.ads.google_ads.v1.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2 -from google.ads.google_ads.v1.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2 -from google.ads.google_ads.v1.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2 -from google.ads.google_ads.v1.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 -from google.ads.google_ads.v1.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2 -from google.ads.google_ads.v1.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2 -from google.ads.google_ads.v1.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2 -from google.ads.google_ads.v1.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 -from google.ads.google_ads.v1.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 -from google.ads.google_ads.v1.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2 -from google.ads.google_ads.v1.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2 -from google.ads.google_ads.v1.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2 -from google.ads.google_ads.v1.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2 -from google.ads.google_ads.v1.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2 -from google.ads.google_ads.v1.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 -from google.ads.google_ads.v1.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2 -from google.ads.google_ads.v1.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2 -from google.ads.google_ads.v1.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2 -from google.ads.google_ads.v1.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2 -from google.ads.google_ads.v1.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2 -from google.ads.google_ads.v1.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_negative_keyword_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2 -from google.ads.google_ads.v1.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2 -from google.ads.google_ads.v1.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2 -from google.ads.google_ads.v1.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2 -from google.ads.google_ads.v1.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2 -from google.ads.google_ads.v1.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2 -from google.ads.google_ads.v1.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2 -from google.ads.google_ads.v1.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 -from google.ads.google_ads.v1.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2 -from google.ads.google_ads.v1.proto.resources import mutate_job_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2 -from google.ads.google_ads.v1.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 -from google.ads.google_ads.v1.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2 -from google.ads.google_ads.v1.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2 -from google.ads.google_ads.v1.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 -from google.ads.google_ads.v1.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2 -from google.ads.google_ads.v1.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2 -from google.ads.google_ads.v1.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2 -from google.ads.google_ads.v1.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2 -from google.ads.google_ads.v1.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2 -from google.ads.google_ads.v1.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2 -from google.ads.google_ads.v1.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2 -from google.ads.google_ads.v1.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__constant__pb2 -from google.ads.google_ads.v1.proto.resources import topic_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__view__pb2 -from google.ads.google_ads.v1.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2 -from google.ads.google_ads.v1.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2 -from google.ads.google_ads.v1.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__label__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_group_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__service__pb2 -from google.ads.google_ads.v1.proto.services import ad_parameter_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__parameter__service__pb2 -from google.ads.google_ads.v1.proto.services import asset_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_asset__service__pb2 -from google.ads.google_ads.v1.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2 -from google.ads.google_ads.v1.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 -from google.ads.google_ads.v1.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2 -from google.ads.google_ads.v1.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 -from google.ads.google_ads.v1.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2 -from google.ads.google_ads.v1.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2 -from google.ads.google_ads.v1.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 -from google.ads.google_ads.v1.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2 -from google.ads.google_ads.v1.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2 -from google.ads.google_ads.v1.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2 -from google.ads.google_ads.v1.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2 -from google.ads.google_ads.v1.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2 -from google.ads.google_ads.v1.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2 -from google.ads.google_ads.v1.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2 -from google.ads.google_ads.v1.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2 -from google.ads.google_ads.v1.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2 -from google.ads.google_ads.v1.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2 -from google.ads.google_ads.v1.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2 -from google.ads.google_ads.v1.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2 +from google.ads.google_ads.v4.proto.common import metrics_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_metrics__pb2 +from google.ads.google_ads.v4.proto.common import segments_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_segments__pb2 +from google.ads.google_ads.v4.proto.enums import summary_row_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_summary__row__setting__pb2 +from google.ads.google_ads.v4.proto.resources import account_budget_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__pb2 +from google.ads.google_ads.v4.proto.resources import account_budget_proposal_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2 +from google.ads.google_ads.v4.proto.resources import account_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__link__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_asset_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_ad_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__label__pb2 +from google.ads.google_ads.v4.proto.resources import ad_group_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__simulation__pb2 +from google.ads.google_ads.v4.proto.resources import ad_parameter_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__parameter__pb2 +from google.ads.google_ads.v4.proto.resources import ad_schedule_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2 +from google.ads.google_ads.v4.proto.resources import age_range_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_age__range__view__pb2 +from google.ads.google_ads.v4.proto.resources import asset_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_asset__pb2 +from google.ads.google_ads.v4.proto.resources import batch_job_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2 +from google.ads.google_ads.v4.proto.resources import bidding_strategy_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2 +from google.ads.google_ads.v4.proto.resources import billing_setup_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_audience_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_bid_modifier_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_budget_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_criterion_simulation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_draft_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_experiment_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2 +from google.ads.google_ads.v4.proto.resources import campaign_shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2 +from google.ads.google_ads.v4.proto.resources import carrier_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2 +from google.ads.google_ads.v4.proto.resources import change_status_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2 +from google.ads.google_ads.v4.proto.resources import click_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2 +from google.ads.google_ads.v4.proto.resources import conversion_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2 +from google.ads.google_ads.v4.proto.resources import currency_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2 +from google.ads.google_ads.v4.proto.resources import custom_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2 +from google.ads.google_ads.v4.proto.resources import customer_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2 +from google.ads.google_ads.v4.proto.resources import customer_client_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2 +from google.ads.google_ads.v4.proto.resources import customer_client_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2 +from google.ads.google_ads.v4.proto.resources import customer_extension_setting_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2 +from google.ads.google_ads.v4.proto.resources import customer_feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2 +from google.ads.google_ads.v4.proto.resources import customer_label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2 +from google.ads.google_ads.v4.proto.resources import customer_manager_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2 +from google.ads.google_ads.v4.proto.resources import customer_negative_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import detail_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2 +from google.ads.google_ads.v4.proto.resources import display_keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2 +from google.ads.google_ads.v4.proto.resources import distance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2 +from google.ads.google_ads.v4.proto.resources import domain_category_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2 +from google.ads.google_ads.v4.proto.resources import dynamic_search_ads_search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2 +from google.ads.google_ads.v4.proto.resources import expanded_landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2 +from google.ads.google_ads.v4.proto.resources import extension_feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2 +from google.ads.google_ads.v4.proto.resources import feed_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2 +from google.ads.google_ads.v4.proto.resources import feed_item_target_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2 +from google.ads.google_ads.v4.proto.resources import feed_mapping_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2 +from google.ads.google_ads.v4.proto.resources import feed_placeholder_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2 +from google.ads.google_ads.v4.proto.resources import gender_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2 +from google.ads.google_ads.v4.proto.resources import geo_target_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2 +from google.ads.google_ads.v4.proto.resources import geographic_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2 +from google.ads.google_ads.v4.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2 +from google.ads.google_ads.v4.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2 +from google.ads.google_ads.v4.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2 +from google.ads.google_ads.v4.proto.resources import income_range_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_ad_group_keyword_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__keyword__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_keyword_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2 +from google.ads.google_ads.v4.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2 +from google.ads.google_ads.v4.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2 +from google.ads.google_ads.v4.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2 +from google.ads.google_ads.v4.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2 +from google.ads.google_ads.v4.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2 +from google.ads.google_ads.v4.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2 +from google.ads.google_ads.v4.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 +from google.ads.google_ads.v4.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2 +from google.ads.google_ads.v4.proto.resources import offline_user_data_job_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2 +from google.ads.google_ads.v4.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 +from google.ads.google_ads.v4.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2 +from google.ads.google_ads.v4.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2 +from google.ads.google_ads.v4.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 +from google.ads.google_ads.v4.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2 +from google.ads.google_ads.v4.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2 +from google.ads.google_ads.v4.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2 +from google.ads.google_ads.v4.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2 +from google.ads.google_ads.v4.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2 +from google.ads.google_ads.v4.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2 +from google.ads.google_ads.v4.proto.resources import third_party_app_analytics_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2 +from google.ads.google_ads.v4.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__constant__pb2 +from google.ads.google_ads.v4.proto.resources import topic_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__view__pb2 +from google.ads.google_ads.v4.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2 +from google.ads.google_ads.v4.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2 +from google.ads.google_ads.v4.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2 +from google.ads.google_ads.v4.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_ad_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_ad_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_criterion_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__label__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_group_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_parameter_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__parameter__service__pb2 +from google.ads.google_ads.v4.proto.services import ad_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2 +from google.ads.google_ads.v4.proto.services import asset_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_asset__service__pb2 +from google.ads.google_ads.v4.proto.services import bidding_strategy_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_bid_modifier_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_budget_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_draft_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_experiment_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2 +from google.ads.google_ads.v4.proto.services import campaign_shared_set_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2 +from google.ads.google_ads.v4.proto.services import conversion_action_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2 +from google.ads.google_ads.v4.proto.services import customer_extension_setting_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2 +from google.ads.google_ads.v4.proto.services import customer_feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2 +from google.ads.google_ads.v4.proto.services import customer_label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2 +from google.ads.google_ads.v4.proto.services import customer_negative_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2 +from google.ads.google_ads.v4.proto.services import customer_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2 +from google.ads.google_ads.v4.proto.services import extension_feed_item_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2 +from google.ads.google_ads.v4.proto.services import feed_item_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2 +from google.ads.google_ads.v4.proto.services import feed_item_target_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2 +from google.ads.google_ads.v4.proto.services import feed_mapping_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2 +from google.ads.google_ads.v4.proto.services import feed_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_keyword_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__keyword__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_keyword_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2 +from google.ads.google_ads.v4.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2 +from google.ads.google_ads.v4.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2 +from google.ads.google_ads.v4.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2 +from google.ads.google_ads.v4.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2 +from google.ads.google_ads.v4.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2 +from google.ads.google_ads.v4.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/google_ads_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/google_ads_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025GoogleAdsServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/services/google_ads_service.proto\x12 google.ads.googleads.v1.services\x1a\x32google/ads/googleads_v1/proto/common/metrics.proto\x1a\x33google/ads/googleads_v1/proto/common/segments.proto\x1agoogle/ads/googleads_v1/proto/resources/ad_schedule_view.proto\x1agoogle/ads/googleads_v1/proto/resources/bidding_strategy.proto\x1a;google/ads/googleads_v1/proto/resources/billing_setup.proto\x1a\x36google/ads/googleads_v1/proto/resources/campaign.proto\x1a\x44google/ads/googleads_v1/proto/resources/campaign_audience_view.proto\x1a\x43google/ads/googleads_v1/proto/resources/campaign_bid_modifier.proto\x1a=google/ads/googleads_v1/proto/resources/campaign_budget.proto\x1a@google/ads/googleads_v1/proto/resources/campaign_criterion.proto\x1aKgoogle/ads/googleads_v1/proto/resources/campaign_criterion_simulation.proto\x1agoogle/ads/googleads_v1/proto/resources/carrier_constant.proto\x1a;google/ads/googleads_v1/proto/resources/change_status.proto\x1a\x38google/ads/googleads_v1/proto/resources/click_view.proto\x1a?google/ads/googleads_v1/proto/resources/conversion_action.proto\x1a=google/ads/googleads_v1/proto/resources/custom_interest.proto\x1a\x36google/ads/googleads_v1/proto/resources/customer.proto\x1a=google/ads/googleads_v1/proto/resources/customer_client.proto\x1a\x42google/ads/googleads_v1/proto/resources/customer_client_link.proto\x1aHgoogle/ads/googleads_v1/proto/resources/customer_extension_setting.proto\x1a;google/ads/googleads_v1/proto/resources/customer_feed.proto\x1agoogle/ads/googleads_v1/proto/resources/feed_item_target.proto\x1a:google/ads/googleads_v1/proto/resources/feed_mapping.proto\x1a\x43google/ads/googleads_v1/proto/resources/feed_placeholder_view.proto\x1a\x39google/ads/googleads_v1/proto/resources/gender_view.proto\x1a\x41google/ads/googleads_v1/proto/resources/geo_target_constant.proto\x1a=google/ads/googleads_v1/proto/resources/geographic_view.proto\x1a\x42google/ads/googleads_v1/proto/resources/group_placement_view.proto\x1a>google/ads/googleads_v1/proto/resources/hotel_group_view.proto\x1a\x44google/ads/googleads_v1/proto/resources/hotel_performance_view.proto\x1a:google/ads/googleads_v1/proto/resources/keyword_plan.proto\x1a\x43google/ads/googleads_v1/proto/resources/keyword_plan_ad_group.proto\x1a\x43google/ads/googleads_v1/proto/resources/keyword_plan_campaign.proto\x1a\x42google/ads/googleads_v1/proto/resources/keyword_plan_keyword.proto\x1aKgoogle/ads/googleads_v1/proto/resources/keyword_plan_negative_keyword.proto\x1a:google/ads/googleads_v1/proto/resources/keyword_view.proto\x1a\x33google/ads/googleads_v1/proto/resources/label.proto\x1a?google/ads/googleads_v1/proto/resources/landing_page_view.proto\x1a?google/ads/googleads_v1/proto/resources/language_constant.proto\x1a;google/ads/googleads_v1/proto/resources/location_view.proto\x1a\x44google/ads/googleads_v1/proto/resources/managed_placement_view.proto\x1a\x38google/ads/googleads_v1/proto/resources/media_file.proto\x1aJgoogle/ads/googleads_v1/proto/resources/mobile_app_category_constant.proto\x1a\x44google/ads/googleads_v1/proto/resources/mobile_device_constant.proto\x1a\x38google/ads/googleads_v1/proto/resources/mutate_job.proto\x1aOgoogle/ads/googleads_v1/proto/resources/operating_system_version_constant.proto\x1aKgoogle/ads/googleads_v1/proto/resources/paid_organic_search_term_view.proto\x1a\x42google/ads/googleads_v1/proto/resources/parental_status_view.proto\x1aOgoogle/ads/googleads_v1/proto/resources/product_bidding_category_constant.proto\x1a@google/ads/googleads_v1/proto/resources/product_group_view.proto\x1agoogle/ads/googleads_v1/proto/resources/search_term_view.proto\x1a>google/ads/googleads_v1/proto/resources/shared_criterion.proto\x1a\x38google/ads/googleads_v1/proto/resources/shared_set.proto\x1aGgoogle/ads/googleads_v1/proto/resources/shopping_performance_view.proto\x1agoogle/ads/googleads_v1/proto/services/feed_item_service.proto\x1a\x45google/ads/googleads_v1/proto/services/feed_item_target_service.proto\x1a\x41google/ads/googleads_v1/proto/services/feed_mapping_service.proto\x1a\x39google/ads/googleads_v1/proto/services/feed_service.proto\x1a:google/ads/googleads_v1/proto/services/label_service.proto\x1a?google/ads/googleads_v1/proto/services/media_file_service.proto\x1aGgoogle/ads/googleads_v1/proto/services/remarketing_action_service.proto\x1a\x45google/ads/googleads_v1/proto/services/shared_criterion_service.proto\x1a?google/ads/googleads_v1/proto/services/shared_set_service.proto\x1a>google/ads/googleads_v1/proto/services/user_list_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"z\n\x16SearchGoogleAdsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\"\xc0\x01\n\x17SearchGoogleAdsResponse\x12?\n\x07results\x18\x01 \x03(\x0b\x32..google.ads.googleads.v1.services.GoogleAdsRow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1b\n\x13total_results_count\x18\x03 \x01(\x03\x12.\n\nfield_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x98;\n\x0cGoogleAdsRow\x12H\n\x0e\x61\x63\x63ount_budget\x18* \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.AccountBudget\x12Y\n\x17\x61\x63\x63ount_budget_proposal\x18+ \x01(\x0b\x32\x38.google.ads.googleads.v1.resources.AccountBudgetProposal\x12<\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32*.google.ads.googleads.v1.resources.AdGroup\x12\x41\n\x0b\x61\x64_group_ad\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v1.resources.AdGroupAd\x12L\n\x11\x61\x64_group_ad_label\x18x \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.AdGroupAdLabel\x12V\n\x16\x61\x64_group_audience_view\x18\x39 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.AdGroupAudienceView\x12T\n\x15\x61\x64_group_bid_modifier\x18\x18 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.AdGroupBidModifier\x12O\n\x12\x61\x64_group_criterion\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.AdGroupCriterion\x12Z\n\x18\x61\x64_group_criterion_label\x18y \x01(\x0b\x32\x38.google.ads.googleads.v1.resources.AdGroupCriterionLabel\x12\x64\n\x1d\x61\x64_group_criterion_simulation\x18n \x01(\x0b\x32=.google.ads.googleads.v1.resources.AdGroupCriterionSimulation\x12^\n\x1a\x61\x64_group_extension_setting\x18p \x01(\x0b\x32:.google.ads.googleads.v1.resources.AdGroupExtensionSetting\x12\x45\n\rad_group_feed\x18\x43 \x01(\x0b\x32..google.ads.googleads.v1.resources.AdGroupFeed\x12G\n\x0e\x61\x64_group_label\x18s \x01(\x0b\x32/.google.ads.googleads.v1.resources.AdGroupLabel\x12Q\n\x13\x61\x64_group_simulation\x18k \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.AdGroupSimulation\x12\x45\n\x0c\x61\x64_parameter\x18\x82\x01 \x01(\x0b\x32..google.ads.googleads.v1.resources.AdParameter\x12G\n\x0e\x61ge_range_view\x18\x30 \x01(\x0b\x32/.google.ads.googleads.v1.resources.AgeRangeView\x12K\n\x10\x61\x64_schedule_view\x18Y \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.AdScheduleView\x12J\n\x0f\x64omain_category\x18[ \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.DomainCategory\x12\x37\n\x05\x61sset\x18i \x01(\x0b\x32(.google.ads.googleads.v1.resources.Asset\x12L\n\x10\x62idding_strategy\x18\x12 \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.BiddingStrategy\x12\x46\n\rbilling_setup\x18) \x01(\x0b\x32/.google.ads.googleads.v1.resources.BillingSetup\x12J\n\x0f\x63\x61mpaign_budget\x18\x13 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CampaignBudget\x12=\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.Campaign\x12W\n\x16\x63\x61mpaign_audience_view\x18\x45 \x01(\x0b\x32\x37.google.ads.googleads.v1.resources.CampaignAudienceView\x12U\n\x15\x63\x61mpaign_bid_modifier\x18\x1a \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.CampaignBidModifier\x12P\n\x12\x63\x61mpaign_criterion\x18\x14 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.CampaignCriterion\x12\x65\n\x1d\x63\x61mpaign_criterion_simulation\x18o \x01(\x0b\x32>.google.ads.googleads.v1.resources.CampaignCriterionSimulation\x12H\n\x0e\x63\x61mpaign_draft\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.CampaignDraft\x12R\n\x13\x63\x61mpaign_experiment\x18T \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CampaignExperiment\x12_\n\x1a\x63\x61mpaign_extension_setting\x18q \x01(\x0b\x32;.google.ads.googleads.v1.resources.CampaignExtensionSetting\x12\x46\n\rcampaign_feed\x18? \x01(\x0b\x32/.google.ads.googleads.v1.resources.CampaignFeed\x12H\n\x0e\x63\x61mpaign_label\x18l \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.CampaignLabel\x12Q\n\x13\x63\x61mpaign_shared_set\x18\x1e \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.CampaignSharedSet\x12L\n\x10\x63\x61rrier_constant\x18\x42 \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.CarrierConstant\x12\x46\n\rchange_status\x18% \x01(\x0b\x32/.google.ads.googleads.v1.resources.ChangeStatus\x12N\n\x11\x63onversion_action\x18g \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.ConversionAction\x12@\n\nclick_view\x18z \x01(\x0b\x32,.google.ads.googleads.v1.resources.ClickView\x12J\n\x0f\x63ustom_interest\x18h \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CustomInterest\x12=\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.Customer\x12U\n\x15\x63ustomer_manager_link\x18= \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.CustomerManagerLink\x12S\n\x14\x63ustomer_client_link\x18> \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.CustomerClientLink\x12J\n\x0f\x63ustomer_client\x18\x46 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.CustomerClient\x12_\n\x1a\x63ustomer_extension_setting\x18r \x01(\x0b\x32;.google.ads.googleads.v1.resources.CustomerExtensionSetting\x12\x46\n\rcustomer_feed\x18@ \x01(\x0b\x32/.google.ads.googleads.v1.resources.CustomerFeed\x12H\n\x0e\x63ustomer_label\x18| \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.CustomerLabel\x12\x61\n\x1b\x63ustomer_negative_criterion\x18X \x01(\x0b\x32<.google.ads.googleads.v1.resources.CustomerNegativeCriterion\x12U\n\x15\x64\x65tail_placement_view\x18v \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.DetailPlacementView\x12S\n\x14\x64isplay_keyword_view\x18/ \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.DisplayKeywordView\x12n\n#dynamic_search_ads_search_term_view\x18j \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.DynamicSearchAdsSearchTermView\x12_\n\x1a\x65xpanded_landing_page_view\x18\x80\x01 \x01(\x0b\x32:.google.ads.googleads.v1.resources.ExpandedLandingPageView\x12Q\n\x13\x65xtension_feed_item\x18U \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.ExtensionFeedItem\x12\x35\n\x04\x66\x65\x65\x64\x18. \x01(\x0b\x32\'.google.ads.googleads.v1.resources.Feed\x12>\n\tfeed_item\x18\x32 \x01(\x0b\x32+.google.ads.googleads.v1.resources.FeedItem\x12K\n\x10\x66\x65\x65\x64_item_target\x18t \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.FeedItemTarget\x12\x44\n\x0c\x66\x65\x65\x64_mapping\x18: \x01(\x0b\x32..google.ads.googleads.v1.resources.FeedMapping\x12U\n\x15\x66\x65\x65\x64_placeholder_view\x18\x61 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.FeedPlaceholderView\x12\x42\n\x0bgender_view\x18( \x01(\x0b\x32-.google.ads.googleads.v1.resources.GenderView\x12Q\n\x13geo_target_constant\x18\x17 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.GeoTargetConstant\x12J\n\x0fgeographic_view\x18} \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.GeographicView\x12S\n\x14group_placement_view\x18w \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.GroupPlacementView\x12K\n\x10hotel_group_view\x18\x33 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.HotelGroupView\x12W\n\x16hotel_performance_view\x18G \x01(\x0b\x32\x37.google.ads.googleads.v1.resources.HotelPerformanceView\x12\x44\n\x0ckeyword_view\x18\x15 \x01(\x0b\x32..google.ads.googleads.v1.resources.KeywordView\x12\x44\n\x0ckeyword_plan\x18 \x01(\x0b\x32..google.ads.googleads.v1.resources.KeywordPlan\x12U\n\x15keyword_plan_campaign\x18! \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.KeywordPlanCampaign\x12\x64\n\x1dkeyword_plan_negative_keyword\x18\" \x01(\x0b\x32=.google.ads.googleads.v1.resources.KeywordPlanNegativeKeyword\x12T\n\x15keyword_plan_ad_group\x18# \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.KeywordPlanAdGroup\x12S\n\x14keyword_plan_keyword\x18$ \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.KeywordPlanKeyword\x12\x37\n\x05label\x18\x34 \x01(\x0b\x32(.google.ads.googleads.v1.resources.Label\x12M\n\x11landing_page_view\x18~ \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.LandingPageView\x12N\n\x11language_constant\x18\x37 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.LanguageConstant\x12\x46\n\rlocation_view\x18{ \x01(\x0b\x32/.google.ads.googleads.v1.resources.LocationView\x12W\n\x16managed_placement_view\x18\x35 \x01(\x0b\x32\x37.google.ads.googleads.v1.resources.ManagedPlacementView\x12@\n\nmedia_file\x18Z \x01(\x0b\x32,.google.ads.googleads.v1.resources.MediaFile\x12\x62\n\x1cmobile_app_category_constant\x18W \x01(\x0b\x32<.google.ads.googleads.v1.resources.MobileAppCategoryConstant\x12W\n\x16mobile_device_constant\x18\x62 \x01(\x0b\x32\x37.google.ads.googleads.v1.resources.MobileDeviceConstant\x12@\n\nmutate_job\x18\x7f \x01(\x0b\x32,.google.ads.googleads.v1.resources.MutateJob\x12l\n!operating_system_version_constant\x18V \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.OperatingSystemVersionConstant\x12\x64\n\x1dpaid_organic_search_term_view\x18\x81\x01 \x01(\x0b\x32<.google.ads.googleads.v1.resources.PaidOrganicSearchTermView\x12S\n\x14parental_status_view\x18- \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.ParentalStatusView\x12l\n!product_bidding_category_constant\x18m \x01(\x0b\x32\x41.google.ads.googleads.v1.resources.ProductBiddingCategoryConstant\x12O\n\x12product_group_view\x18\x36 \x01(\x0b\x32\x33.google.ads.googleads.v1.resources.ProductGroupView\x12I\n\x0erecommendation\x18\x16 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.Recommendation\x12K\n\x10search_term_view\x18\x44 \x01(\x0b\x32\x31.google.ads.googleads.v1.resources.SearchTermView\x12L\n\x10shared_criterion\x18\x1d \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.SharedCriterion\x12@\n\nshared_set\x18\x1b \x01(\x0b\x32,.google.ads.googleads.v1.resources.SharedSet\x12]\n\x19shopping_performance_view\x18u \x01(\x0b\x32:.google.ads.googleads.v1.resources.ShoppingPerformanceView\x12@\n\ntopic_view\x18, \x01(\x0b\x32,.google.ads.googleads.v1.resources.TopicView\x12\x46\n\ruser_interest\x18; \x01(\x0b\x32/.google.ads.googleads.v1.resources.UserInterest\x12>\n\tuser_list\x18& \x01(\x0b\x32+.google.ads.googleads.v1.resources.UserList\x12P\n\x12remarketing_action\x18< \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.RemarketingAction\x12H\n\x0etopic_constant\x18\x1f \x01(\x0b\x32\x30.google.ads.googleads.v1.resources.TopicConstant\x12\x37\n\x05video\x18\' \x01(\x0b\x32(.google.ads.googleads.v1.resources.Video\x12\x38\n\x07metrics\x18\x04 \x01(\x0b\x32\'.google.ads.googleads.v1.common.Metrics\x12:\n\x08segments\x18\x66 \x01(\x0b\x32(.google.ads.googleads.v1.common.Segments\"\xab\x01\n\x16MutateGoogleAdsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12L\n\x11mutate_operations\x18\x02 \x03(\x0b\x32\x31.google.ads.googleads.v1.services.MutateOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xab\x01\n\x17MutateGoogleAdsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12]\n\x1amutate_operation_responses\x18\x01 \x03(\x0b\x32\x39.google.ads.googleads.v1.services.MutateOperationResponse\"\xb0\x1d\n\x0fMutateOperation\x12`\n\x1b\x61\x64_group_ad_label_operation\x18\x11 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.AdGroupAdLabelOperationH\x00\x12U\n\x15\x61\x64_group_ad_operation\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v1.services.AdGroupAdOperationH\x00\x12h\n\x1f\x61\x64_group_bid_modifier_operation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v1.services.AdGroupBidModifierOperationH\x00\x12n\n\"ad_group_criterion_label_operation\x18\x12 \x01(\x0b\x32@.google.ads.googleads.v1.services.AdGroupCriterionLabelOperationH\x00\x12\x63\n\x1c\x61\x64_group_criterion_operation\x18\x03 \x01(\x0b\x32;.google.ads.googleads.v1.services.AdGroupCriterionOperationH\x00\x12r\n$ad_group_extension_setting_operation\x18\x13 \x01(\x0b\x32\x42.google.ads.googleads.v1.services.AdGroupExtensionSettingOperationH\x00\x12Y\n\x17\x61\x64_group_feed_operation\x18\x14 \x01(\x0b\x32\x36.google.ads.googleads.v1.services.AdGroupFeedOperationH\x00\x12[\n\x18\x61\x64_group_label_operation\x18\x15 \x01(\x0b\x32\x37.google.ads.googleads.v1.services.AdGroupLabelOperationH\x00\x12P\n\x12\x61\x64_group_operation\x18\x05 \x01(\x0b\x32\x32.google.ads.googleads.v1.services.AdGroupOperationH\x00\x12X\n\x16\x61\x64_parameter_operation\x18\x16 \x01(\x0b\x32\x36.google.ads.googleads.v1.services.AdParameterOperationH\x00\x12K\n\x0f\x61sset_operation\x18\x17 \x01(\x0b\x32\x30.google.ads.googleads.v1.services.AssetOperationH\x00\x12`\n\x1a\x62idding_strategy_operation\x18\x06 \x01(\x0b\x32:.google.ads.googleads.v1.services.BiddingStrategyOperationH\x00\x12i\n\x1f\x63\x61mpaign_bid_modifier_operation\x18\x07 \x01(\x0b\x32>.google.ads.googleads.v1.services.CampaignBidModifierOperationH\x00\x12^\n\x19\x63\x61mpaign_budget_operation\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.CampaignBudgetOperationH\x00\x12\x64\n\x1c\x63\x61mpaign_criterion_operation\x18\r \x01(\x0b\x32<.google.ads.googleads.v1.services.CampaignCriterionOperationH\x00\x12\\\n\x18\x63\x61mpaign_draft_operation\x18\x18 \x01(\x0b\x32\x38.google.ads.googleads.v1.services.CampaignDraftOperationH\x00\x12\x66\n\x1d\x63\x61mpaign_experiment_operation\x18\x19 \x01(\x0b\x32=.google.ads.googleads.v1.services.CampaignExperimentOperationH\x00\x12s\n$campaign_extension_setting_operation\x18\x1a \x01(\x0b\x32\x43.google.ads.googleads.v1.services.CampaignExtensionSettingOperationH\x00\x12Z\n\x17\x63\x61mpaign_feed_operation\x18\x1b \x01(\x0b\x32\x37.google.ads.googleads.v1.services.CampaignFeedOperationH\x00\x12\\\n\x18\x63\x61mpaign_label_operation\x18\x1c \x01(\x0b\x32\x38.google.ads.googleads.v1.services.CampaignLabelOperationH\x00\x12Q\n\x12\x63\x61mpaign_operation\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v1.services.CampaignOperationH\x00\x12\x65\n\x1d\x63\x61mpaign_shared_set_operation\x18\x0b \x01(\x0b\x32<.google.ads.googleads.v1.services.CampaignSharedSetOperationH\x00\x12\x62\n\x1b\x63onversion_action_operation\x18\x0c \x01(\x0b\x32;.google.ads.googleads.v1.services.ConversionActionOperationH\x00\x12s\n$customer_extension_setting_operation\x18\x1e \x01(\x0b\x32\x43.google.ads.googleads.v1.services.CustomerExtensionSettingOperationH\x00\x12Z\n\x17\x63ustomer_feed_operation\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v1.services.CustomerFeedOperationH\x00\x12\\\n\x18\x63ustomer_label_operation\x18 \x01(\x0b\x32\x38.google.ads.googleads.v1.services.CustomerLabelOperationH\x00\x12u\n%customer_negative_criterion_operation\x18\" \x01(\x0b\x32\x44.google.ads.googleads.v1.services.CustomerNegativeCriterionOperationH\x00\x12Q\n\x12\x63ustomer_operation\x18# \x01(\x0b\x32\x33.google.ads.googleads.v1.services.CustomerOperationH\x00\x12\x65\n\x1d\x65xtension_feed_item_operation\x18$ \x01(\x0b\x32<.google.ads.googleads.v1.services.ExtensionFeedItemOperationH\x00\x12R\n\x13\x66\x65\x65\x64_item_operation\x18% \x01(\x0b\x32\x33.google.ads.googleads.v1.services.FeedItemOperationH\x00\x12_\n\x1a\x66\x65\x65\x64_item_target_operation\x18& \x01(\x0b\x32\x39.google.ads.googleads.v1.services.FeedItemTargetOperationH\x00\x12X\n\x16\x66\x65\x65\x64_mapping_operation\x18\' \x01(\x0b\x32\x36.google.ads.googleads.v1.services.FeedMappingOperationH\x00\x12I\n\x0e\x66\x65\x65\x64_operation\x18( \x01(\x0b\x32/.google.ads.googleads.v1.services.FeedOperationH\x00\x12K\n\x0flabel_operation\x18) \x01(\x0b\x32\x30.google.ads.googleads.v1.services.LabelOperationH\x00\x12T\n\x14media_file_operation\x18* \x01(\x0b\x32\x34.google.ads.googleads.v1.services.MediaFileOperationH\x00\x12\x64\n\x1cremarketing_action_operation\x18+ \x01(\x0b\x32<.google.ads.googleads.v1.services.RemarketingActionOperationH\x00\x12`\n\x1ashared_criterion_operation\x18\x0e \x01(\x0b\x32:.google.ads.googleads.v1.services.SharedCriterionOperationH\x00\x12T\n\x14shared_set_operation\x18\x0f \x01(\x0b\x32\x34.google.ads.googleads.v1.services.SharedSetOperationH\x00\x12R\n\x13user_list_operation\x18\x10 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.UserListOperationH\x00\x42\x0b\n\toperation\"\xb6\x1d\n\x17MutateOperationResponse\x12`\n\x18\x61\x64_group_ad_label_result\x18\x11 \x01(\x0b\x32<.google.ads.googleads.v1.services.MutateAdGroupAdLabelResultH\x00\x12U\n\x12\x61\x64_group_ad_result\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v1.services.MutateAdGroupAdResultH\x00\x12h\n\x1c\x61\x64_group_bid_modifier_result\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v1.services.MutateAdGroupBidModifierResultH\x00\x12n\n\x1f\x61\x64_group_criterion_label_result\x18\x12 \x01(\x0b\x32\x43.google.ads.googleads.v1.services.MutateAdGroupCriterionLabelResultH\x00\x12\x63\n\x19\x61\x64_group_criterion_result\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v1.services.MutateAdGroupCriterionResultH\x00\x12r\n!ad_group_extension_setting_result\x18\x13 \x01(\x0b\x32\x45.google.ads.googleads.v1.services.MutateAdGroupExtensionSettingResultH\x00\x12Y\n\x14\x61\x64_group_feed_result\x18\x14 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.MutateAdGroupFeedResultH\x00\x12[\n\x15\x61\x64_group_label_result\x18\x15 \x01(\x0b\x32:.google.ads.googleads.v1.services.MutateAdGroupLabelResultH\x00\x12P\n\x0f\x61\x64_group_result\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v1.services.MutateAdGroupResultH\x00\x12X\n\x13\x61\x64_parameter_result\x18\x16 \x01(\x0b\x32\x39.google.ads.googleads.v1.services.MutateAdParameterResultH\x00\x12K\n\x0c\x61sset_result\x18\x17 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.MutateAssetResultH\x00\x12`\n\x17\x62idding_strategy_result\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v1.services.MutateBiddingStrategyResultH\x00\x12i\n\x1c\x63\x61mpaign_bid_modifier_result\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v1.services.MutateCampaignBidModifierResultH\x00\x12^\n\x16\x63\x61mpaign_budget_result\x18\x08 \x01(\x0b\x32<.google.ads.googleads.v1.services.MutateCampaignBudgetResultH\x00\x12\x64\n\x19\x63\x61mpaign_criterion_result\x18\r \x01(\x0b\x32?.google.ads.googleads.v1.services.MutateCampaignCriterionResultH\x00\x12\\\n\x15\x63\x61mpaign_draft_result\x18\x18 \x01(\x0b\x32;.google.ads.googleads.v1.services.MutateCampaignDraftResultH\x00\x12\x66\n\x1a\x63\x61mpaign_experiment_result\x18\x19 \x01(\x0b\x32@.google.ads.googleads.v1.services.MutateCampaignExperimentResultH\x00\x12s\n!campaign_extension_setting_result\x18\x1a \x01(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCampaignExtensionSettingResultH\x00\x12Z\n\x14\x63\x61mpaign_feed_result\x18\x1b \x01(\x0b\x32:.google.ads.googleads.v1.services.MutateCampaignFeedResultH\x00\x12\\\n\x15\x63\x61mpaign_label_result\x18\x1c \x01(\x0b\x32;.google.ads.googleads.v1.services.MutateCampaignLabelResultH\x00\x12Q\n\x0f\x63\x61mpaign_result\x18\n \x01(\x0b\x32\x36.google.ads.googleads.v1.services.MutateCampaignResultH\x00\x12\x65\n\x1a\x63\x61mpaign_shared_set_result\x18\x0b \x01(\x0b\x32?.google.ads.googleads.v1.services.MutateCampaignSharedSetResultH\x00\x12\x62\n\x18\x63onversion_action_result\x18\x0c \x01(\x0b\x32>.google.ads.googleads.v1.services.MutateConversionActionResultH\x00\x12s\n!customer_extension_setting_result\x18\x1e \x01(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCustomerExtensionSettingResultH\x00\x12Z\n\x14\x63ustomer_feed_result\x18\x1f \x01(\x0b\x32:.google.ads.googleads.v1.services.MutateCustomerFeedResultH\x00\x12\\\n\x15\x63ustomer_label_result\x18 \x01(\x0b\x32;.google.ads.googleads.v1.services.MutateCustomerLabelResultH\x00\x12t\n\"customer_negative_criterion_result\x18\" \x01(\x0b\x32\x46.google.ads.googleads.v1.services.MutateCustomerNegativeCriteriaResultH\x00\x12Q\n\x0f\x63ustomer_result\x18# \x01(\x0b\x32\x36.google.ads.googleads.v1.services.MutateCustomerResultH\x00\x12\x65\n\x1a\x65xtension_feed_item_result\x18$ \x01(\x0b\x32?.google.ads.googleads.v1.services.MutateExtensionFeedItemResultH\x00\x12R\n\x10\x66\x65\x65\x64_item_result\x18% \x01(\x0b\x32\x36.google.ads.googleads.v1.services.MutateFeedItemResultH\x00\x12_\n\x17\x66\x65\x65\x64_item_target_result\x18& \x01(\x0b\x32<.google.ads.googleads.v1.services.MutateFeedItemTargetResultH\x00\x12X\n\x13\x66\x65\x65\x64_mapping_result\x18\' \x01(\x0b\x32\x39.google.ads.googleads.v1.services.MutateFeedMappingResultH\x00\x12I\n\x0b\x66\x65\x65\x64_result\x18( \x01(\x0b\x32\x32.google.ads.googleads.v1.services.MutateFeedResultH\x00\x12K\n\x0clabel_result\x18) \x01(\x0b\x32\x33.google.ads.googleads.v1.services.MutateLabelResultH\x00\x12T\n\x11media_file_result\x18* \x01(\x0b\x32\x37.google.ads.googleads.v1.services.MutateMediaFileResultH\x00\x12\x64\n\x19remarketing_action_result\x18+ \x01(\x0b\x32?.google.ads.googleads.v1.services.MutateRemarketingActionResultH\x00\x12`\n\x17shared_criterion_result\x18\x0e \x01(\x0b\x32=.google.ads.googleads.v1.services.MutateSharedCriterionResultH\x00\x12T\n\x11shared_set_result\x18\x0f \x01(\x0b\x32\x37.google.ads.googleads.v1.services.MutateSharedSetResultH\x00\x12R\n\x10user_list_result\x18\x10 \x01(\x0b\x32\x36.google.ads.googleads.v1.services.MutateUserListResultH\x00\x42\n\n\x08response2\x88\x03\n\x10GoogleAdsService\x12\xb8\x01\n\x06Search\x12\x38.google.ads.googleads.v1.services.SearchGoogleAdsRequest\x1a\x39.google.ads.googleads.v1.services.SearchGoogleAdsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/googleAds:search:\x01*\x12\xb8\x01\n\x06Mutate\x12\x38.google.ads.googleads.v1.services.MutateGoogleAdsRequest\x1a\x39.google.ads.googleads.v1.services.MutateGoogleAdsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/googleAds:mutate:\x01*B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15GoogleAdsServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025GoogleAdsServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/services/google_ads_service.proto\x12 google.ads.googleads.v4.services\x1a\x32google/ads/googleads_v4/proto/common/metrics.proto\x1a\x33google/ads/googleads_v4/proto/common/segments.proto\x1a=google/ads/googleads_v4/proto/enums/summary_row_setting.proto\x1agoogle/ads/googleads_v4/proto/resources/ad_schedule_view.proto\x1agoogle/ads/googleads_v4/proto/resources/bidding_strategy.proto\x1a;google/ads/googleads_v4/proto/resources/billing_setup.proto\x1a\x36google/ads/googleads_v4/proto/resources/campaign.proto\x1a\x44google/ads/googleads_v4/proto/resources/campaign_audience_view.proto\x1a\x43google/ads/googleads_v4/proto/resources/campaign_bid_modifier.proto\x1a=google/ads/googleads_v4/proto/resources/campaign_budget.proto\x1a@google/ads/googleads_v4/proto/resources/campaign_criterion.proto\x1aKgoogle/ads/googleads_v4/proto/resources/campaign_criterion_simulation.proto\x1agoogle/ads/googleads_v4/proto/resources/carrier_constant.proto\x1a;google/ads/googleads_v4/proto/resources/change_status.proto\x1a\x38google/ads/googleads_v4/proto/resources/click_view.proto\x1a?google/ads/googleads_v4/proto/resources/conversion_action.proto\x1a?google/ads/googleads_v4/proto/resources/currency_constant.proto\x1a=google/ads/googleads_v4/proto/resources/custom_interest.proto\x1a\x36google/ads/googleads_v4/proto/resources/customer.proto\x1a=google/ads/googleads_v4/proto/resources/customer_client.proto\x1a\x42google/ads/googleads_v4/proto/resources/customer_client_link.proto\x1aHgoogle/ads/googleads_v4/proto/resources/customer_extension_setting.proto\x1a;google/ads/googleads_v4/proto/resources/customer_feed.proto\x1agoogle/ads/googleads_v4/proto/resources/feed_item_target.proto\x1a:google/ads/googleads_v4/proto/resources/feed_mapping.proto\x1a\x43google/ads/googleads_v4/proto/resources/feed_placeholder_view.proto\x1a\x39google/ads/googleads_v4/proto/resources/gender_view.proto\x1a\x41google/ads/googleads_v4/proto/resources/geo_target_constant.proto\x1a=google/ads/googleads_v4/proto/resources/geographic_view.proto\x1a\x42google/ads/googleads_v4/proto/resources/group_placement_view.proto\x1a>google/ads/googleads_v4/proto/resources/hotel_group_view.proto\x1a\x44google/ads/googleads_v4/proto/resources/hotel_performance_view.proto\x1a?google/ads/googleads_v4/proto/resources/income_range_view.proto\x1a:google/ads/googleads_v4/proto/resources/keyword_plan.proto\x1a\x43google/ads/googleads_v4/proto/resources/keyword_plan_ad_group.proto\x1aKgoogle/ads/googleads_v4/proto/resources/keyword_plan_ad_group_keyword.proto\x1a\x43google/ads/googleads_v4/proto/resources/keyword_plan_campaign.proto\x1aKgoogle/ads/googleads_v4/proto/resources/keyword_plan_campaign_keyword.proto\x1a:google/ads/googleads_v4/proto/resources/keyword_view.proto\x1a\x33google/ads/googleads_v4/proto/resources/label.proto\x1a?google/ads/googleads_v4/proto/resources/landing_page_view.proto\x1a?google/ads/googleads_v4/proto/resources/language_constant.proto\x1a;google/ads/googleads_v4/proto/resources/location_view.proto\x1a\x44google/ads/googleads_v4/proto/resources/managed_placement_view.proto\x1a\x38google/ads/googleads_v4/proto/resources/media_file.proto\x1aJgoogle/ads/googleads_v4/proto/resources/mobile_app_category_constant.proto\x1a\x44google/ads/googleads_v4/proto/resources/mobile_device_constant.proto\x1a\x43google/ads/googleads_v4/proto/resources/offline_user_data_job.proto\x1aOgoogle/ads/googleads_v4/proto/resources/operating_system_version_constant.proto\x1aKgoogle/ads/googleads_v4/proto/resources/paid_organic_search_term_view.proto\x1a\x42google/ads/googleads_v4/proto/resources/parental_status_view.proto\x1aOgoogle/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto\x1a@google/ads/googleads_v4/proto/resources/product_group_view.proto\x1agoogle/ads/googleads_v4/proto/resources/search_term_view.proto\x1a>google/ads/googleads_v4/proto/resources/shared_criterion.proto\x1a\x38google/ads/googleads_v4/proto/resources/shared_set.proto\x1aGgoogle/ads/googleads_v4/proto/resources/shopping_performance_view.proto\x1aLgoogle/ads/googleads_v4/proto/resources/third_party_app_analytics_link.proto\x1agoogle/ads/googleads_v4/proto/services/feed_item_service.proto\x1a\x45google/ads/googleads_v4/proto/services/feed_item_target_service.proto\x1a\x41google/ads/googleads_v4/proto/services/feed_mapping_service.proto\x1a\x39google/ads/googleads_v4/proto/services/feed_service.proto\x1aRgoogle/ads/googleads_v4/proto/services/keyword_plan_ad_group_keyword_service.proto\x1aJgoogle/ads/googleads_v4/proto/services/keyword_plan_ad_group_service.proto\x1aRgoogle/ads/googleads_v4/proto/services/keyword_plan_campaign_keyword_service.proto\x1aJgoogle/ads/googleads_v4/proto/services/keyword_plan_campaign_service.proto\x1a\x41google/ads/googleads_v4/proto/services/keyword_plan_service.proto\x1a:google/ads/googleads_v4/proto/services/label_service.proto\x1a?google/ads/googleads_v4/proto/services/media_file_service.proto\x1aGgoogle/ads/googleads_v4/proto/services/remarketing_action_service.proto\x1a\x45google/ads/googleads_v4/proto/services/shared_criterion_service.proto\x1a?google/ads/googleads_v4/proto/services/shared_set_service.proto\x1a>google/ads/googleads_v4/proto/services/user_list_service.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"\x8d\x02\n\x16SearchGoogleAdsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\x12\"\n\x1areturn_total_results_count\x18\x07 \x01(\x08\x12\x63\n\x13summary_row_setting\x18\x08 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SummaryRowSettingEnum.SummaryRowSetting\"\x85\x02\n\x17SearchGoogleAdsResponse\x12?\n\x07results\x18\x01 \x03(\x0b\x32..google.ads.googleads.v4.services.GoogleAdsRow\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x1b\n\x13total_results_count\x18\x03 \x01(\x03\x12.\n\nfield_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x0bsummary_row\x18\x06 \x01(\x0b\x32..google.ads.googleads.v4.services.GoogleAdsRow\"\xb1\x01\n\x1cSearchGoogleAdsStreamRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x63\n\x13summary_row_setting\x18\x03 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.SummaryRowSettingEnum.SummaryRowSetting\"\xd5\x01\n\x1dSearchGoogleAdsStreamResponse\x12?\n\x07results\x18\x01 \x03(\x0b\x32..google.ads.googleads.v4.services.GoogleAdsRow\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x43\n\x0bsummary_row\x18\x03 \x01(\x0b\x32..google.ads.googleads.v4.services.GoogleAdsRow\"\xc3@\n\x0cGoogleAdsRow\x12H\n\x0e\x61\x63\x63ount_budget\x18* \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.AccountBudget\x12Y\n\x17\x61\x63\x63ount_budget_proposal\x18+ \x01(\x0b\x32\x38.google.ads.googleads.v4.resources.AccountBudgetProposal\x12\x45\n\x0c\x61\x63\x63ount_link\x18\x8f\x01 \x01(\x0b\x32..google.ads.googleads.v4.resources.AccountLink\x12<\n\x08\x61\x64_group\x18\x03 \x01(\x0b\x32*.google.ads.googleads.v4.resources.AdGroup\x12\x41\n\x0b\x61\x64_group_ad\x18\x10 \x01(\x0b\x32,.google.ads.googleads.v4.resources.AdGroupAd\x12V\n\x16\x61\x64_group_ad_asset_view\x18\x83\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.AdGroupAdAssetView\x12L\n\x11\x61\x64_group_ad_label\x18x \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.AdGroupAdLabel\x12V\n\x16\x61\x64_group_audience_view\x18\x39 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.AdGroupAudienceView\x12T\n\x15\x61\x64_group_bid_modifier\x18\x18 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.AdGroupBidModifier\x12O\n\x12\x61\x64_group_criterion\x18\x11 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.AdGroupCriterion\x12Z\n\x18\x61\x64_group_criterion_label\x18y \x01(\x0b\x32\x38.google.ads.googleads.v4.resources.AdGroupCriterionLabel\x12\x64\n\x1d\x61\x64_group_criterion_simulation\x18n \x01(\x0b\x32=.google.ads.googleads.v4.resources.AdGroupCriterionSimulation\x12^\n\x1a\x61\x64_group_extension_setting\x18p \x01(\x0b\x32:.google.ads.googleads.v4.resources.AdGroupExtensionSetting\x12\x45\n\rad_group_feed\x18\x43 \x01(\x0b\x32..google.ads.googleads.v4.resources.AdGroupFeed\x12G\n\x0e\x61\x64_group_label\x18s \x01(\x0b\x32/.google.ads.googleads.v4.resources.AdGroupLabel\x12Q\n\x13\x61\x64_group_simulation\x18k \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.AdGroupSimulation\x12\x45\n\x0c\x61\x64_parameter\x18\x82\x01 \x01(\x0b\x32..google.ads.googleads.v4.resources.AdParameter\x12G\n\x0e\x61ge_range_view\x18\x30 \x01(\x0b\x32/.google.ads.googleads.v4.resources.AgeRangeView\x12K\n\x10\x61\x64_schedule_view\x18Y \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.AdScheduleView\x12J\n\x0f\x64omain_category\x18[ \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.DomainCategory\x12\x37\n\x05\x61sset\x18i \x01(\x0b\x32(.google.ads.googleads.v4.resources.Asset\x12?\n\tbatch_job\x18\x8b\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.BatchJob\x12L\n\x10\x62idding_strategy\x18\x12 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.BiddingStrategy\x12\x46\n\rbilling_setup\x18) \x01(\x0b\x32/.google.ads.googleads.v4.resources.BillingSetup\x12J\n\x0f\x63\x61mpaign_budget\x18\x13 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CampaignBudget\x12=\n\x08\x63\x61mpaign\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.resources.Campaign\x12W\n\x16\x63\x61mpaign_audience_view\x18\x45 \x01(\x0b\x32\x37.google.ads.googleads.v4.resources.CampaignAudienceView\x12U\n\x15\x63\x61mpaign_bid_modifier\x18\x1a \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.CampaignBidModifier\x12P\n\x12\x63\x61mpaign_criterion\x18\x14 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.CampaignCriterion\x12\x65\n\x1d\x63\x61mpaign_criterion_simulation\x18o \x01(\x0b\x32>.google.ads.googleads.v4.resources.CampaignCriterionSimulation\x12H\n\x0e\x63\x61mpaign_draft\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.CampaignDraft\x12R\n\x13\x63\x61mpaign_experiment\x18T \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CampaignExperiment\x12_\n\x1a\x63\x61mpaign_extension_setting\x18q \x01(\x0b\x32;.google.ads.googleads.v4.resources.CampaignExtensionSetting\x12\x46\n\rcampaign_feed\x18? \x01(\x0b\x32/.google.ads.googleads.v4.resources.CampaignFeed\x12H\n\x0e\x63\x61mpaign_label\x18l \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.CampaignLabel\x12Q\n\x13\x63\x61mpaign_shared_set\x18\x1e \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.CampaignSharedSet\x12L\n\x10\x63\x61rrier_constant\x18\x42 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.CarrierConstant\x12\x46\n\rchange_status\x18% \x01(\x0b\x32/.google.ads.googleads.v4.resources.ChangeStatus\x12N\n\x11\x63onversion_action\x18g \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.ConversionAction\x12@\n\nclick_view\x18z \x01(\x0b\x32,.google.ads.googleads.v4.resources.ClickView\x12O\n\x11\x63urrency_constant\x18\x86\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.CurrencyConstant\x12J\n\x0f\x63ustom_interest\x18h \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CustomInterest\x12=\n\x08\x63ustomer\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.Customer\x12U\n\x15\x63ustomer_manager_link\x18= \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.CustomerManagerLink\x12S\n\x14\x63ustomer_client_link\x18> \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.CustomerClientLink\x12J\n\x0f\x63ustomer_client\x18\x46 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.CustomerClient\x12_\n\x1a\x63ustomer_extension_setting\x18r \x01(\x0b\x32;.google.ads.googleads.v4.resources.CustomerExtensionSetting\x12\x46\n\rcustomer_feed\x18@ \x01(\x0b\x32/.google.ads.googleads.v4.resources.CustomerFeed\x12H\n\x0e\x63ustomer_label\x18| \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.CustomerLabel\x12\x61\n\x1b\x63ustomer_negative_criterion\x18X \x01(\x0b\x32<.google.ads.googleads.v4.resources.CustomerNegativeCriterion\x12U\n\x15\x64\x65tail_placement_view\x18v \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.DetailPlacementView\x12S\n\x14\x64isplay_keyword_view\x18/ \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.DisplayKeywordView\x12G\n\rdistance_view\x18\x84\x01 \x01(\x0b\x32/.google.ads.googleads.v4.resources.DistanceView\x12n\n#dynamic_search_ads_search_term_view\x18j \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.DynamicSearchAdsSearchTermView\x12_\n\x1a\x65xpanded_landing_page_view\x18\x80\x01 \x01(\x0b\x32:.google.ads.googleads.v4.resources.ExpandedLandingPageView\x12Q\n\x13\x65xtension_feed_item\x18U \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.ExtensionFeedItem\x12\x35\n\x04\x66\x65\x65\x64\x18. \x01(\x0b\x32\'.google.ads.googleads.v4.resources.Feed\x12>\n\tfeed_item\x18\x32 \x01(\x0b\x32+.google.ads.googleads.v4.resources.FeedItem\x12K\n\x10\x66\x65\x65\x64_item_target\x18t \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.FeedItemTarget\x12\x44\n\x0c\x66\x65\x65\x64_mapping\x18: \x01(\x0b\x32..google.ads.googleads.v4.resources.FeedMapping\x12U\n\x15\x66\x65\x65\x64_placeholder_view\x18\x61 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.FeedPlaceholderView\x12\x42\n\x0bgender_view\x18( \x01(\x0b\x32-.google.ads.googleads.v4.resources.GenderView\x12Q\n\x13geo_target_constant\x18\x17 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.GeoTargetConstant\x12J\n\x0fgeographic_view\x18} \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.GeographicView\x12S\n\x14group_placement_view\x18w \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.GroupPlacementView\x12K\n\x10hotel_group_view\x18\x33 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.HotelGroupView\x12W\n\x16hotel_performance_view\x18G \x01(\x0b\x32\x37.google.ads.googleads.v4.resources.HotelPerformanceView\x12N\n\x11income_range_view\x18\x8a\x01 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.IncomeRangeView\x12\x44\n\x0ckeyword_view\x18\x15 \x01(\x0b\x32..google.ads.googleads.v4.resources.KeywordView\x12\x44\n\x0ckeyword_plan\x18 \x01(\x0b\x32..google.ads.googleads.v4.resources.KeywordPlan\x12U\n\x15keyword_plan_campaign\x18! \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.KeywordPlanCampaign\x12\x65\n\x1dkeyword_plan_campaign_keyword\x18\x8c\x01 \x01(\x0b\x32=.google.ads.googleads.v4.resources.KeywordPlanCampaignKeyword\x12T\n\x15keyword_plan_ad_group\x18# \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.KeywordPlanAdGroup\x12\x64\n\x1dkeyword_plan_ad_group_keyword\x18\x8d\x01 \x01(\x0b\x32<.google.ads.googleads.v4.resources.KeywordPlanAdGroupKeyword\x12\x37\n\x05label\x18\x34 \x01(\x0b\x32(.google.ads.googleads.v4.resources.Label\x12M\n\x11landing_page_view\x18~ \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.LandingPageView\x12N\n\x11language_constant\x18\x37 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.LanguageConstant\x12\x46\n\rlocation_view\x18{ \x01(\x0b\x32/.google.ads.googleads.v4.resources.LocationView\x12W\n\x16managed_placement_view\x18\x35 \x01(\x0b\x32\x37.google.ads.googleads.v4.resources.ManagedPlacementView\x12@\n\nmedia_file\x18Z \x01(\x0b\x32,.google.ads.googleads.v4.resources.MediaFile\x12\x62\n\x1cmobile_app_category_constant\x18W \x01(\x0b\x32<.google.ads.googleads.v4.resources.MobileAppCategoryConstant\x12W\n\x16mobile_device_constant\x18\x62 \x01(\x0b\x32\x37.google.ads.googleads.v4.resources.MobileDeviceConstant\x12U\n\x15offline_user_data_job\x18\x89\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.OfflineUserDataJob\x12l\n!operating_system_version_constant\x18V \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.OperatingSystemVersionConstant\x12\x64\n\x1dpaid_organic_search_term_view\x18\x81\x01 \x01(\x0b\x32<.google.ads.googleads.v4.resources.PaidOrganicSearchTermView\x12S\n\x14parental_status_view\x18- \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.ParentalStatusView\x12l\n!product_bidding_category_constant\x18m \x01(\x0b\x32\x41.google.ads.googleads.v4.resources.ProductBiddingCategoryConstant\x12O\n\x12product_group_view\x18\x36 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.ProductGroupView\x12I\n\x0erecommendation\x18\x16 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.Recommendation\x12K\n\x10search_term_view\x18\x44 \x01(\x0b\x32\x31.google.ads.googleads.v4.resources.SearchTermView\x12L\n\x10shared_criterion\x18\x1d \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.SharedCriterion\x12@\n\nshared_set\x18\x1b \x01(\x0b\x32,.google.ads.googleads.v4.resources.SharedSet\x12]\n\x19shopping_performance_view\x18u \x01(\x0b\x32:.google.ads.googleads.v4.resources.ShoppingPerformanceView\x12\x66\n\x1ethird_party_app_analytics_link\x18\x90\x01 \x01(\x0b\x32=.google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink\x12@\n\ntopic_view\x18, \x01(\x0b\x32,.google.ads.googleads.v4.resources.TopicView\x12\x46\n\ruser_interest\x18; \x01(\x0b\x32/.google.ads.googleads.v4.resources.UserInterest\x12>\n\tuser_list\x18& \x01(\x0b\x32+.google.ads.googleads.v4.resources.UserList\x12P\n\x12user_location_view\x18\x87\x01 \x01(\x0b\x32\x33.google.ads.googleads.v4.resources.UserLocationView\x12P\n\x12remarketing_action\x18< \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.RemarketingAction\x12H\n\x0etopic_constant\x18\x1f \x01(\x0b\x32\x30.google.ads.googleads.v4.resources.TopicConstant\x12\x37\n\x05video\x18\' \x01(\x0b\x32(.google.ads.googleads.v4.resources.Video\x12\x38\n\x07metrics\x18\x04 \x01(\x0b\x32\'.google.ads.googleads.v4.common.Metrics\x12:\n\x08segments\x18\x66 \x01(\x0b\x32(.google.ads.googleads.v4.common.Segments\"\xb5\x01\n\x16MutateGoogleAdsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12Q\n\x11mutate_operations\x18\x02 \x03(\x0b\x32\x31.google.ads.googleads.v4.services.MutateOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xab\x01\n\x17MutateGoogleAdsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12]\n\x1amutate_operation_responses\x18\x01 \x03(\x0b\x32\x39.google.ads.googleads.v4.services.MutateOperationResponse\"\x99\"\n\x0fMutateOperation\x12`\n\x1b\x61\x64_group_ad_label_operation\x18\x11 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.AdGroupAdLabelOperationH\x00\x12U\n\x15\x61\x64_group_ad_operation\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v4.services.AdGroupAdOperationH\x00\x12h\n\x1f\x61\x64_group_bid_modifier_operation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v4.services.AdGroupBidModifierOperationH\x00\x12n\n\"ad_group_criterion_label_operation\x18\x12 \x01(\x0b\x32@.google.ads.googleads.v4.services.AdGroupCriterionLabelOperationH\x00\x12\x63\n\x1c\x61\x64_group_criterion_operation\x18\x03 \x01(\x0b\x32;.google.ads.googleads.v4.services.AdGroupCriterionOperationH\x00\x12r\n$ad_group_extension_setting_operation\x18\x13 \x01(\x0b\x32\x42.google.ads.googleads.v4.services.AdGroupExtensionSettingOperationH\x00\x12Y\n\x17\x61\x64_group_feed_operation\x18\x14 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.AdGroupFeedOperationH\x00\x12[\n\x18\x61\x64_group_label_operation\x18\x15 \x01(\x0b\x32\x37.google.ads.googleads.v4.services.AdGroupLabelOperationH\x00\x12P\n\x12\x61\x64_group_operation\x18\x05 \x01(\x0b\x32\x32.google.ads.googleads.v4.services.AdGroupOperationH\x00\x12\x45\n\x0c\x61\x64_operation\x18\x31 \x01(\x0b\x32-.google.ads.googleads.v4.services.AdOperationH\x00\x12X\n\x16\x61\x64_parameter_operation\x18\x16 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.AdParameterOperationH\x00\x12K\n\x0f\x61sset_operation\x18\x17 \x01(\x0b\x32\x30.google.ads.googleads.v4.services.AssetOperationH\x00\x12`\n\x1a\x62idding_strategy_operation\x18\x06 \x01(\x0b\x32:.google.ads.googleads.v4.services.BiddingStrategyOperationH\x00\x12i\n\x1f\x63\x61mpaign_bid_modifier_operation\x18\x07 \x01(\x0b\x32>.google.ads.googleads.v4.services.CampaignBidModifierOperationH\x00\x12^\n\x19\x63\x61mpaign_budget_operation\x18\x08 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.CampaignBudgetOperationH\x00\x12\x64\n\x1c\x63\x61mpaign_criterion_operation\x18\r \x01(\x0b\x32<.google.ads.googleads.v4.services.CampaignCriterionOperationH\x00\x12\\\n\x18\x63\x61mpaign_draft_operation\x18\x18 \x01(\x0b\x32\x38.google.ads.googleads.v4.services.CampaignDraftOperationH\x00\x12\x66\n\x1d\x63\x61mpaign_experiment_operation\x18\x19 \x01(\x0b\x32=.google.ads.googleads.v4.services.CampaignExperimentOperationH\x00\x12s\n$campaign_extension_setting_operation\x18\x1a \x01(\x0b\x32\x43.google.ads.googleads.v4.services.CampaignExtensionSettingOperationH\x00\x12Z\n\x17\x63\x61mpaign_feed_operation\x18\x1b \x01(\x0b\x32\x37.google.ads.googleads.v4.services.CampaignFeedOperationH\x00\x12\\\n\x18\x63\x61mpaign_label_operation\x18\x1c \x01(\x0b\x32\x38.google.ads.googleads.v4.services.CampaignLabelOperationH\x00\x12Q\n\x12\x63\x61mpaign_operation\x18\n \x01(\x0b\x32\x33.google.ads.googleads.v4.services.CampaignOperationH\x00\x12\x65\n\x1d\x63\x61mpaign_shared_set_operation\x18\x0b \x01(\x0b\x32<.google.ads.googleads.v4.services.CampaignSharedSetOperationH\x00\x12\x62\n\x1b\x63onversion_action_operation\x18\x0c \x01(\x0b\x32;.google.ads.googleads.v4.services.ConversionActionOperationH\x00\x12s\n$customer_extension_setting_operation\x18\x1e \x01(\x0b\x32\x43.google.ads.googleads.v4.services.CustomerExtensionSettingOperationH\x00\x12Z\n\x17\x63ustomer_feed_operation\x18\x1f \x01(\x0b\x32\x37.google.ads.googleads.v4.services.CustomerFeedOperationH\x00\x12\\\n\x18\x63ustomer_label_operation\x18 \x01(\x0b\x32\x38.google.ads.googleads.v4.services.CustomerLabelOperationH\x00\x12u\n%customer_negative_criterion_operation\x18\" \x01(\x0b\x32\x44.google.ads.googleads.v4.services.CustomerNegativeCriterionOperationH\x00\x12Q\n\x12\x63ustomer_operation\x18# \x01(\x0b\x32\x33.google.ads.googleads.v4.services.CustomerOperationH\x00\x12\x65\n\x1d\x65xtension_feed_item_operation\x18$ \x01(\x0b\x32<.google.ads.googleads.v4.services.ExtensionFeedItemOperationH\x00\x12R\n\x13\x66\x65\x65\x64_item_operation\x18% \x01(\x0b\x32\x33.google.ads.googleads.v4.services.FeedItemOperationH\x00\x12_\n\x1a\x66\x65\x65\x64_item_target_operation\x18& \x01(\x0b\x32\x39.google.ads.googleads.v4.services.FeedItemTargetOperationH\x00\x12X\n\x16\x66\x65\x65\x64_mapping_operation\x18\' \x01(\x0b\x32\x36.google.ads.googleads.v4.services.FeedMappingOperationH\x00\x12I\n\x0e\x66\x65\x65\x64_operation\x18( \x01(\x0b\x32/.google.ads.googleads.v4.services.FeedOperationH\x00\x12h\n\x1fkeyword_plan_ad_group_operation\x18, \x01(\x0b\x32=.google.ads.googleads.v4.services.KeywordPlanAdGroupOperationH\x00\x12w\n\'keyword_plan_ad_group_keyword_operation\x18\x32 \x01(\x0b\x32\x44.google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordOperationH\x00\x12x\n\'keyword_plan_campaign_keyword_operation\x18\x33 \x01(\x0b\x32\x45.google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperationH\x00\x12i\n\x1fkeyword_plan_campaign_operation\x18- \x01(\x0b\x32>.google.ads.googleads.v4.services.KeywordPlanCampaignOperationH\x00\x12X\n\x16keyword_plan_operation\x18\x30 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.KeywordPlanOperationH\x00\x12K\n\x0flabel_operation\x18) \x01(\x0b\x32\x30.google.ads.googleads.v4.services.LabelOperationH\x00\x12T\n\x14media_file_operation\x18* \x01(\x0b\x32\x34.google.ads.googleads.v4.services.MediaFileOperationH\x00\x12\x64\n\x1cremarketing_action_operation\x18+ \x01(\x0b\x32<.google.ads.googleads.v4.services.RemarketingActionOperationH\x00\x12`\n\x1ashared_criterion_operation\x18\x0e \x01(\x0b\x32:.google.ads.googleads.v4.services.SharedCriterionOperationH\x00\x12T\n\x14shared_set_operation\x18\x0f \x01(\x0b\x32\x34.google.ads.googleads.v4.services.SharedSetOperationH\x00\x12R\n\x13user_list_operation\x18\x10 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.UserListOperationH\x00\x42\x0b\n\toperation\"\xa0\"\n\x17MutateOperationResponse\x12`\n\x18\x61\x64_group_ad_label_result\x18\x11 \x01(\x0b\x32<.google.ads.googleads.v4.services.MutateAdGroupAdLabelResultH\x00\x12U\n\x12\x61\x64_group_ad_result\x18\x01 \x01(\x0b\x32\x37.google.ads.googleads.v4.services.MutateAdGroupAdResultH\x00\x12h\n\x1c\x61\x64_group_bid_modifier_result\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v4.services.MutateAdGroupBidModifierResultH\x00\x12n\n\x1f\x61\x64_group_criterion_label_result\x18\x12 \x01(\x0b\x32\x43.google.ads.googleads.v4.services.MutateAdGroupCriterionLabelResultH\x00\x12\x63\n\x19\x61\x64_group_criterion_result\x18\x03 \x01(\x0b\x32>.google.ads.googleads.v4.services.MutateAdGroupCriterionResultH\x00\x12r\n!ad_group_extension_setting_result\x18\x13 \x01(\x0b\x32\x45.google.ads.googleads.v4.services.MutateAdGroupExtensionSettingResultH\x00\x12Y\n\x14\x61\x64_group_feed_result\x18\x14 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.MutateAdGroupFeedResultH\x00\x12[\n\x15\x61\x64_group_label_result\x18\x15 \x01(\x0b\x32:.google.ads.googleads.v4.services.MutateAdGroupLabelResultH\x00\x12P\n\x0f\x61\x64_group_result\x18\x05 \x01(\x0b\x32\x35.google.ads.googleads.v4.services.MutateAdGroupResultH\x00\x12X\n\x13\x61\x64_parameter_result\x18\x16 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.MutateAdParameterResultH\x00\x12\x45\n\tad_result\x18\x31 \x01(\x0b\x32\x30.google.ads.googleads.v4.services.MutateAdResultH\x00\x12K\n\x0c\x61sset_result\x18\x17 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.MutateAssetResultH\x00\x12`\n\x17\x62idding_strategy_result\x18\x06 \x01(\x0b\x32=.google.ads.googleads.v4.services.MutateBiddingStrategyResultH\x00\x12i\n\x1c\x63\x61mpaign_bid_modifier_result\x18\x07 \x01(\x0b\x32\x41.google.ads.googleads.v4.services.MutateCampaignBidModifierResultH\x00\x12^\n\x16\x63\x61mpaign_budget_result\x18\x08 \x01(\x0b\x32<.google.ads.googleads.v4.services.MutateCampaignBudgetResultH\x00\x12\x64\n\x19\x63\x61mpaign_criterion_result\x18\r \x01(\x0b\x32?.google.ads.googleads.v4.services.MutateCampaignCriterionResultH\x00\x12\\\n\x15\x63\x61mpaign_draft_result\x18\x18 \x01(\x0b\x32;.google.ads.googleads.v4.services.MutateCampaignDraftResultH\x00\x12\x66\n\x1a\x63\x61mpaign_experiment_result\x18\x19 \x01(\x0b\x32@.google.ads.googleads.v4.services.MutateCampaignExperimentResultH\x00\x12s\n!campaign_extension_setting_result\x18\x1a \x01(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCampaignExtensionSettingResultH\x00\x12Z\n\x14\x63\x61mpaign_feed_result\x18\x1b \x01(\x0b\x32:.google.ads.googleads.v4.services.MutateCampaignFeedResultH\x00\x12\\\n\x15\x63\x61mpaign_label_result\x18\x1c \x01(\x0b\x32;.google.ads.googleads.v4.services.MutateCampaignLabelResultH\x00\x12Q\n\x0f\x63\x61mpaign_result\x18\n \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateCampaignResultH\x00\x12\x65\n\x1a\x63\x61mpaign_shared_set_result\x18\x0b \x01(\x0b\x32?.google.ads.googleads.v4.services.MutateCampaignSharedSetResultH\x00\x12\x62\n\x18\x63onversion_action_result\x18\x0c \x01(\x0b\x32>.google.ads.googleads.v4.services.MutateConversionActionResultH\x00\x12s\n!customer_extension_setting_result\x18\x1e \x01(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCustomerExtensionSettingResultH\x00\x12Z\n\x14\x63ustomer_feed_result\x18\x1f \x01(\x0b\x32:.google.ads.googleads.v4.services.MutateCustomerFeedResultH\x00\x12\\\n\x15\x63ustomer_label_result\x18 \x01(\x0b\x32;.google.ads.googleads.v4.services.MutateCustomerLabelResultH\x00\x12t\n\"customer_negative_criterion_result\x18\" \x01(\x0b\x32\x46.google.ads.googleads.v4.services.MutateCustomerNegativeCriteriaResultH\x00\x12Q\n\x0f\x63ustomer_result\x18# \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateCustomerResultH\x00\x12\x65\n\x1a\x65xtension_feed_item_result\x18$ \x01(\x0b\x32?.google.ads.googleads.v4.services.MutateExtensionFeedItemResultH\x00\x12R\n\x10\x66\x65\x65\x64_item_result\x18% \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateFeedItemResultH\x00\x12_\n\x17\x66\x65\x65\x64_item_target_result\x18& \x01(\x0b\x32<.google.ads.googleads.v4.services.MutateFeedItemTargetResultH\x00\x12X\n\x13\x66\x65\x65\x64_mapping_result\x18\' \x01(\x0b\x32\x39.google.ads.googleads.v4.services.MutateFeedMappingResultH\x00\x12I\n\x0b\x66\x65\x65\x64_result\x18( \x01(\x0b\x32\x32.google.ads.googleads.v4.services.MutateFeedResultH\x00\x12h\n\x1ckeyword_plan_ad_group_result\x18, \x01(\x0b\x32@.google.ads.googleads.v4.services.MutateKeywordPlanAdGroupResultH\x00\x12i\n\x1ckeyword_plan_campaign_result\x18- \x01(\x0b\x32\x41.google.ads.googleads.v4.services.MutateKeywordPlanCampaignResultH\x00\x12w\n$keyword_plan_ad_group_keyword_result\x18\x32 \x01(\x0b\x32G.google.ads.googleads.v4.services.MutateKeywordPlanAdGroupKeywordResultH\x00\x12x\n$keyword_plan_campaign_keyword_result\x18\x33 \x01(\x0b\x32H.google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordResultH\x00\x12Y\n\x13keyword_plan_result\x18\x30 \x01(\x0b\x32:.google.ads.googleads.v4.services.MutateKeywordPlansResultH\x00\x12K\n\x0clabel_result\x18) \x01(\x0b\x32\x33.google.ads.googleads.v4.services.MutateLabelResultH\x00\x12T\n\x11media_file_result\x18* \x01(\x0b\x32\x37.google.ads.googleads.v4.services.MutateMediaFileResultH\x00\x12\x64\n\x19remarketing_action_result\x18+ \x01(\x0b\x32?.google.ads.googleads.v4.services.MutateRemarketingActionResultH\x00\x12`\n\x17shared_criterion_result\x18\x0e \x01(\x0b\x32=.google.ads.googleads.v4.services.MutateSharedCriterionResultH\x00\x12T\n\x11shared_set_result\x18\x0f \x01(\x0b\x32\x37.google.ads.googleads.v4.services.MutateSharedSetResultH\x00\x12R\n\x10user_list_result\x18\x10 \x01(\x0b\x32\x36.google.ads.googleads.v4.services.MutateUserListResultH\x00\x42\n\n\x08response2\xc2\x05\n\x10GoogleAdsService\x12\xcc\x01\n\x06Search\x12\x38.google.ads.googleads.v4.services.SearchGoogleAdsRequest\x1a\x39.google.ads.googleads.v4.services.SearchGoogleAdsResponse\"M\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/googleAds:search:\x01*\xda\x41\x11\x63ustomer_id,query\x12\xe6\x01\n\x0cSearchStream\x12>.google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest\x1a?.google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse\"S\x82\xd3\xe4\x93\x02\x39\"4/v4/customers/{customer_id=*}/googleAds:searchStream:\x01*\xda\x41\x11\x63ustomer_id,query0\x01\x12\xd8\x01\n\x06Mutate\x12\x38.google.ads.googleads.v4.services.MutateGoogleAdsRequest\x1a\x39.google.ads.googleads.v4.services.MutateGoogleAdsResponse\"Y\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/googleAds:mutate:\x01*\xda\x41\x1d\x63ustomer_id,mutate_operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15GoogleAdsServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_metrics__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_segments__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_age__range__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__parameter__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_asset__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_metrics__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_segments__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_summary__row__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__parameter__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_age__range__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_asset__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__constant__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__parameter__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_asset__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__keyword__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _SEARCHGOOGLEADSREQUEST = _descriptor.Descriptor( name='SearchGoogleAdsRequest', - full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='query', full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest.query', index=1, + name='query', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.query', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_token', full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest.page_token', index=2, + name='page_token', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.page_token', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='page_size', full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest.page_size', index=3, + name='page_size', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.page_size', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.SearchGoogleAdsRequest.validate_only', index=4, + name='validate_only', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.validate_only', index=4, number=5, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='return_total_results_count', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.return_total_results_count', index=5, + number=7, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='summary_row_setting', full_name='google.ads.googleads.v4.services.SearchGoogleAdsRequest.summary_row_setting', index=6, + number=8, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -218,46 +249,143 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9100, - serialized_end=9222, + serialized_start=10208, + serialized_end=10477, ) _SEARCHGOOGLEADSRESPONSE = _descriptor.Descriptor( name='SearchGoogleAdsResponse', - full_name='google.ads.googleads.v1.services.SearchGoogleAdsResponse', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.SearchGoogleAdsResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse.results', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='next_page_token', full_name='google.ads.googleads.v1.services.SearchGoogleAdsResponse.next_page_token', index=1, + name='next_page_token', full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse.next_page_token', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='total_results_count', full_name='google.ads.googleads.v1.services.SearchGoogleAdsResponse.total_results_count', index=2, + name='total_results_count', full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse.total_results_count', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='field_mask', full_name='google.ads.googleads.v1.services.SearchGoogleAdsResponse.field_mask', index=3, + name='field_mask', full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse.field_mask', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='summary_row', full_name='google.ads.googleads.v4.services.SearchGoogleAdsResponse.summary_row', index=4, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10480, + serialized_end=10741, +) + + +_SEARCHGOOGLEADSSTREAMREQUEST = _descriptor.Descriptor( + name='SearchGoogleAdsStreamRequest', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='query', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest.query', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='summary_row_setting', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest.summary_row_setting', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=10744, + serialized_end=10921, +) + + +_SEARCHGOOGLEADSSTREAMRESPONSE = _descriptor.Descriptor( + name='SearchGoogleAdsStreamResponse', + full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse.results', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='field_mask', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse.field_mask', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='summary_row', full_name='google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse.summary_row', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -270,678 +398,734 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9225, - serialized_end=9417, + serialized_start=10924, + serialized_end=11137, ) _GOOGLEADSROW = _descriptor.Descriptor( name='GoogleAdsRow', - full_name='google.ads.googleads.v1.services.GoogleAdsRow', + full_name='google.ads.googleads.v4.services.GoogleAdsRow', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='account_budget', full_name='google.ads.googleads.v1.services.GoogleAdsRow.account_budget', index=0, + name='account_budget', full_name='google.ads.googleads.v4.services.GoogleAdsRow.account_budget', index=0, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='account_budget_proposal', full_name='google.ads.googleads.v1.services.GoogleAdsRow.account_budget_proposal', index=1, + name='account_budget_proposal', full_name='google.ads.googleads.v4.services.GoogleAdsRow.account_budget_proposal', index=1, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group', index=2, + name='account_link', full_name='google.ads.googleads.v4.services.GoogleAdsRow.account_link', index=2, + number=143, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group', index=3, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_ad', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_ad', index=3, + name='ad_group_ad', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_ad', index=4, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_ad_label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_ad_label', index=4, + name='ad_group_ad_asset_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_ad_asset_view', index=5, + number=131, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_group_ad_label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_ad_label', index=6, number=120, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_audience_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_audience_view', index=5, + name='ad_group_audience_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_audience_view', index=7, number=57, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_bid_modifier', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_bid_modifier', index=6, + name='ad_group_bid_modifier', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_bid_modifier', index=8, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_criterion', index=7, + name='ad_group_criterion', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_criterion', index=9, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_criterion_label', index=8, + name='ad_group_criterion_label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_criterion_label', index=10, number=121, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_simulation', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_criterion_simulation', index=9, + name='ad_group_criterion_simulation', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_criterion_simulation', index=11, number=110, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_extension_setting', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_extension_setting', index=10, + name='ad_group_extension_setting', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_extension_setting', index=12, number=112, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_feed', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_feed', index=11, + name='ad_group_feed', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_feed', index=13, number=67, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_label', index=12, + name='ad_group_label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_label', index=14, number=115, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_simulation', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_group_simulation', index=13, + name='ad_group_simulation', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_group_simulation', index=15, number=107, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_parameter', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_parameter', index=14, + name='ad_parameter', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_parameter', index=16, number=130, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='age_range_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.age_range_view', index=15, + name='age_range_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.age_range_view', index=17, number=48, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_schedule_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.ad_schedule_view', index=16, + name='ad_schedule_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.ad_schedule_view', index=18, number=89, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='domain_category', full_name='google.ads.googleads.v1.services.GoogleAdsRow.domain_category', index=17, + name='domain_category', full_name='google.ads.googleads.v4.services.GoogleAdsRow.domain_category', index=19, number=91, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='asset', full_name='google.ads.googleads.v1.services.GoogleAdsRow.asset', index=18, + name='asset', full_name='google.ads.googleads.v4.services.GoogleAdsRow.asset', index=20, number=105, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy', full_name='google.ads.googleads.v1.services.GoogleAdsRow.bidding_strategy', index=19, + name='batch_job', full_name='google.ads.googleads.v4.services.GoogleAdsRow.batch_job', index=21, + number=139, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='bidding_strategy', full_name='google.ads.googleads.v4.services.GoogleAdsRow.bidding_strategy', index=22, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='billing_setup', full_name='google.ads.googleads.v1.services.GoogleAdsRow.billing_setup', index=20, + name='billing_setup', full_name='google.ads.googleads.v4.services.GoogleAdsRow.billing_setup', index=23, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_budget', index=21, + name='campaign_budget', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_budget', index=24, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign', index=22, + name='campaign', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign', index=25, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_audience_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_audience_view', index=23, + name='campaign_audience_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_audience_view', index=26, number=69, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_bid_modifier', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_bid_modifier', index=24, + name='campaign_bid_modifier', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_bid_modifier', index=27, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_criterion', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_criterion', index=25, + name='campaign_criterion', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_criterion', index=28, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_criterion_simulation', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_criterion_simulation', index=26, + name='campaign_criterion_simulation', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_criterion_simulation', index=29, number=111, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_draft', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_draft', index=27, + name='campaign_draft', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_draft', index=30, number=49, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_experiment', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_experiment', index=28, + name='campaign_experiment', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_experiment', index=31, number=84, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_extension_setting', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_extension_setting', index=29, + name='campaign_extension_setting', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_extension_setting', index=32, number=113, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_feed', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_feed', index=30, + name='campaign_feed', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_feed', index=33, number=63, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_label', index=31, + name='campaign_label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_label', index=34, number=108, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_shared_set', full_name='google.ads.googleads.v1.services.GoogleAdsRow.campaign_shared_set', index=32, + name='campaign_shared_set', full_name='google.ads.googleads.v4.services.GoogleAdsRow.campaign_shared_set', index=35, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='carrier_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.carrier_constant', index=33, + name='carrier_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.carrier_constant', index=36, number=66, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='change_status', full_name='google.ads.googleads.v1.services.GoogleAdsRow.change_status', index=34, + name='change_status', full_name='google.ads.googleads.v4.services.GoogleAdsRow.change_status', index=37, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action', full_name='google.ads.googleads.v1.services.GoogleAdsRow.conversion_action', index=35, + name='conversion_action', full_name='google.ads.googleads.v4.services.GoogleAdsRow.conversion_action', index=38, number=103, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='click_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.click_view', index=36, + name='click_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.click_view', index=39, number=122, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='custom_interest', full_name='google.ads.googleads.v1.services.GoogleAdsRow.custom_interest', index=37, + name='currency_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.currency_constant', index=40, + number=134, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='custom_interest', full_name='google.ads.googleads.v4.services.GoogleAdsRow.custom_interest', index=41, number=104, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer', index=38, + name='customer', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer', index=42, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_manager_link', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_manager_link', index=39, + name='customer_manager_link', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_manager_link', index=43, number=61, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_client_link', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_client_link', index=40, + name='customer_client_link', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_client_link', index=44, number=62, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_client', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_client', index=41, + name='customer_client', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_client', index=45, number=70, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_extension_setting', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_extension_setting', index=42, + name='customer_extension_setting', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_extension_setting', index=46, number=114, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_feed', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_feed', index=43, + name='customer_feed', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_feed', index=47, number=64, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_label', index=44, + name='customer_label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_label', index=48, number=124, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_negative_criterion', full_name='google.ads.googleads.v1.services.GoogleAdsRow.customer_negative_criterion', index=45, + name='customer_negative_criterion', full_name='google.ads.googleads.v4.services.GoogleAdsRow.customer_negative_criterion', index=49, number=88, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='detail_placement_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.detail_placement_view', index=46, + name='detail_placement_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.detail_placement_view', index=50, number=118, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='display_keyword_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.display_keyword_view', index=47, + name='display_keyword_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.display_keyword_view', index=51, number=47, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='dynamic_search_ads_search_term_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.dynamic_search_ads_search_term_view', index=48, + name='distance_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.distance_view', index=52, + number=132, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='dynamic_search_ads_search_term_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.dynamic_search_ads_search_term_view', index=53, number=106, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='expanded_landing_page_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.expanded_landing_page_view', index=49, + name='expanded_landing_page_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.expanded_landing_page_view', index=54, number=128, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_feed_item', full_name='google.ads.googleads.v1.services.GoogleAdsRow.extension_feed_item', index=50, + name='extension_feed_item', full_name='google.ads.googleads.v4.services.GoogleAdsRow.extension_feed_item', index=55, number=85, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed', full_name='google.ads.googleads.v1.services.GoogleAdsRow.feed', index=51, + name='feed', full_name='google.ads.googleads.v4.services.GoogleAdsRow.feed', index=56, number=46, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item', full_name='google.ads.googleads.v1.services.GoogleAdsRow.feed_item', index=52, + name='feed_item', full_name='google.ads.googleads.v4.services.GoogleAdsRow.feed_item', index=57, number=50, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_target', full_name='google.ads.googleads.v1.services.GoogleAdsRow.feed_item_target', index=53, + name='feed_item_target', full_name='google.ads.googleads.v4.services.GoogleAdsRow.feed_item_target', index=58, number=116, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_mapping', full_name='google.ads.googleads.v1.services.GoogleAdsRow.feed_mapping', index=54, + name='feed_mapping', full_name='google.ads.googleads.v4.services.GoogleAdsRow.feed_mapping', index=59, number=58, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_placeholder_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.feed_placeholder_view', index=55, + name='feed_placeholder_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.feed_placeholder_view', index=60, number=97, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='gender_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.gender_view', index=56, + name='gender_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.gender_view', index=61, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.geo_target_constant', index=57, + name='geo_target_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.geo_target_constant', index=62, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geographic_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.geographic_view', index=58, + name='geographic_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.geographic_view', index=63, number=125, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='group_placement_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.group_placement_view', index=59, + name='group_placement_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.group_placement_view', index=64, number=119, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_group_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.hotel_group_view', index=60, + name='hotel_group_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.hotel_group_view', index=65, number=51, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='hotel_performance_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.hotel_performance_view', index=61, + name='hotel_performance_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.hotel_performance_view', index=66, number=71, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_view', index=62, + name='income_range_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.income_range_view', index=67, + number=138, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_view', index=68, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_plan', index=63, + name='keyword_plan', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_plan', index=69, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_campaign', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_plan_campaign', index=64, + name='keyword_plan_campaign', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_plan_campaign', index=70, number=33, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_negative_keyword', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_plan_negative_keyword', index=65, - number=34, type=11, cpp_type=10, label=1, + name='keyword_plan_campaign_keyword', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_plan_campaign_keyword', index=71, + number=140, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_ad_group', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_plan_ad_group', index=66, + name='keyword_plan_ad_group', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_plan_ad_group', index=72, number=35, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_keyword', full_name='google.ads.googleads.v1.services.GoogleAdsRow.keyword_plan_keyword', index=67, - number=36, type=11, cpp_type=10, label=1, + name='keyword_plan_ad_group_keyword', full_name='google.ads.googleads.v4.services.GoogleAdsRow.keyword_plan_ad_group_keyword', index=73, + number=141, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='label', full_name='google.ads.googleads.v1.services.GoogleAdsRow.label', index=68, + name='label', full_name='google.ads.googleads.v4.services.GoogleAdsRow.label', index=74, number=52, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='landing_page_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.landing_page_view', index=69, + name='landing_page_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.landing_page_view', index=75, number=126, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.language_constant', index=70, + name='language_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.language_constant', index=76, number=55, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='location_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.location_view', index=71, + name='location_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.location_view', index=77, number=123, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='managed_placement_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.managed_placement_view', index=72, + name='managed_placement_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.managed_placement_view', index=78, number=53, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_file', full_name='google.ads.googleads.v1.services.GoogleAdsRow.media_file', index=73, + name='media_file', full_name='google.ads.googleads.v4.services.GoogleAdsRow.media_file', index=79, number=90, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_app_category_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.mobile_app_category_constant', index=74, + name='mobile_app_category_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.mobile_app_category_constant', index=80, number=87, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mobile_device_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.mobile_device_constant', index=75, + name='mobile_device_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.mobile_device_constant', index=81, number=98, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mutate_job', full_name='google.ads.googleads.v1.services.GoogleAdsRow.mutate_job', index=76, - number=127, type=11, cpp_type=10, label=1, + name='offline_user_data_job', full_name='google.ads.googleads.v4.services.GoogleAdsRow.offline_user_data_job', index=82, + number=137, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operating_system_version_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.operating_system_version_constant', index=77, + name='operating_system_version_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.operating_system_version_constant', index=83, number=86, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='paid_organic_search_term_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.paid_organic_search_term_view', index=78, + name='paid_organic_search_term_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.paid_organic_search_term_view', index=84, number=129, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='parental_status_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.parental_status_view', index=79, + name='parental_status_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.parental_status_view', index=85, number=45, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_bidding_category_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.product_bidding_category_constant', index=80, + name='product_bidding_category_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.product_bidding_category_constant', index=86, number=109, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='product_group_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.product_group_view', index=81, + name='product_group_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.product_group_view', index=87, number=54, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='recommendation', full_name='google.ads.googleads.v1.services.GoogleAdsRow.recommendation', index=82, + name='recommendation', full_name='google.ads.googleads.v4.services.GoogleAdsRow.recommendation', index=88, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='search_term_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.search_term_view', index=83, + name='search_term_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.search_term_view', index=89, number=68, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_criterion', full_name='google.ads.googleads.v1.services.GoogleAdsRow.shared_criterion', index=84, + name='shared_criterion', full_name='google.ads.googleads.v4.services.GoogleAdsRow.shared_criterion', index=90, number=29, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_set', full_name='google.ads.googleads.v1.services.GoogleAdsRow.shared_set', index=85, + name='shared_set', full_name='google.ads.googleads.v4.services.GoogleAdsRow.shared_set', index=91, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shopping_performance_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.shopping_performance_view', index=86, + name='shopping_performance_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.shopping_performance_view', index=92, number=117, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='topic_view', full_name='google.ads.googleads.v1.services.GoogleAdsRow.topic_view', index=87, + name='third_party_app_analytics_link', full_name='google.ads.googleads.v4.services.GoogleAdsRow.third_party_app_analytics_link', index=93, + number=144, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='topic_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.topic_view', index=94, number=44, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_interest', full_name='google.ads.googleads.v1.services.GoogleAdsRow.user_interest', index=88, + name='user_interest', full_name='google.ads.googleads.v4.services.GoogleAdsRow.user_interest', index=95, number=59, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list', full_name='google.ads.googleads.v1.services.GoogleAdsRow.user_list', index=89, + name='user_list', full_name='google.ads.googleads.v4.services.GoogleAdsRow.user_list', index=96, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remarketing_action', full_name='google.ads.googleads.v1.services.GoogleAdsRow.remarketing_action', index=90, + name='user_location_view', full_name='google.ads.googleads.v4.services.GoogleAdsRow.user_location_view', index=97, + number=135, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remarketing_action', full_name='google.ads.googleads.v4.services.GoogleAdsRow.remarketing_action', index=98, number=60, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='topic_constant', full_name='google.ads.googleads.v1.services.GoogleAdsRow.topic_constant', index=91, + name='topic_constant', full_name='google.ads.googleads.v4.services.GoogleAdsRow.topic_constant', index=99, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='video', full_name='google.ads.googleads.v1.services.GoogleAdsRow.video', index=92, + name='video', full_name='google.ads.googleads.v4.services.GoogleAdsRow.video', index=100, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='metrics', full_name='google.ads.googleads.v1.services.GoogleAdsRow.metrics', index=93, + name='metrics', full_name='google.ads.googleads.v4.services.GoogleAdsRow.metrics', index=101, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='segments', full_name='google.ads.googleads.v1.services.GoogleAdsRow.segments', index=94, + name='segments', full_name='google.ads.googleads.v4.services.GoogleAdsRow.segments', index=102, number=102, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -959,41 +1143,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=9420, - serialized_end=16996, + serialized_start=11140, + serialized_end=19399, ) _MUTATEGOOGLEADSREQUEST = _descriptor.Descriptor( name='MutateGoogleAdsRequest', - full_name='google.ads.googleads.v1.services.MutateGoogleAdsRequest', + full_name='google.ads.googleads.v4.services.MutateGoogleAdsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateGoogleAdsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateGoogleAdsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mutate_operations', full_name='google.ads.googleads.v1.services.MutateGoogleAdsRequest.mutate_operations', index=1, + name='mutate_operations', full_name='google.ads.googleads.v4.services.MutateGoogleAdsRequest.mutate_operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateGoogleAdsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateGoogleAdsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateGoogleAdsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateGoogleAdsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -1011,27 +1195,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=16999, - serialized_end=17170, + serialized_start=19402, + serialized_end=19583, ) _MUTATEGOOGLEADSRESPONSE = _descriptor.Descriptor( name='MutateGoogleAdsResponse', - full_name='google.ads.googleads.v1.services.MutateGoogleAdsResponse', + full_name='google.ads.googleads.v4.services.MutateGoogleAdsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateGoogleAdsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateGoogleAdsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='mutate_operation_responses', full_name='google.ads.googleads.v1.services.MutateGoogleAdsResponse.mutate_operation_responses', index=1, + name='mutate_operation_responses', full_name='google.ads.googleads.v4.services.MutateGoogleAdsResponse.mutate_operation_responses', index=1, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -1049,286 +1233,328 @@ extension_ranges=[], oneofs=[ ], - serialized_start=17173, - serialized_end=17344, + serialized_start=19586, + serialized_end=19757, ) _MUTATEOPERATION = _descriptor.Descriptor( name='MutateOperation', - full_name='google.ads.googleads.v1.services.MutateOperation', + full_name='google.ads.googleads.v4.services.MutateOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_group_ad_label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_ad_label_operation', index=0, + name='ad_group_ad_label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_ad_label_operation', index=0, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_ad_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_ad_operation', index=1, + name='ad_group_ad_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_ad_operation', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_bid_modifier_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_bid_modifier_operation', index=2, + name='ad_group_bid_modifier_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_bid_modifier_operation', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_criterion_label_operation', index=3, + name='ad_group_criterion_label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_criterion_label_operation', index=3, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_criterion_operation', index=4, + name='ad_group_criterion_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_criterion_operation', index=4, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_extension_setting_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_extension_setting_operation', index=5, + name='ad_group_extension_setting_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_extension_setting_operation', index=5, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_feed_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_feed_operation', index=6, + name='ad_group_feed_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_feed_operation', index=6, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_label_operation', index=7, + name='ad_group_label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_label_operation', index=7, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_group_operation', index=8, + name='ad_group_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_group_operation', index=8, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_parameter_operation', full_name='google.ads.googleads.v1.services.MutateOperation.ad_parameter_operation', index=9, + name='ad_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_operation', index=9, + number=49, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_parameter_operation', full_name='google.ads.googleads.v4.services.MutateOperation.ad_parameter_operation', index=10, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='asset_operation', full_name='google.ads.googleads.v1.services.MutateOperation.asset_operation', index=10, + name='asset_operation', full_name='google.ads.googleads.v4.services.MutateOperation.asset_operation', index=11, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy_operation', full_name='google.ads.googleads.v1.services.MutateOperation.bidding_strategy_operation', index=11, + name='bidding_strategy_operation', full_name='google.ads.googleads.v4.services.MutateOperation.bidding_strategy_operation', index=12, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_bid_modifier_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_bid_modifier_operation', index=12, + name='campaign_bid_modifier_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_bid_modifier_operation', index=13, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_budget_operation', index=13, + name='campaign_budget_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_budget_operation', index=14, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_criterion_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_criterion_operation', index=14, + name='campaign_criterion_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_criterion_operation', index=15, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_draft_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_draft_operation', index=15, + name='campaign_draft_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_draft_operation', index=16, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_experiment_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_experiment_operation', index=16, + name='campaign_experiment_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_experiment_operation', index=17, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_extension_setting_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_extension_setting_operation', index=17, + name='campaign_extension_setting_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_extension_setting_operation', index=18, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_feed_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_feed_operation', index=18, + name='campaign_feed_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_feed_operation', index=19, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_label_operation', index=19, + name='campaign_label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_label_operation', index=20, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_operation', index=20, + name='campaign_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_operation', index=21, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_shared_set_operation', full_name='google.ads.googleads.v1.services.MutateOperation.campaign_shared_set_operation', index=21, + name='campaign_shared_set_operation', full_name='google.ads.googleads.v4.services.MutateOperation.campaign_shared_set_operation', index=22, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action_operation', full_name='google.ads.googleads.v1.services.MutateOperation.conversion_action_operation', index=22, + name='conversion_action_operation', full_name='google.ads.googleads.v4.services.MutateOperation.conversion_action_operation', index=23, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_extension_setting_operation', full_name='google.ads.googleads.v1.services.MutateOperation.customer_extension_setting_operation', index=23, + name='customer_extension_setting_operation', full_name='google.ads.googleads.v4.services.MutateOperation.customer_extension_setting_operation', index=24, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_feed_operation', full_name='google.ads.googleads.v1.services.MutateOperation.customer_feed_operation', index=24, + name='customer_feed_operation', full_name='google.ads.googleads.v4.services.MutateOperation.customer_feed_operation', index=25, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.customer_label_operation', index=25, + name='customer_label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.customer_label_operation', index=26, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_negative_criterion_operation', full_name='google.ads.googleads.v1.services.MutateOperation.customer_negative_criterion_operation', index=26, + name='customer_negative_criterion_operation', full_name='google.ads.googleads.v4.services.MutateOperation.customer_negative_criterion_operation', index=27, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_operation', full_name='google.ads.googleads.v1.services.MutateOperation.customer_operation', index=27, + name='customer_operation', full_name='google.ads.googleads.v4.services.MutateOperation.customer_operation', index=28, number=35, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_feed_item_operation', full_name='google.ads.googleads.v1.services.MutateOperation.extension_feed_item_operation', index=28, + name='extension_feed_item_operation', full_name='google.ads.googleads.v4.services.MutateOperation.extension_feed_item_operation', index=29, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_operation', full_name='google.ads.googleads.v1.services.MutateOperation.feed_item_operation', index=29, + name='feed_item_operation', full_name='google.ads.googleads.v4.services.MutateOperation.feed_item_operation', index=30, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_target_operation', full_name='google.ads.googleads.v1.services.MutateOperation.feed_item_target_operation', index=30, + name='feed_item_target_operation', full_name='google.ads.googleads.v4.services.MutateOperation.feed_item_target_operation', index=31, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_mapping_operation', full_name='google.ads.googleads.v1.services.MutateOperation.feed_mapping_operation', index=31, + name='feed_mapping_operation', full_name='google.ads.googleads.v4.services.MutateOperation.feed_mapping_operation', index=32, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_operation', full_name='google.ads.googleads.v1.services.MutateOperation.feed_operation', index=32, + name='feed_operation', full_name='google.ads.googleads.v4.services.MutateOperation.feed_operation', index=33, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='label_operation', full_name='google.ads.googleads.v1.services.MutateOperation.label_operation', index=33, + name='keyword_plan_ad_group_operation', full_name='google.ads.googleads.v4.services.MutateOperation.keyword_plan_ad_group_operation', index=34, + number=44, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_ad_group_keyword_operation', full_name='google.ads.googleads.v4.services.MutateOperation.keyword_plan_ad_group_keyword_operation', index=35, + number=50, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_keyword_operation', full_name='google.ads.googleads.v4.services.MutateOperation.keyword_plan_campaign_keyword_operation', index=36, + number=51, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_operation', full_name='google.ads.googleads.v4.services.MutateOperation.keyword_plan_campaign_operation', index=37, + number=45, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_operation', full_name='google.ads.googleads.v4.services.MutateOperation.keyword_plan_operation', index=38, + number=48, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='label_operation', full_name='google.ads.googleads.v4.services.MutateOperation.label_operation', index=39, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_file_operation', full_name='google.ads.googleads.v1.services.MutateOperation.media_file_operation', index=34, + name='media_file_operation', full_name='google.ads.googleads.v4.services.MutateOperation.media_file_operation', index=40, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remarketing_action_operation', full_name='google.ads.googleads.v1.services.MutateOperation.remarketing_action_operation', index=35, + name='remarketing_action_operation', full_name='google.ads.googleads.v4.services.MutateOperation.remarketing_action_operation', index=41, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_criterion_operation', full_name='google.ads.googleads.v1.services.MutateOperation.shared_criterion_operation', index=36, + name='shared_criterion_operation', full_name='google.ads.googleads.v4.services.MutateOperation.shared_criterion_operation', index=42, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_set_operation', full_name='google.ads.googleads.v1.services.MutateOperation.shared_set_operation', index=37, + name='shared_set_operation', full_name='google.ads.googleads.v4.services.MutateOperation.shared_set_operation', index=43, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list_operation', full_name='google.ads.googleads.v1.services.MutateOperation.user_list_operation', index=38, + name='user_list_operation', full_name='google.ads.googleads.v4.services.MutateOperation.user_list_operation', index=44, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1346,289 +1572,331 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.MutateOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=17347, - serialized_end=21107, + serialized_start=19760, + serialized_end=24137, ) _MUTATEOPERATIONRESPONSE = _descriptor.Descriptor( name='MutateOperationResponse', - full_name='google.ads.googleads.v1.services.MutateOperationResponse', + full_name='google.ads.googleads.v4.services.MutateOperationResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_group_ad_label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_ad_label_result', index=0, + name='ad_group_ad_label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_ad_label_result', index=0, number=17, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_ad_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_ad_result', index=1, + name='ad_group_ad_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_ad_result', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_bid_modifier_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_bid_modifier_result', index=2, + name='ad_group_bid_modifier_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_bid_modifier_result', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_criterion_label_result', index=3, + name='ad_group_criterion_label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_criterion_label_result', index=3, number=18, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_criterion_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_criterion_result', index=4, + name='ad_group_criterion_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_criterion_result', index=4, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_extension_setting_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_extension_setting_result', index=5, + name='ad_group_extension_setting_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_extension_setting_result', index=5, number=19, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_feed_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_feed_result', index=6, + name='ad_group_feed_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_feed_result', index=6, number=20, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_label_result', index=7, + name='ad_group_label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_label_result', index=7, number=21, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_group_result', index=8, + name='ad_group_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_group_result', index=8, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_parameter_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.ad_parameter_result', index=9, + name='ad_parameter_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_parameter_result', index=9, number=22, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='asset_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.asset_result', index=10, + name='ad_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.ad_result', index=10, + number=49, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='asset_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.asset_result', index=11, number=23, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='bidding_strategy_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.bidding_strategy_result', index=11, + name='bidding_strategy_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.bidding_strategy_result', index=12, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_bid_modifier_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_bid_modifier_result', index=12, + name='campaign_bid_modifier_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_bid_modifier_result', index=13, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_budget_result', index=13, + name='campaign_budget_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_budget_result', index=14, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_criterion_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_criterion_result', index=14, + name='campaign_criterion_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_criterion_result', index=15, number=13, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_draft_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_draft_result', index=15, + name='campaign_draft_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_draft_result', index=16, number=24, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_experiment_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_experiment_result', index=16, + name='campaign_experiment_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_experiment_result', index=17, number=25, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_extension_setting_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_extension_setting_result', index=17, + name='campaign_extension_setting_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_extension_setting_result', index=18, number=26, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_feed_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_feed_result', index=18, + name='campaign_feed_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_feed_result', index=19, number=27, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_label_result', index=19, + name='campaign_label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_label_result', index=20, number=28, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_result', index=20, + name='campaign_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_result', index=21, number=10, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_shared_set_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.campaign_shared_set_result', index=21, + name='campaign_shared_set_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.campaign_shared_set_result', index=22, number=11, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='conversion_action_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.conversion_action_result', index=22, + name='conversion_action_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.conversion_action_result', index=23, number=12, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_extension_setting_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.customer_extension_setting_result', index=23, + name='customer_extension_setting_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.customer_extension_setting_result', index=24, number=30, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_feed_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.customer_feed_result', index=24, + name='customer_feed_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.customer_feed_result', index=25, number=31, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.customer_label_result', index=25, + name='customer_label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.customer_label_result', index=26, number=32, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_negative_criterion_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.customer_negative_criterion_result', index=26, + name='customer_negative_criterion_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.customer_negative_criterion_result', index=27, number=34, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='customer_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.customer_result', index=27, + name='customer_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.customer_result', index=28, number=35, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='extension_feed_item_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.extension_feed_item_result', index=28, + name='extension_feed_item_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.extension_feed_item_result', index=29, number=36, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.feed_item_result', index=29, + name='feed_item_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.feed_item_result', index=30, number=37, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_item_target_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.feed_item_target_result', index=30, + name='feed_item_target_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.feed_item_target_result', index=31, number=38, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_mapping_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.feed_mapping_result', index=31, + name='feed_mapping_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.feed_mapping_result', index=32, number=39, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='feed_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.feed_result', index=32, + name='feed_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.feed_result', index=33, number=40, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='label_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.label_result', index=33, + name='keyword_plan_ad_group_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.keyword_plan_ad_group_result', index=34, + number=44, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.keyword_plan_campaign_result', index=35, + number=45, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_ad_group_keyword_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.keyword_plan_ad_group_keyword_result', index=36, + number=50, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_campaign_keyword_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.keyword_plan_campaign_keyword_result', index=37, + number=51, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.keyword_plan_result', index=38, + number=48, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='label_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.label_result', index=39, number=41, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='media_file_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.media_file_result', index=34, + name='media_file_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.media_file_result', index=40, number=42, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remarketing_action_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.remarketing_action_result', index=35, + name='remarketing_action_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.remarketing_action_result', index=41, number=43, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_criterion_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.shared_criterion_result', index=36, + name='shared_criterion_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.shared_criterion_result', index=42, number=14, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='shared_set_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.shared_set_result', index=37, + name='shared_set_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.shared_set_result', index=43, number=15, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='user_list_result', full_name='google.ads.googleads.v1.services.MutateOperationResponse.user_list_result', index=38, + name='user_list_result', full_name='google.ads.googleads.v4.services.MutateOperationResponse.user_list_result', index=44, number=16, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -1646,152 +1914,172 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='response', full_name='google.ads.googleads.v1.services.MutateOperationResponse.response', + name='response', full_name='google.ads.googleads.v4.services.MutateOperationResponse.response', index=0, containing_type=None, fields=[]), ], - serialized_start=21110, - serialized_end=24876, + serialized_start=24140, + serialized_end=28524, ) +_SEARCHGOOGLEADSREQUEST.fields_by_name['summary_row_setting'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_summary__row__setting__pb2._SUMMARYROWSETTINGENUM_SUMMARYROWSETTING _SEARCHGOOGLEADSRESPONSE.fields_by_name['results'].message_type = _GOOGLEADSROW _SEARCHGOOGLEADSRESPONSE.fields_by_name['field_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_GOOGLEADSROW.fields_by_name['account_budget'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__pb2._ACCOUNTBUDGET -_GOOGLEADSROW.fields_by_name['account_budget_proposal'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL -_GOOGLEADSROW.fields_by_name['ad_group'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__pb2._ADGROUP -_GOOGLEADSROW.fields_by_name['ad_group_ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD -_GOOGLEADSROW.fields_by_name['ad_group_ad_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL -_GOOGLEADSROW.fields_by_name['ad_group_audience_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__audience__view__pb2._ADGROUPAUDIENCEVIEW -_GOOGLEADSROW.fields_by_name['ad_group_bid_modifier'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER -_GOOGLEADSROW.fields_by_name['ad_group_criterion'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION -_GOOGLEADSROW.fields_by_name['ad_group_criterion_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL -_GOOGLEADSROW.fields_by_name['ad_group_criterion_simulation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2._ADGROUPCRITERIONSIMULATION -_GOOGLEADSROW.fields_by_name['ad_group_extension_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING -_GOOGLEADSROW.fields_by_name['ad_group_feed'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED -_GOOGLEADSROW.fields_by_name['ad_group_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__label__pb2._ADGROUPLABEL -_GOOGLEADSROW.fields_by_name['ad_group_simulation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__group__simulation__pb2._ADGROUPSIMULATION -_GOOGLEADSROW.fields_by_name['ad_parameter'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__parameter__pb2._ADPARAMETER -_GOOGLEADSROW.fields_by_name['age_range_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_age__range__view__pb2._AGERANGEVIEW -_GOOGLEADSROW.fields_by_name['ad_schedule_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW -_GOOGLEADSROW.fields_by_name['domain_category'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY -_GOOGLEADSROW.fields_by_name['asset'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_asset__pb2._ASSET -_GOOGLEADSROW.fields_by_name['bidding_strategy'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY -_GOOGLEADSROW.fields_by_name['billing_setup'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP -_GOOGLEADSROW.fields_by_name['campaign_budget'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET -_GOOGLEADSROW.fields_by_name['campaign'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN -_GOOGLEADSROW.fields_by_name['campaign_audience_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__audience__view__pb2._CAMPAIGNAUDIENCEVIEW -_GOOGLEADSROW.fields_by_name['campaign_bid_modifier'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER -_GOOGLEADSROW.fields_by_name['campaign_criterion'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION -_GOOGLEADSROW.fields_by_name['campaign_criterion_simulation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION -_GOOGLEADSROW.fields_by_name['campaign_draft'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT -_GOOGLEADSROW.fields_by_name['campaign_experiment'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT -_GOOGLEADSROW.fields_by_name['campaign_extension_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING -_GOOGLEADSROW.fields_by_name['campaign_feed'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED -_GOOGLEADSROW.fields_by_name['campaign_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL -_GOOGLEADSROW.fields_by_name['campaign_shared_set'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET -_GOOGLEADSROW.fields_by_name['carrier_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT -_GOOGLEADSROW.fields_by_name['change_status'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS -_GOOGLEADSROW.fields_by_name['conversion_action'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION -_GOOGLEADSROW.fields_by_name['click_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW -_GOOGLEADSROW.fields_by_name['custom_interest'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST -_GOOGLEADSROW.fields_by_name['customer'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER -_GOOGLEADSROW.fields_by_name['customer_manager_link'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK -_GOOGLEADSROW.fields_by_name['customer_client_link'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK -_GOOGLEADSROW.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT -_GOOGLEADSROW.fields_by_name['customer_extension_setting'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING -_GOOGLEADSROW.fields_by_name['customer_feed'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED -_GOOGLEADSROW.fields_by_name['customer_label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL -_GOOGLEADSROW.fields_by_name['customer_negative_criterion'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION -_GOOGLEADSROW.fields_by_name['detail_placement_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['display_keyword_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW -_GOOGLEADSROW.fields_by_name['dynamic_search_ads_search_term_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2._DYNAMICSEARCHADSSEARCHTERMVIEW -_GOOGLEADSROW.fields_by_name['expanded_landing_page_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2._EXPANDEDLANDINGPAGEVIEW -_GOOGLEADSROW.fields_by_name['extension_feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM -_GOOGLEADSROW.fields_by_name['feed'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__pb2._FEED -_GOOGLEADSROW.fields_by_name['feed_item'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM -_GOOGLEADSROW.fields_by_name['feed_item_target'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET -_GOOGLEADSROW.fields_by_name['feed_mapping'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING -_GOOGLEADSROW.fields_by_name['feed_placeholder_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW -_GOOGLEADSROW.fields_by_name['gender_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW -_GOOGLEADSROW.fields_by_name['geo_target_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT -_GOOGLEADSROW.fields_by_name['geographic_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW -_GOOGLEADSROW.fields_by_name['group_placement_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['hotel_group_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW -_GOOGLEADSROW.fields_by_name['hotel_performance_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW -_GOOGLEADSROW.fields_by_name['keyword_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW -_GOOGLEADSROW.fields_by_name['keyword_plan'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN -_GOOGLEADSROW.fields_by_name['keyword_plan_campaign'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN -_GOOGLEADSROW.fields_by_name['keyword_plan_negative_keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__negative__keyword__pb2._KEYWORDPLANNEGATIVEKEYWORD -_GOOGLEADSROW.fields_by_name['keyword_plan_ad_group'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP -_GOOGLEADSROW.fields_by_name['keyword_plan_keyword'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__keyword__pb2._KEYWORDPLANKEYWORD -_GOOGLEADSROW.fields_by_name['label'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2._LABEL -_GOOGLEADSROW.fields_by_name['landing_page_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW -_GOOGLEADSROW.fields_by_name['language_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT -_GOOGLEADSROW.fields_by_name['location_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW -_GOOGLEADSROW.fields_by_name['managed_placement_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW -_GOOGLEADSROW.fields_by_name['media_file'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE -_GOOGLEADSROW.fields_by_name['mobile_app_category_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2._MOBILEAPPCATEGORYCONSTANT -_GOOGLEADSROW.fields_by_name['mobile_device_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT -_GOOGLEADSROW.fields_by_name['mutate_job'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mutate__job__pb2._MUTATEJOB -_GOOGLEADSROW.fields_by_name['operating_system_version_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2._OPERATINGSYSTEMVERSIONCONSTANT -_GOOGLEADSROW.fields_by_name['paid_organic_search_term_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2._PAIDORGANICSEARCHTERMVIEW -_GOOGLEADSROW.fields_by_name['parental_status_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2._PARENTALSTATUSVIEW -_GOOGLEADSROW.fields_by_name['product_bidding_category_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2._PRODUCTBIDDINGCATEGORYCONSTANT -_GOOGLEADSROW.fields_by_name['product_group_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW -_GOOGLEADSROW.fields_by_name['recommendation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION -_GOOGLEADSROW.fields_by_name['search_term_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW -_GOOGLEADSROW.fields_by_name['shared_criterion'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION -_GOOGLEADSROW.fields_by_name['shared_set'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET -_GOOGLEADSROW.fields_by_name['shopping_performance_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW -_GOOGLEADSROW.fields_by_name['topic_view'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__view__pb2._TOPICVIEW -_GOOGLEADSROW.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2._USERINTEREST -_GOOGLEADSROW.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST -_GOOGLEADSROW.fields_by_name['remarketing_action'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION -_GOOGLEADSROW.fields_by_name['topic_constant'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_topic__constant__pb2._TOPICCONSTANT -_GOOGLEADSROW.fields_by_name['video'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2._VIDEO -_GOOGLEADSROW.fields_by_name['metrics'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_metrics__pb2._METRICS -_GOOGLEADSROW.fields_by_name['segments'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_segments__pb2._SEGMENTS +_SEARCHGOOGLEADSRESPONSE.fields_by_name['summary_row'].message_type = _GOOGLEADSROW +_SEARCHGOOGLEADSSTREAMREQUEST.fields_by_name['summary_row_setting'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_summary__row__setting__pb2._SUMMARYROWSETTINGENUM_SUMMARYROWSETTING +_SEARCHGOOGLEADSSTREAMRESPONSE.fields_by_name['results'].message_type = _GOOGLEADSROW +_SEARCHGOOGLEADSSTREAMRESPONSE.fields_by_name['field_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +_SEARCHGOOGLEADSSTREAMRESPONSE.fields_by_name['summary_row'].message_type = _GOOGLEADSROW +_GOOGLEADSROW.fields_by_name['account_budget'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__pb2._ACCOUNTBUDGET +_GOOGLEADSROW.fields_by_name['account_budget_proposal'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__budget__proposal__pb2._ACCOUNTBUDGETPROPOSAL +_GOOGLEADSROW.fields_by_name['account_link'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_account__link__pb2._ACCOUNTLINK +_GOOGLEADSROW.fields_by_name['ad_group'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__pb2._ADGROUP +_GOOGLEADSROW.fields_by_name['ad_group_ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__pb2._ADGROUPAD +_GOOGLEADSROW.fields_by_name['ad_group_ad_asset_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__asset__view__pb2._ADGROUPADASSETVIEW +_GOOGLEADSROW.fields_by_name['ad_group_ad_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__ad__label__pb2._ADGROUPADLABEL +_GOOGLEADSROW.fields_by_name['ad_group_audience_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__audience__view__pb2._ADGROUPAUDIENCEVIEW +_GOOGLEADSROW.fields_by_name['ad_group_bid_modifier'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__bid__modifier__pb2._ADGROUPBIDMODIFIER +_GOOGLEADSROW.fields_by_name['ad_group_criterion'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__pb2._ADGROUPCRITERION +_GOOGLEADSROW.fields_by_name['ad_group_criterion_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__label__pb2._ADGROUPCRITERIONLABEL +_GOOGLEADSROW.fields_by_name['ad_group_criterion_simulation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__criterion__simulation__pb2._ADGROUPCRITERIONSIMULATION +_GOOGLEADSROW.fields_by_name['ad_group_extension_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__extension__setting__pb2._ADGROUPEXTENSIONSETTING +_GOOGLEADSROW.fields_by_name['ad_group_feed'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__feed__pb2._ADGROUPFEED +_GOOGLEADSROW.fields_by_name['ad_group_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__label__pb2._ADGROUPLABEL +_GOOGLEADSROW.fields_by_name['ad_group_simulation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__group__simulation__pb2._ADGROUPSIMULATION +_GOOGLEADSROW.fields_by_name['ad_parameter'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__parameter__pb2._ADPARAMETER +_GOOGLEADSROW.fields_by_name['age_range_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_age__range__view__pb2._AGERANGEVIEW +_GOOGLEADSROW.fields_by_name['ad_schedule_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__schedule__view__pb2._ADSCHEDULEVIEW +_GOOGLEADSROW.fields_by_name['domain_category'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_domain__category__pb2._DOMAINCATEGORY +_GOOGLEADSROW.fields_by_name['asset'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_asset__pb2._ASSET +_GOOGLEADSROW.fields_by_name['batch_job'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_batch__job__pb2._BATCHJOB +_GOOGLEADSROW.fields_by_name['bidding_strategy'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_bidding__strategy__pb2._BIDDINGSTRATEGY +_GOOGLEADSROW.fields_by_name['billing_setup'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_billing__setup__pb2._BILLINGSETUP +_GOOGLEADSROW.fields_by_name['campaign_budget'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__budget__pb2._CAMPAIGNBUDGET +_GOOGLEADSROW.fields_by_name['campaign'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__pb2._CAMPAIGN +_GOOGLEADSROW.fields_by_name['campaign_audience_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__audience__view__pb2._CAMPAIGNAUDIENCEVIEW +_GOOGLEADSROW.fields_by_name['campaign_bid_modifier'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__bid__modifier__pb2._CAMPAIGNBIDMODIFIER +_GOOGLEADSROW.fields_by_name['campaign_criterion'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__pb2._CAMPAIGNCRITERION +_GOOGLEADSROW.fields_by_name['campaign_criterion_simulation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__criterion__simulation__pb2._CAMPAIGNCRITERIONSIMULATION +_GOOGLEADSROW.fields_by_name['campaign_draft'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__draft__pb2._CAMPAIGNDRAFT +_GOOGLEADSROW.fields_by_name['campaign_experiment'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__experiment__pb2._CAMPAIGNEXPERIMENT +_GOOGLEADSROW.fields_by_name['campaign_extension_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__extension__setting__pb2._CAMPAIGNEXTENSIONSETTING +_GOOGLEADSROW.fields_by_name['campaign_feed'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__feed__pb2._CAMPAIGNFEED +_GOOGLEADSROW.fields_by_name['campaign_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__label__pb2._CAMPAIGNLABEL +_GOOGLEADSROW.fields_by_name['campaign_shared_set'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_campaign__shared__set__pb2._CAMPAIGNSHAREDSET +_GOOGLEADSROW.fields_by_name['carrier_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_carrier__constant__pb2._CARRIERCONSTANT +_GOOGLEADSROW.fields_by_name['change_status'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_change__status__pb2._CHANGESTATUS +_GOOGLEADSROW.fields_by_name['conversion_action'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_conversion__action__pb2._CONVERSIONACTION +_GOOGLEADSROW.fields_by_name['click_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_click__view__pb2._CLICKVIEW +_GOOGLEADSROW.fields_by_name['currency_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_currency__constant__pb2._CURRENCYCONSTANT +_GOOGLEADSROW.fields_by_name['custom_interest'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_custom__interest__pb2._CUSTOMINTEREST +_GOOGLEADSROW.fields_by_name['customer'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__pb2._CUSTOMER +_GOOGLEADSROW.fields_by_name['customer_manager_link'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__manager__link__pb2._CUSTOMERMANAGERLINK +_GOOGLEADSROW.fields_by_name['customer_client_link'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__link__pb2._CUSTOMERCLIENTLINK +_GOOGLEADSROW.fields_by_name['customer_client'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__client__pb2._CUSTOMERCLIENT +_GOOGLEADSROW.fields_by_name['customer_extension_setting'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__extension__setting__pb2._CUSTOMEREXTENSIONSETTING +_GOOGLEADSROW.fields_by_name['customer_feed'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__feed__pb2._CUSTOMERFEED +_GOOGLEADSROW.fields_by_name['customer_label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__label__pb2._CUSTOMERLABEL +_GOOGLEADSROW.fields_by_name['customer_negative_criterion'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_customer__negative__criterion__pb2._CUSTOMERNEGATIVECRITERION +_GOOGLEADSROW.fields_by_name['detail_placement_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_detail__placement__view__pb2._DETAILPLACEMENTVIEW +_GOOGLEADSROW.fields_by_name['display_keyword_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_display__keyword__view__pb2._DISPLAYKEYWORDVIEW +_GOOGLEADSROW.fields_by_name['distance_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_distance__view__pb2._DISTANCEVIEW +_GOOGLEADSROW.fields_by_name['dynamic_search_ads_search_term_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_dynamic__search__ads__search__term__view__pb2._DYNAMICSEARCHADSSEARCHTERMVIEW +_GOOGLEADSROW.fields_by_name['expanded_landing_page_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_expanded__landing__page__view__pb2._EXPANDEDLANDINGPAGEVIEW +_GOOGLEADSROW.fields_by_name['extension_feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_extension__feed__item__pb2._EXTENSIONFEEDITEM +_GOOGLEADSROW.fields_by_name['feed'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__pb2._FEED +_GOOGLEADSROW.fields_by_name['feed_item'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__pb2._FEEDITEM +_GOOGLEADSROW.fields_by_name['feed_item_target'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__item__target__pb2._FEEDITEMTARGET +_GOOGLEADSROW.fields_by_name['feed_mapping'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__mapping__pb2._FEEDMAPPING +_GOOGLEADSROW.fields_by_name['feed_placeholder_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_feed__placeholder__view__pb2._FEEDPLACEHOLDERVIEW +_GOOGLEADSROW.fields_by_name['gender_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_gender__view__pb2._GENDERVIEW +_GOOGLEADSROW.fields_by_name['geo_target_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geo__target__constant__pb2._GEOTARGETCONSTANT +_GOOGLEADSROW.fields_by_name['geographic_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_geographic__view__pb2._GEOGRAPHICVIEW +_GOOGLEADSROW.fields_by_name['group_placement_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW +_GOOGLEADSROW.fields_by_name['hotel_group_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW +_GOOGLEADSROW.fields_by_name['hotel_performance_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW +_GOOGLEADSROW.fields_by_name['income_range_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2._INCOMERANGEVIEW +_GOOGLEADSROW.fields_by_name['keyword_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW +_GOOGLEADSROW.fields_by_name['keyword_plan'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN +_GOOGLEADSROW.fields_by_name['keyword_plan_campaign'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN +_GOOGLEADSROW.fields_by_name['keyword_plan_campaign_keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2._KEYWORDPLANCAMPAIGNKEYWORD +_GOOGLEADSROW.fields_by_name['keyword_plan_ad_group'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP +_GOOGLEADSROW.fields_by_name['keyword_plan_ad_group_keyword'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__keyword__pb2._KEYWORDPLANADGROUPKEYWORD +_GOOGLEADSROW.fields_by_name['label'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2._LABEL +_GOOGLEADSROW.fields_by_name['landing_page_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW +_GOOGLEADSROW.fields_by_name['language_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT +_GOOGLEADSROW.fields_by_name['location_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW +_GOOGLEADSROW.fields_by_name['managed_placement_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW +_GOOGLEADSROW.fields_by_name['media_file'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE +_GOOGLEADSROW.fields_by_name['mobile_app_category_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2._MOBILEAPPCATEGORYCONSTANT +_GOOGLEADSROW.fields_by_name['mobile_device_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT +_GOOGLEADSROW.fields_by_name['offline_user_data_job'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2._OFFLINEUSERDATAJOB +_GOOGLEADSROW.fields_by_name['operating_system_version_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2._OPERATINGSYSTEMVERSIONCONSTANT +_GOOGLEADSROW.fields_by_name['paid_organic_search_term_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2._PAIDORGANICSEARCHTERMVIEW +_GOOGLEADSROW.fields_by_name['parental_status_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2._PARENTALSTATUSVIEW +_GOOGLEADSROW.fields_by_name['product_bidding_category_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2._PRODUCTBIDDINGCATEGORYCONSTANT +_GOOGLEADSROW.fields_by_name['product_group_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW +_GOOGLEADSROW.fields_by_name['recommendation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION +_GOOGLEADSROW.fields_by_name['search_term_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW +_GOOGLEADSROW.fields_by_name['shared_criterion'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION +_GOOGLEADSROW.fields_by_name['shared_set'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET +_GOOGLEADSROW.fields_by_name['shopping_performance_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW +_GOOGLEADSROW.fields_by_name['third_party_app_analytics_link'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2._THIRDPARTYAPPANALYTICSLINK +_GOOGLEADSROW.fields_by_name['topic_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__view__pb2._TOPICVIEW +_GOOGLEADSROW.fields_by_name['user_interest'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2._USERINTEREST +_GOOGLEADSROW.fields_by_name['user_list'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2._USERLIST +_GOOGLEADSROW.fields_by_name['user_location_view'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2._USERLOCATIONVIEW +_GOOGLEADSROW.fields_by_name['remarketing_action'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION +_GOOGLEADSROW.fields_by_name['topic_constant'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__constant__pb2._TOPICCONSTANT +_GOOGLEADSROW.fields_by_name['video'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2._VIDEO +_GOOGLEADSROW.fields_by_name['metrics'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_metrics__pb2._METRICS +_GOOGLEADSROW.fields_by_name['segments'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_segments__pb2._SEGMENTS _MUTATEGOOGLEADSREQUEST.fields_by_name['mutate_operations'].message_type = _MUTATEOPERATION _MUTATEGOOGLEADSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS _MUTATEGOOGLEADSRESPONSE.fields_by_name['mutate_operation_responses'].message_type = _MUTATEOPERATIONRESPONSE -_MUTATEOPERATION.fields_by_name['ad_group_ad_label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2._ADGROUPADLABELOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_ad_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2._ADGROUPADOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_bid_modifier_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2._ADGROUPBIDMODIFIEROPERATION -_MUTATEOPERATION.fields_by_name['ad_group_criterion_label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2._ADGROUPCRITERIONLABELOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_criterion_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2._ADGROUPCRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2._ADGROUPEXTENSIONSETTINGOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_feed_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2._ADGROUPFEEDOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__label__service__pb2._ADGROUPLABELOPERATION -_MUTATEOPERATION.fields_by_name['ad_group_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__service__pb2._ADGROUPOPERATION -_MUTATEOPERATION.fields_by_name['ad_parameter_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__parameter__service__pb2._ADPARAMETEROPERATION -_MUTATEOPERATION.fields_by_name['asset_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_asset__service__pb2._ASSETOPERATION -_MUTATEOPERATION.fields_by_name['bidding_strategy_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2._BIDDINGSTRATEGYOPERATION -_MUTATEOPERATION.fields_by_name['campaign_bid_modifier_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2._CAMPAIGNBIDMODIFIEROPERATION -_MUTATEOPERATION.fields_by_name['campaign_budget_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2._CAMPAIGNBUDGETOPERATION -_MUTATEOPERATION.fields_by_name['campaign_criterion_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2._CAMPAIGNCRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['campaign_draft_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2._CAMPAIGNDRAFTOPERATION -_MUTATEOPERATION.fields_by_name['campaign_experiment_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2._CAMPAIGNEXPERIMENTOPERATION -_MUTATEOPERATION.fields_by_name['campaign_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2._CAMPAIGNEXTENSIONSETTINGOPERATION -_MUTATEOPERATION.fields_by_name['campaign_feed_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2._CAMPAIGNFEEDOPERATION -_MUTATEOPERATION.fields_by_name['campaign_label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2._CAMPAIGNLABELOPERATION -_MUTATEOPERATION.fields_by_name['campaign_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2._CAMPAIGNOPERATION -_MUTATEOPERATION.fields_by_name['campaign_shared_set_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2._CAMPAIGNSHAREDSETOPERATION -_MUTATEOPERATION.fields_by_name['conversion_action_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2._CONVERSIONACTIONOPERATION -_MUTATEOPERATION.fields_by_name['customer_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2._CUSTOMEREXTENSIONSETTINGOPERATION -_MUTATEOPERATION.fields_by_name['customer_feed_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2._CUSTOMERFEEDOPERATION -_MUTATEOPERATION.fields_by_name['customer_label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2._CUSTOMERLABELOPERATION -_MUTATEOPERATION.fields_by_name['customer_negative_criterion_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._CUSTOMERNEGATIVECRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['customer_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2._CUSTOMEROPERATION -_MUTATEOPERATION.fields_by_name['extension_feed_item_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2._EXTENSIONFEEDITEMOPERATION -_MUTATEOPERATION.fields_by_name['feed_item_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2._FEEDITEMOPERATION -_MUTATEOPERATION.fields_by_name['feed_item_target_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2._FEEDITEMTARGETOPERATION -_MUTATEOPERATION.fields_by_name['feed_mapping_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2._FEEDMAPPINGOPERATION -_MUTATEOPERATION.fields_by_name['feed_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2._FEEDOPERATION -_MUTATEOPERATION.fields_by_name['label_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2._LABELOPERATION -_MUTATEOPERATION.fields_by_name['media_file_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2._MEDIAFILEOPERATION -_MUTATEOPERATION.fields_by_name['remarketing_action_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2._REMARKETINGACTIONOPERATION -_MUTATEOPERATION.fields_by_name['shared_criterion_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2._SHAREDCRITERIONOPERATION -_MUTATEOPERATION.fields_by_name['shared_set_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2._SHAREDSETOPERATION -_MUTATEOPERATION.fields_by_name['user_list_operation'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2._USERLISTOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_ad_label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2._ADGROUPADLABELOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_ad_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2._ADGROUPADOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_bid_modifier_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2._ADGROUPBIDMODIFIEROPERATION +_MUTATEOPERATION.fields_by_name['ad_group_criterion_label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2._ADGROUPCRITERIONLABELOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_criterion_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2._ADGROUPCRITERIONOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2._ADGROUPEXTENSIONSETTINGOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_feed_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2._ADGROUPFEEDOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__label__service__pb2._ADGROUPLABELOPERATION +_MUTATEOPERATION.fields_by_name['ad_group_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__service__pb2._ADGROUPOPERATION +_MUTATEOPERATION.fields_by_name['ad_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2._ADOPERATION +_MUTATEOPERATION.fields_by_name['ad_parameter_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__parameter__service__pb2._ADPARAMETEROPERATION +_MUTATEOPERATION.fields_by_name['asset_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_asset__service__pb2._ASSETOPERATION +_MUTATEOPERATION.fields_by_name['bidding_strategy_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2._BIDDINGSTRATEGYOPERATION +_MUTATEOPERATION.fields_by_name['campaign_bid_modifier_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2._CAMPAIGNBIDMODIFIEROPERATION +_MUTATEOPERATION.fields_by_name['campaign_budget_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2._CAMPAIGNBUDGETOPERATION +_MUTATEOPERATION.fields_by_name['campaign_criterion_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2._CAMPAIGNCRITERIONOPERATION +_MUTATEOPERATION.fields_by_name['campaign_draft_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2._CAMPAIGNDRAFTOPERATION +_MUTATEOPERATION.fields_by_name['campaign_experiment_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2._CAMPAIGNEXPERIMENTOPERATION +_MUTATEOPERATION.fields_by_name['campaign_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2._CAMPAIGNEXTENSIONSETTINGOPERATION +_MUTATEOPERATION.fields_by_name['campaign_feed_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2._CAMPAIGNFEEDOPERATION +_MUTATEOPERATION.fields_by_name['campaign_label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2._CAMPAIGNLABELOPERATION +_MUTATEOPERATION.fields_by_name['campaign_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2._CAMPAIGNOPERATION +_MUTATEOPERATION.fields_by_name['campaign_shared_set_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2._CAMPAIGNSHAREDSETOPERATION +_MUTATEOPERATION.fields_by_name['conversion_action_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2._CONVERSIONACTIONOPERATION +_MUTATEOPERATION.fields_by_name['customer_extension_setting_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2._CUSTOMEREXTENSIONSETTINGOPERATION +_MUTATEOPERATION.fields_by_name['customer_feed_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2._CUSTOMERFEEDOPERATION +_MUTATEOPERATION.fields_by_name['customer_label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2._CUSTOMERLABELOPERATION +_MUTATEOPERATION.fields_by_name['customer_negative_criterion_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._CUSTOMERNEGATIVECRITERIONOPERATION +_MUTATEOPERATION.fields_by_name['customer_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2._CUSTOMEROPERATION +_MUTATEOPERATION.fields_by_name['extension_feed_item_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2._EXTENSIONFEEDITEMOPERATION +_MUTATEOPERATION.fields_by_name['feed_item_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2._FEEDITEMOPERATION +_MUTATEOPERATION.fields_by_name['feed_item_target_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2._FEEDITEMTARGETOPERATION +_MUTATEOPERATION.fields_by_name['feed_mapping_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2._FEEDMAPPINGOPERATION +_MUTATEOPERATION.fields_by_name['feed_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2._FEEDOPERATION +_MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2._KEYWORDPLANADGROUPOPERATION +_MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_keyword_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__keyword__service__pb2._KEYWORDPLANADGROUPKEYWORDOPERATION +_MUTATEOPERATION.fields_by_name['keyword_plan_campaign_keyword_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2._KEYWORDPLANCAMPAIGNKEYWORDOPERATION +_MUTATEOPERATION.fields_by_name['keyword_plan_campaign_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2._KEYWORDPLANCAMPAIGNOPERATION +_MUTATEOPERATION.fields_by_name['keyword_plan_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2._KEYWORDPLANOPERATION +_MUTATEOPERATION.fields_by_name['label_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2._LABELOPERATION +_MUTATEOPERATION.fields_by_name['media_file_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2._MEDIAFILEOPERATION +_MUTATEOPERATION.fields_by_name['remarketing_action_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2._REMARKETINGACTIONOPERATION +_MUTATEOPERATION.fields_by_name['shared_criterion_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2._SHAREDCRITERIONOPERATION +_MUTATEOPERATION.fields_by_name['shared_set_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2._SHAREDSETOPERATION +_MUTATEOPERATION.fields_by_name['user_list_operation'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2._USERLISTOPERATION _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['ad_group_ad_label_operation']) _MUTATEOPERATION.fields_by_name['ad_group_ad_label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] @@ -1819,6 +2107,9 @@ _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['ad_group_operation']) _MUTATEOPERATION.fields_by_name['ad_group_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['ad_operation']) +_MUTATEOPERATION.fields_by_name['ad_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['ad_parameter_operation']) _MUTATEOPERATION.fields_by_name['ad_parameter_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] @@ -1891,6 +2182,21 @@ _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['feed_operation']) _MUTATEOPERATION.fields_by_name['feed_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_operation']) +_MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_keyword_operation']) +_MUTATEOPERATION.fields_by_name['keyword_plan_ad_group_keyword_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['keyword_plan_campaign_keyword_operation']) +_MUTATEOPERATION.fields_by_name['keyword_plan_campaign_keyword_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['keyword_plan_campaign_operation']) +_MUTATEOPERATION.fields_by_name['keyword_plan_campaign_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] +_MUTATEOPERATION.oneofs_by_name['operation'].fields.append( + _MUTATEOPERATION.fields_by_name['keyword_plan_operation']) +_MUTATEOPERATION.fields_by_name['keyword_plan_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['label_operation']) _MUTATEOPERATION.fields_by_name['label_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] @@ -1909,45 +2215,51 @@ _MUTATEOPERATION.oneofs_by_name['operation'].fields.append( _MUTATEOPERATION.fields_by_name['user_list_operation']) _MUTATEOPERATION.fields_by_name['user_list_operation'].containing_oneof = _MUTATEOPERATION.oneofs_by_name['operation'] -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2._MUTATEADGROUPADLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__ad__service__pb2._MUTATEADGROUPADRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_bid_modifier_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2._MUTATEADGROUPBIDMODIFIERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2._MUTATEADGROUPCRITERIONLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__criterion__service__pb2._MUTATEADGROUPCRITERIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2._MUTATEADGROUPEXTENSIONSETTINGRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_feed_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__feed__service__pb2._MUTATEADGROUPFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__label__service__pb2._MUTATEADGROUPLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__group__service__pb2._MUTATEADGROUPRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['ad_parameter_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_ad__parameter__service__pb2._MUTATEADPARAMETERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['asset_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_asset__service__pb2._MUTATEASSETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['bidding_strategy_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_bidding__strategy__service__pb2._MUTATEBIDDINGSTRATEGYRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_bid_modifier_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2._MUTATECAMPAIGNBIDMODIFIERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_budget_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__budget__service__pb2._MUTATECAMPAIGNBUDGETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_criterion_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__criterion__service__pb2._MUTATECAMPAIGNCRITERIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_draft_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__draft__service__pb2._MUTATECAMPAIGNDRAFTRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_experiment_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__experiment__service__pb2._MUTATECAMPAIGNEXPERIMENTRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2._MUTATECAMPAIGNEXTENSIONSETTINGRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_feed_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__feed__service__pb2._MUTATECAMPAIGNFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__label__service__pb2._MUTATECAMPAIGNLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__service__pb2._MUTATECAMPAIGNRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_shared_set_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_campaign__shared__set__service__pb2._MUTATECAMPAIGNSHAREDSETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['conversion_action_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_conversion__action__service__pb2._MUTATECONVERSIONACTIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__extension__setting__service__pb2._MUTATECUSTOMEREXTENSIONSETTINGRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_feed_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__feed__service__pb2._MUTATECUSTOMERFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__label__service__pb2._MUTATECUSTOMERLABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_negative_criterion_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._MUTATECUSTOMERNEGATIVECRITERIARESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['customer_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_customer__service__pb2._MUTATECUSTOMERRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['extension_feed_item_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_extension__feed__item__service__pb2._MUTATEEXTENSIONFEEDITEMRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__service__pb2._MUTATEFEEDITEMRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_target_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__item__target__service__pb2._MUTATEFEEDITEMTARGETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_mapping_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__mapping__service__pb2._MUTATEFEEDMAPPINGRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['feed_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_feed__service__pb2._MUTATEFEEDRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['label_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2._MUTATELABELRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['media_file_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2._MUTATEMEDIAFILERESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['remarketing_action_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2._MUTATEREMARKETINGACTIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_criterion_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2._MUTATESHAREDCRITERIONRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['shared_set_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2._MUTATESHAREDSETRESULT -_MUTATEOPERATIONRESPONSE.fields_by_name['user_list_result'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2._MUTATEUSERLISTRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__label__service__pb2._MUTATEADGROUPADLABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__ad__service__pb2._MUTATEADGROUPADRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_bid_modifier_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__bid__modifier__service__pb2._MUTATEADGROUPBIDMODIFIERRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__label__service__pb2._MUTATEADGROUPCRITERIONLABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_criterion_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__criterion__service__pb2._MUTATEADGROUPCRITERIONRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__extension__setting__service__pb2._MUTATEADGROUPEXTENSIONSETTINGRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_feed_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__feed__service__pb2._MUTATEADGROUPFEEDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__label__service__pb2._MUTATEADGROUPLABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__group__service__pb2._MUTATEADGROUPRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_parameter_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__parameter__service__pb2._MUTATEADPARAMETERRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_ad__service__pb2._MUTATEADRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['asset_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_asset__service__pb2._MUTATEASSETRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['bidding_strategy_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_bidding__strategy__service__pb2._MUTATEBIDDINGSTRATEGYRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_bid_modifier_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__bid__modifier__service__pb2._MUTATECAMPAIGNBIDMODIFIERRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_budget_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__budget__service__pb2._MUTATECAMPAIGNBUDGETRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_criterion_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__criterion__service__pb2._MUTATECAMPAIGNCRITERIONRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_draft_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__draft__service__pb2._MUTATECAMPAIGNDRAFTRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_experiment_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__experiment__service__pb2._MUTATECAMPAIGNEXPERIMENTRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__extension__setting__service__pb2._MUTATECAMPAIGNEXTENSIONSETTINGRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_feed_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__feed__service__pb2._MUTATECAMPAIGNFEEDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__label__service__pb2._MUTATECAMPAIGNLABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__service__pb2._MUTATECAMPAIGNRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['campaign_shared_set_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_campaign__shared__set__service__pb2._MUTATECAMPAIGNSHAREDSETRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['conversion_action_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_conversion__action__service__pb2._MUTATECONVERSIONACTIONRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['customer_extension_setting_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__extension__setting__service__pb2._MUTATECUSTOMEREXTENSIONSETTINGRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['customer_feed_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__feed__service__pb2._MUTATECUSTOMERFEEDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['customer_label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__label__service__pb2._MUTATECUSTOMERLABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['customer_negative_criterion_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__negative__criterion__service__pb2._MUTATECUSTOMERNEGATIVECRITERIARESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['customer_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_customer__service__pb2._MUTATECUSTOMERRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['extension_feed_item_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_extension__feed__item__service__pb2._MUTATEEXTENSIONFEEDITEMRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__service__pb2._MUTATEFEEDITEMRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['feed_item_target_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__item__target__service__pb2._MUTATEFEEDITEMTARGETRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['feed_mapping_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__mapping__service__pb2._MUTATEFEEDMAPPINGRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['feed_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_feed__service__pb2._MUTATEFEEDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2._MUTATEKEYWORDPLANADGROUPRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2._MUTATEKEYWORDPLANCAMPAIGNRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_keyword_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__keyword__service__pb2._MUTATEKEYWORDPLANADGROUPKEYWORDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_keyword_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2._MUTATEKEYWORDPLANCAMPAIGNKEYWORDRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2._MUTATEKEYWORDPLANSRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['label_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2._MUTATELABELRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['media_file_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2._MUTATEMEDIAFILERESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['remarketing_action_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2._MUTATEREMARKETINGACTIONRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['shared_criterion_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2._MUTATESHAREDCRITERIONRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['shared_set_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2._MUTATESHAREDSETRESULT +_MUTATEOPERATIONRESPONSE.fields_by_name['user_list_result'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2._MUTATEUSERLISTRESULT _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_label_result']) _MUTATEOPERATIONRESPONSE.fields_by_name['ad_group_ad_label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] @@ -1978,6 +2290,9 @@ _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( _MUTATEOPERATIONRESPONSE.fields_by_name['ad_parameter_result']) _MUTATEOPERATIONRESPONSE.fields_by_name['ad_parameter_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['ad_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['ad_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( _MUTATEOPERATIONRESPONSE.fields_by_name['asset_result']) _MUTATEOPERATIONRESPONSE.fields_by_name['asset_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] @@ -2047,6 +2362,21 @@ _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( _MUTATEOPERATIONRESPONSE.fields_by_name['feed_result']) _MUTATEOPERATIONRESPONSE.fields_by_name['feed_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_keyword_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_ad_group_keyword_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_keyword_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_campaign_keyword_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] +_MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( + _MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_result']) +_MUTATEOPERATIONRESPONSE.fields_by_name['keyword_plan_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'].fields.append( _MUTATEOPERATIONRESPONSE.fields_by_name['label_result']) _MUTATEOPERATIONRESPONSE.fields_by_name['label_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] @@ -2067,6 +2397,8 @@ _MUTATEOPERATIONRESPONSE.fields_by_name['user_list_result'].containing_oneof = _MUTATEOPERATIONRESPONSE.oneofs_by_name['response'] DESCRIPTOR.message_types_by_name['SearchGoogleAdsRequest'] = _SEARCHGOOGLEADSREQUEST DESCRIPTOR.message_types_by_name['SearchGoogleAdsResponse'] = _SEARCHGOOGLEADSRESPONSE +DESCRIPTOR.message_types_by_name['SearchGoogleAdsStreamRequest'] = _SEARCHGOOGLEADSSTREAMREQUEST +DESCRIPTOR.message_types_by_name['SearchGoogleAdsStreamResponse'] = _SEARCHGOOGLEADSSTREAMRESPONSE DESCRIPTOR.message_types_by_name['GoogleAdsRow'] = _GOOGLEADSROW DESCRIPTOR.message_types_by_name['MutateGoogleAdsRequest'] = _MUTATEGOOGLEADSREQUEST DESCRIPTOR.message_types_by_name['MutateGoogleAdsResponse'] = _MUTATEGOOGLEADSRESPONSE @@ -2076,17 +2408,17 @@ SearchGoogleAdsRequest = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsRequest', (_message.Message,), dict( DESCRIPTOR = _SEARCHGOOGLEADSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """Request message for - [GoogleAdsService.Search][google.ads.googleads.v1.services.GoogleAdsService.Search]. + [GoogleAdsService.Search][google.ads.googleads.v4.services.GoogleAdsService.Search]. Attributes: customer_id: - The ID of the customer being queried. + Required. The ID of the customer being queried. query: - The query string. + Required. The query string. page_token: Token of the page to retrieve. If not specified, the first page of results will be returned. Use the value obtained from @@ -2098,17 +2430,26 @@ limit the number of returned resources. validate_only: If true, the request is validated but not executed. + return_total_results_count: + If true, the total number of results that match the query + ignoring the LIMIT clause will be included in the response. + Default is false. + summary_row_setting: + Determines whether a summary row will be returned. By default, + summary row is not returned. If requested, the summary row + will be sent in a response by itself after all other query + results are returned. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SearchGoogleAdsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsRequest) )) _sym_db.RegisterMessage(SearchGoogleAdsRequest) SearchGoogleAdsResponse = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsResponse', (_message.Message,), dict( DESCRIPTOR = _SEARCHGOOGLEADSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """Response message for - [GoogleAdsService.Search][google.ads.googleads.v1.services.GoogleAdsService.Search]. + [GoogleAdsService.Search][google.ads.googleads.v4.services.GoogleAdsService.Search]. Attributes: @@ -2125,14 +2466,64 @@ field_mask: FieldMask that represents what fields were requested by the user. + summary_row: + Summary row that contains summary of metrics in results. + Summary of metrics means aggregation of metrics across all + results, here aggregation could be sum, average, rate, etc. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SearchGoogleAdsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsResponse) )) _sym_db.RegisterMessage(SearchGoogleAdsResponse) +SearchGoogleAdsStreamRequest = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsStreamRequest', (_message.Message,), dict( + DESCRIPTOR = _SEARCHGOOGLEADSSTREAMREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' + , + __doc__ = """Request message for + [GoogleAdsService.SearchStream][google.ads.googleads.v4.services.GoogleAdsService.SearchStream]. + + + Attributes: + customer_id: + Required. The ID of the customer being queried. + query: + Required. The query string. + summary_row_setting: + Determines whether a summary row will be returned. By default, + summary row is not returned. If requested, the summary row + will be sent in a response by itself after all other query + results are returned. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsStreamRequest) + )) +_sym_db.RegisterMessage(SearchGoogleAdsStreamRequest) + +SearchGoogleAdsStreamResponse = _reflection.GeneratedProtocolMessageType('SearchGoogleAdsStreamResponse', (_message.Message,), dict( + DESCRIPTOR = _SEARCHGOOGLEADSSTREAMRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' + , + __doc__ = """Response message for + [GoogleAdsService.SearchStream][google.ads.googleads.v4.services.GoogleAdsService.SearchStream]. + + + Attributes: + results: + The list of rows that matched the query. + field_mask: + FieldMask that represents what fields were requested by the + user. + summary_row: + Summary row that contains summary of metrics in results. + Summary of metrics means aggregation of metrics across all + results, here aggregation could be sum, average, rate, etc. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SearchGoogleAdsStreamResponse) + )) +_sym_db.RegisterMessage(SearchGoogleAdsStreamResponse) + GoogleAdsRow = _reflection.GeneratedProtocolMessageType('GoogleAdsRow', (_message.Message,), dict( DESCRIPTOR = _GOOGLEADSROW, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """A returned row from the query. @@ -2142,10 +2533,14 @@ The account budget in the query. account_budget_proposal: The account budget proposal referenced in the query. + account_link: + The AccountLink referenced in the query. ad_group: The ad group referenced in the query. ad_group_ad: The ad referenced in the query. + ad_group_ad_asset_view: + The ad group ad asset view in the query. ad_group_ad_label: The ad group ad label referenced in the query. ad_group_audience_view: @@ -2176,6 +2571,8 @@ The domain category referenced in the query. asset: The asset referenced in the query. + batch_job: + The batch job referenced in the query. bidding_strategy: The bidding strategy referenced in the query. billing_setup: @@ -2212,6 +2609,8 @@ The conversion action referenced in the query. click_view: The ClickView referenced in the query. + currency_constant: + The currency constant referenced in the query. custom_interest: The CustomInterest referenced in the query. customer: @@ -2234,6 +2633,8 @@ The detail placement view referenced in the query. display_keyword_view: The display keyword view referenced in the query. + distance_view: + The distance view referenced in the query. dynamic_search_ads_search_term_view: The dynamic search ads search term view referenced in the query. @@ -2263,18 +2664,20 @@ The hotel group view referenced in the query. hotel_performance_view: The hotel performance view referenced in the query. + income_range_view: + The income range view referenced in the query. keyword_view: The keyword view referenced in the query. keyword_plan: The keyword plan referenced in the query. keyword_plan_campaign: The keyword plan campaign referenced in the query. - keyword_plan_negative_keyword: - The keyword plan negative keyword referenced in the query. + keyword_plan_campaign_keyword: + The keyword plan campaign keyword referenced in the query. keyword_plan_ad_group: The keyword plan ad group referenced in the query. - keyword_plan_keyword: - The keyword plan keyword referenced in the query. + keyword_plan_ad_group_keyword: + The keyword plan ad group referenced in the query. label: The label referenced in the query. landing_page_view: @@ -2291,8 +2694,8 @@ The mobile app category constant referenced in the query. mobile_device_constant: The mobile device constant referenced in the query. - mutate_job: - The mutate job referenced in the query. + offline_user_data_job: + The offline user data job referenced in the query. operating_system_version_constant: The operating system version constant referenced in the query. paid_organic_search_term_view: @@ -2313,12 +2716,16 @@ The shared set referenced in the query. shopping_performance_view: The shopping performance view referenced in the query. + third_party_app_analytics_link: + The AccountLink referenced in the query. topic_view: The topic view referenced in the query. user_interest: The user interest referenced in the query. user_list: The user list referenced in the query. + user_location_view: + The user location view referenced in the query. remarketing_action: The remarketing action referenced in the query. topic_constant: @@ -2330,23 +2737,25 @@ segments: The segments. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GoogleAdsRow) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GoogleAdsRow) )) _sym_db.RegisterMessage(GoogleAdsRow) MutateGoogleAdsRequest = _reflection.GeneratedProtocolMessageType('MutateGoogleAdsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEGOOGLEADSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """Request message for - [GoogleAdsService.Mutate][google.ads.googleads.v1.services.GoogleAdsService.Mutate]. + [GoogleAdsService.Mutate][google.ads.googleads.v4.services.GoogleAdsService.Mutate]. Attributes: customer_id: - The ID of the customer whose resources are being modified. + Required. The ID of the customer whose resources are being + modified. mutate_operations: - The list of operations to perform on individual resources. + Required. The list of operations to perform on individual + resources. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -2356,16 +2765,16 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateGoogleAdsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateGoogleAdsRequest) )) _sym_db.RegisterMessage(MutateGoogleAdsRequest) MutateGoogleAdsResponse = _reflection.GeneratedProtocolMessageType('MutateGoogleAdsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEGOOGLEADSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """Response message for - [GoogleAdsService.Mutate][google.ads.googleads.v1.services.GoogleAdsService.Mutate]. + [GoogleAdsService.Mutate][google.ads.googleads.v4.services.GoogleAdsService.Mutate]. Attributes: @@ -2373,18 +2782,18 @@ Errors that pertain to operation failures in the partial failure mode. Returned only when partial\_failure = true and all errors occur inside the operations. If any errors occur - outside the operations (e.g. auth errors), we return an RPC + outside the operations (e.g., auth errors), we return an RPC level error. mutate_operation_responses: All responses for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateGoogleAdsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateGoogleAdsResponse) )) _sym_db.RegisterMessage(MutateGoogleAdsResponse) MutateOperation = _reflection.GeneratedProtocolMessageType('MutateOperation', (_message.Message,), dict( DESCRIPTOR = _MUTATEOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """A single operation (create, update, remove) on a resource. @@ -2410,6 +2819,8 @@ An ad group label mutate operation. ad_group_operation: An ad group mutate operation. + ad_operation: + An ad mutate operation. ad_parameter_operation: An ad parameter mutate operation. asset_operation: @@ -2458,6 +2869,16 @@ A feed mapping mutate operation. feed_operation: A feed mutate operation. + keyword_plan_ad_group_operation: + A keyword plan ad group operation. + keyword_plan_ad_group_keyword_operation: + A keyword plan ad group keyword operation. + keyword_plan_campaign_keyword_operation: + A keyword plan campaign keyword operation. + keyword_plan_campaign_operation: + A keyword plan campaign operation. + keyword_plan_operation: + A keyword plan operation. label_operation: A label mutate operation. media_file_operation: @@ -2471,20 +2892,20 @@ user_list_operation: A user list mutate operation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateOperation) )) _sym_db.RegisterMessage(MutateOperation) MutateOperationResponse = _reflection.GeneratedProtocolMessageType('MutateOperationResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEOPERATIONRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.google_ads_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.google_ads_service_pb2' , __doc__ = """Response message for the resource mutate. Attributes: response: - The mutate response + The mutate response. ad_group_ad_label_result: The result for the ad group ad label mutate. ad_group_ad_result: @@ -2505,6 +2926,8 @@ The result for the ad group mutate. ad_parameter_result: The result for the ad parameter mutate. + ad_result: + The result for the ad mutate. asset_result: The result for the asset mutate. bidding_strategy_result: @@ -2551,6 +2974,16 @@ The result for the feed mapping mutate. feed_result: The result for the feed mutate. + keyword_plan_ad_group_result: + The result for the keyword plan ad group mutate. + keyword_plan_campaign_result: + The result for the keyword plan campaign mutate. + keyword_plan_ad_group_keyword_result: + The result for the keyword plan ad group keyword mutate. + keyword_plan_campaign_keyword_result: + The result for the keyword plan campaign keyword mutate. + keyword_plan_result: + The result for the keyword plan mutate. label_result: The result for the label mutate. media_file_result: @@ -2564,39 +2997,54 @@ user_list_result: The result for the user list mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateOperationResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateOperationResponse) )) _sym_db.RegisterMessage(MutateOperationResponse) DESCRIPTOR._options = None +_SEARCHGOOGLEADSREQUEST.fields_by_name['customer_id']._options = None +_SEARCHGOOGLEADSREQUEST.fields_by_name['query']._options = None +_SEARCHGOOGLEADSSTREAMREQUEST.fields_by_name['customer_id']._options = None +_SEARCHGOOGLEADSSTREAMREQUEST.fields_by_name['query']._options = None +_MUTATEGOOGLEADSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEGOOGLEADSREQUEST.fields_by_name['mutate_operations']._options = None _GOOGLEADSSERVICE = _descriptor.ServiceDescriptor( name='GoogleAdsService', - full_name='google.ads.googleads.v1.services.GoogleAdsService', + full_name='google.ads.googleads.v4.services.GoogleAdsService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=24879, - serialized_end=25271, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=28527, + serialized_end=29233, methods=[ _descriptor.MethodDescriptor( name='Search', - full_name='google.ads.googleads.v1.services.GoogleAdsService.Search', + full_name='google.ads.googleads.v4.services.GoogleAdsService.Search', index=0, containing_service=None, input_type=_SEARCHGOOGLEADSREQUEST, output_type=_SEARCHGOOGLEADSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/googleAds:search:\001*'), + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/googleAds:search:\001*\332A\021customer_id,query'), ), _descriptor.MethodDescriptor( - name='Mutate', - full_name='google.ads.googleads.v1.services.GoogleAdsService.Mutate', + name='SearchStream', + full_name='google.ads.googleads.v4.services.GoogleAdsService.SearchStream', index=1, containing_service=None, + input_type=_SEARCHGOOGLEADSSTREAMREQUEST, + output_type=_SEARCHGOOGLEADSSTREAMRESPONSE, + serialized_options=_b('\202\323\344\223\0029\"4/v4/customers/{customer_id=*}/googleAds:searchStream:\001*\332A\021customer_id,query'), + ), + _descriptor.MethodDescriptor( + name='Mutate', + full_name='google.ads.googleads.v4.services.GoogleAdsService.Mutate', + index=2, + containing_service=None, input_type=_MUTATEGOOGLEADSREQUEST, output_type=_MUTATEGOOGLEADSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/googleAds:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/googleAds:mutate:\001*\332A\035customer_id,mutate_operations'), ), ]) _sym_db.RegisterServiceDescriptor(_GOOGLEADSSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/google_ads_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/google_ads_service_pb2_grpc.py similarity index 66% rename from google/ads/google_ads/v1/proto/services/google_ads_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/google_ads_service_pb2_grpc.py index 7d77f2e70..6b726e167 100644 --- a/google/ads/google_ads/v1/proto/services/google_ads_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/google_ads_service_pb2_grpc.py @@ -1,7 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.services import google_ads_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2 +from google.ads.google_ads.v4.proto.services import google_ads_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2 class GoogleAdsServiceStub(object): @@ -17,14 +17,19 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.Search = channel.unary_unary( - '/google.ads.googleads.v1.services.GoogleAdsService/Search', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.FromString, + '/google.ads.googleads.v4.services.GoogleAdsService/Search', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.FromString, + ) + self.SearchStream = channel.unary_stream( + '/google.ads.googleads.v4.services.GoogleAdsService/SearchStream', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsStreamRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsStreamResponse.FromString, ) self.Mutate = channel.unary_unary( - '/google.ads.googleads.v1.services.GoogleAdsService/Mutate', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.FromString, + '/google.ads.googleads.v4.services.GoogleAdsService/Mutate', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.FromString, ) @@ -41,6 +46,13 @@ def Search(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def SearchStream(self, request, context): + """Returns all rows that match the search stream query. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def Mutate(self, request, context): """Creates, updates, or removes resources. This method supports atomic transactions with multiple types of resources. For example, you can @@ -49,9 +61,10 @@ def Mutate(self, request, context): This method is essentially a wrapper around a series of mutate methods. The only features it offers over calling those methods directly are: + - Atomic transactions - Temp resource names (described below) - - Somewhat reduced latency over making a series of mutate calls. + - Somewhat reduced latency over making a series of mutate calls Note: Only resources that support atomic transactions are included, so this method can't replace all calls to individual services. @@ -67,15 +80,16 @@ def Mutate(self, request, context): Temp resource names are a special type of resource name used to create a resource and reference that resource in the same request. For example, if a - campaign budget is created with 'resource_name' equal to - 'customers/123/campaignBudgets/-1', that resource name can be reused in - the 'Campaign.budget' field in the same request. That way, the two + campaign budget is created with `resource_name` equal to + `customers/123/campaignBudgets/-1`, that resource name can be reused in + the `Campaign.budget` field in the same request. That way, the two resources are created and linked atomically. To create a temp resource name, put a negative number in the part of the name that the server would normally allocate. Note: + - Resources must be created with a temp name before the name can be reused. For example, the previous CampaignBudget+Campaign example would fail if the mutate order was reversed. @@ -101,15 +115,20 @@ def add_GoogleAdsServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'Search': grpc.unary_unary_rpc_method_handler( servicer.Search, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsResponse.SerializeToString, + ), + 'SearchStream': grpc.unary_stream_rpc_method_handler( + servicer.SearchStream, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsStreamRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.SearchGoogleAdsStreamResponse.SerializeToString, ), 'Mutate': grpc.unary_unary_rpc_method_handler( servicer.Mutate, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_google__ads__service__pb2.MutateGoogleAdsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GoogleAdsService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GoogleAdsService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2.py new file mode 100644 index 000000000..b6f21317b --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/group_placement_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/group_placement_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036GroupPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/services/group_placement_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x42google/ads/googleads_v4/proto/resources/group_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"j\n\x1cGetGroupPlacementViewRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/GroupPlacementView2\x98\x02\n\x19GroupPlacementViewService\x12\xdd\x01\n\x15GetGroupPlacementView\x12>.google.ads.googleads.v4.services.GetGroupPlacementViewRequest\x1a\x35.google.ads.googleads.v4.resources.GroupPlacementView\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/groupPlacementViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1eGroupPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETGROUPPLACEMENTVIEWREQUEST = _descriptor.Descriptor( + name='GetGroupPlacementViewRequest', + full_name='google.ads.googleads.v4.services.GetGroupPlacementViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetGroupPlacementViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/GroupPlacementView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=294, + serialized_end=400, +) + +DESCRIPTOR.message_types_by_name['GetGroupPlacementViewRequest'] = _GETGROUPPLACEMENTVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetGroupPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetGroupPlacementViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETGROUPPLACEMENTVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.group_placement_view_service_pb2' + , + __doc__ = """Request message for + [GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v4.services.GroupPlacementViewService.GetGroupPlacementView]. + + + Attributes: + resource_name: + Required. The resource name of the Group Placement view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetGroupPlacementViewRequest) + )) +_sym_db.RegisterMessage(GetGroupPlacementViewRequest) + + +DESCRIPTOR._options = None +_GETGROUPPLACEMENTVIEWREQUEST.fields_by_name['resource_name']._options = None + +_GROUPPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( + name='GroupPlacementViewService', + full_name='google.ads.googleads.v4.services.GroupPlacementViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=403, + serialized_end=683, + methods=[ + _descriptor.MethodDescriptor( + name='GetGroupPlacementView', + full_name='google.ads.googleads.v4.services.GroupPlacementViewService.GetGroupPlacementView', + index=0, + containing_service=None, + input_type=_GETGROUPPLACEMENTVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2._GROUPPLACEMENTVIEW, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/groupPlacementViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_GROUPPLACEMENTVIEWSERVICE) + +DESCRIPTOR.services_by_name['GroupPlacementViewService'] = _GROUPPLACEMENTVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2_grpc.py index 2978f83a9..68771ee74 100644 --- a/google/ads/google_ads/v1/proto/services/group_placement_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/group_placement_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2 -from google.ads.google_ads.v1.proto.services import group_placement_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_group__placement__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import group_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2 +from google.ads.google_ads.v4.proto.services import group_placement_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_group__placement__view__service__pb2 class GroupPlacementViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetGroupPlacementView = channel.unary_unary( - '/google.ads.googleads.v1.services.GroupPlacementViewService/GetGroupPlacementView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.FromString, + '/google.ads.googleads.v4.services.GroupPlacementViewService/GetGroupPlacementView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.FromString, ) @@ -42,10 +42,10 @@ def add_GroupPlacementViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetGroupPlacementView': grpc.unary_unary_rpc_method_handler( servicer.GetGroupPlacementView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_group__placement__view__service__pb2.GetGroupPlacementViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_group__placement__view__pb2.GroupPlacementView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.GroupPlacementViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.GroupPlacementViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2.py new file mode 100644 index 000000000..d025f6089 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/hotel_group_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/hotel_group_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032HotelGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/hotel_group_view_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/hotel_group_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetHotelGroupViewRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/HotelGroupView2\x84\x02\n\x15HotelGroupViewService\x12\xcd\x01\n\x11GetHotelGroupView\x12:.google.ads.googleads.v4.services.GetHotelGroupViewRequest\x1a\x31.google.ads.googleads.v4.resources.HotelGroupView\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/hotelGroupViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1aHotelGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETHOTELGROUPVIEWREQUEST = _descriptor.Descriptor( + name='GetHotelGroupViewRequest', + full_name='google.ads.googleads.v4.services.GetHotelGroupViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetHotelGroupViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/HotelGroupView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=286, + serialized_end=384, +) + +DESCRIPTOR.message_types_by_name['GetHotelGroupViewRequest'] = _GETHOTELGROUPVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetHotelGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelGroupViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETHOTELGROUPVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.hotel_group_view_service_pb2' + , + __doc__ = """Request message for + [HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v4.services.HotelGroupViewService.GetHotelGroupView]. + + + Attributes: + resource_name: + Required. Resource name of the Hotel Group View to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetHotelGroupViewRequest) + )) +_sym_db.RegisterMessage(GetHotelGroupViewRequest) + + +DESCRIPTOR._options = None +_GETHOTELGROUPVIEWREQUEST.fields_by_name['resource_name']._options = None + +_HOTELGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( + name='HotelGroupViewService', + full_name='google.ads.googleads.v4.services.HotelGroupViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=387, + serialized_end=647, + methods=[ + _descriptor.MethodDescriptor( + name='GetHotelGroupView', + full_name='google.ads.googleads.v4.services.HotelGroupViewService.GetHotelGroupView', + index=0, + containing_service=None, + input_type=_GETHOTELGROUPVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2._HOTELGROUPVIEW, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/hotelGroupViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_HOTELGROUPVIEWSERVICE) + +DESCRIPTOR.services_by_name['HotelGroupViewService'] = _HOTELGROUPVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2_grpc.py index 46ee02323..fa0fa5c9a 100644 --- a/google/ads/google_ads/v1/proto/services/hotel_group_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/hotel_group_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2 -from google.ads.google_ads.v1.proto.services import hotel_group_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__group__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import hotel_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2 +from google.ads.google_ads.v4.proto.services import hotel_group_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__group__view__service__pb2 class HotelGroupViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetHotelGroupView = channel.unary_unary( - '/google.ads.googleads.v1.services.HotelGroupViewService/GetHotelGroupView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.FromString, + '/google.ads.googleads.v4.services.HotelGroupViewService/GetHotelGroupView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.FromString, ) @@ -42,10 +42,10 @@ def add_HotelGroupViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetHotelGroupView': grpc.unary_unary_rpc_method_handler( servicer.GetHotelGroupView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__group__view__service__pb2.GetHotelGroupViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__group__view__pb2.HotelGroupView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.HotelGroupViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.HotelGroupViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2.py new file mode 100644 index 000000000..0c42965c2 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/hotel_performance_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/hotel_performance_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB HotelPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/services/hotel_performance_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/resources/hotel_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"n\n\x1eGetHotelPerformanceViewRequest\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-googleads.googleapis.com/HotelPerformanceView2\x9f\x02\n\x1bHotelPerformanceViewService\x12\xe2\x01\n\x17GetHotelPerformanceView\x12@.google.ads.googleads.v4.services.GetHotelPerformanceViewRequest\x1a\x37.google.ads.googleads.v4.resources.HotelPerformanceView\"L\x82\xd3\xe4\x93\x02\x36\x12\x34/v4/{resource_name=customers/*/hotelPerformanceView}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v4.servicesB HotelPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETHOTELPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( + name='GetHotelPerformanceViewRequest', + full_name='google.ads.googleads.v4.services.GetHotelPerformanceViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetHotelPerformanceViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A/\n-googleads.googleapis.com/HotelPerformanceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=408, +) + +DESCRIPTOR.message_types_by_name['GetHotelPerformanceViewRequest'] = _GETHOTELPERFORMANCEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetHotelPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetHotelPerformanceViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETHOTELPERFORMANCEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.hotel_performance_view_service_pb2' + , + __doc__ = """Request message for + [HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v4.services.HotelPerformanceViewService.GetHotelPerformanceView]. + + + Attributes: + resource_name: + Required. Resource name of the Hotel Performance View to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetHotelPerformanceViewRequest) + )) +_sym_db.RegisterMessage(GetHotelPerformanceViewRequest) + + +DESCRIPTOR._options = None +_GETHOTELPERFORMANCEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_HOTELPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='HotelPerformanceViewService', + full_name='google.ads.googleads.v4.services.HotelPerformanceViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=411, + serialized_end=698, + methods=[ + _descriptor.MethodDescriptor( + name='GetHotelPerformanceView', + full_name='google.ads.googleads.v4.services.HotelPerformanceViewService.GetHotelPerformanceView', + index=0, + containing_service=None, + input_type=_GETHOTELPERFORMANCEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2._HOTELPERFORMANCEVIEW, + serialized_options=_b('\202\323\344\223\0026\0224/v4/{resource_name=customers/*/hotelPerformanceView}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_HOTELPERFORMANCEVIEWSERVICE) + +DESCRIPTOR.services_by_name['HotelPerformanceViewService'] = _HOTELPERFORMANCEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2_grpc.py index c205f959c..57d78b1c5 100644 --- a/google/ads/google_ads/v1/proto/services/hotel_performance_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/hotel_performance_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2 -from google.ads.google_ads.v1.proto.services import hotel_performance_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__performance__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import hotel_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2 +from google.ads.google_ads.v4.proto.services import hotel_performance_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__performance__view__service__pb2 class HotelPerformanceViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetHotelPerformanceView = channel.unary_unary( - '/google.ads.googleads.v1.services.HotelPerformanceViewService/GetHotelPerformanceView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.FromString, + '/google.ads.googleads.v4.services.HotelPerformanceViewService/GetHotelPerformanceView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.FromString, ) @@ -42,10 +42,10 @@ def add_HotelPerformanceViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetHotelPerformanceView': grpc.unary_unary_rpc_method_handler( servicer.GetHotelPerformanceView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_hotel__performance__view__service__pb2.GetHotelPerformanceViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_hotel__performance__view__pb2.HotelPerformanceView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.HotelPerformanceViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.HotelPerformanceViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2.py new file mode 100644 index 000000000..e94518004 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/income_range_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import income_range_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/income_range_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033IncomeRangeViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/income_range_view_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/income_range_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"d\n\x19GetIncomeRangeViewRequest\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(googleads.googleapis.com/IncomeRangeView2\x89\x02\n\x16IncomeRangeViewService\x12\xd1\x01\n\x12GetIncomeRangeView\x12;.google.ads.googleads.v4.services.GetIncomeRangeViewRequest\x1a\x32.google.ads.googleads.v4.resources.IncomeRangeView\"J\x82\xd3\xe4\x93\x02\x34\x12\x32/v4/{resource_name=customers/*/incomeRangeViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1bIncomeRangeViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETINCOMERANGEVIEWREQUEST = _descriptor.Descriptor( + name='GetIncomeRangeViewRequest', + full_name='google.ads.googleads.v4.services.GetIncomeRangeViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetIncomeRangeViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A*\n(googleads.googleapis.com/IncomeRangeView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=288, + serialized_end=388, +) + +DESCRIPTOR.message_types_by_name['GetIncomeRangeViewRequest'] = _GETINCOMERANGEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetIncomeRangeViewRequest = _reflection.GeneratedProtocolMessageType('GetIncomeRangeViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETINCOMERANGEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.income_range_view_service_pb2' + , + __doc__ = """Request message for + [IncomeRangeViewService.GetIncomeRangeView][google.ads.googleads.v4.services.IncomeRangeViewService.GetIncomeRangeView]. + + + Attributes: + resource_name: + Required. The resource name of the income range view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetIncomeRangeViewRequest) + )) +_sym_db.RegisterMessage(GetIncomeRangeViewRequest) + + +DESCRIPTOR._options = None +_GETINCOMERANGEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_INCOMERANGEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='IncomeRangeViewService', + full_name='google.ads.googleads.v4.services.IncomeRangeViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=391, + serialized_end=656, + methods=[ + _descriptor.MethodDescriptor( + name='GetIncomeRangeView', + full_name='google.ads.googleads.v4.services.IncomeRangeViewService.GetIncomeRangeView', + index=0, + containing_service=None, + input_type=_GETINCOMERANGEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2._INCOMERANGEVIEW, + serialized_options=_b('\202\323\344\223\0024\0222/v4/{resource_name=customers/*/incomeRangeViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_INCOMERANGEVIEWSERVICE) + +DESCRIPTOR.services_by_name['IncomeRangeViewService'] = _INCOMERANGEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2_grpc.py new file mode 100644 index 000000000..f5f389bfc --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/income_range_view_service_pb2_grpc.py @@ -0,0 +1,51 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import income_range_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2 +from google.ads.google_ads.v4.proto.services import income_range_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_income__range__view__service__pb2 + + +class IncomeRangeViewServiceStub(object): + """Proto file describing the Income Range View service. + + Service to manage income range views. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetIncomeRangeView = channel.unary_unary( + '/google.ads.googleads.v4.services.IncomeRangeViewService/GetIncomeRangeView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_income__range__view__service__pb2.GetIncomeRangeViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2.IncomeRangeView.FromString, + ) + + +class IncomeRangeViewServiceServicer(object): + """Proto file describing the Income Range View service. + + Service to manage income range views. + """ + + def GetIncomeRangeView(self, request, context): + """Returns the requested income range view in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_IncomeRangeViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetIncomeRangeView': grpc.unary_unary_rpc_method_handler( + servicer.GetIncomeRangeView, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_income__range__view__service__pb2.GetIncomeRangeViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_income__range__view__pb2.IncomeRangeView.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.IncomeRangeViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/invoice_service_pb2.py b/google/ads/google_ads/v4/proto/services/invoice_service_pb2.py new file mode 100644 index 000000000..17623ab40 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/invoice_service_pb2.py @@ -0,0 +1,195 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/invoice_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.enums import month_of_year_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_month__of__year__pb2 +from google.ads.google_ads.v4.proto.resources import invoice_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_invoice__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/invoice_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\023InvoiceServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n\n%MutateKeywordPlanAdGroupKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xdc\x04\n KeywordPlanAdGroupKeywordService\x12\xf9\x01\n\x1cGetKeywordPlanAdGroupKeyword\x12\x45.google.ads.googleads.v4.services.GetKeywordPlanAdGroupKeywordRequest\x1a<.google.ads.googleads.v4.resources.KeywordPlanAdGroupKeyword\"T\x82\xd3\xe4\x93\x02>\x12\022.google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest\x1a\x35.google.ads.googleads.v1.resources.KeywordPlanAdGroup\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/keywordPlanAdGroups/*}\x12\xe9\x01\n\x19MutateKeywordPlanAdGroups\x12\x42.google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest\x1a\x43.google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\x01*B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1eKeywordPlanAdGroupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036KeywordPlanAdGroupServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/keyword_plan_ad_group_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/keyword_plan_ad_group.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"j\n\x1cGetKeywordPlanAdGroupRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/KeywordPlanAdGroup\"\xc4\x01\n MutateKeywordPlanAdGroupsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12V\n\noperations\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v4.services.KeywordPlanAdGroupOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xff\x01\n\x1bKeywordPlanAdGroupOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.KeywordPlanAdGroupH\x00\x12G\n\x06update\x18\x02 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.KeywordPlanAdGroupH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa9\x01\n!MutateKeywordPlanAdGroupsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Q\n\x07results\x18\x02 \x03(\x0b\x32@.google.ads.googleads.v4.services.MutateKeywordPlanAdGroupResult\"7\n\x1eMutateKeywordPlanAdGroupResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x9d\x04\n\x19KeywordPlanAdGroupService\x12\xdd\x01\n\x15GetKeywordPlanAdGroup\x12>.google.ads.googleads.v4.services.GetKeywordPlanAdGroupRequest\x1a\x35.google.ads.googleads.v4.resources.KeywordPlanAdGroup\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/keywordPlanAdGroups/*}\xda\x41\rresource_name\x12\x82\x02\n\x19MutateKeywordPlanAdGroups\x12\x42.google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest\x1a\x43.google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsResponse\"\\\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1eKeywordPlanAdGroupServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETKEYWORDPLANADGROUPREQUEST = _descriptor.Descriptor( name='GetKeywordPlanAdGroupRequest', - full_name='google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest', + full_name='google.ads.googleads.v4.services.GetKeywordPlanAdGroupRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetKeywordPlanAdGroupRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/KeywordPlanAdGroup'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=302, - serialized_end=355, + serialized_start=355, + serialized_end=461, ) _MUTATEKEYWORDPLANADGROUPSREQUEST = _descriptor.Descriptor( name='MutateKeywordPlanAdGroupsRequest', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=358, - serialized_end=544, + serialized_start=464, + serialized_end=660, ) _KEYWORDPLANADGROUPOPERATION = _descriptor.Descriptor( name='KeywordPlanAdGroupOperation', - full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation', + full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=547, - serialized_end=802, + serialized_start=663, + serialized_end=918, ) _MUTATEKEYWORDPLANADGROUPSRESPONSE = _descriptor.Descriptor( name='MutateKeywordPlanAdGroupsResponse', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=805, - serialized_end=974, + serialized_start=921, + serialized_end=1090, ) _MUTATEKEYWORDPLANADGROUPRESULT = _descriptor.Descriptor( name='MutateKeywordPlanAdGroupResult', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateKeywordPlanAdGroupResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=976, - serialized_end=1031, + serialized_start=1092, + serialized_end=1147, ) _MUTATEKEYWORDPLANADGROUPSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANADGROUPOPERATION _KEYWORDPLANADGROUPOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_KEYWORDPLANADGROUPOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP -_KEYWORDPLANADGROUPOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP +_KEYWORDPLANADGROUPOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP +_KEYWORDPLANADGROUPOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP _KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'].fields.append( _KEYWORDPLANADGROUPOPERATION.fields_by_name['create']) _KEYWORDPLANADGROUPOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANADGROUPOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetKeywordPlanAdGroupRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanAdGroupRequest', (_message.Message,), dict( DESCRIPTOR = _GETKEYWORDPLANADGROUPREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_ad_group_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_ad_group_service_pb2' , __doc__ = """Request message for - [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v1.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup]. + [KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v4.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup]. Attributes: resource_name: - The resource name of the Keyword Plan ad group to fetch. + Required. The resource name of the Keyword Plan ad group to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordPlanAdGroupRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetKeywordPlanAdGroupRequest) )) _sym_db.RegisterMessage(GetKeywordPlanAdGroupRequest) MutateKeywordPlanAdGroupsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_ad_group_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_ad_group_service_pb2' , __doc__ = """Request message for - [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v1.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. + [KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v4.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups]. Attributes: customer_id: - The ID of the customer whose Keyword Plan ad groups are being - modified. + Required. The ID of the customer whose Keyword Plan ad groups + are being modified. operations: - The list of operations to perform on individual Keyword Plan - ad groups. + Required. The list of operations to perform on individual + Keyword Plan ad groups. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsRequest) )) _sym_db.RegisterMessage(MutateKeywordPlanAdGroupsRequest) KeywordPlanAdGroupOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupOperation', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANADGROUPOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_ad_group_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_ad_group_service_pb2' , __doc__ = """A single operation (create, update, remove) on a Keyword Plan ad group. @@ -328,13 +331,13 @@ ad group is expected, in this format: ``customers/{customer_i d}/keywordPlanAdGroups/{kp_ad_group_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanAdGroupOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanAdGroupOperation) )) _sym_db.RegisterMessage(KeywordPlanAdGroupOperation) MutateKeywordPlanAdGroupsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_ad_group_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_ad_group_service_pb2' , __doc__ = """Response message for a Keyword Plan ad group mutate. @@ -349,13 +352,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanAdGroupsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanAdGroupsResponse) )) _sym_db.RegisterMessage(MutateKeywordPlanAdGroupsResponse) MutateKeywordPlanAdGroupResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanAdGroupResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANADGROUPRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_ad_group_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_ad_group_service_pb2' , __doc__ = """The result for the Keyword Plan ad group mutate. @@ -364,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanAdGroupResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanAdGroupResult) )) _sym_db.RegisterMessage(MutateKeywordPlanAdGroupResult) DESCRIPTOR._options = None +_GETKEYWORDPLANADGROUPREQUEST.fields_by_name['resource_name']._options = None +_MUTATEKEYWORDPLANADGROUPSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEKEYWORDPLANADGROUPSREQUEST.fields_by_name['operations']._options = None _KEYWORDPLANADGROUPSERVICE = _descriptor.ServiceDescriptor( name='KeywordPlanAdGroupService', - full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupService', + full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1034, - serialized_end=1505, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1150, + serialized_end=1691, methods=[ _descriptor.MethodDescriptor( name='GetKeywordPlanAdGroup', - full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup', + full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup', index=0, containing_service=None, input_type=_GETKEYWORDPLANADGROUPREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/keywordPlanAdGroups/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2._KEYWORDPLANADGROUP, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/keywordPlanAdGroups/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateKeywordPlanAdGroups', - full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups', + full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups', index=1, containing_service=None, input_type=_MUTATEKEYWORDPLANADGROUPSREQUEST, output_type=_MUTATEKEYWORDPLANADGROUPSRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/keywordPlanAdGroups:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_KEYWORDPLANADGROUPSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_ad_group_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_plan_ad_group_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/keyword_plan_ad_group_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_ad_group_service_pb2_grpc.py index fe4bb60b8..e8a59394f 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_ad_group_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_ad_group_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 -from google.ads.google_ads.v1.proto.services import keyword_plan_ad_group_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_ad_group_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2 class KeywordPlanAdGroupServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetKeywordPlanAdGroup = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.KeywordPlanAdGroup.FromString, + '/google.ads.googleads.v4.services.KeywordPlanAdGroupService/GetKeywordPlanAdGroup', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.KeywordPlanAdGroup.FromString, ) self.MutateKeywordPlanAdGroups = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanAdGroupService/MutateKeywordPlanAdGroups', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_KeywordPlanAdGroupServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetKeywordPlanAdGroup': grpc.unary_unary_rpc_method_handler( servicer.GetKeywordPlanAdGroup, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.KeywordPlanAdGroup.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.GetKeywordPlanAdGroupRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__ad__group__pb2.KeywordPlanAdGroup.SerializeToString, ), 'MutateKeywordPlanAdGroups': grpc.unary_unary_rpc_method_handler( servicer.MutateKeywordPlanAdGroups, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__ad__group__service__pb2.MutateKeywordPlanAdGroupsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanAdGroupService', rpc_method_handlers) + 'google.ads.googleads.v4.services.KeywordPlanAdGroupService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2.py b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2.py new file mode 100644 index 000000000..f2b39a4d4 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2.py @@ -0,0 +1,412 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/keyword_plan_campaign_keyword_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_keyword_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 +from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/keyword_plan_campaign_keyword_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB&KeywordPlanCampaignKeywordServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nRgoogle/ads/googleads_v4/proto/services/keyword_plan_campaign_keyword_service.proto\x12 google.ads.googleads.v4.services\x1aKgoogle/ads/googleads_v4/proto/resources/keyword_plan_campaign_keyword.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"z\n$GetKeywordPlanCampaignKeywordRequest\x12R\n\rresource_name\x18\x01 \x01(\tB;\xe0\x41\x02\xfa\x41\x35\n3googleads.googleapis.com/KeywordPlanCampaignKeyword\"\xd4\x01\n(MutateKeywordPlanCampaignKeywordsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12^\n\noperations\x18\x02 \x03(\x0b\x32\x45.google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x97\x02\n#KeywordPlanCampaignKeywordOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12O\n\x06\x63reate\x18\x01 \x01(\x0b\x32=.google.ads.googleads.v4.resources.KeywordPlanCampaignKeywordH\x00\x12O\n\x06update\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v4.resources.KeywordPlanCampaignKeywordH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xb9\x01\n)MutateKeywordPlanCampaignKeywordsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12Y\n\x07results\x18\x02 \x03(\x0b\x32H.google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordResult\"?\n&MutateKeywordPlanCampaignKeywordResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe5\x04\n!KeywordPlanCampaignKeywordService\x12\xfd\x01\n\x1dGetKeywordPlanCampaignKeyword\x12\x46.google.ads.googleads.v4.services.GetKeywordPlanCampaignKeywordRequest\x1a=.google.ads.googleads.v4.resources.KeywordPlanCampaignKeyword\"U\x82\xd3\xe4\x93\x02?\x12=/v4/{resource_name=customers/*/keywordPlanCampaignKeywords/*}\xda\x41\rresource_name\x12\xa2\x02\n!MutateKeywordPlanCampaignKeywords\x12J.google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest\x1aK.google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsResponse\"d\x82\xd3\xe4\x93\x02\x45\"@/v4/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v4.servicesB&KeywordPlanCampaignKeywordServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + + + + +_GETKEYWORDPLANCAMPAIGNKEYWORDREQUEST = _descriptor.Descriptor( + name='GetKeywordPlanCampaignKeywordRequest', + full_name='google.ads.googleads.v4.services.GetKeywordPlanCampaignKeywordRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetKeywordPlanCampaignKeywordRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A5\n3googleads.googleapis.com/KeywordPlanCampaignKeyword'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=371, + serialized_end=493, +) + + +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST = _descriptor.Descriptor( + name='MutateKeywordPlanCampaignKeywordsRequest', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operations', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest.operations', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest.partial_failure', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='validate_only', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest.validate_only', index=3, + number=4, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=496, + serialized_end=708, +) + + +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION = _descriptor.Descriptor( + name='KeywordPlanCampaignKeywordOperation', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='update_mask', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation.update_mask', index=0, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='create', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation.create', index=1, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='update', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation.update', index=2, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remove', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation.remove', index=3, + number=3, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=711, + serialized_end=990, +) + + +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE = _descriptor.Descriptor( + name='MutateKeywordPlanCampaignKeywordsResponse', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsResponse.partial_failure_error', index=0, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='results', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsResponse.results', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=993, + serialized_end=1178, +) + + +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDRESULT = _descriptor.Descriptor( + name='MutateKeywordPlanCampaignKeywordResult', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordResult', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordResult.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1180, + serialized_end=1243, +) + +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2._KEYWORDPLANCAMPAIGNKEYWORD +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2._KEYWORDPLANCAMPAIGNKEYWORD +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( + _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['create']) +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'] +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( + _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['update']) +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['update'].containing_oneof = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'] +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'].fields.append( + _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['remove']) +_KEYWORDPLANCAMPAIGNKEYWORDOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION.oneofs_by_name['operation'] +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDRESULT +DESCRIPTOR.message_types_by_name['GetKeywordPlanCampaignKeywordRequest'] = _GETKEYWORDPLANCAMPAIGNKEYWORDREQUEST +DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignKeywordsRequest'] = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST +DESCRIPTOR.message_types_by_name['KeywordPlanCampaignKeywordOperation'] = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION +DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignKeywordsResponse'] = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE +DESCRIPTOR.message_types_by_name['MutateKeywordPlanCampaignKeywordResult'] = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDRESULT +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetKeywordPlanCampaignKeywordRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanCampaignKeywordRequest', (_message.Message,), dict( + DESCRIPTOR = _GETKEYWORDPLANCAMPAIGNKEYWORDREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_keyword_service_pb2' + , + __doc__ = """Request message for + [KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword][google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword]. + + + Attributes: + resource_name: + Required. The resource name of the plan to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetKeywordPlanCampaignKeywordRequest) + )) +_sym_db.RegisterMessage(GetKeywordPlanCampaignKeywordRequest) + +MutateKeywordPlanCampaignKeywordsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignKeywordsRequest', (_message.Message,), dict( + DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_keyword_service_pb2' + , + __doc__ = """Request message for + [KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords]. + + + Attributes: + customer_id: + Required. The ID of the customer whose campaign keywords are + being modified. + operations: + Required. The list of operations to perform on individual + Keyword Plan campaign keywords. + partial_failure: + If true, successful operations will be carried out and invalid + operations will return errors. If false, all operations will + be carried out in one transaction if and only if they are all + valid. Default is false. + validate_only: + If true, the request is validated but not executed. Only + errors are returned, not results. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsRequest) + )) +_sym_db.RegisterMessage(MutateKeywordPlanCampaignKeywordsRequest) + +KeywordPlanCampaignKeywordOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignKeywordOperation', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANCAMPAIGNKEYWORDOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_keyword_service_pb2' + , + __doc__ = """A single operation (create, update, remove) on a Keyword Plan campaign + keyword. + + + Attributes: + update_mask: + The FieldMask that determines which resource fields are + modified in an update. + operation: + The mutate operation. + create: + Create operation: No resource name is expected for the new + Keyword Plan campaign keyword. + update: + Update operation: The Keyword Plan campaign keyword expected + to have a valid resource name. + remove: + Remove operation: A resource name for the removed Keyword Plan + campaign keywords expected in this format: ``customers/{custo + mer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}`` + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanCampaignKeywordOperation) + )) +_sym_db.RegisterMessage(KeywordPlanCampaignKeywordOperation) + +MutateKeywordPlanCampaignKeywordsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignKeywordsResponse', (_message.Message,), dict( + DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_keyword_service_pb2' + , + __doc__ = """Response message for a Keyword Plan campaign keyword mutate. + + + Attributes: + partial_failure_error: + Errors that pertain to operation failures in the partial + failure mode. Returned only when partial\_failure = true and + all errors occur inside the operations. If any errors occur + outside the operations (e.g. auth errors), we return an RPC + level error. + results: + All results for the mutate. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordsResponse) + )) +_sym_db.RegisterMessage(MutateKeywordPlanCampaignKeywordsResponse) + +MutateKeywordPlanCampaignKeywordResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignKeywordResult', (_message.Message,), dict( + DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNKEYWORDRESULT, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_keyword_service_pb2' + , + __doc__ = """The result for the Keyword Plan campaign keyword mutate. + + + Attributes: + resource_name: + Returned for successful operations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignKeywordResult) + )) +_sym_db.RegisterMessage(MutateKeywordPlanCampaignKeywordResult) + + +DESCRIPTOR._options = None +_GETKEYWORDPLANCAMPAIGNKEYWORDREQUEST.fields_by_name['resource_name']._options = None +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST.fields_by_name['operations']._options = None + +_KEYWORDPLANCAMPAIGNKEYWORDSERVICE = _descriptor.ServiceDescriptor( + name='KeywordPlanCampaignKeywordService', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1246, + serialized_end=1859, + methods=[ + _descriptor.MethodDescriptor( + name='GetKeywordPlanCampaignKeyword', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword', + index=0, + containing_service=None, + input_type=_GETKEYWORDPLANCAMPAIGNKEYWORDREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2._KEYWORDPLANCAMPAIGNKEYWORD, + serialized_options=_b('\202\323\344\223\002?\022=/v4/{resource_name=customers/*/keywordPlanCampaignKeywords/*}\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='MutateKeywordPlanCampaignKeywords', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords', + index=1, + containing_service=None, + input_type=_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSREQUEST, + output_type=_MUTATEKEYWORDPLANCAMPAIGNKEYWORDSRESPONSE, + serialized_options=_b('\202\323\344\223\002E\"@/v4/customers/{customer_id=*}/keywordPlanCampaignKeywords:mutate:\001*\332A\026customer_id,operations'), + ), +]) +_sym_db.RegisterServiceDescriptor(_KEYWORDPLANCAMPAIGNKEYWORDSERVICE) + +DESCRIPTOR.services_by_name['KeywordPlanCampaignKeywordService'] = _KEYWORDPLANCAMPAIGNKEYWORDSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2_grpc.py new file mode 100644 index 000000000..cf940f7ec --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_keyword_service_pb2_grpc.py @@ -0,0 +1,75 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_keyword_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_keyword_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2 + + +class KeywordPlanCampaignKeywordServiceStub(object): + """Proto file describing the keyword plan campaign keyword service. + + Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is + required to add the campaign keywords. Only negative keywords are supported. + A maximum of 1000 negative keywords are allowed per plan. This includes both + campaign negative keywords and ad group negative keywords. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetKeywordPlanCampaignKeyword = channel.unary_unary( + '/google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService/GetKeywordPlanCampaignKeyword', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.GetKeywordPlanCampaignKeywordRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2.KeywordPlanCampaignKeyword.FromString, + ) + self.MutateKeywordPlanCampaignKeywords = channel.unary_unary( + '/google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService/MutateKeywordPlanCampaignKeywords', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.MutateKeywordPlanCampaignKeywordsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.MutateKeywordPlanCampaignKeywordsResponse.FromString, + ) + + +class KeywordPlanCampaignKeywordServiceServicer(object): + """Proto file describing the keyword plan campaign keyword service. + + Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is + required to add the campaign keywords. Only negative keywords are supported. + A maximum of 1000 negative keywords are allowed per plan. This includes both + campaign negative keywords and ad group negative keywords. + """ + + def GetKeywordPlanCampaignKeyword(self, request, context): + """Returns the requested plan in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def MutateKeywordPlanCampaignKeywords(self, request, context): + """Creates, updates, or removes Keyword Plan campaign keywords. Operation + statuses are returned. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_KeywordPlanCampaignKeywordServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetKeywordPlanCampaignKeyword': grpc.unary_unary_rpc_method_handler( + servicer.GetKeywordPlanCampaignKeyword, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.GetKeywordPlanCampaignKeywordRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__keyword__pb2.KeywordPlanCampaignKeyword.SerializeToString, + ), + 'MutateKeywordPlanCampaignKeywords': grpc.unary_unary_rpc_method_handler( + servicer.MutateKeywordPlanCampaignKeywords, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.MutateKeywordPlanCampaignKeywordsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__keyword__service__pb2.MutateKeywordPlanCampaignKeywordsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2.py b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2.py index 2bebe8749..770736177 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_plan_campaign_service.proto +# source: google/ads/googleads_v4/proto/services/keyword_plan_campaign_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_plan_campaign_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/keyword_plan_campaign_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\037KeywordPlanCampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nJgoogle/ads/googleads_v1/proto/services/keyword_plan_campaign_service.proto\x12 google.ads.googleads.v1.services\x1a\x43google/ads/googleads_v1/proto/resources/keyword_plan_campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"6\n\x1dGetKeywordPlanCampaignRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xbc\x01\n!MutateKeywordPlanCampaignsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12R\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v1.services.KeywordPlanCampaignOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x82\x02\n\x1cKeywordPlanCampaignOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.KeywordPlanCampaignH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v1.resources.KeywordPlanCampaignH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xab\x01\n\"MutateKeywordPlanCampaignsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12R\n\x07results\x18\x02 \x03(\x0b\x32\x41.google.ads.googleads.v1.services.MutateKeywordPlanCampaignResult\"8\n\x1fMutateKeywordPlanCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe0\x03\n\x1aKeywordPlanCampaignService\x12\xd1\x01\n\x16GetKeywordPlanCampaign\x12?.google.ads.googleads.v1.services.GetKeywordPlanCampaignRequest\x1a\x36.google.ads.googleads.v1.resources.KeywordPlanCampaign\">\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{resource_name=customers/*/keywordPlanCampaigns/*}\x12\xed\x01\n\x1aMutateKeywordPlanCampaigns\x12\x43.google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest\x1a\x44.google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse\"D\x82\xd3\xe4\x93\x02>\"9/v1/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\x01*B\x86\x02\n$com.google.ads.googleads.v1.servicesB\x1fKeywordPlanCampaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\037KeywordPlanCampaignServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/keyword_plan_campaign_service.proto\x12 google.ads.googleads.v4.services\x1a\x43google/ads/googleads_v4/proto/resources/keyword_plan_campaign.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"l\n\x1dGetKeywordPlanCampaignRequest\x12K\n\rresource_name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,googleads.googleapis.com/KeywordPlanCampaign\"\xc6\x01\n!MutateKeywordPlanCampaignsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\noperations\x18\x02 \x03(\x0b\x32>.google.ads.googleads.v4.services.KeywordPlanCampaignOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x82\x02\n\x1cKeywordPlanCampaignOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.KeywordPlanCampaignH\x00\x12H\n\x06update\x18\x02 \x01(\x0b\x32\x36.google.ads.googleads.v4.resources.KeywordPlanCampaignH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xab\x01\n\"MutateKeywordPlanCampaignsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12R\n\x07results\x18\x02 \x03(\x0b\x32\x41.google.ads.googleads.v4.services.MutateKeywordPlanCampaignResult\"8\n\x1fMutateKeywordPlanCampaignResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa6\x04\n\x1aKeywordPlanCampaignService\x12\xe1\x01\n\x16GetKeywordPlanCampaign\x12?.google.ads.googleads.v4.services.GetKeywordPlanCampaignRequest\x1a\x36.google.ads.googleads.v4.resources.KeywordPlanCampaign\"N\x82\xd3\xe4\x93\x02\x38\x12\x36/v4/{resource_name=customers/*/keywordPlanCampaigns/*}\xda\x41\rresource_name\x12\x86\x02\n\x1aMutateKeywordPlanCampaigns\x12\x43.google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest\x1a\x44.google.ads.googleads.v4.services.MutateKeywordPlanCampaignsResponse\"]\x82\xd3\xe4\x93\x02>\"9/v4/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x86\x02\n$com.google.ads.googleads.v4.servicesB\x1fKeywordPlanCampaignServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETKEYWORDPLANCAMPAIGNREQUEST = _descriptor.Descriptor( name='GetKeywordPlanCampaignRequest', - full_name='google.ads.googleads.v1.services.GetKeywordPlanCampaignRequest', + full_name='google.ads.googleads.v4.services.GetKeywordPlanCampaignRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordPlanCampaignRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetKeywordPlanCampaignRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A.\n,googleads.googleapis.com/KeywordPlanCampaign'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=302, - serialized_end=356, + serialized_start=355, + serialized_end=463, ) _MUTATEKEYWORDPLANCAMPAIGNSREQUEST = _descriptor.Descriptor( name='MutateKeywordPlanCampaignsRequest', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=359, - serialized_end=547, + serialized_start=466, + serialized_end=664, ) _KEYWORDPLANCAMPAIGNOPERATION = _descriptor.Descriptor( name='KeywordPlanCampaignOperation', - full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=550, - serialized_end=808, + serialized_start=667, + serialized_end=925, ) _MUTATEKEYWORDPLANCAMPAIGNSRESPONSE = _descriptor.Descriptor( name='MutateKeywordPlanCampaignsResponse', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=811, - serialized_end=982, + serialized_start=928, + serialized_end=1099, ) _MUTATEKEYWORDPLANCAMPAIGNRESULT = _descriptor.Descriptor( name='MutateKeywordPlanCampaignResult', - full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignResult', + full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateKeywordPlanCampaignResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateKeywordPlanCampaignResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=984, - serialized_end=1040, + serialized_start=1101, + serialized_end=1157, ) _MUTATEKEYWORDPLANCAMPAIGNSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANCAMPAIGNOPERATION _KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN -_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN +_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN +_KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN _KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'].fields.append( _KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['create']) _KEYWORDPLANCAMPAIGNOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANCAMPAIGNOPERATION.oneofs_by_name['operation'] @@ -262,35 +264,36 @@ GetKeywordPlanCampaignRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanCampaignRequest', (_message.Message,), dict( DESCRIPTOR = _GETKEYWORDPLANCAMPAIGNREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_service_pb2' , __doc__ = """Request message for - [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v1.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. + [KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v4.services.KeywordPlanCampaignService.GetKeywordPlanCampaign]. Attributes: resource_name: - The resource name of the Keyword Plan campaign to fetch. + Required. The resource name of the Keyword Plan campaign to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordPlanCampaignRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetKeywordPlanCampaignRequest) )) _sym_db.RegisterMessage(GetKeywordPlanCampaignRequest) MutateKeywordPlanCampaignsRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_service_pb2' , __doc__ = """Request message for - [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v1.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. + [KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v4.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns]. Attributes: customer_id: - The ID of the customer whose Keyword Plan campaigns are being - modified. + Required. The ID of the customer whose Keyword Plan campaigns + are being modified. operations: - The list of operations to perform on individual Keyword Plan - campaigns. + Required. The list of operations to perform on individual + Keyword Plan campaigns. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -300,13 +303,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanCampaignsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignsRequest) )) _sym_db.RegisterMessage(MutateKeywordPlanCampaignsRequest) KeywordPlanCampaignOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignOperation', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANCAMPAIGNOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_service_pb2' , __doc__ = """A single operation (create, update, remove) on a Keyword Plan campaign. @@ -328,13 +331,13 @@ campaign is expected, in this format: ``customers/{customer_i d}/keywordPlanCampaigns/{keywordPlan_campaign_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanCampaignOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanCampaignOperation) )) _sym_db.RegisterMessage(KeywordPlanCampaignOperation) MutateKeywordPlanCampaignsResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_service_pb2' , __doc__ = """Response message for a Keyword Plan campaign mutate. @@ -349,13 +352,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanCampaignsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignsResponse) )) _sym_db.RegisterMessage(MutateKeywordPlanCampaignsResponse) MutateKeywordPlanCampaignResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlanCampaignResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANCAMPAIGNRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_campaign_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_campaign_service_pb2' , __doc__ = """The result for the Keyword Plan campaign mutate. @@ -364,39 +367,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlanCampaignResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlanCampaignResult) )) _sym_db.RegisterMessage(MutateKeywordPlanCampaignResult) DESCRIPTOR._options = None +_GETKEYWORDPLANCAMPAIGNREQUEST.fields_by_name['resource_name']._options = None +_MUTATEKEYWORDPLANCAMPAIGNSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEKEYWORDPLANCAMPAIGNSREQUEST.fields_by_name['operations']._options = None _KEYWORDPLANCAMPAIGNSERVICE = _descriptor.ServiceDescriptor( name='KeywordPlanCampaignService', - full_name='google.ads.googleads.v1.services.KeywordPlanCampaignService', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1043, - serialized_end=1523, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1160, + serialized_end=1710, methods=[ _descriptor.MethodDescriptor( name='GetKeywordPlanCampaign', - full_name='google.ads.googleads.v1.services.KeywordPlanCampaignService.GetKeywordPlanCampaign', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignService.GetKeywordPlanCampaign', index=0, containing_service=None, input_type=_GETKEYWORDPLANCAMPAIGNREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN, - serialized_options=_b('\202\323\344\223\0028\0226/v1/{resource_name=customers/*/keywordPlanCampaigns/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2._KEYWORDPLANCAMPAIGN, + serialized_options=_b('\202\323\344\223\0028\0226/v4/{resource_name=customers/*/keywordPlanCampaigns/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateKeywordPlanCampaigns', - full_name='google.ads.googleads.v1.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns', index=1, containing_service=None, input_type=_MUTATEKEYWORDPLANCAMPAIGNSREQUEST, output_type=_MUTATEKEYWORDPLANCAMPAIGNSRESPONSE, - serialized_options=_b('\202\323\344\223\002>\"9/v1/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002>\"9/v4/customers/{customer_id=*}/keywordPlanCampaigns:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_KEYWORDPLANCAMPAIGNSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2_grpc.py index 0a27dc6e8..c94cfedb0 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_campaign_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_campaign_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 -from google.ads.google_ads.v1.proto.services import keyword_plan_campaign_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_campaign_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2 class KeywordPlanCampaignServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetKeywordPlanCampaign = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanCampaignService/GetKeywordPlanCampaign', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.KeywordPlanCampaign.FromString, + '/google.ads.googleads.v4.services.KeywordPlanCampaignService/GetKeywordPlanCampaign', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.KeywordPlanCampaign.FromString, ) self.MutateKeywordPlanCampaigns = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanCampaignService/MutateKeywordPlanCampaigns', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.FromString, ) @@ -55,15 +55,15 @@ def add_KeywordPlanCampaignServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetKeywordPlanCampaign': grpc.unary_unary_rpc_method_handler( servicer.GetKeywordPlanCampaign, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.KeywordPlanCampaign.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.GetKeywordPlanCampaignRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__campaign__pb2.KeywordPlanCampaign.SerializeToString, ), 'MutateKeywordPlanCampaigns': grpc.unary_unary_rpc_method_handler( servicer.MutateKeywordPlanCampaigns, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__campaign__service__pb2.MutateKeywordPlanCampaignsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanCampaignService', rpc_method_handlers) + 'google.ads.googleads.v4.services.KeywordPlanCampaignService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2.py b/google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2.py similarity index 53% rename from google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2.py index 96082a3fd..1fa192d56 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_plan_idea_service.proto +# source: google/ads/googleads_v4/proto/services/keyword_plan_idea_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,80 +13,110 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2 -from google.ads.google_ads.v1.proto.enums import keyword_plan_network_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__network__pb2 +from google.ads.google_ads.v4.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2 +from google.ads.google_ads.v4.proto.enums import keyword_plan_network_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__network__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_plan_idea_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/keyword_plan_idea_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033KeywordPlanIdeaServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nFgoogle/ads/googleads_v1/proto/services/keyword_plan_idea_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/common/keyword_plan_common.proto\x1a>google/ads/googleads_v1/proto/enums/keyword_plan_network.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xe9\x03\n\x1bGenerateKeywordIdeasRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12.\n\x08language\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12:\n\x14geo_target_constants\x18\x08 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x66\n\x14keyword_plan_network\x18\t \x01(\x0e\x32H.google.ads.googleads.v1.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork\x12S\n\x14keyword_and_url_seed\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v1.services.KeywordAndUrlSeedH\x00\x12\x45\n\x0ckeyword_seed\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v1.services.KeywordSeedH\x00\x12=\n\x08url_seed\x18\x05 \x01(\x0b\x32).google.ads.googleads.v1.services.UrlSeedH\x00\x42\x06\n\x04seed\"n\n\x11KeywordAndUrlSeed\x12)\n\x03url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08keywords\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"=\n\x0bKeywordSeed\x12.\n\x08keywords\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"4\n\x07UrlSeed\x12)\n\x03url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"k\n\x1bGenerateKeywordIdeaResponse\x12L\n\x07results\x18\x01 \x03(\x0b\x32;.google.ads.googleads.v1.services.GenerateKeywordIdeaResult\"\xa3\x01\n\x19GenerateKeywordIdeaResult\x12*\n\x04text\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x14keyword_idea_metrics\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics2\xee\x01\n\x16KeywordPlanIdeaService\x12\xd3\x01\n\x14GenerateKeywordIdeas\x12=.google.ads.googleads.v1.services.GenerateKeywordIdeasRequest\x1a=.google.ads.googleads.v1.services.GenerateKeywordIdeaResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v1/customers/{customer_id=*}:generateKeywordIdeas:\x01*B\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1bKeywordPlanIdeaServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033KeywordPlanIdeaServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/keyword_plan_idea_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/common/keyword_plan_common.proto\x1a>google/ads/googleads_v4/proto/enums/keyword_plan_network.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/api/client.proto\"\xf6\x04\n\x1bGenerateKeywordIdeasRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x33\n\x08language\x18\x07 \x01(\x0b\x32\x1c.google.protobuf.StringValueB\x03\xe0\x41\x02\x12:\n\x14geo_target_constants\x18\x08 \x03(\x0b\x32\x1c.google.protobuf.StringValue\x12\x1e\n\x16include_adult_keywords\x18\n \x01(\x08\x12\x12\n\npage_token\x18\x0c \x01(\t\x12\x11\n\tpage_size\x18\r \x01(\x05\x12\x66\n\x14keyword_plan_network\x18\t \x01(\x0e\x32H.google.ads.googleads.v4.enums.KeywordPlanNetworkEnum.KeywordPlanNetwork\x12S\n\x14keyword_and_url_seed\x18\x02 \x01(\x0b\x32\x33.google.ads.googleads.v4.services.KeywordAndUrlSeedH\x00\x12\x45\n\x0ckeyword_seed\x18\x03 \x01(\x0b\x32-.google.ads.googleads.v4.services.KeywordSeedH\x00\x12=\n\x08url_seed\x18\x05 \x01(\x0b\x32).google.ads.googleads.v4.services.UrlSeedH\x00\x12?\n\tsite_seed\x18\x0b \x01(\x0b\x32*.google.ads.googleads.v4.services.SiteSeedH\x00\x42\x06\n\x04seed\"n\n\x11KeywordAndUrlSeed\x12)\n\x03url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12.\n\x08keywords\x18\x02 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"=\n\x0bKeywordSeed\x12.\n\x08keywords\x18\x01 \x03(\x0b\x32\x1c.google.protobuf.StringValue\"6\n\x08SiteSeed\x12*\n\x04site\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"4\n\x07UrlSeed\x12)\n\x03url\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\"\x98\x01\n\x1bGenerateKeywordIdeaResponse\x12L\n\x07results\x18\x01 \x03(\x0b\x32;.google.ads.googleads.v4.services.GenerateKeywordIdeaResult\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x03\"\xa3\x01\n\x19GenerateKeywordIdeaResult\x12*\n\x04text\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Z\n\x14keyword_idea_metrics\x18\x03 \x01(\x0b\x32<.google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics2\x8b\x02\n\x16KeywordPlanIdeaService\x12\xd3\x01\n\x14GenerateKeywordIdeas\x12=.google.ads.googleads.v4.services.GenerateKeywordIdeasRequest\x1a=.google.ads.googleads.v4.services.GenerateKeywordIdeaResponse\"=\x82\xd3\xe4\x93\x02\x37\"2/v4/customers/{customer_id=*}:generateKeywordIdeas:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1bKeywordPlanIdeaServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__network__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__network__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) _GENERATEKEYWORDIDEASREQUEST = _descriptor.Descriptor( name='GenerateKeywordIdeasRequest', - full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest', + full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='language', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.language', index=1, + name='language', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.language', index=1, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='geo_target_constants', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.geo_target_constants', index=2, + name='geo_target_constants', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.geo_target_constants', index=2, number=8, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_plan_network', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.keyword_plan_network', index=3, + name='include_adult_keywords', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.include_adult_keywords', index=3, + number=10, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_token', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.page_token', index=4, + number=12, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='page_size', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.page_size', index=5, + number=13, type=5, cpp_type=1, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='keyword_plan_network', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.keyword_plan_network', index=6, number=9, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_and_url_seed', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.keyword_and_url_seed', index=4, + name='keyword_and_url_seed', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.keyword_and_url_seed', index=7, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_seed', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.keyword_seed', index=5, + name='keyword_seed', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.keyword_seed', index=8, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='url_seed', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.url_seed', index=6, + name='url_seed', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.url_seed', index=9, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='site_seed', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.site_seed', index=10, + number=11, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -99,30 +129,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='seed', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeasRequest.seed', + name='seed', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeasRequest.seed', index=0, containing_type=None, fields=[]), ], - serialized_start=299, - serialized_end=788, + serialized_start=357, + serialized_end=987, ) _KEYWORDANDURLSEED = _descriptor.Descriptor( name='KeywordAndUrlSeed', - full_name='google.ads.googleads.v1.services.KeywordAndUrlSeed', + full_name='google.ads.googleads.v4.services.KeywordAndUrlSeed', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v1.services.KeywordAndUrlSeed.url', index=0, + name='url', full_name='google.ads.googleads.v4.services.KeywordAndUrlSeed.url', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keywords', full_name='google.ads.googleads.v1.services.KeywordAndUrlSeed.keywords', index=1, + name='keywords', full_name='google.ads.googleads.v4.services.KeywordAndUrlSeed.keywords', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -140,20 +170,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=790, - serialized_end=900, + serialized_start=989, + serialized_end=1099, ) _KEYWORDSEED = _descriptor.Descriptor( name='KeywordSeed', - full_name='google.ads.googleads.v1.services.KeywordSeed', + full_name='google.ads.googleads.v4.services.KeywordSeed', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keywords', full_name='google.ads.googleads.v1.services.KeywordSeed.keywords', index=0, + name='keywords', full_name='google.ads.googleads.v4.services.KeywordSeed.keywords', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -171,20 +201,51 @@ extension_ranges=[], oneofs=[ ], - serialized_start=902, - serialized_end=963, + serialized_start=1101, + serialized_end=1162, +) + + +_SITESEED = _descriptor.Descriptor( + name='SiteSeed', + full_name='google.ads.googleads.v4.services.SiteSeed', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='site', full_name='google.ads.googleads.v4.services.SiteSeed.site', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1164, + serialized_end=1218, ) _URLSEED = _descriptor.Descriptor( name='UrlSeed', - full_name='google.ads.googleads.v1.services.UrlSeed', + full_name='google.ads.googleads.v4.services.UrlSeed', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='url', full_name='google.ads.googleads.v1.services.UrlSeed.url', index=0, + name='url', full_name='google.ads.googleads.v4.services.UrlSeed.url', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -202,25 +263,39 @@ extension_ranges=[], oneofs=[ ], - serialized_start=965, - serialized_end=1017, + serialized_start=1220, + serialized_end=1272, ) _GENERATEKEYWORDIDEARESPONSE = _descriptor.Descriptor( name='GenerateKeywordIdeaResponse', - full_name='google.ads.googleads.v1.services.GenerateKeywordIdeaResponse', + full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeaResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResponse.results', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='next_page_token', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResponse.next_page_token', index=1, + number=2, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_size', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResponse.total_size', index=2, + number=3, type=3, cpp_type=2, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], @@ -233,27 +308,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1019, - serialized_end=1126, + serialized_start=1275, + serialized_end=1427, ) _GENERATEKEYWORDIDEARESULT = _descriptor.Descriptor( name='GenerateKeywordIdeaResult', - full_name='google.ads.googleads.v1.services.GenerateKeywordIdeaResult', + full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='text', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeaResult.text', index=0, + name='text', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResult.text', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_idea_metrics', full_name='google.ads.googleads.v1.services.GenerateKeywordIdeaResult.keyword_idea_metrics', index=1, + name='keyword_idea_metrics', full_name='google.ads.googleads.v4.services.GenerateKeywordIdeaResult.keyword_idea_metrics', index=1, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -271,16 +346,17 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1129, - serialized_end=1292, + serialized_start=1430, + serialized_end=1593, ) _GENERATEKEYWORDIDEASREQUEST.fields_by_name['language'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _GENERATEKEYWORDIDEASREQUEST.fields_by_name['geo_target_constants'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_plan_network'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__plan__network__pb2._KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK +_GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_plan_network'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__plan__network__pb2._KEYWORDPLANNETWORKENUM_KEYWORDPLANNETWORK _GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_and_url_seed'].message_type = _KEYWORDANDURLSEED _GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_seed'].message_type = _KEYWORDSEED _GENERATEKEYWORDIDEASREQUEST.fields_by_name['url_seed'].message_type = _URLSEED +_GENERATEKEYWORDIDEASREQUEST.fields_by_name['site_seed'].message_type = _SITESEED _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'].fields.append( _GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_and_url_seed']) _GENERATEKEYWORDIDEASREQUEST.fields_by_name['keyword_and_url_seed'].containing_oneof = _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'] @@ -290,16 +366,21 @@ _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'].fields.append( _GENERATEKEYWORDIDEASREQUEST.fields_by_name['url_seed']) _GENERATEKEYWORDIDEASREQUEST.fields_by_name['url_seed'].containing_oneof = _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'] +_GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'].fields.append( + _GENERATEKEYWORDIDEASREQUEST.fields_by_name['site_seed']) +_GENERATEKEYWORDIDEASREQUEST.fields_by_name['site_seed'].containing_oneof = _GENERATEKEYWORDIDEASREQUEST.oneofs_by_name['seed'] _KEYWORDANDURLSEED.fields_by_name['url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDANDURLSEED.fields_by_name['keywords'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDSEED.fields_by_name['keywords'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_SITESEED.fields_by_name['site'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _URLSEED.fields_by_name['url'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _GENERATEKEYWORDIDEARESPONSE.fields_by_name['results'].message_type = _GENERATEKEYWORDIDEARESULT _GENERATEKEYWORDIDEARESULT.fields_by_name['text'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_GENERATEKEYWORDIDEARESULT.fields_by_name['keyword_idea_metrics'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2._KEYWORDPLANHISTORICALMETRICS +_GENERATEKEYWORDIDEARESULT.fields_by_name['keyword_idea_metrics'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2._KEYWORDPLANHISTORICALMETRICS DESCRIPTOR.message_types_by_name['GenerateKeywordIdeasRequest'] = _GENERATEKEYWORDIDEASREQUEST DESCRIPTOR.message_types_by_name['KeywordAndUrlSeed'] = _KEYWORDANDURLSEED DESCRIPTOR.message_types_by_name['KeywordSeed'] = _KEYWORDSEED +DESCRIPTOR.message_types_by_name['SiteSeed'] = _SITESEED DESCRIPTOR.message_types_by_name['UrlSeed'] = _URLSEED DESCRIPTOR.message_types_by_name['GenerateKeywordIdeaResponse'] = _GENERATEKEYWORDIDEARESPONSE DESCRIPTOR.message_types_by_name['GenerateKeywordIdeaResult'] = _GENERATEKEYWORDIDEARESULT @@ -307,7 +388,7 @@ GenerateKeywordIdeasRequest = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeasRequest', (_message.Message,), dict( DESCRIPTOR = _GENERATEKEYWORDIDEASREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """Request message for [KeywordIdeaService.GenerateKeywordIdeas][]. @@ -316,9 +397,26 @@ customer_id: The ID of the customer with the recommendation. language: - The resource name of the language to target. Required + Required. The resource name of the language to target. + Required geo_target_constants: The resource names of the location to target. Max 10 + include_adult_keywords: + If true, adult keywords will be included in response. The + default value is false. + page_token: + Token of the page to retrieve. If not specified, the first + page of results will be returned. To request next page of + results use the value obtained from ``next_page_token`` in the + previous response. The request fields must match across pages. + page_size: + Number of results to retrieve in a single page. A maximum of + 10,000 results may be returned, if the page\_size exceeds + this, it is ignored. If unspecified, at most 10,000 results + will be returned. The server may decide to further limit the + number of returned resources. If the response contains fewer + than 10,000 results it may not be assumed as last page of + results. keyword_plan_network: Targeting network. seed: @@ -331,14 +429,16 @@ url_seed: A specific url to generate ideas from, e.g. www.example.com/cars. + site_seed: + The site to generate ideas from, e.g. www.example.com. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateKeywordIdeasRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateKeywordIdeasRequest) )) _sym_db.RegisterMessage(GenerateKeywordIdeasRequest) KeywordAndUrlSeed = _reflection.GeneratedProtocolMessageType('KeywordAndUrlSeed', (_message.Message,), dict( DESCRIPTOR = _KEYWORDANDURLSEED, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """Keyword And Url Seed @@ -349,13 +449,13 @@ keywords: Requires at least one keyword. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordAndUrlSeed) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordAndUrlSeed) )) _sym_db.RegisterMessage(KeywordAndUrlSeed) KeywordSeed = _reflection.GeneratedProtocolMessageType('KeywordSeed', (_message.Message,), dict( DESCRIPTOR = _KEYWORDSEED, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """Keyword Seed @@ -364,13 +464,30 @@ keywords: Requires at least one keyword. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordSeed) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordSeed) )) _sym_db.RegisterMessage(KeywordSeed) +SiteSeed = _reflection.GeneratedProtocolMessageType('SiteSeed', (_message.Message,), dict( + DESCRIPTOR = _SITESEED, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' + , + __doc__ = """Site Seed + + + Attributes: + site: + The domain name of the site. If the customer requesting the + ideas doesn't own the site provided only public information is + returned. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SiteSeed) + )) +_sym_db.RegisterMessage(SiteSeed) + UrlSeed = _reflection.GeneratedProtocolMessageType('UrlSeed', (_message.Message,), dict( DESCRIPTOR = _URLSEED, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """Url Seed @@ -379,13 +496,13 @@ url: The URL to crawl in order to generate keyword ideas. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UrlSeed) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UrlSeed) )) _sym_db.RegisterMessage(UrlSeed) GenerateKeywordIdeaResponse = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeaResponse', (_message.Message,), dict( DESCRIPTOR = _GENERATEKEYWORDIDEARESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """Response message for [KeywordIdeaService.GenerateKeywordIdeas][]. @@ -393,14 +510,21 @@ Attributes: results: Results of generating keyword ideas. + next_page_token: + Pagination token used to retrieve the next page of results. + Pass the content of this string as the ``page_token`` + attribute of the next request. ``next_page_token`` is not + returned for the last page. + total_size: + Total number of results available. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateKeywordIdeaResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateKeywordIdeaResponse) )) _sym_db.RegisterMessage(GenerateKeywordIdeaResponse) GenerateKeywordIdeaResult = _reflection.GeneratedProtocolMessageType('GenerateKeywordIdeaResult', (_message.Message,), dict( DESCRIPTOR = _GENERATEKEYWORDIDEARESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_idea_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_idea_service_pb2' , __doc__ = """The result of generating keyword ideas. @@ -415,30 +539,31 @@ keyword_idea_metrics: The historical metrics for the keyword """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateKeywordIdeaResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateKeywordIdeaResult) )) _sym_db.RegisterMessage(GenerateKeywordIdeaResult) DESCRIPTOR._options = None +_GENERATEKEYWORDIDEASREQUEST.fields_by_name['language']._options = None _KEYWORDPLANIDEASERVICE = _descriptor.ServiceDescriptor( name='KeywordPlanIdeaService', - full_name='google.ads.googleads.v1.services.KeywordPlanIdeaService', + full_name='google.ads.googleads.v4.services.KeywordPlanIdeaService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1295, - serialized_end=1533, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1596, + serialized_end=1863, methods=[ _descriptor.MethodDescriptor( name='GenerateKeywordIdeas', - full_name='google.ads.googleads.v1.services.KeywordPlanIdeaService.GenerateKeywordIdeas', + full_name='google.ads.googleads.v4.services.KeywordPlanIdeaService.GenerateKeywordIdeas', index=0, containing_service=None, input_type=_GENERATEKEYWORDIDEASREQUEST, output_type=_GENERATEKEYWORDIDEARESPONSE, - serialized_options=_b('\202\323\344\223\0027\"2/v1/customers/{customer_id=*}:generateKeywordIdeas:\001*'), + serialized_options=_b('\202\323\344\223\0027\"2/v4/customers/{customer_id=*}:generateKeywordIdeas:\001*'), ), ]) _sym_db.RegisterServiceDescriptor(_KEYWORDPLANIDEASERVICE) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2_grpc.py similarity index 76% rename from google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2_grpc.py index 7dfc76c8c..3d4dfad5d 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_idea_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_idea_service_pb2_grpc.py @@ -1,7 +1,7 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.services import keyword_plan_idea_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_idea_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2 class KeywordPlanIdeaServiceStub(object): @@ -17,9 +17,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GenerateKeywordIdeas = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanIdeaService/GenerateKeywordIdeas', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanIdeaService/GenerateKeywordIdeas', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.FromString, ) @@ -41,10 +41,10 @@ def add_KeywordPlanIdeaServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GenerateKeywordIdeas': grpc.unary_unary_rpc_method_handler( servicer.GenerateKeywordIdeas, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeasRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__idea__service__pb2.GenerateKeywordIdeaResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanIdeaService', rpc_method_handlers) + 'google.ads.googleads.v4.services.KeywordPlanIdeaService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2.py b/google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2.py similarity index 54% rename from google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2.py index b71b4d082..0f031867d 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/keyword_plan_service.proto +# source: google/ads/googleads_v4/proto/services/keyword_plan_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,40 +13,43 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2 -from google.ads.google_ads.v1.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2 +from google.ads.google_ads.v4.proto.common import keyword_plan_common_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/keyword_plan_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/keyword_plan_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\027KeywordPlanServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nAgoogle/ads/googleads_v1/proto/services/keyword_plan_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/common/keyword_plan_common.proto\x1a:google/ads/googleads_v1/proto/resources/keyword_plan.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\".\n\x15GetKeywordPlanRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xac\x01\n\x19MutateKeywordPlansRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12J\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.KeywordPlanOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x14KeywordPlanOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v1.resources.KeywordPlanH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v1.resources.KeywordPlanH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9c\x01\n\x1aMutateKeywordPlansResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.services.MutateKeywordPlansResult\"1\n\x18MutateKeywordPlansResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"6\n\x1eGenerateForecastMetricsRequest\x12\x14\n\x0ckeyword_plan\x18\x01 \x01(\t\"\xaf\x02\n\x1fGenerateForecastMetricsResponse\x12Y\n\x12\x63\x61mpaign_forecasts\x18\x01 \x03(\x0b\x32=.google.ads.googleads.v1.services.KeywordPlanCampaignForecast\x12X\n\x12\x61\x64_group_forecasts\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.KeywordPlanAdGroupForecast\x12W\n\x11keyword_forecasts\x18\x03 \x03(\x0b\x32<.google.ads.googleads.v1.services.KeywordPlanKeywordForecast\"\xa8\x01\n\x1bKeywordPlanCampaignForecast\x12;\n\x15keyword_plan_campaign\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12L\n\x11\x63\x61mpaign_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v1.services.ForecastMetrics\"\xa7\x01\n\x1aKeywordPlanAdGroupForecast\x12;\n\x15keyword_plan_ad_group\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12L\n\x11\x61\x64_group_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v1.services.ForecastMetrics\"\xae\x01\n\x1aKeywordPlanKeywordForecast\x12\x43\n\x1dkeyword_plan_ad_group_keyword\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x10keyword_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v1.services.ForecastMetrics\"\x81\x02\n\x0f\x46orecastMetrics\x12\x31\n\x0bimpressions\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12)\n\x03\x63tr\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x61verage_cpc\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12,\n\x06\x63licks\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x63ost_micros\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"8\n GenerateHistoricalMetricsRequest\x12\x14\n\x0ckeyword_plan\x18\x01 \x01(\t\"{\n!GenerateHistoricalMetricsResponse\x12V\n\x07metrics\x18\x01 \x03(\x0b\x32\x45.google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics\"\xb0\x01\n#KeywordPlanKeywordHistoricalMetrics\x12\x32\n\x0csearch_query\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12U\n\x0fkeyword_metrics\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v1.common.KeywordPlanHistoricalMetrics2\x86\x07\n\x12KeywordPlanService\x12\xb1\x01\n\x0eGetKeywordPlan\x12\x37.google.ads.googleads.v1.services.GetKeywordPlanRequest\x1a..google.ads.googleads.v1.resources.KeywordPlan\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/{resource_name=customers/*/keywordPlans/*}\x12\xcd\x01\n\x12MutateKeywordPlans\x12;.google.ads.googleads.v1.services.MutateKeywordPlansRequest\x1a<.google.ads.googleads.v1.services.MutateKeywordPlansResponse\"<\x82\xd3\xe4\x93\x02\x36\"1/v1/customers/{customer_id=*}/keywordPlans:mutate:\x01*\x12\xf0\x01\n\x17GenerateForecastMetrics\x12@.google.ads.googleads.v1.services.GenerateForecastMetricsRequest\x1a\x41.google.ads.googleads.v1.services.GenerateForecastMetricsResponse\"P\x82\xd3\xe4\x93\x02J\"E/v1/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\x01*\x12\xf8\x01\n\x19GenerateHistoricalMetrics\x12\x42.google.ads.googleads.v1.services.GenerateHistoricalMetricsRequest\x1a\x43.google.ads.googleads.v1.services.GenerateHistoricalMetricsResponse\"R\x82\xd3\xe4\x93\x02L\"G/v1/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\x01*B\xfe\x01\n$com.google.ads.googleads.v1.servicesB\x17KeywordPlanServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\027KeywordPlanServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/services/keyword_plan_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/common/keyword_plan_common.proto\x1a:google/ads/googleads_v4/proto/resources/keyword_plan.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\\\n\x15GetKeywordPlanRequest\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$googleads.googleapis.com/KeywordPlan\"\xb6\x01\n\x19MutateKeywordPlansRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\noperations\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.KeywordPlanOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x14KeywordPlanOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12@\n\x06\x63reate\x18\x01 \x01(\x0b\x32..google.ads.googleads.v4.resources.KeywordPlanH\x00\x12@\n\x06update\x18\x02 \x01(\x0b\x32..google.ads.googleads.v4.resources.KeywordPlanH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x9c\x01\n\x1aMutateKeywordPlansResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.services.MutateKeywordPlansResult\"1\n\x18MutateKeywordPlansResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"9\n\x1cGenerateForecastCurveRequest\x12\x19\n\x0ckeyword_plan\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x85\x01\n\x1dGenerateForecastCurveResponse\x12\x64\n\x18\x63\x61mpaign_forecast_curves\x18\x01 \x03(\x0b\x32\x42.google.ads.googleads.v4.services.KeywordPlanCampaignForecastCurve\";\n\x1eGenerateForecastMetricsRequest\x12\x19\n\x0ckeyword_plan\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xaf\x02\n\x1fGenerateForecastMetricsResponse\x12Y\n\x12\x63\x61mpaign_forecasts\x18\x01 \x03(\x0b\x32=.google.ads.googleads.v4.services.KeywordPlanCampaignForecast\x12X\n\x12\x61\x64_group_forecasts\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.KeywordPlanAdGroupForecast\x12W\n\x11keyword_forecasts\x18\x03 \x03(\x0b\x32<.google.ads.googleads.v4.services.KeywordPlanKeywordForecast\"\xa8\x01\n\x1bKeywordPlanCampaignForecast\x12;\n\x15keyword_plan_campaign\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12L\n\x11\x63\x61mpaign_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.services.ForecastMetrics\"\xa7\x01\n\x1aKeywordPlanAdGroupForecast\x12;\n\x15keyword_plan_ad_group\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12L\n\x11\x61\x64_group_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.services.ForecastMetrics\"\xae\x01\n\x1aKeywordPlanKeywordForecast\x12\x43\n\x1dkeyword_plan_ad_group_keyword\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12K\n\x10keyword_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.services.ForecastMetrics\"\xc8\x01\n KeywordPlanCampaignForecastCurve\x12;\n\x15keyword_plan_campaign\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12g\n\x1amax_cpc_bid_forecast_curve\x18\x02 \x01(\x0b\x32\x43.google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecastCurve\"\x82\x01\n!KeywordPlanMaxCpcBidForecastCurve\x12]\n\x15max_cpc_bid_forecasts\x18\x01 \x03(\x0b\x32>.google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecast\"\xa8\x01\n\x1cKeywordPlanMaxCpcBidForecast\x12\x37\n\x12max_cpc_bid_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12O\n\x14max_cpc_bid_forecast\x18\x02 \x01(\x0b\x32\x31.google.ads.googleads.v4.services.ForecastMetrics\"\x81\x02\n\x0f\x46orecastMetrics\x12\x31\n\x0bimpressions\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12)\n\x03\x63tr\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x61verage_cpc\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12,\n\x06\x63licks\x18\x05 \x01(\x0b\x32\x1c.google.protobuf.DoubleValue\x12\x30\n\x0b\x63ost_micros\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"=\n GenerateHistoricalMetricsRequest\x12\x19\n\x0ckeyword_plan\x18\x01 \x01(\tB\x03\xe0\x41\x02\"{\n!GenerateHistoricalMetricsResponse\x12V\n\x07metrics\x18\x01 \x03(\x0b\x32\x45.google.ads.googleads.v4.services.KeywordPlanKeywordHistoricalMetrics\"\xb0\x01\n#KeywordPlanKeywordHistoricalMetrics\x12\x32\n\x0csearch_query\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12U\n\x0fkeyword_metrics\x18\x02 \x01(\x0b\x32<.google.ads.googleads.v4.common.KeywordPlanHistoricalMetrics2\xe4\t\n\x12KeywordPlanService\x12\xc1\x01\n\x0eGetKeywordPlan\x12\x37.google.ads.googleads.v4.services.GetKeywordPlanRequest\x1a..google.ads.googleads.v4.resources.KeywordPlan\"F\x82\xd3\xe4\x93\x02\x30\x12./v4/{resource_name=customers/*/keywordPlans/*}\xda\x41\rresource_name\x12\xe6\x01\n\x12MutateKeywordPlans\x12;.google.ads.googleads.v4.services.MutateKeywordPlansRequest\x1a<.google.ads.googleads.v4.services.MutateKeywordPlansResponse\"U\x82\xd3\xe4\x93\x02\x36\"1/v4/customers/{customer_id=*}/keywordPlans:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\xf7\x01\n\x15GenerateForecastCurve\x12>.google.ads.googleads.v4.services.GenerateForecastCurveRequest\x1a?.google.ads.googleads.v4.services.GenerateForecastCurveResponse\"]\x82\xd3\xe4\x93\x02H\"C/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve:\x01*\xda\x41\x0ckeyword_plan\x12\xff\x01\n\x17GenerateForecastMetrics\x12@.google.ads.googleads.v4.services.GenerateForecastMetricsRequest\x1a\x41.google.ads.googleads.v4.services.GenerateForecastMetricsResponse\"_\x82\xd3\xe4\x93\x02J\"E/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\x01*\xda\x41\x0ckeyword_plan\x12\x87\x02\n\x19GenerateHistoricalMetrics\x12\x42.google.ads.googleads.v4.services.GenerateHistoricalMetricsRequest\x1a\x43.google.ads.googleads.v4.services.GenerateHistoricalMetricsResponse\"a\x82\xd3\xe4\x93\x02L\"G/v4/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\x01*\xda\x41\x0ckeyword_plan\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v4.servicesB\x17KeywordPlanServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETKEYWORDPLANREQUEST = _descriptor.Descriptor( name='GetKeywordPlanRequest', - full_name='google.ads.googleads.v1.services.GetKeywordPlanRequest', + full_name='google.ads.googleads.v4.services.GetKeywordPlanRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetKeywordPlanRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetKeywordPlanRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A&\n$googleads.googleapis.com/KeywordPlan'), file=DESCRIPTOR), ], extensions=[ ], @@ -59,41 +62,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=348, - serialized_end=394, + serialized_start=433, + serialized_end=525, ) _MUTATEKEYWORDPLANSREQUEST = _descriptor.Descriptor( name='MutateKeywordPlansRequest', - full_name='google.ads.googleads.v1.services.MutateKeywordPlansRequest', + full_name='google.ads.googleads.v4.services.MutateKeywordPlansRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateKeywordPlansRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateKeywordPlansRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateKeywordPlansRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateKeywordPlansRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateKeywordPlansRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateKeywordPlansRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateKeywordPlansRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateKeywordPlansRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -111,41 +114,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=397, - serialized_end=569, + serialized_start=528, + serialized_end=710, ) _KEYWORDPLANOPERATION = _descriptor.Descriptor( name='KeywordPlanOperation', - full_name='google.ads.googleads.v1.services.KeywordPlanOperation', + full_name='google.ads.googleads.v4.services.KeywordPlanOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.KeywordPlanOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.KeywordPlanOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.KeywordPlanOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.KeywordPlanOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.KeywordPlanOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.KeywordPlanOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.KeywordPlanOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.KeywordPlanOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -163,30 +166,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.KeywordPlanOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.KeywordPlanOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=572, - serialized_end=806, + serialized_start=713, + serialized_end=947, ) _MUTATEKEYWORDPLANSRESPONSE = _descriptor.Descriptor( name='MutateKeywordPlansResponse', - full_name='google.ads.googleads.v1.services.MutateKeywordPlansResponse', + full_name='google.ads.googleads.v4.services.MutateKeywordPlansResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateKeywordPlansResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateKeywordPlansResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateKeywordPlansResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateKeywordPlansResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -204,20 +207,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=809, - serialized_end=965, + serialized_start=950, + serialized_end=1106, ) _MUTATEKEYWORDPLANSRESULT = _descriptor.Descriptor( name='MutateKeywordPlansResult', - full_name='google.ads.googleads.v1.services.MutateKeywordPlansResult', + full_name='google.ads.googleads.v4.services.MutateKeywordPlansResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateKeywordPlansResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateKeywordPlansResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -235,25 +238,87 @@ extension_ranges=[], oneofs=[ ], - serialized_start=967, - serialized_end=1016, + serialized_start=1108, + serialized_end=1157, +) + + +_GENERATEFORECASTCURVEREQUEST = _descriptor.Descriptor( + name='GenerateForecastCurveRequest', + full_name='google.ads.googleads.v4.services.GenerateForecastCurveRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyword_plan', full_name='google.ads.googleads.v4.services.GenerateForecastCurveRequest.keyword_plan', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1159, + serialized_end=1216, +) + + +_GENERATEFORECASTCURVERESPONSE = _descriptor.Descriptor( + name='GenerateForecastCurveResponse', + full_name='google.ads.googleads.v4.services.GenerateForecastCurveResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='campaign_forecast_curves', full_name='google.ads.googleads.v4.services.GenerateForecastCurveResponse.campaign_forecast_curves', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1219, + serialized_end=1352, ) _GENERATEFORECASTMETRICSREQUEST = _descriptor.Descriptor( name='GenerateForecastMetricsRequest', - full_name='google.ads.googleads.v1.services.GenerateForecastMetricsRequest', + full_name='google.ads.googleads.v4.services.GenerateForecastMetricsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v1.services.GenerateForecastMetricsRequest.keyword_plan', index=0, + name='keyword_plan', full_name='google.ads.googleads.v4.services.GenerateForecastMetricsRequest.keyword_plan', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -266,34 +331,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1018, - serialized_end=1072, + serialized_start=1354, + serialized_end=1413, ) _GENERATEFORECASTMETRICSRESPONSE = _descriptor.Descriptor( name='GenerateForecastMetricsResponse', - full_name='google.ads.googleads.v1.services.GenerateForecastMetricsResponse', + full_name='google.ads.googleads.v4.services.GenerateForecastMetricsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='campaign_forecasts', full_name='google.ads.googleads.v1.services.GenerateForecastMetricsResponse.campaign_forecasts', index=0, + name='campaign_forecasts', full_name='google.ads.googleads.v4.services.GenerateForecastMetricsResponse.campaign_forecasts', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_forecasts', full_name='google.ads.googleads.v1.services.GenerateForecastMetricsResponse.ad_group_forecasts', index=1, + name='ad_group_forecasts', full_name='google.ads.googleads.v4.services.GenerateForecastMetricsResponse.ad_group_forecasts', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_forecasts', full_name='google.ads.googleads.v1.services.GenerateForecastMetricsResponse.keyword_forecasts', index=2, + name='keyword_forecasts', full_name='google.ads.googleads.v4.services.GenerateForecastMetricsResponse.keyword_forecasts', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -311,27 +376,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1075, - serialized_end=1378, + serialized_start=1416, + serialized_end=1719, ) _KEYWORDPLANCAMPAIGNFORECAST = _descriptor.Descriptor( name='KeywordPlanCampaignForecast', - full_name='google.ads.googleads.v1.services.KeywordPlanCampaignForecast', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecast', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword_plan_campaign', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignForecast.keyword_plan_campaign', index=0, + name='keyword_plan_campaign', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecast.keyword_plan_campaign', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_forecast', full_name='google.ads.googleads.v1.services.KeywordPlanCampaignForecast.campaign_forecast', index=1, + name='campaign_forecast', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecast.campaign_forecast', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -349,27 +414,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1381, - serialized_end=1549, + serialized_start=1722, + serialized_end=1890, ) _KEYWORDPLANADGROUPFORECAST = _descriptor.Descriptor( name='KeywordPlanAdGroupForecast', - full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupForecast', + full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupForecast', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword_plan_ad_group', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupForecast.keyword_plan_ad_group', index=0, + name='keyword_plan_ad_group', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupForecast.keyword_plan_ad_group', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ad_group_forecast', full_name='google.ads.googleads.v1.services.KeywordPlanAdGroupForecast.ad_group_forecast', index=1, + name='ad_group_forecast', full_name='google.ads.googleads.v4.services.KeywordPlanAdGroupForecast.ad_group_forecast', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -387,27 +452,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1552, - serialized_end=1719, + serialized_start=1893, + serialized_end=2060, ) _KEYWORDPLANKEYWORDFORECAST = _descriptor.Descriptor( name='KeywordPlanKeywordForecast', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordForecast', + full_name='google.ads.googleads.v4.services.KeywordPlanKeywordForecast', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword_plan_ad_group_keyword', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordForecast.keyword_plan_ad_group_keyword', index=0, + name='keyword_plan_ad_group_keyword', full_name='google.ads.googleads.v4.services.KeywordPlanKeywordForecast.keyword_plan_ad_group_keyword', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_forecast', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordForecast.keyword_forecast', index=1, + name='keyword_forecast', full_name='google.ads.googleads.v4.services.KeywordPlanKeywordForecast.keyword_forecast', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -425,48 +490,155 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1722, - serialized_end=1896, + serialized_start=2063, + serialized_end=2237, +) + + +_KEYWORDPLANCAMPAIGNFORECASTCURVE = _descriptor.Descriptor( + name='KeywordPlanCampaignForecastCurve', + full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecastCurve', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='keyword_plan_campaign', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecastCurve.keyword_plan_campaign', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_cpc_bid_forecast_curve', full_name='google.ads.googleads.v4.services.KeywordPlanCampaignForecastCurve.max_cpc_bid_forecast_curve', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2240, + serialized_end=2440, +) + + +_KEYWORDPLANMAXCPCBIDFORECASTCURVE = _descriptor.Descriptor( + name='KeywordPlanMaxCpcBidForecastCurve', + full_name='google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecastCurve', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='max_cpc_bid_forecasts', full_name='google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecastCurve.max_cpc_bid_forecasts', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2443, + serialized_end=2573, +) + + +_KEYWORDPLANMAXCPCBIDFORECAST = _descriptor.Descriptor( + name='KeywordPlanMaxCpcBidForecast', + full_name='google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecast', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='max_cpc_bid_micros', full_name='google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecast.max_cpc_bid_micros', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='max_cpc_bid_forecast', full_name='google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecast.max_cpc_bid_forecast', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2576, + serialized_end=2744, ) _FORECASTMETRICS = _descriptor.Descriptor( name='ForecastMetrics', - full_name='google.ads.googleads.v1.services.ForecastMetrics', + full_name='google.ads.googleads.v4.services.ForecastMetrics', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='impressions', full_name='google.ads.googleads.v1.services.ForecastMetrics.impressions', index=0, + name='impressions', full_name='google.ads.googleads.v4.services.ForecastMetrics.impressions', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='ctr', full_name='google.ads.googleads.v1.services.ForecastMetrics.ctr', index=1, + name='ctr', full_name='google.ads.googleads.v4.services.ForecastMetrics.ctr', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='average_cpc', full_name='google.ads.googleads.v1.services.ForecastMetrics.average_cpc', index=2, + name='average_cpc', full_name='google.ads.googleads.v4.services.ForecastMetrics.average_cpc', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='clicks', full_name='google.ads.googleads.v1.services.ForecastMetrics.clicks', index=3, + name='clicks', full_name='google.ads.googleads.v4.services.ForecastMetrics.clicks', index=3, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cost_micros', full_name='google.ads.googleads.v1.services.ForecastMetrics.cost_micros', index=4, + name='cost_micros', full_name='google.ads.googleads.v4.services.ForecastMetrics.cost_micros', index=4, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -484,25 +656,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1899, - serialized_end=2156, + serialized_start=2747, + serialized_end=3004, ) _GENERATEHISTORICALMETRICSREQUEST = _descriptor.Descriptor( name='GenerateHistoricalMetricsRequest', - full_name='google.ads.googleads.v1.services.GenerateHistoricalMetricsRequest', + full_name='google.ads.googleads.v4.services.GenerateHistoricalMetricsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='keyword_plan', full_name='google.ads.googleads.v1.services.GenerateHistoricalMetricsRequest.keyword_plan', index=0, + name='keyword_plan', full_name='google.ads.googleads.v4.services.GenerateHistoricalMetricsRequest.keyword_plan', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -515,20 +687,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2158, - serialized_end=2214, + serialized_start=3006, + serialized_end=3067, ) _GENERATEHISTORICALMETRICSRESPONSE = _descriptor.Descriptor( name='GenerateHistoricalMetricsResponse', - full_name='google.ads.googleads.v1.services.GenerateHistoricalMetricsResponse', + full_name='google.ads.googleads.v4.services.GenerateHistoricalMetricsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='metrics', full_name='google.ads.googleads.v1.services.GenerateHistoricalMetricsResponse.metrics', index=0, + name='metrics', full_name='google.ads.googleads.v4.services.GenerateHistoricalMetricsResponse.metrics', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -546,27 +718,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2216, - serialized_end=2339, + serialized_start=3069, + serialized_end=3192, ) _KEYWORDPLANKEYWORDHISTORICALMETRICS = _descriptor.Descriptor( name='KeywordPlanKeywordHistoricalMetrics', - full_name='google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics', + full_name='google.ads.googleads.v4.services.KeywordPlanKeywordHistoricalMetrics', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='search_query', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics.search_query', index=0, + name='search_query', full_name='google.ads.googleads.v4.services.KeywordPlanKeywordHistoricalMetrics.search_query', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword_metrics', full_name='google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics.keyword_metrics', index=1, + name='keyword_metrics', full_name='google.ads.googleads.v4.services.KeywordPlanKeywordHistoricalMetrics.keyword_metrics', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -584,14 +756,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2342, - serialized_end=2518, + serialized_start=3195, + serialized_end=3371, ) _MUTATEKEYWORDPLANSREQUEST.fields_by_name['operations'].message_type = _KEYWORDPLANOPERATION _KEYWORDPLANOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_KEYWORDPLANOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN -_KEYWORDPLANOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN +_KEYWORDPLANOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN +_KEYWORDPLANOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN _KEYWORDPLANOPERATION.oneofs_by_name['operation'].fields.append( _KEYWORDPLANOPERATION.fields_by_name['create']) _KEYWORDPLANOPERATION.fields_by_name['create'].containing_oneof = _KEYWORDPLANOPERATION.oneofs_by_name['operation'] @@ -603,6 +775,7 @@ _KEYWORDPLANOPERATION.fields_by_name['remove'].containing_oneof = _KEYWORDPLANOPERATION.oneofs_by_name['operation'] _MUTATEKEYWORDPLANSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS _MUTATEKEYWORDPLANSRESPONSE.fields_by_name['results'].message_type = _MUTATEKEYWORDPLANSRESULT +_GENERATEFORECASTCURVERESPONSE.fields_by_name['campaign_forecast_curves'].message_type = _KEYWORDPLANCAMPAIGNFORECASTCURVE _GENERATEFORECASTMETRICSRESPONSE.fields_by_name['campaign_forecasts'].message_type = _KEYWORDPLANCAMPAIGNFORECAST _GENERATEFORECASTMETRICSRESPONSE.fields_by_name['ad_group_forecasts'].message_type = _KEYWORDPLANADGROUPFORECAST _GENERATEFORECASTMETRICSRESPONSE.fields_by_name['keyword_forecasts'].message_type = _KEYWORDPLANKEYWORDFORECAST @@ -612,6 +785,11 @@ _KEYWORDPLANADGROUPFORECAST.fields_by_name['ad_group_forecast'].message_type = _FORECASTMETRICS _KEYWORDPLANKEYWORDFORECAST.fields_by_name['keyword_plan_ad_group_keyword'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE _KEYWORDPLANKEYWORDFORECAST.fields_by_name['keyword_forecast'].message_type = _FORECASTMETRICS +_KEYWORDPLANCAMPAIGNFORECASTCURVE.fields_by_name['keyword_plan_campaign'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_KEYWORDPLANCAMPAIGNFORECASTCURVE.fields_by_name['max_cpc_bid_forecast_curve'].message_type = _KEYWORDPLANMAXCPCBIDFORECASTCURVE +_KEYWORDPLANMAXCPCBIDFORECASTCURVE.fields_by_name['max_cpc_bid_forecasts'].message_type = _KEYWORDPLANMAXCPCBIDFORECAST +_KEYWORDPLANMAXCPCBIDFORECAST.fields_by_name['max_cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_KEYWORDPLANMAXCPCBIDFORECAST.fields_by_name['max_cpc_bid_forecast'].message_type = _FORECASTMETRICS _FORECASTMETRICS.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _FORECASTMETRICS.fields_by_name['ctr'].message_type = google_dot_protobuf_dot_wrappers__pb2._DOUBLEVALUE _FORECASTMETRICS.fields_by_name['average_cpc'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE @@ -619,17 +797,22 @@ _FORECASTMETRICS.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _GENERATEHISTORICALMETRICSRESPONSE.fields_by_name['metrics'].message_type = _KEYWORDPLANKEYWORDHISTORICALMETRICS _KEYWORDPLANKEYWORDHISTORICALMETRICS.fields_by_name['search_query'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_KEYWORDPLANKEYWORDHISTORICALMETRICS.fields_by_name['keyword_metrics'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_keyword__plan__common__pb2._KEYWORDPLANHISTORICALMETRICS +_KEYWORDPLANKEYWORDHISTORICALMETRICS.fields_by_name['keyword_metrics'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_keyword__plan__common__pb2._KEYWORDPLANHISTORICALMETRICS DESCRIPTOR.message_types_by_name['GetKeywordPlanRequest'] = _GETKEYWORDPLANREQUEST DESCRIPTOR.message_types_by_name['MutateKeywordPlansRequest'] = _MUTATEKEYWORDPLANSREQUEST DESCRIPTOR.message_types_by_name['KeywordPlanOperation'] = _KEYWORDPLANOPERATION DESCRIPTOR.message_types_by_name['MutateKeywordPlansResponse'] = _MUTATEKEYWORDPLANSRESPONSE DESCRIPTOR.message_types_by_name['MutateKeywordPlansResult'] = _MUTATEKEYWORDPLANSRESULT +DESCRIPTOR.message_types_by_name['GenerateForecastCurveRequest'] = _GENERATEFORECASTCURVEREQUEST +DESCRIPTOR.message_types_by_name['GenerateForecastCurveResponse'] = _GENERATEFORECASTCURVERESPONSE DESCRIPTOR.message_types_by_name['GenerateForecastMetricsRequest'] = _GENERATEFORECASTMETRICSREQUEST DESCRIPTOR.message_types_by_name['GenerateForecastMetricsResponse'] = _GENERATEFORECASTMETRICSRESPONSE DESCRIPTOR.message_types_by_name['KeywordPlanCampaignForecast'] = _KEYWORDPLANCAMPAIGNFORECAST DESCRIPTOR.message_types_by_name['KeywordPlanAdGroupForecast'] = _KEYWORDPLANADGROUPFORECAST DESCRIPTOR.message_types_by_name['KeywordPlanKeywordForecast'] = _KEYWORDPLANKEYWORDFORECAST +DESCRIPTOR.message_types_by_name['KeywordPlanCampaignForecastCurve'] = _KEYWORDPLANCAMPAIGNFORECASTCURVE +DESCRIPTOR.message_types_by_name['KeywordPlanMaxCpcBidForecastCurve'] = _KEYWORDPLANMAXCPCBIDFORECASTCURVE +DESCRIPTOR.message_types_by_name['KeywordPlanMaxCpcBidForecast'] = _KEYWORDPLANMAXCPCBIDFORECAST DESCRIPTOR.message_types_by_name['ForecastMetrics'] = _FORECASTMETRICS DESCRIPTOR.message_types_by_name['GenerateHistoricalMetricsRequest'] = _GENERATEHISTORICALMETRICSREQUEST DESCRIPTOR.message_types_by_name['GenerateHistoricalMetricsResponse'] = _GENERATEHISTORICALMETRICSRESPONSE @@ -638,33 +821,35 @@ GetKeywordPlanRequest = _reflection.GeneratedProtocolMessageType('GetKeywordPlanRequest', (_message.Message,), dict( DESCRIPTOR = _GETKEYWORDPLANREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Request message for - [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v1.services.KeywordPlanService.GetKeywordPlan]. + [KeywordPlanService.GetKeywordPlan][google.ads.googleads.v4.services.KeywordPlanService.GetKeywordPlan]. Attributes: resource_name: - The resource name of the plan to fetch. + Required. The resource name of the plan to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetKeywordPlanRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetKeywordPlanRequest) )) _sym_db.RegisterMessage(GetKeywordPlanRequest) MutateKeywordPlansRequest = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Request message for - [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v1.services.KeywordPlanService.MutateKeywordPlans]. + [KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v4.services.KeywordPlanService.MutateKeywordPlans]. Attributes: customer_id: - The ID of the customer whose keyword plans are being modified. + Required. The ID of the customer whose keyword plans are being + modified. operations: - The list of operations to perform on individual keyword plans. + Required. The list of operations to perform on individual + keyword plans. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -674,13 +859,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlansRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlansRequest) )) _sym_db.RegisterMessage(MutateKeywordPlansRequest) KeywordPlanOperation = _reflection.GeneratedProtocolMessageType('KeywordPlanOperation', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """A single operation (create, update, remove) on a keyword plan. @@ -702,13 +887,13 @@ is expected in this format: ``customers/{customer_id}/keywordPlans/{keyword_plan_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanOperation) )) _sym_db.RegisterMessage(KeywordPlanOperation) MutateKeywordPlansResponse = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Response message for a keyword plan mutate. @@ -723,13 +908,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlansResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlansResponse) )) _sym_db.RegisterMessage(MutateKeywordPlansResponse) MutateKeywordPlansResult = _reflection.GeneratedProtocolMessageType('MutateKeywordPlansResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEKEYWORDPLANSRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """The result for the keyword plan mutate. @@ -738,32 +923,67 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateKeywordPlansResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateKeywordPlansResult) )) _sym_db.RegisterMessage(MutateKeywordPlansResult) +GenerateForecastCurveRequest = _reflection.GeneratedProtocolMessageType('GenerateForecastCurveRequest', (_message.Message,), dict( + DESCRIPTOR = _GENERATEFORECASTCURVEREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' + , + __doc__ = """Request message for + [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastCurve]. + + + Attributes: + keyword_plan: + Required. The resource name of the keyword plan to be + forecasted. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateForecastCurveRequest) + )) +_sym_db.RegisterMessage(GenerateForecastCurveRequest) + +GenerateForecastCurveResponse = _reflection.GeneratedProtocolMessageType('GenerateForecastCurveResponse', (_message.Message,), dict( + DESCRIPTOR = _GENERATEFORECASTCURVERESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' + , + __doc__ = """Response message for + [KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastCurve]. + + + Attributes: + campaign_forecast_curves: + List of forecast curves for the keyword plan campaign. One + maximum. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateForecastCurveResponse) + )) +_sym_db.RegisterMessage(GenerateForecastCurveResponse) + GenerateForecastMetricsRequest = _reflection.GeneratedProtocolMessageType('GenerateForecastMetricsRequest', (_message.Message,), dict( DESCRIPTOR = _GENERATEFORECASTMETRICSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Request message for - [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v1.services.KeywordPlanService.GenerateForecastMetrics]. + [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastMetrics]. Attributes: keyword_plan: - The resource name of the keyword plan to be forecasted. + Required. The resource name of the keyword plan to be + forecasted. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateForecastMetricsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateForecastMetricsRequest) )) _sym_db.RegisterMessage(GenerateForecastMetricsRequest) GenerateForecastMetricsResponse = _reflection.GeneratedProtocolMessageType('GenerateForecastMetricsResponse', (_message.Message,), dict( DESCRIPTOR = _GENERATEFORECASTMETRICSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Response message for - [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v1.services.KeywordPlanService.GenerateForecastMetrics]. + [KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastMetrics]. Attributes: @@ -774,13 +994,13 @@ keyword_forecasts: List of keyword forecasts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateForecastMetricsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateForecastMetricsResponse) )) _sym_db.RegisterMessage(GenerateForecastMetricsResponse) KeywordPlanCampaignForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignForecast', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANCAMPAIGNFORECAST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """A campaign forecast. @@ -789,17 +1009,17 @@ keyword_plan_campaign: The resource name of the Keyword Plan campaign related to the forecast. ``customers/{customer_id}/keywordPlanCampaigns/{key - word+plan_campaign_id}`` + word_plan_campaign_id}`` campaign_forecast: The forecast for the Keyword Plan campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanCampaignForecast) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanCampaignForecast) )) _sym_db.RegisterMessage(KeywordPlanCampaignForecast) KeywordPlanAdGroupForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanAdGroupForecast', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANADGROUPFORECAST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """An ad group forecast. @@ -812,13 +1032,13 @@ ad_group_forecast: The forecast for the Keyword Plan ad group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanAdGroupForecast) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanAdGroupForecast) )) _sym_db.RegisterMessage(KeywordPlanAdGroupForecast) KeywordPlanKeywordForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordForecast', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANKEYWORDFORECAST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """A keyword forecast. @@ -831,13 +1051,66 @@ keyword_forecast: The forecast for the Keyword Plan keyword. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanKeywordForecast) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanKeywordForecast) )) _sym_db.RegisterMessage(KeywordPlanKeywordForecast) +KeywordPlanCampaignForecastCurve = _reflection.GeneratedProtocolMessageType('KeywordPlanCampaignForecastCurve', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANCAMPAIGNFORECASTCURVE, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' + , + __doc__ = """The forecast curve for the campaign. + + + Attributes: + keyword_plan_campaign: + The resource name of the Keyword Plan campaign related to the + forecast. ``customers/{customer_id}/keywordPlanCampaigns/{key + word_plan_campaign_id}`` + max_cpc_bid_forecast_curve: + The max cpc bid forecast curve for the campaign. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanCampaignForecastCurve) + )) +_sym_db.RegisterMessage(KeywordPlanCampaignForecastCurve) + +KeywordPlanMaxCpcBidForecastCurve = _reflection.GeneratedProtocolMessageType('KeywordPlanMaxCpcBidForecastCurve', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANMAXCPCBIDFORECASTCURVE, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' + , + __doc__ = """The max cpc bid forecast curve. + + + Attributes: + max_cpc_bid_forecasts: + The forecasts for the Keyword Plan campaign at different max + CPC bids. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecastCurve) + )) +_sym_db.RegisterMessage(KeywordPlanMaxCpcBidForecastCurve) + +KeywordPlanMaxCpcBidForecast = _reflection.GeneratedProtocolMessageType('KeywordPlanMaxCpcBidForecast', (_message.Message,), dict( + DESCRIPTOR = _KEYWORDPLANMAXCPCBIDFORECAST, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' + , + __doc__ = """The forecast of the campaign at a specific bid. + + + Attributes: + max_cpc_bid_micros: + The max cpc bid in micros. + max_cpc_bid_forecast: + The forecast for the Keyword Plan campaign at the specific + bid. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanMaxCpcBidForecast) + )) +_sym_db.RegisterMessage(KeywordPlanMaxCpcBidForecast) + ForecastMetrics = _reflection.GeneratedProtocolMessageType('ForecastMetrics', (_message.Message,), dict( DESCRIPTOR = _FORECASTMETRICS, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Forecast metrics. @@ -854,46 +1127,46 @@ cost_micros: Cost """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ForecastMetrics) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ForecastMetrics) )) _sym_db.RegisterMessage(ForecastMetrics) GenerateHistoricalMetricsRequest = _reflection.GeneratedProtocolMessageType('GenerateHistoricalMetricsRequest', (_message.Message,), dict( DESCRIPTOR = _GENERATEHISTORICALMETRICSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Request message for - [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v1.services.KeywordPlanService.GenerateHistoricalMetrics]. + [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v4.services.KeywordPlanService.GenerateHistoricalMetrics]. Attributes: keyword_plan: - The resource name of the keyword plan of which historical - metrics are requested. + Required. The resource name of the keyword plan of which + historical metrics are requested. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateHistoricalMetricsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateHistoricalMetricsRequest) )) _sym_db.RegisterMessage(GenerateHistoricalMetricsRequest) GenerateHistoricalMetricsResponse = _reflection.GeneratedProtocolMessageType('GenerateHistoricalMetricsResponse', (_message.Message,), dict( DESCRIPTOR = _GENERATEHISTORICALMETRICSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """Response message for - [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v1.services.KeywordPlanService.GenerateHistoricalMetrics]. + [KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v4.services.KeywordPlanService.GenerateHistoricalMetrics]. Attributes: metrics: List of keyword historical metrics. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GenerateHistoricalMetricsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateHistoricalMetricsResponse) )) _sym_db.RegisterMessage(GenerateHistoricalMetricsResponse) KeywordPlanKeywordHistoricalMetrics = _reflection.GeneratedProtocolMessageType('KeywordPlanKeywordHistoricalMetrics', (_message.Message,), dict( DESCRIPTOR = _KEYWORDPLANKEYWORDHISTORICALMETRICS, - __module__ = 'google.ads.googleads_v1.proto.services.keyword_plan_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.keyword_plan_service_pb2' , __doc__ = """A keyword historical metrics. @@ -910,57 +1183,72 @@ The historical metrics for the query associated with one or more ad\_group\_keywords in the plan. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.KeywordPlanKeywordHistoricalMetrics) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.KeywordPlanKeywordHistoricalMetrics) )) _sym_db.RegisterMessage(KeywordPlanKeywordHistoricalMetrics) DESCRIPTOR._options = None +_GETKEYWORDPLANREQUEST.fields_by_name['resource_name']._options = None +_MUTATEKEYWORDPLANSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEKEYWORDPLANSREQUEST.fields_by_name['operations']._options = None +_GENERATEFORECASTCURVEREQUEST.fields_by_name['keyword_plan']._options = None +_GENERATEFORECASTMETRICSREQUEST.fields_by_name['keyword_plan']._options = None +_GENERATEHISTORICALMETRICSREQUEST.fields_by_name['keyword_plan']._options = None _KEYWORDPLANSERVICE = _descriptor.ServiceDescriptor( name='KeywordPlanService', - full_name='google.ads.googleads.v1.services.KeywordPlanService', + full_name='google.ads.googleads.v4.services.KeywordPlanService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=2521, - serialized_end=3423, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=3374, + serialized_end=4626, methods=[ _descriptor.MethodDescriptor( name='GetKeywordPlan', - full_name='google.ads.googleads.v1.services.KeywordPlanService.GetKeywordPlan', + full_name='google.ads.googleads.v4.services.KeywordPlanService.GetKeywordPlan', index=0, containing_service=None, input_type=_GETKEYWORDPLANREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN, - serialized_options=_b('\202\323\344\223\0020\022./v1/{resource_name=customers/*/keywordPlans/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2._KEYWORDPLAN, + serialized_options=_b('\202\323\344\223\0020\022./v4/{resource_name=customers/*/keywordPlans/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateKeywordPlans', - full_name='google.ads.googleads.v1.services.KeywordPlanService.MutateKeywordPlans', + full_name='google.ads.googleads.v4.services.KeywordPlanService.MutateKeywordPlans', index=1, containing_service=None, input_type=_MUTATEKEYWORDPLANSREQUEST, output_type=_MUTATEKEYWORDPLANSRESPONSE, - serialized_options=_b('\202\323\344\223\0026\"1/v1/customers/{customer_id=*}/keywordPlans:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0026\"1/v4/customers/{customer_id=*}/keywordPlans:mutate:\001*\332A\026customer_id,operations'), ), _descriptor.MethodDescriptor( - name='GenerateForecastMetrics', - full_name='google.ads.googleads.v1.services.KeywordPlanService.GenerateForecastMetrics', + name='GenerateForecastCurve', + full_name='google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastCurve', index=2, containing_service=None, + input_type=_GENERATEFORECASTCURVEREQUEST, + output_type=_GENERATEFORECASTCURVERESPONSE, + serialized_options=_b('\202\323\344\223\002H\"C/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastCurve:\001*\332A\014keyword_plan'), + ), + _descriptor.MethodDescriptor( + name='GenerateForecastMetrics', + full_name='google.ads.googleads.v4.services.KeywordPlanService.GenerateForecastMetrics', + index=3, + containing_service=None, input_type=_GENERATEFORECASTMETRICSREQUEST, output_type=_GENERATEFORECASTMETRICSRESPONSE, - serialized_options=_b('\202\323\344\223\002J\"E/v1/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\001*'), + serialized_options=_b('\202\323\344\223\002J\"E/v4/{keyword_plan=customers/*/keywordPlans/*}:generateForecastMetrics:\001*\332A\014keyword_plan'), ), _descriptor.MethodDescriptor( name='GenerateHistoricalMetrics', - full_name='google.ads.googleads.v1.services.KeywordPlanService.GenerateHistoricalMetrics', - index=3, + full_name='google.ads.googleads.v4.services.KeywordPlanService.GenerateHistoricalMetrics', + index=4, containing_service=None, input_type=_GENERATEHISTORICALMETRICSREQUEST, output_type=_GENERATEHISTORICALMETRICSRESPONSE, - serialized_options=_b('\202\323\344\223\002L\"G/v1/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\001*'), + serialized_options=_b('\202\323\344\223\002L\"G/v4/{keyword_plan=customers/*/keywordPlans/*}:generateHistoricalMetrics:\001*\332A\014keyword_plan'), ), ]) _sym_db.RegisterServiceDescriptor(_KEYWORDPLANSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2_grpc.py similarity index 57% rename from google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2_grpc.py index ad3448e25..8349110c9 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_plan_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/keyword_plan_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2 -from google.ads.google_ads.v1.proto.services import keyword_plan_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_plan_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2 +from google.ads.google_ads.v4.proto.services import keyword_plan_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2 class KeywordPlanServiceStub(object): @@ -18,24 +18,29 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetKeywordPlan = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanService/GetKeywordPlan', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2.KeywordPlan.FromString, + '/google.ads.googleads.v4.services.KeywordPlanService/GetKeywordPlan', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2.KeywordPlan.FromString, ) self.MutateKeywordPlans = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanService/MutateKeywordPlans', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanService/MutateKeywordPlans', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.FromString, + ) + self.GenerateForecastCurve = channel.unary_unary( + '/google.ads.googleads.v4.services.KeywordPlanService/GenerateForecastCurve', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastCurveRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastCurveResponse.FromString, ) self.GenerateForecastMetrics = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanService/GenerateForecastMetrics', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanService/GenerateForecastMetrics', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsResponse.FromString, ) self.GenerateHistoricalMetrics = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordPlanService/GenerateHistoricalMetrics', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.FromString, + '/google.ads.googleads.v4.services.KeywordPlanService/GenerateHistoricalMetrics', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.FromString, ) @@ -60,6 +65,19 @@ def MutateKeywordPlans(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GenerateForecastCurve(self, request, context): + """Returns the requested Keyword Plan forecast curve. + Only the bidding strategy is considered for generating forecast curve. + The bidding strategy value (eg: max_cpc_bid_micros in maximize cpc bidding + strategy) specified in the plan is ignored. + + To generate a forecast at a value specified in the plan, use + KeywordPlanService.GenerateForecastMetrics. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def GenerateForecastMetrics(self, request, context): """Returns the requested Keyword Plan forecasts. """ @@ -79,25 +97,30 @@ def add_KeywordPlanServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetKeywordPlan': grpc.unary_unary_rpc_method_handler( servicer.GetKeywordPlan, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__plan__pb2.KeywordPlan.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GetKeywordPlanRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__plan__pb2.KeywordPlan.SerializeToString, ), 'MutateKeywordPlans': grpc.unary_unary_rpc_method_handler( servicer.MutateKeywordPlans, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.MutateKeywordPlansResponse.SerializeToString, + ), + 'GenerateForecastCurve': grpc.unary_unary_rpc_method_handler( + servicer.GenerateForecastCurve, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastCurveRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastCurveResponse.SerializeToString, ), 'GenerateForecastMetrics': grpc.unary_unary_rpc_method_handler( servicer.GenerateForecastMetrics, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateForecastMetricsResponse.SerializeToString, ), 'GenerateHistoricalMetrics': grpc.unary_unary_rpc_method_handler( servicer.GenerateHistoricalMetrics, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__plan__service__pb2.GenerateHistoricalMetricsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordPlanService', rpc_method_handlers) + 'google.ads.googleads.v4.services.KeywordPlanService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/keyword_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/keyword_view_service_pb2.py new file mode 100644 index 000000000..2a3a343a8 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/keyword_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/keyword_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/keyword_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\027KeywordViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nAgoogle/ads/googleads_v4/proto/services/keyword_view_service.proto\x12 google.ads.googleads.v4.services\x1a:google/ads/googleads_v4/proto/resources/keyword_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\\\n\x15GetKeywordViewRequest\x12\x43\n\rresource_name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$googleads.googleapis.com/KeywordView2\xf5\x01\n\x12KeywordViewService\x12\xc1\x01\n\x0eGetKeywordView\x12\x37.google.ads.googleads.v4.services.GetKeywordViewRequest\x1a..google.ads.googleads.v4.resources.KeywordView\"F\x82\xd3\xe4\x93\x02\x30\x12./v4/{resource_name=customers/*/keywordViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfe\x01\n$com.google.ads.googleads.v4.servicesB\x17KeywordViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETKEYWORDVIEWREQUEST = _descriptor.Descriptor( + name='GetKeywordViewRequest', + full_name='google.ads.googleads.v4.services.GetKeywordViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetKeywordViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A&\n$googleads.googleapis.com/KeywordView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=278, + serialized_end=370, +) + +DESCRIPTOR.message_types_by_name['GetKeywordViewRequest'] = _GETKEYWORDVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetKeywordViewRequest = _reflection.GeneratedProtocolMessageType('GetKeywordViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETKEYWORDVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.keyword_view_service_pb2' + , + __doc__ = """Request message for + [KeywordViewService.GetKeywordView][google.ads.googleads.v4.services.KeywordViewService.GetKeywordView]. + + + Attributes: + resource_name: + Required. The resource name of the keyword view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetKeywordViewRequest) + )) +_sym_db.RegisterMessage(GetKeywordViewRequest) + + +DESCRIPTOR._options = None +_GETKEYWORDVIEWREQUEST.fields_by_name['resource_name']._options = None + +_KEYWORDVIEWSERVICE = _descriptor.ServiceDescriptor( + name='KeywordViewService', + full_name='google.ads.googleads.v4.services.KeywordViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=373, + serialized_end=618, + methods=[ + _descriptor.MethodDescriptor( + name='GetKeywordView', + full_name='google.ads.googleads.v4.services.KeywordViewService.GetKeywordView', + index=0, + containing_service=None, + input_type=_GETKEYWORDVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2._KEYWORDVIEW, + serialized_options=_b('\202\323\344\223\0020\022./v4/{resource_name=customers/*/keywordViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_KEYWORDVIEWSERVICE) + +DESCRIPTOR.services_by_name['KeywordViewService'] = _KEYWORDVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/keyword_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/keyword_view_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/keyword_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/keyword_view_service_pb2_grpc.py index fcfb30698..76bebd2c5 100644 --- a/google/ads/google_ads/v1/proto/services/keyword_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/keyword_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2 -from google.ads.google_ads.v1.proto.services import keyword_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import keyword_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2 +from google.ads.google_ads.v4.proto.services import keyword_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__view__service__pb2 class KeywordViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetKeywordView = channel.unary_unary( - '/google.ads.googleads.v1.services.KeywordViewService/GetKeywordView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.FromString, + '/google.ads.googleads.v4.services.KeywordViewService/GetKeywordView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.FromString, ) @@ -42,10 +42,10 @@ def add_KeywordViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetKeywordView': grpc.unary_unary_rpc_method_handler( servicer.GetKeywordView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_keyword__view__service__pb2.GetKeywordViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_keyword__view__pb2.KeywordView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.KeywordViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.KeywordViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/label_service_pb2.py b/google/ads/google_ads/v4/proto/services/label_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/label_service_pb2.py rename to google/ads/google_ads/v4/proto/services/label_service_pb2.py index d00baf3f7..1d9085c6d 100644 --- a/google/ads/google_ads/v1/proto/services/label_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/label_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/label_service.proto +# source: google/ads/googleads_v4/proto/services/label_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2 +from google.ads.google_ads.v4.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/label_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/label_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\021LabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n:google/ads/googleads_v1/proto/services/label_service.proto\x12 google.ads.googleads.v1.services\x1a\x33google/ads/googleads_v1/proto/resources/label.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"(\n\x0fGetLabelRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa0\x01\n\x13MutateLabelsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12\x44\n\noperations\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v1.services.LabelOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd8\x01\n\x0eLabelOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12:\n\x06\x63reate\x18\x01 \x01(\x0b\x32(.google.ads.googleads.v1.resources.LabelH\x00\x12:\n\x06update\x18\x02 \x01(\x0b\x32(.google.ads.googleads.v1.resources.LabelH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x8f\x01\n\x14MutateLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x44\n\x07results\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v1.services.MutateLabelResult\"*\n\x11MutateLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe2\x02\n\x0cLabelService\x12\x99\x01\n\x08GetLabel\x12\x31.google.ads.googleads.v1.services.GetLabelRequest\x1a(.google.ads.googleads.v1.resources.Label\"0\x82\xd3\xe4\x93\x02*\x12(/v1/{resource_name=customers/*/labels/*}\x12\xb5\x01\n\x0cMutateLabels\x12\x35.google.ads.googleads.v1.services.MutateLabelsRequest\x1a\x36.google.ads.googleads.v1.services.MutateLabelsResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/v1/customers/{customer_id=*}/labels:mutate:\x01*B\xf8\x01\n$com.google.ads.googleads.v1.servicesB\x11LabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\021LabelServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/services/label_service.proto\x12 google.ads.googleads.v4.services\x1a\x33google/ads/googleads_v4/proto/resources/label.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"P\n\x0fGetLabelRequest\x12=\n\rresource_name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1egoogleads.googleapis.com/Label\"\xaa\x01\n\x13MutateLabelsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12I\n\noperations\x18\x02 \x03(\x0b\x32\x30.google.ads.googleads.v4.services.LabelOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xd8\x01\n\x0eLabelOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12:\n\x06\x63reate\x18\x01 \x01(\x0b\x32(.google.ads.googleads.v4.resources.LabelH\x00\x12:\n\x06update\x18\x02 \x01(\x0b\x32(.google.ads.googleads.v4.resources.LabelH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x8f\x01\n\x14MutateLabelsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12\x44\n\x07results\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v4.services.MutateLabelResult\"*\n\x11MutateLabelResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xa8\x03\n\x0cLabelService\x12\xa9\x01\n\x08GetLabel\x12\x31.google.ads.googleads.v4.services.GetLabelRequest\x1a(.google.ads.googleads.v4.resources.Label\"@\x82\xd3\xe4\x93\x02*\x12(/v4/{resource_name=customers/*/labels/*}\xda\x41\rresource_name\x12\xce\x01\n\x0cMutateLabels\x12\x35.google.ads.googleads.v4.services.MutateLabelsRequest\x1a\x36.google.ads.googleads.v4.services.MutateLabelsResponse\"O\x82\xd3\xe4\x93\x02\x30\"+/v4/customers/{customer_id=*}/labels:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf8\x01\n$com.google.ads.googleads.v4.servicesB\x11LabelServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETLABELREQUEST = _descriptor.Descriptor( name='GetLabelRequest', - full_name='google.ads.googleads.v1.services.GetLabelRequest', + full_name='google.ads.googleads.v4.services.GetLabelRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetLabelRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetLabelRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A \n\036googleads.googleapis.com/Label'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=270, - serialized_end=310, + serialized_start=323, + serialized_end=403, ) _MUTATELABELSREQUEST = _descriptor.Descriptor( name='MutateLabelsRequest', - full_name='google.ads.googleads.v1.services.MutateLabelsRequest', + full_name='google.ads.googleads.v4.services.MutateLabelsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateLabelsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateLabelsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateLabelsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateLabelsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateLabelsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateLabelsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateLabelsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateLabelsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=313, - serialized_end=473, + serialized_start=406, + serialized_end=576, ) _LABELOPERATION = _descriptor.Descriptor( name='LabelOperation', - full_name='google.ads.googleads.v1.services.LabelOperation', + full_name='google.ads.googleads.v4.services.LabelOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.LabelOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.LabelOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.LabelOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.LabelOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.LabelOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.LabelOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.LabelOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.LabelOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.LabelOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.LabelOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=476, - serialized_end=692, + serialized_start=579, + serialized_end=795, ) _MUTATELABELSRESPONSE = _descriptor.Descriptor( name='MutateLabelsResponse', - full_name='google.ads.googleads.v1.services.MutateLabelsResponse', + full_name='google.ads.googleads.v4.services.MutateLabelsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateLabelsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateLabelsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateLabelsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateLabelsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=695, - serialized_end=838, + serialized_start=798, + serialized_end=941, ) _MUTATELABELRESULT = _descriptor.Descriptor( name='MutateLabelResult', - full_name='google.ads.googleads.v1.services.MutateLabelResult', + full_name='google.ads.googleads.v4.services.MutateLabelResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateLabelResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateLabelResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=840, - serialized_end=882, + serialized_start=943, + serialized_end=985, ) _MUTATELABELSREQUEST.fields_by_name['operations'].message_type = _LABELOPERATION _LABELOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_LABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2._LABEL -_LABELOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2._LABEL +_LABELOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2._LABEL +_LABELOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2._LABEL _LABELOPERATION.oneofs_by_name['operation'].fields.append( _LABELOPERATION.fields_by_name['create']) _LABELOPERATION.fields_by_name['create'].containing_oneof = _LABELOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,33 @@ GetLabelRequest = _reflection.GeneratedProtocolMessageType('GetLabelRequest', (_message.Message,), dict( DESCRIPTOR = _GETLABELREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.label_service_pb2' , __doc__ = """Request message for - [LabelService.GetLabel][google.ads.googleads.v1.services.LabelService.GetLabel]. + [LabelService.GetLabel][google.ads.googleads.v4.services.LabelService.GetLabel]. Attributes: resource_name: - The resource name of the label to fetch. + Required. The resource name of the label to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetLabelRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetLabelRequest) )) _sym_db.RegisterMessage(GetLabelRequest) MutateLabelsRequest = _reflection.GeneratedProtocolMessageType('MutateLabelsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATELABELSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.label_service_pb2' , __doc__ = """Request message for - [LabelService.MutateLabels][google.ads.googleads.v1.services.LabelService.MutateLabels]. + [LabelService.MutateLabels][google.ads.googleads.v4.services.LabelService.MutateLabels]. Attributes: customer_id: - ID of the customer whose labels are being modified. + Required. ID of the customer whose labels are being modified. operations: - The list of operations to perform on labels. + Required. The list of operations to perform on labels. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +300,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateLabelsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateLabelsRequest) )) _sym_db.RegisterMessage(MutateLabelsRequest) LabelOperation = _reflection.GeneratedProtocolMessageType('LabelOperation', (_message.Message,), dict( DESCRIPTOR = _LABELOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.label_service_pb2' , __doc__ = """A single operation (create, remove, update) on a label. @@ -325,13 +327,13 @@ Remove operation: A resource name for the label being removed, in this format: ``customers/{customer_id}/labels/{label_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.LabelOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.LabelOperation) )) _sym_db.RegisterMessage(LabelOperation) MutateLabelsResponse = _reflection.GeneratedProtocolMessageType('MutateLabelsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATELABELSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.label_service_pb2' , __doc__ = """Response message for a labels mutate. @@ -346,13 +348,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateLabelsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateLabelsResponse) )) _sym_db.RegisterMessage(MutateLabelsResponse) MutateLabelResult = _reflection.GeneratedProtocolMessageType('MutateLabelResult', (_message.Message,), dict( DESCRIPTOR = _MUTATELABELRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.label_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.label_service_pb2' , __doc__ = """The result for a label mutate. @@ -361,39 +363,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateLabelResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateLabelResult) )) _sym_db.RegisterMessage(MutateLabelResult) DESCRIPTOR._options = None +_GETLABELREQUEST.fields_by_name['resource_name']._options = None +_MUTATELABELSREQUEST.fields_by_name['customer_id']._options = None +_MUTATELABELSREQUEST.fields_by_name['operations']._options = None _LABELSERVICE = _descriptor.ServiceDescriptor( name='LabelService', - full_name='google.ads.googleads.v1.services.LabelService', + full_name='google.ads.googleads.v4.services.LabelService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=885, - serialized_end=1239, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=988, + serialized_end=1412, methods=[ _descriptor.MethodDescriptor( name='GetLabel', - full_name='google.ads.googleads.v1.services.LabelService.GetLabel', + full_name='google.ads.googleads.v4.services.LabelService.GetLabel', index=0, containing_service=None, input_type=_GETLABELREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2._LABEL, - serialized_options=_b('\202\323\344\223\002*\022(/v1/{resource_name=customers/*/labels/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2._LABEL, + serialized_options=_b('\202\323\344\223\002*\022(/v4/{resource_name=customers/*/labels/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateLabels', - full_name='google.ads.googleads.v1.services.LabelService.MutateLabels', + full_name='google.ads.googleads.v4.services.LabelService.MutateLabels', index=1, containing_service=None, input_type=_MUTATELABELSREQUEST, output_type=_MUTATELABELSRESPONSE, - serialized_options=_b('\202\323\344\223\0020\"+/v1/customers/{customer_id=*}/labels:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0020\"+/v4/customers/{customer_id=*}/labels:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_LABELSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/label_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/label_service_pb2_grpc.py similarity index 67% rename from google/ads/google_ads/v1/proto/services/label_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/label_service_pb2_grpc.py index e5367ce72..81a80f2d0 100644 --- a/google/ads/google_ads/v1/proto/services/label_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/label_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2 -from google.ads.google_ads.v1.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2 +from google.ads.google_ads.v4.proto.resources import label_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2 +from google.ads.google_ads.v4.proto.services import label_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2 class LabelServiceStub(object): @@ -16,14 +16,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetLabel = channel.unary_unary( - '/google.ads.googleads.v1.services.LabelService/GetLabel', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2.Label.FromString, + '/google.ads.googleads.v4.services.LabelService/GetLabel', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2.Label.FromString, ) self.MutateLabels = channel.unary_unary( - '/google.ads.googleads.v1.services.LabelService/MutateLabels', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.FromString, + '/google.ads.googleads.v4.services.LabelService/MutateLabels', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.FromString, ) @@ -50,15 +50,15 @@ def add_LabelServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetLabel': grpc.unary_unary_rpc_method_handler( servicer.GetLabel, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_label__pb2.Label.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.GetLabelRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_label__pb2.Label.SerializeToString, ), 'MutateLabels': grpc.unary_unary_rpc_method_handler( servicer.MutateLabels, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_label__service__pb2.MutateLabelsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.LabelService', rpc_method_handlers) + 'google.ads.googleads.v4.services.LabelService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2.py new file mode 100644 index 000000000..93850fed1 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/landing_page_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/landing_page_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033LandingPageViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/landing_page_view_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/landing_page_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"d\n\x19GetLandingPageViewRequest\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(googleads.googleapis.com/LandingPageView2\x89\x02\n\x16LandingPageViewService\x12\xd1\x01\n\x12GetLandingPageView\x12;.google.ads.googleads.v4.services.GetLandingPageViewRequest\x1a\x32.google.ads.googleads.v4.resources.LandingPageView\"J\x82\xd3\xe4\x93\x02\x34\x12\x32/v4/{resource_name=customers/*/landingPageViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1bLandingPageViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETLANDINGPAGEVIEWREQUEST = _descriptor.Descriptor( + name='GetLandingPageViewRequest', + full_name='google.ads.googleads.v4.services.GetLandingPageViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetLandingPageViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A*\n(googleads.googleapis.com/LandingPageView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=288, + serialized_end=388, +) + +DESCRIPTOR.message_types_by_name['GetLandingPageViewRequest'] = _GETLANDINGPAGEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetLandingPageViewRequest = _reflection.GeneratedProtocolMessageType('GetLandingPageViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETLANDINGPAGEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.landing_page_view_service_pb2' + , + __doc__ = """Request message for + [LandingPageViewService.GetLandingPageView][google.ads.googleads.v4.services.LandingPageViewService.GetLandingPageView]. + + + Attributes: + resource_name: + Required. The resource name of the landing page view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetLandingPageViewRequest) + )) +_sym_db.RegisterMessage(GetLandingPageViewRequest) + + +DESCRIPTOR._options = None +_GETLANDINGPAGEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_LANDINGPAGEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='LandingPageViewService', + full_name='google.ads.googleads.v4.services.LandingPageViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=391, + serialized_end=656, + methods=[ + _descriptor.MethodDescriptor( + name='GetLandingPageView', + full_name='google.ads.googleads.v4.services.LandingPageViewService.GetLandingPageView', + index=0, + containing_service=None, + input_type=_GETLANDINGPAGEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2._LANDINGPAGEVIEW, + serialized_options=_b('\202\323\344\223\0024\0222/v4/{resource_name=customers/*/landingPageViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_LANDINGPAGEVIEWSERVICE) + +DESCRIPTOR.services_by_name['LandingPageViewService'] = _LANDINGPAGEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2_grpc.py index ca3823694..d43bdc38e 100644 --- a/google/ads/google_ads/v1/proto/services/landing_page_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/landing_page_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2 -from google.ads.google_ads.v1.proto.services import landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_landing__page__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import landing_page_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2 +from google.ads.google_ads.v4.proto.services import landing_page_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_landing__page__view__service__pb2 class LandingPageViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetLandingPageView = channel.unary_unary( - '/google.ads.googleads.v1.services.LandingPageViewService/GetLandingPageView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.FromString, + '/google.ads.googleads.v4.services.LandingPageViewService/GetLandingPageView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.FromString, ) @@ -42,10 +42,10 @@ def add_LandingPageViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetLandingPageView': grpc.unary_unary_rpc_method_handler( servicer.GetLandingPageView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_landing__page__view__service__pb2.GetLandingPageViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_landing__page__view__pb2.LandingPageView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.LandingPageViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.LandingPageViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/language_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/language_constant_service_pb2.py new file mode 100644 index 000000000..6384855e3 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/language_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/language_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/language_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034LanguageConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nFgoogle/ads/googleads_v4/proto/services/language_constant_service.proto\x12 google.ads.googleads.v4.services\x1a?google/ads/googleads_v4/proto/resources/language_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"f\n\x1aGetLanguageConstantRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/LanguageConstant2\x82\x02\n\x17LanguageConstantService\x12\xc9\x01\n\x13GetLanguageConstant\x12<.google.ads.googleads.v4.services.GetLanguageConstantRequest\x1a\x33.google.ads.googleads.v4.resources.LanguageConstant\"?\x82\xd3\xe4\x93\x02)\x12\'/v4/{resource_name=languageConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1cLanguageConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETLANGUAGECONSTANTREQUEST = _descriptor.Descriptor( + name='GetLanguageConstantRequest', + full_name='google.ads.googleads.v4.services.GetLanguageConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetLanguageConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/LanguageConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=288, + serialized_end=390, +) + +DESCRIPTOR.message_types_by_name['GetLanguageConstantRequest'] = _GETLANGUAGECONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetLanguageConstantRequest = _reflection.GeneratedProtocolMessageType('GetLanguageConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETLANGUAGECONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.language_constant_service_pb2' + , + __doc__ = """Request message for + [LanguageConstantService.GetLanguageConstant][google.ads.googleads.v4.services.LanguageConstantService.GetLanguageConstant]. + + + Attributes: + resource_name: + Required. Resource name of the language constant to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetLanguageConstantRequest) + )) +_sym_db.RegisterMessage(GetLanguageConstantRequest) + + +DESCRIPTOR._options = None +_GETLANGUAGECONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_LANGUAGECONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='LanguageConstantService', + full_name='google.ads.googleads.v4.services.LanguageConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=393, + serialized_end=651, + methods=[ + _descriptor.MethodDescriptor( + name='GetLanguageConstant', + full_name='google.ads.googleads.v4.services.LanguageConstantService.GetLanguageConstant', + index=0, + containing_service=None, + input_type=_GETLANGUAGECONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2._LANGUAGECONSTANT, + serialized_options=_b('\202\323\344\223\002)\022\'/v4/{resource_name=languageConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_LANGUAGECONSTANTSERVICE) + +DESCRIPTOR.services_by_name['LanguageConstantService'] = _LANGUAGECONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/language_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/language_constant_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/language_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/language_constant_service_pb2_grpc.py index 15bd63a00..e7949c7be 100644 --- a/google/ads/google_ads/v1/proto/services/language_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/language_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2 -from google.ads.google_ads.v1.proto.services import language_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_language__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import language_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2 +from google.ads.google_ads.v4.proto.services import language_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_language__constant__service__pb2 class LanguageConstantServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetLanguageConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.LanguageConstantService/GetLanguageConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.FromString, + '/google.ads.googleads.v4.services.LanguageConstantService/GetLanguageConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.FromString, ) @@ -42,10 +42,10 @@ def add_LanguageConstantServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetLanguageConstant': grpc.unary_unary_rpc_method_handler( servicer.GetLanguageConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_language__constant__service__pb2.GetLanguageConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_language__constant__pb2.LanguageConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.LanguageConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.LanguageConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/location_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/location_view_service_pb2.py new file mode 100644 index 000000000..fa61123ca --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/location_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/location_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/location_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030LocationViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/location_view_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/location_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"^\n\x16GetLocationViewRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/LocationView2\xfa\x01\n\x13LocationViewService\x12\xc5\x01\n\x0fGetLocationView\x12\x38.google.ads.googleads.v4.services.GetLocationViewRequest\x1a/.google.ads.googleads.v4.resources.LocationView\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/locationViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18LocationViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETLOCATIONVIEWREQUEST = _descriptor.Descriptor( + name='GetLocationViewRequest', + full_name='google.ads.googleads.v4.services.GetLocationViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetLocationViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/LocationView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=280, + serialized_end=374, +) + +DESCRIPTOR.message_types_by_name['GetLocationViewRequest'] = _GETLOCATIONVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetLocationViewRequest = _reflection.GeneratedProtocolMessageType('GetLocationViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETLOCATIONVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.location_view_service_pb2' + , + __doc__ = """Request message for + [LocationViewService.GetLocationView][google.ads.googleads.v4.services.LocationViewService.GetLocationView]. + + + Attributes: + resource_name: + Required. The resource name of the location view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetLocationViewRequest) + )) +_sym_db.RegisterMessage(GetLocationViewRequest) + + +DESCRIPTOR._options = None +_GETLOCATIONVIEWREQUEST.fields_by_name['resource_name']._options = None + +_LOCATIONVIEWSERVICE = _descriptor.ServiceDescriptor( + name='LocationViewService', + full_name='google.ads.googleads.v4.services.LocationViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=377, + serialized_end=627, + methods=[ + _descriptor.MethodDescriptor( + name='GetLocationView', + full_name='google.ads.googleads.v4.services.LocationViewService.GetLocationView', + index=0, + containing_service=None, + input_type=_GETLOCATIONVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2._LOCATIONVIEW, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/locationViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_LOCATIONVIEWSERVICE) + +DESCRIPTOR.services_by_name['LocationViewService'] = _LOCATIONVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/location_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/location_view_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/location_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/location_view_service_pb2_grpc.py index 11aeb0dc3..b9b382f37 100644 --- a/google/ads/google_ads/v1/proto/services/location_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/location_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2 -from google.ads.google_ads.v1.proto.services import location_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_location__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2 +from google.ads.google_ads.v4.proto.services import location_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_location__view__service__pb2 class LocationViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetLocationView = channel.unary_unary( - '/google.ads.googleads.v1.services.LocationViewService/GetLocationView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2.LocationView.FromString, + '/google.ads.googleads.v4.services.LocationViewService/GetLocationView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2.LocationView.FromString, ) @@ -42,10 +42,10 @@ def add_LocationViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetLocationView': grpc.unary_unary_rpc_method_handler( servicer.GetLocationView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_location__view__pb2.LocationView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_location__view__service__pb2.GetLocationViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_location__view__pb2.LocationView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.LocationViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.LocationViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2.py new file mode 100644 index 000000000..12f8b1007 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/managed_placement_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/managed_placement_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB ManagedPlacementViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/services/managed_placement_view_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/resources/managed_placement_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"n\n\x1eGetManagedPlacementViewRequest\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-googleads.googleapis.com/ManagedPlacementView2\xa2\x02\n\x1bManagedPlacementViewService\x12\xe5\x01\n\x17GetManagedPlacementView\x12@.google.ads.googleads.v4.services.GetManagedPlacementViewRequest\x1a\x37.google.ads.googleads.v4.resources.ManagedPlacementView\"O\x82\xd3\xe4\x93\x02\x39\x12\x37/v4/{resource_name=customers/*/managedPlacementViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v4.servicesB ManagedPlacementViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETMANAGEDPLACEMENTVIEWREQUEST = _descriptor.Descriptor( + name='GetManagedPlacementViewRequest', + full_name='google.ads.googleads.v4.services.GetManagedPlacementViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetManagedPlacementViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A/\n-googleads.googleapis.com/ManagedPlacementView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=408, +) + +DESCRIPTOR.message_types_by_name['GetManagedPlacementViewRequest'] = _GETMANAGEDPLACEMENTVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetManagedPlacementViewRequest = _reflection.GeneratedProtocolMessageType('GetManagedPlacementViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETMANAGEDPLACEMENTVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.managed_placement_view_service_pb2' + , + __doc__ = """Request message for + [ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v4.services.ManagedPlacementViewService.GetManagedPlacementView]. + + + Attributes: + resource_name: + Required. The resource name of the Managed Placement View to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetManagedPlacementViewRequest) + )) +_sym_db.RegisterMessage(GetManagedPlacementViewRequest) + + +DESCRIPTOR._options = None +_GETMANAGEDPLACEMENTVIEWREQUEST.fields_by_name['resource_name']._options = None + +_MANAGEDPLACEMENTVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ManagedPlacementViewService', + full_name='google.ads.googleads.v4.services.ManagedPlacementViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=411, + serialized_end=701, + methods=[ + _descriptor.MethodDescriptor( + name='GetManagedPlacementView', + full_name='google.ads.googleads.v4.services.ManagedPlacementViewService.GetManagedPlacementView', + index=0, + containing_service=None, + input_type=_GETMANAGEDPLACEMENTVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2._MANAGEDPLACEMENTVIEW, + serialized_options=_b('\202\323\344\223\0029\0227/v4/{resource_name=customers/*/managedPlacementViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_MANAGEDPLACEMENTVIEWSERVICE) + +DESCRIPTOR.services_by_name['ManagedPlacementViewService'] = _MANAGEDPLACEMENTVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2_grpc.py index 5e5dcdcd6..279827f6a 100644 --- a/google/ads/google_ads/v1/proto/services/managed_placement_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/managed_placement_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2 -from google.ads.google_ads.v1.proto.services import managed_placement_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_managed__placement__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import managed_placement_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2 +from google.ads.google_ads.v4.proto.services import managed_placement_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_managed__placement__view__service__pb2 class ManagedPlacementViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetManagedPlacementView = channel.unary_unary( - '/google.ads.googleads.v1.services.ManagedPlacementViewService/GetManagedPlacementView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.FromString, + '/google.ads.googleads.v4.services.ManagedPlacementViewService/GetManagedPlacementView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.FromString, ) @@ -42,10 +42,10 @@ def add_ManagedPlacementViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetManagedPlacementView': grpc.unary_unary_rpc_method_handler( servicer.GetManagedPlacementView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_managed__placement__view__service__pb2.GetManagedPlacementViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_managed__placement__view__pb2.ManagedPlacementView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ManagedPlacementViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ManagedPlacementViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/media_file_service_pb2.py b/google/ads/google_ads/v4/proto/services/media_file_service_pb2.py similarity index 61% rename from google/ads/google_ads/v1/proto/services/media_file_service_pb2.py rename to google/ads/google_ads/v4/proto/services/media_file_service_pb2.py index 4aef787da..f510ccc4e 100644 --- a/google/ads/google_ads/v1/proto/services/media_file_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/media_file_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/media_file_service.proto +# source: google/ads/googleads_v4/proto/services/media_file_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2 +from google.ads.google_ads.v4.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/media_file_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/media_file_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025MediaFileServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/services/media_file_service.proto\x12 google.ads.googleads.v1.services\x1a\x38google/ads/googleads_v1/proto/resources/media_file.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\",\n\x13GetMediaFileRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa8\x01\n\x17MutateMediaFilesRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12H\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v1.services.MediaFileOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"a\n\x12MediaFileOperation\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v1.resources.MediaFileH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateMediaFilesResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.MutateMediaFileResult\".\n\x15MutateMediaFileResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x86\x03\n\x10MediaFileService\x12\xa9\x01\n\x0cGetMediaFile\x12\x35.google.ads.googleads.v1.services.GetMediaFileRequest\x1a,.google.ads.googleads.v1.resources.MediaFile\"4\x82\xd3\xe4\x93\x02.\x12,/v1/{resource_name=customers/*/mediaFiles/*}\x12\xc5\x01\n\x10MutateMediaFiles\x12\x39.google.ads.googleads.v1.services.MutateMediaFilesRequest\x1a:.google.ads.googleads.v1.services.MutateMediaFilesResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/customers/{customer_id=*}/mediaFiles:mutate:\x01*B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15MediaFileServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025MediaFileServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/services/media_file_service.proto\x12 google.ads.googleads.v4.services\x1a\x38google/ads/googleads_v4/proto/resources/media_file.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"X\n\x13GetMediaFileRequest\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"googleads.googleapis.com/MediaFile\"\xb2\x01\n\x17MutateMediaFilesRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v4.services.MediaFileOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"a\n\x12MediaFileOperation\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v4.resources.MediaFileH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateMediaFilesResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.MutateMediaFileResult\".\n\x15MutateMediaFileResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcc\x03\n\x10MediaFileService\x12\xb9\x01\n\x0cGetMediaFile\x12\x35.google.ads.googleads.v4.services.GetMediaFileRequest\x1a,.google.ads.googleads.v4.resources.MediaFile\"D\x82\xd3\xe4\x93\x02.\x12,/v4/{resource_name=customers/*/mediaFiles/*}\xda\x41\rresource_name\x12\xde\x01\n\x10MutateMediaFiles\x12\x39.google.ads.googleads.v4.services.MutateMediaFilesRequest\x1a:.google.ads.googleads.v4.services.MutateMediaFilesResponse\"S\x82\xd3\xe4\x93\x02\x34\"//v4/customers/{customer_id=*}/mediaFiles:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15MediaFileServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETMEDIAFILEREQUEST = _descriptor.Descriptor( name='GetMediaFileRequest', - full_name='google.ads.googleads.v1.services.GetMediaFileRequest', + full_name='google.ads.googleads.v4.services.GetMediaFileRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetMediaFileRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetMediaFileRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A$\n\"googleads.googleapis.com/MediaFile'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=246, - serialized_end=290, + serialized_start=299, + serialized_end=387, ) _MUTATEMEDIAFILESREQUEST = _descriptor.Descriptor( name='MutateMediaFilesRequest', - full_name='google.ads.googleads.v1.services.MutateMediaFilesRequest', + full_name='google.ads.googleads.v4.services.MutateMediaFilesRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateMediaFilesRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateMediaFilesRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateMediaFilesRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateMediaFilesRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateMediaFilesRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateMediaFilesRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateMediaFilesRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateMediaFilesRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,20 +111,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=293, - serialized_end=461, + serialized_start=390, + serialized_end=568, ) _MEDIAFILEOPERATION = _descriptor.Descriptor( name='MediaFileOperation', - full_name='google.ads.googleads.v1.services.MediaFileOperation', + full_name='google.ads.googleads.v4.services.MediaFileOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.MediaFileOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.MediaFileOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -140,30 +142,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MediaFileOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.MediaFileOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=463, - serialized_end=560, + serialized_start=570, + serialized_end=667, ) _MUTATEMEDIAFILESRESPONSE = _descriptor.Descriptor( name='MutateMediaFilesResponse', - full_name='google.ads.googleads.v1.services.MutateMediaFilesResponse', + full_name='google.ads.googleads.v4.services.MutateMediaFilesResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateMediaFilesResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateMediaFilesResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateMediaFilesResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateMediaFilesResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -181,20 +183,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=563, - serialized_end=714, + serialized_start=670, + serialized_end=821, ) _MUTATEMEDIAFILERESULT = _descriptor.Descriptor( name='MutateMediaFileResult', - full_name='google.ads.googleads.v1.services.MutateMediaFileResult', + full_name='google.ads.googleads.v4.services.MutateMediaFileResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateMediaFileResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateMediaFileResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -212,12 +214,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=716, - serialized_end=762, + serialized_start=823, + serialized_end=869, ) _MUTATEMEDIAFILESREQUEST.fields_by_name['operations'].message_type = _MEDIAFILEOPERATION -_MEDIAFILEOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE +_MEDIAFILEOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE _MEDIAFILEOPERATION.oneofs_by_name['operation'].fields.append( _MEDIAFILEOPERATION.fields_by_name['create']) _MEDIAFILEOPERATION.fields_by_name['create'].containing_oneof = _MEDIAFILEOPERATION.oneofs_by_name['operation'] @@ -232,33 +234,35 @@ GetMediaFileRequest = _reflection.GeneratedProtocolMessageType('GetMediaFileRequest', (_message.Message,), dict( DESCRIPTOR = _GETMEDIAFILEREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.media_file_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.media_file_service_pb2' , __doc__ = """Request message for - [MediaFileService.GetMediaFile][google.ads.googleads.v1.services.MediaFileService.GetMediaFile] + [MediaFileService.GetMediaFile][google.ads.googleads.v4.services.MediaFileService.GetMediaFile] Attributes: resource_name: - The resource name of the media file to fetch. + Required. The resource name of the media file to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetMediaFileRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetMediaFileRequest) )) _sym_db.RegisterMessage(GetMediaFileRequest) MutateMediaFilesRequest = _reflection.GeneratedProtocolMessageType('MutateMediaFilesRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEMEDIAFILESREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.media_file_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.media_file_service_pb2' , __doc__ = """Request message for - [MediaFileService.MutateMediaFiles][google.ads.googleads.v1.services.MediaFileService.MutateMediaFiles] + [MediaFileService.MutateMediaFiles][google.ads.googleads.v4.services.MediaFileService.MutateMediaFiles] Attributes: customer_id: - The ID of the customer whose media files are being modified. + Required. The ID of the customer whose media files are being + modified. operations: - The list of operations to perform on individual media file. + Required. The list of operations to perform on individual + media file. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -268,13 +272,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMediaFilesRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMediaFilesRequest) )) _sym_db.RegisterMessage(MutateMediaFilesRequest) MediaFileOperation = _reflection.GeneratedProtocolMessageType('MediaFileOperation', (_message.Message,), dict( DESCRIPTOR = _MEDIAFILEOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.media_file_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.media_file_service_pb2' , __doc__ = """A single operation to create media file. @@ -286,13 +290,13 @@ Create operation: No resource name is expected for the new media file. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MediaFileOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MediaFileOperation) )) _sym_db.RegisterMessage(MediaFileOperation) MutateMediaFilesResponse = _reflection.GeneratedProtocolMessageType('MutateMediaFilesResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEMEDIAFILESRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.media_file_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.media_file_service_pb2' , __doc__ = """Response message for a media file mutate. @@ -307,13 +311,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMediaFilesResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMediaFilesResponse) )) _sym_db.RegisterMessage(MutateMediaFilesResponse) MutateMediaFileResult = _reflection.GeneratedProtocolMessageType('MutateMediaFileResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEMEDIAFILERESULT, - __module__ = 'google.ads.googleads_v1.proto.services.media_file_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.media_file_service_pb2' , __doc__ = """The result for the media file mutate. @@ -322,39 +326,42 @@ resource_name: The resource name returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMediaFileResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMediaFileResult) )) _sym_db.RegisterMessage(MutateMediaFileResult) DESCRIPTOR._options = None +_GETMEDIAFILEREQUEST.fields_by_name['resource_name']._options = None +_MUTATEMEDIAFILESREQUEST.fields_by_name['customer_id']._options = None +_MUTATEMEDIAFILESREQUEST.fields_by_name['operations']._options = None _MEDIAFILESERVICE = _descriptor.ServiceDescriptor( name='MediaFileService', - full_name='google.ads.googleads.v1.services.MediaFileService', + full_name='google.ads.googleads.v4.services.MediaFileService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=765, - serialized_end=1155, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=872, + serialized_end=1332, methods=[ _descriptor.MethodDescriptor( name='GetMediaFile', - full_name='google.ads.googleads.v1.services.MediaFileService.GetMediaFile', + full_name='google.ads.googleads.v4.services.MediaFileService.GetMediaFile', index=0, containing_service=None, input_type=_GETMEDIAFILEREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE, - serialized_options=_b('\202\323\344\223\002.\022,/v1/{resource_name=customers/*/mediaFiles/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2._MEDIAFILE, + serialized_options=_b('\202\323\344\223\002.\022,/v4/{resource_name=customers/*/mediaFiles/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateMediaFiles', - full_name='google.ads.googleads.v1.services.MediaFileService.MutateMediaFiles', + full_name='google.ads.googleads.v4.services.MediaFileService.MutateMediaFiles', index=1, containing_service=None, input_type=_MUTATEMEDIAFILESREQUEST, output_type=_MUTATEMEDIAFILESRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v1/customers/{customer_id=*}/mediaFiles:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0024\"//v4/customers/{customer_id=*}/mediaFiles:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_MEDIAFILESERVICE) diff --git a/google/ads/google_ads/v1/proto/services/media_file_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/media_file_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/media_file_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/media_file_service_pb2_grpc.py index 593a27f3c..ab5205933 100644 --- a/google/ads/google_ads/v1/proto/services/media_file_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/media_file_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2 -from google.ads.google_ads.v1.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2 +from google.ads.google_ads.v4.proto.resources import media_file_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2 +from google.ads.google_ads.v4.proto.services import media_file_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2 class MediaFileServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetMediaFile = channel.unary_unary( - '/google.ads.googleads.v1.services.MediaFileService/GetMediaFile', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2.MediaFile.FromString, + '/google.ads.googleads.v4.services.MediaFileService/GetMediaFile', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2.MediaFile.FromString, ) self.MutateMediaFiles = channel.unary_unary( - '/google.ads.googleads.v1.services.MediaFileService/MutateMediaFiles', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.FromString, + '/google.ads.googleads.v4.services.MediaFileService/MutateMediaFiles', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.FromString, ) @@ -54,15 +54,15 @@ def add_MediaFileServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetMediaFile': grpc.unary_unary_rpc_method_handler( servicer.GetMediaFile, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_media__file__pb2.MediaFile.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.GetMediaFileRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_media__file__pb2.MediaFile.SerializeToString, ), 'MutateMediaFiles': grpc.unary_unary_rpc_method_handler( servicer.MutateMediaFiles, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_media__file__service__pb2.MutateMediaFilesResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.MediaFileService', rpc_method_handlers) + 'google.ads.googleads.v4.services.MediaFileService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2.py b/google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2.py similarity index 62% rename from google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2.py rename to google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2.py index 965c93faf..c31125c7d 100644 --- a/google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/merchant_center_link_service.proto +# source: google/ads/googleads_v4/proto/services/merchant_center_link_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,37 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2 +from google.ads.google_ads.v4.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/merchant_center_link_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/merchant_center_link_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\036MerchantCenterLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nIgoogle/ads/googleads_v1/proto/services/merchant_center_link_service.proto\x12 google.ads.googleads.v1.services\x1a\x42google/ads/googleads_v1/proto/resources/merchant_center_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"5\n\x1eListMerchantCenterLinksRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\"w\n\x1fListMerchantCenterLinksResponse\x12T\n\x15merchant_center_links\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v1.resources.MerchantCenterLink\"5\n\x1cGetMerchantCenterLinkRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x88\x01\n\x1fMutateMerchantCenterLinkRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\toperation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v1.services.MerchantCenterLinkOperation\"\xb6\x01\n\x1bMerchantCenterLinkOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06update\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v1.resources.MerchantCenterLinkH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"t\n MutateMerchantCenterLinkResponse\x12P\n\x06result\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v1.services.MutateMerchantCenterLinkResult\"7\n\x1eMutateMerchantCenterLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb0\x05\n\x19MerchantCenterLinkService\x12\xd9\x01\n\x17ListMerchantCenterLinks\x12@.google.ads.googleads.v1.services.ListMerchantCenterLinksRequest\x1a\x41.google.ads.googleads.v1.services.ListMerchantCenterLinksResponse\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/customers/{customer_id=*}/merchantCenterLinks\x12\xcd\x01\n\x15GetMerchantCenterLink\x12>.google.ads.googleads.v1.services.GetMerchantCenterLinkRequest\x1a\x35.google.ads.googleads.v1.resources.MerchantCenterLink\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{resource_name=customers/*/merchantCenterLinks/*}\x12\xe6\x01\n\x18MutateMerchantCenterLink\x12\x41.google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest\x1a\x42.google.ads.googleads.v1.services.MutateMerchantCenterLinkResponse\"C\x82\xd3\xe4\x93\x02=\"8/v1/customers/{customer_id=*}/merchantCenterLinks:mutate:\x01*B\x85\x02\n$com.google.ads.googleads.v1.servicesB\x1eMerchantCenterLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036MerchantCenterLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nIgoogle/ads/googleads_v4/proto/services/merchant_center_link_service.proto\x12 google.ads.googleads.v4.services\x1a\x42google/ads/googleads_v4/proto/resources/merchant_center_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\":\n\x1eListMerchantCenterLinksRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"w\n\x1fListMerchantCenterLinksResponse\x12T\n\x15merchant_center_links\x18\x01 \x03(\x0b\x32\x35.google.ads.googleads.v4.resources.MerchantCenterLink\"j\n\x1cGetMerchantCenterLinkRequest\x12J\n\rresource_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+googleads.googleapis.com/MerchantCenterLink\"\x92\x01\n\x1fMutateMerchantCenterLinkRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\toperation\x18\x02 \x01(\x0b\x32=.google.ads.googleads.v4.services.MerchantCenterLinkOperationB\x03\xe0\x41\x02\"\xb6\x01\n\x1bMerchantCenterLinkOperation\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12G\n\x06update\x18\x01 \x01(\x0b\x32\x35.google.ads.googleads.v4.resources.MerchantCenterLinkH\x00\x12\x10\n\x06remove\x18\x02 \x01(\tH\x00\x42\x0b\n\toperation\"t\n MutateMerchantCenterLinkResponse\x12P\n\x06result\x18\x02 \x01(\x0b\x32@.google.ads.googleads.v4.services.MutateMerchantCenterLinkResult\"7\n\x1eMutateMerchantCenterLinkResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x83\x06\n\x19MerchantCenterLinkService\x12\xe7\x01\n\x17ListMerchantCenterLinks\x12@.google.ads.googleads.v4.services.ListMerchantCenterLinksRequest\x1a\x41.google.ads.googleads.v4.services.ListMerchantCenterLinksResponse\"G\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/customers/{customer_id=*}/merchantCenterLinks\xda\x41\x0b\x63ustomer_id\x12\xdd\x01\n\x15GetMerchantCenterLink\x12>.google.ads.googleads.v4.services.GetMerchantCenterLinkRequest\x1a\x35.google.ads.googleads.v4.resources.MerchantCenterLink\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/merchantCenterLinks/*}\xda\x41\rresource_name\x12\xfe\x01\n\x18MutateMerchantCenterLink\x12\x41.google.ads.googleads.v4.services.MutateMerchantCenterLinkRequest\x1a\x42.google.ads.googleads.v4.services.MutateMerchantCenterLinkResponse\"[\x82\xd3\xe4\x93\x02=\"8/v4/customers/{customer_id=*}/merchantCenterLinks:mutate:\x01*\xda\x41\x15\x63ustomer_id,operation\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1eMerchantCenterLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,]) _LISTMERCHANTCENTERLINKSREQUEST = _descriptor.Descriptor( name='ListMerchantCenterLinksRequest', - full_name='google.ads.googleads.v1.services.ListMerchantCenterLinksRequest', + full_name='google.ads.googleads.v4.services.ListMerchantCenterLinksRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.ListMerchantCenterLinksRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.ListMerchantCenterLinksRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -56,20 +59,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=243, - serialized_end=296, + serialized_start=328, + serialized_end=386, ) _LISTMERCHANTCENTERLINKSRESPONSE = _descriptor.Descriptor( name='ListMerchantCenterLinksResponse', - full_name='google.ads.googleads.v1.services.ListMerchantCenterLinksResponse', + full_name='google.ads.googleads.v4.services.ListMerchantCenterLinksResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='merchant_center_links', full_name='google.ads.googleads.v1.services.ListMerchantCenterLinksResponse.merchant_center_links', index=0, + name='merchant_center_links', full_name='google.ads.googleads.v4.services.ListMerchantCenterLinksResponse.merchant_center_links', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -87,25 +90,25 @@ extension_ranges=[], oneofs=[ ], - serialized_start=298, - serialized_end=417, + serialized_start=388, + serialized_end=507, ) _GETMERCHANTCENTERLINKREQUEST = _descriptor.Descriptor( name='GetMerchantCenterLinkRequest', - full_name='google.ads.googleads.v1.services.GetMerchantCenterLinkRequest', + full_name='google.ads.googleads.v4.services.GetMerchantCenterLinkRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetMerchantCenterLinkRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetMerchantCenterLinkRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/MerchantCenterLink'), file=DESCRIPTOR), ], extensions=[ ], @@ -118,32 +121,32 @@ extension_ranges=[], oneofs=[ ], - serialized_start=419, - serialized_end=472, + serialized_start=509, + serialized_end=615, ) _MUTATEMERCHANTCENTERLINKREQUEST = _descriptor.Descriptor( name='MutateMerchantCenterLinkRequest', - full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest', + full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest.operation', index=1, + name='operation', full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkRequest.operation', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -156,34 +159,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=475, - serialized_end=611, + serialized_start=618, + serialized_end=764, ) _MERCHANTCENTERLINKOPERATION = _descriptor.Descriptor( name='MerchantCenterLinkOperation', - full_name='google.ads.googleads.v1.services.MerchantCenterLinkOperation', + full_name='google.ads.googleads.v4.services.MerchantCenterLinkOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.MerchantCenterLinkOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.MerchantCenterLinkOperation.update_mask', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.MerchantCenterLinkOperation.update', index=1, + name='update', full_name='google.ads.googleads.v4.services.MerchantCenterLinkOperation.update', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.MerchantCenterLinkOperation.remove', index=2, + name='remove', full_name='google.ads.googleads.v4.services.MerchantCenterLinkOperation.remove', index=2, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -201,23 +204,23 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.MerchantCenterLinkOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.MerchantCenterLinkOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=614, - serialized_end=796, + serialized_start=767, + serialized_end=949, ) _MUTATEMERCHANTCENTERLINKRESPONSE = _descriptor.Descriptor( name='MutateMerchantCenterLinkResponse', - full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkResponse', + full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='result', full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkResponse.result', index=0, + name='result', full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkResponse.result', index=0, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -235,20 +238,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=798, - serialized_end=914, + serialized_start=951, + serialized_end=1067, ) _MUTATEMERCHANTCENTERLINKRESULT = _descriptor.Descriptor( name='MutateMerchantCenterLinkResult', - full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkResult', + full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateMerchantCenterLinkResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateMerchantCenterLinkResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -266,14 +269,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=916, - serialized_end=971, + serialized_start=1069, + serialized_end=1124, ) -_LISTMERCHANTCENTERLINKSRESPONSE.fields_by_name['merchant_center_links'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK +_LISTMERCHANTCENTERLINKSRESPONSE.fields_by_name['merchant_center_links'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK _MUTATEMERCHANTCENTERLINKREQUEST.fields_by_name['operation'].message_type = _MERCHANTCENTERLINKOPERATION _MERCHANTCENTERLINKOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_MERCHANTCENTERLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK +_MERCHANTCENTERLINKOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK _MERCHANTCENTERLINKOPERATION.oneofs_by_name['operation'].fields.append( _MERCHANTCENTERLINKOPERATION.fields_by_name['update']) _MERCHANTCENTERLINKOPERATION.fields_by_name['update'].containing_oneof = _MERCHANTCENTERLINKOPERATION.oneofs_by_name['operation'] @@ -292,74 +295,74 @@ ListMerchantCenterLinksRequest = _reflection.GeneratedProtocolMessageType('ListMerchantCenterLinksRequest', (_message.Message,), dict( DESCRIPTOR = _LISTMERCHANTCENTERLINKSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """Request message for - [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v1.services.MerchantCenterLinkService.ListMerchantCenterLinks]. + [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v4.services.MerchantCenterLinkService.ListMerchantCenterLinks]. Attributes: customer_id: - The ID of the customer onto which to apply the Merchant Center - link list operation. + Required. The ID of the customer onto which to apply the + Merchant Center link list operation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListMerchantCenterLinksRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListMerchantCenterLinksRequest) )) _sym_db.RegisterMessage(ListMerchantCenterLinksRequest) ListMerchantCenterLinksResponse = _reflection.GeneratedProtocolMessageType('ListMerchantCenterLinksResponse', (_message.Message,), dict( DESCRIPTOR = _LISTMERCHANTCENTERLINKSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """Response message for - [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v1.services.MerchantCenterLinkService.ListMerchantCenterLinks]. + [MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v4.services.MerchantCenterLinkService.ListMerchantCenterLinks]. Attributes: merchant_center_links: Merchant Center links available for the requested customer """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListMerchantCenterLinksResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListMerchantCenterLinksResponse) )) _sym_db.RegisterMessage(ListMerchantCenterLinksResponse) GetMerchantCenterLinkRequest = _reflection.GeneratedProtocolMessageType('GetMerchantCenterLinkRequest', (_message.Message,), dict( DESCRIPTOR = _GETMERCHANTCENTERLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """Request message for - [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v1.services.MerchantCenterLinkService.GetMerchantCenterLink]. + [MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v4.services.MerchantCenterLinkService.GetMerchantCenterLink]. Attributes: resource_name: - Resource name of the Merchant Center link. + Required. Resource name of the Merchant Center link. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetMerchantCenterLinkRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetMerchantCenterLinkRequest) )) _sym_db.RegisterMessage(GetMerchantCenterLinkRequest) MutateMerchantCenterLinkRequest = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEMERCHANTCENTERLINKREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """Request message for - [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v1.services.MerchantCenterLinkService.MutateMerchantCenterLink]. + [MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v4.services.MerchantCenterLinkService.MutateMerchantCenterLink]. Attributes: customer_id: - The ID of the customer being modified. + Required. The ID of the customer being modified. operation: - The operation to perform on the link + Required. The operation to perform on the link """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMerchantCenterLinkRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMerchantCenterLinkRequest) )) _sym_db.RegisterMessage(MutateMerchantCenterLinkRequest) MerchantCenterLinkOperation = _reflection.GeneratedProtocolMessageType('MerchantCenterLinkOperation', (_message.Message,), dict( DESCRIPTOR = _MERCHANTCENTERLINKOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """A single update on a Merchant Center link. @@ -378,13 +381,13 @@ center link is expected, in this format: ``customers/{custome r_id}/merchantCenterLinks/{merchant_center_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MerchantCenterLinkOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MerchantCenterLinkOperation) )) _sym_db.RegisterMessage(MerchantCenterLinkOperation) MutateMerchantCenterLinkResponse = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEMERCHANTCENTERLINKRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """Response message for Merchant Center link mutate. @@ -393,13 +396,13 @@ result: Result for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMerchantCenterLinkResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMerchantCenterLinkResponse) )) _sym_db.RegisterMessage(MutateMerchantCenterLinkResponse) MutateMerchantCenterLinkResult = _reflection.GeneratedProtocolMessageType('MutateMerchantCenterLinkResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEMERCHANTCENTERLINKRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.merchant_center_link_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.merchant_center_link_service_pb2' , __doc__ = """The result for the Merchant Center link mutate. @@ -408,48 +411,52 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateMerchantCenterLinkResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateMerchantCenterLinkResult) )) _sym_db.RegisterMessage(MutateMerchantCenterLinkResult) DESCRIPTOR._options = None +_LISTMERCHANTCENTERLINKSREQUEST.fields_by_name['customer_id']._options = None +_GETMERCHANTCENTERLINKREQUEST.fields_by_name['resource_name']._options = None +_MUTATEMERCHANTCENTERLINKREQUEST.fields_by_name['customer_id']._options = None +_MUTATEMERCHANTCENTERLINKREQUEST.fields_by_name['operation']._options = None _MERCHANTCENTERLINKSERVICE = _descriptor.ServiceDescriptor( name='MerchantCenterLinkService', - full_name='google.ads.googleads.v1.services.MerchantCenterLinkService', + full_name='google.ads.googleads.v4.services.MerchantCenterLinkService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=974, - serialized_end=1662, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1127, + serialized_end=1898, methods=[ _descriptor.MethodDescriptor( name='ListMerchantCenterLinks', - full_name='google.ads.googleads.v1.services.MerchantCenterLinkService.ListMerchantCenterLinks', + full_name='google.ads.googleads.v4.services.MerchantCenterLinkService.ListMerchantCenterLinks', index=0, containing_service=None, input_type=_LISTMERCHANTCENTERLINKSREQUEST, output_type=_LISTMERCHANTCENTERLINKSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\0221/v1/customers/{customer_id=*}/merchantCenterLinks'), + serialized_options=_b('\202\323\344\223\0023\0221/v4/customers/{customer_id=*}/merchantCenterLinks\332A\013customer_id'), ), _descriptor.MethodDescriptor( name='GetMerchantCenterLink', - full_name='google.ads.googleads.v1.services.MerchantCenterLinkService.GetMerchantCenterLink', + full_name='google.ads.googleads.v4.services.MerchantCenterLinkService.GetMerchantCenterLink', index=1, containing_service=None, input_type=_GETMERCHANTCENTERLINKREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK, - serialized_options=_b('\202\323\344\223\0027\0225/v1/{resource_name=customers/*/merchantCenterLinks/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2._MERCHANTCENTERLINK, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/merchantCenterLinks/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateMerchantCenterLink', - full_name='google.ads.googleads.v1.services.MerchantCenterLinkService.MutateMerchantCenterLink', + full_name='google.ads.googleads.v4.services.MerchantCenterLinkService.MutateMerchantCenterLink', index=2, containing_service=None, input_type=_MUTATEMERCHANTCENTERLINKREQUEST, output_type=_MUTATEMERCHANTCENTERLINKRESPONSE, - serialized_options=_b('\202\323\344\223\002=\"8/v1/customers/{customer_id=*}/merchantCenterLinks:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/merchantCenterLinks:mutate:\001*\332A\025customer_id,operation'), ), ]) _sym_db.RegisterServiceDescriptor(_MERCHANTCENTERLINKSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2_grpc.py index fb0ddb7c7..6f910ab9d 100644 --- a/google/ads/google_ads/v1/proto/services/merchant_center_link_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/merchant_center_link_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2 -from google.ads.google_ads.v1.proto.services import merchant_center_link_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2 +from google.ads.google_ads.v4.proto.resources import merchant_center_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2 +from google.ads.google_ads.v4.proto.services import merchant_center_link_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2 class MerchantCenterLinkServiceStub(object): @@ -19,19 +19,19 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListMerchantCenterLinks = channel.unary_unary( - '/google.ads.googleads.v1.services.MerchantCenterLinkService/ListMerchantCenterLinks', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksResponse.FromString, + '/google.ads.googleads.v4.services.MerchantCenterLinkService/ListMerchantCenterLinks', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksResponse.FromString, ) self.GetMerchantCenterLink = channel.unary_unary( - '/google.ads.googleads.v1.services.MerchantCenterLinkService/GetMerchantCenterLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2.MerchantCenterLink.FromString, + '/google.ads.googleads.v4.services.MerchantCenterLinkService/GetMerchantCenterLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2.MerchantCenterLink.FromString, ) self.MutateMerchantCenterLink = channel.unary_unary( - '/google.ads.googleads.v1.services.MerchantCenterLinkService/MutateMerchantCenterLink', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.FromString, + '/google.ads.googleads.v4.services.MerchantCenterLinkService/MutateMerchantCenterLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.FromString, ) @@ -43,7 +43,7 @@ class MerchantCenterLinkServiceServicer(object): """ def ListMerchantCenterLinks(self, request, context): - """Returns Merchant Center links available tor this customer. + """Returns Merchant Center links available for this customer. """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -68,20 +68,20 @@ def add_MerchantCenterLinkServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'ListMerchantCenterLinks': grpc.unary_unary_rpc_method_handler( servicer.ListMerchantCenterLinks, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.ListMerchantCenterLinksResponse.SerializeToString, ), 'GetMerchantCenterLink': grpc.unary_unary_rpc_method_handler( servicer.GetMerchantCenterLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_merchant__center__link__pb2.MerchantCenterLink.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.GetMerchantCenterLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_merchant__center__link__pb2.MerchantCenterLink.SerializeToString, ), 'MutateMerchantCenterLink': grpc.unary_unary_rpc_method_handler( servicer.MutateMerchantCenterLink, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_merchant__center__link__service__pb2.MutateMerchantCenterLinkResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.MerchantCenterLinkService', rpc_method_handlers) + 'google.ads.googleads.v4.services.MerchantCenterLinkService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2.py new file mode 100644 index 000000000..63e359eef --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/mobile_app_category_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/mobile_app_category_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB%MobileAppCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nQgoogle/ads/googleads_v4/proto/services/mobile_app_category_constant_service.proto\x12 google.ads.googleads.v4.services\x1aJgoogle/ads/googleads_v4/proto/resources/mobile_app_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"x\n#GetMobileAppCategoryConstantRequest\x12Q\n\rresource_name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2googleads.googleapis.com/MobileAppCategoryConstant2\xaf\x02\n MobileAppCategoryConstantService\x12\xed\x01\n\x1cGetMobileAppCategoryConstant\x12\x45.google.ads.googleads.v4.services.GetMobileAppCategoryConstantRequest\x1a<.google.ads.googleads.v4.resources.MobileAppCategoryConstant\"H\x82\xd3\xe4\x93\x02\x32\x12\x30/v4/{resource_name=mobileAppCategoryConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8c\x02\n$com.google.ads.googleads.v4.servicesB%MobileAppCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETMOBILEAPPCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( + name='GetMobileAppCategoryConstantRequest', + full_name='google.ads.googleads.v4.services.GetMobileAppCategoryConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetMobileAppCategoryConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A4\n2googleads.googleapis.com/MobileAppCategoryConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=310, + serialized_end=430, +) + +DESCRIPTOR.message_types_by_name['GetMobileAppCategoryConstantRequest'] = _GETMOBILEAPPCATEGORYCONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetMobileAppCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileAppCategoryConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETMOBILEAPPCATEGORYCONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.mobile_app_category_constant_service_pb2' + , + __doc__ = """Request message for + [MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v4.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant]. + + + Attributes: + resource_name: + Required. Resource name of the mobile app category constant to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetMobileAppCategoryConstantRequest) + )) +_sym_db.RegisterMessage(GetMobileAppCategoryConstantRequest) + + +DESCRIPTOR._options = None +_GETMOBILEAPPCATEGORYCONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_MOBILEAPPCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='MobileAppCategoryConstantService', + full_name='google.ads.googleads.v4.services.MobileAppCategoryConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=433, + serialized_end=736, + methods=[ + _descriptor.MethodDescriptor( + name='GetMobileAppCategoryConstant', + full_name='google.ads.googleads.v4.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant', + index=0, + containing_service=None, + input_type=_GETMOBILEAPPCATEGORYCONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2._MOBILEAPPCATEGORYCONSTANT, + serialized_options=_b('\202\323\344\223\0022\0220/v4/{resource_name=mobileAppCategoryConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_MOBILEAPPCATEGORYCONSTANTSERVICE) + +DESCRIPTOR.services_by_name['MobileAppCategoryConstantService'] = _MOBILEAPPCATEGORYCONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2_grpc.py index aea44605d..f33187116 100644 --- a/google/ads/google_ads/v1/proto/services/mobile_app_category_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/mobile_app_category_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 -from google.ads.google_ads.v1.proto.services import mobile_app_category_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import mobile_app_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2 +from google.ads.google_ads.v4.proto.services import mobile_app_category_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2 class MobileAppCategoryConstantServiceStub(object): @@ -16,9 +16,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetMobileAppCategoryConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.FromString, + '/google.ads.googleads.v4.services.MobileAppCategoryConstantService/GetMobileAppCategoryConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.FromString, ) @@ -38,10 +38,10 @@ def add_MobileAppCategoryConstantServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetMobileAppCategoryConstant': grpc.unary_unary_rpc_method_handler( servicer.GetMobileAppCategoryConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__app__category__constant__service__pb2.GetMobileAppCategoryConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__app__category__constant__pb2.MobileAppCategoryConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.MobileAppCategoryConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.MobileAppCategoryConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2.py new file mode 100644 index 000000000..77fc0e704 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/mobile_device_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/mobile_device_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB MobileDeviceConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nKgoogle/ads/googleads_v4/proto/services/mobile_device_constant_service.proto\x12 google.ads.googleads.v4.services\x1a\x44google/ads/googleads_v4/proto/resources/mobile_device_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"n\n\x1eGetMobileDeviceConstantRequest\x12L\n\rresource_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-googleads.googleapis.com/MobileDeviceConstant2\x96\x02\n\x1bMobileDeviceConstantService\x12\xd9\x01\n\x17GetMobileDeviceConstant\x12@.google.ads.googleads.v4.services.GetMobileDeviceConstantRequest\x1a\x37.google.ads.googleads.v4.resources.MobileDeviceConstant\"C\x82\xd3\xe4\x93\x02-\x12+/v4/{resource_name=mobileDeviceConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x87\x02\n$com.google.ads.googleads.v4.servicesB MobileDeviceConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETMOBILEDEVICECONSTANTREQUEST = _descriptor.Descriptor( + name='GetMobileDeviceConstantRequest', + full_name='google.ads.googleads.v4.services.GetMobileDeviceConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetMobileDeviceConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A/\n-googleads.googleapis.com/MobileDeviceConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=298, + serialized_end=408, +) + +DESCRIPTOR.message_types_by_name['GetMobileDeviceConstantRequest'] = _GETMOBILEDEVICECONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetMobileDeviceConstantRequest = _reflection.GeneratedProtocolMessageType('GetMobileDeviceConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETMOBILEDEVICECONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.mobile_device_constant_service_pb2' + , + __doc__ = """Request message for + [MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v4.services.MobileDeviceConstantService.GetMobileDeviceConstant]. + + + Attributes: + resource_name: + Required. Resource name of the mobile device to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetMobileDeviceConstantRequest) + )) +_sym_db.RegisterMessage(GetMobileDeviceConstantRequest) + + +DESCRIPTOR._options = None +_GETMOBILEDEVICECONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_MOBILEDEVICECONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='MobileDeviceConstantService', + full_name='google.ads.googleads.v4.services.MobileDeviceConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=411, + serialized_end=689, + methods=[ + _descriptor.MethodDescriptor( + name='GetMobileDeviceConstant', + full_name='google.ads.googleads.v4.services.MobileDeviceConstantService.GetMobileDeviceConstant', + index=0, + containing_service=None, + input_type=_GETMOBILEDEVICECONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2._MOBILEDEVICECONSTANT, + serialized_options=_b('\202\323\344\223\002-\022+/v4/{resource_name=mobileDeviceConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_MOBILEDEVICECONSTANTSERVICE) + +DESCRIPTOR.services_by_name['MobileDeviceConstantService'] = _MOBILEDEVICECONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2_grpc.py index 91fe951f7..760791eb4 100644 --- a/google/ads/google_ads/v1/proto/services/mobile_device_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/mobile_device_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2 -from google.ads.google_ads.v1.proto.services import mobile_device_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__device__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import mobile_device_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2 +from google.ads.google_ads.v4.proto.services import mobile_device_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__device__constant__service__pb2 class MobileDeviceConstantServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetMobileDeviceConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.MobileDeviceConstantService/GetMobileDeviceConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.FromString, + '/google.ads.googleads.v4.services.MobileDeviceConstantService/GetMobileDeviceConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.FromString, ) @@ -42,10 +42,10 @@ def add_MobileDeviceConstantServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetMobileDeviceConstant': grpc.unary_unary_rpc_method_handler( servicer.GetMobileDeviceConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_mobile__device__constant__service__pb2.GetMobileDeviceConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_mobile__device__constant__pb2.MobileDeviceConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.MobileDeviceConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.MobileDeviceConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2.py b/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2.py new file mode 100644 index 000000000..f07f92411 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2.py @@ -0,0 +1,508 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/offline_user_data_job_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import offline_user_data_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2 +from google.ads.google_ads.v4.proto.resources import offline_user_data_job_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/offline_user_data_job_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\036OfflineUserDataJobServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nJgoogle/ads/googleads_v4/proto/services/offline_user_data_job_service.proto\x12 google.ads.googleads.v4.services\x1a.google.ads.googleads.v4.services.GetOfflineUserDataJobRequest\x1a\x35.google.ads.googleads.v4.resources.OfflineUserDataJob\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/offlineUserDataJobs/*}\xda\x41\rresource_name\x12\xa1\x02\n\x1f\x41\x64\x64OfflineUserDataJobOperations\x12H.google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest\x1aI.google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsResponse\"i\x82\xd3\xe4\x93\x02H\"C/v4/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations:\x01*\xda\x41\x18resource_name,operations\x12\xfe\x01\n\x15RunOfflineUserDataJob\x12>.google.ads.googleads.v4.services.RunOfflineUserDataJobRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02>\"9/v4/{resource_name=customers/*/offlineUserDataJobs/*}:run:\x01*\xda\x41\rresource_name\xca\x41.\n\x15google.protobuf.Empty\x12\x15google.protobuf.Empty\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1eOfflineUserDataJobServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + + + + +_CREATEOFFLINEUSERDATAJOBREQUEST = _descriptor.Descriptor( + name='CreateOfflineUserDataJobRequest', + full_name='google.ads.googleads.v4.services.CreateOfflineUserDataJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.CreateOfflineUserDataJobRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='job', full_name='google.ads.googleads.v4.services.CreateOfflineUserDataJobRequest.job', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=453, + serialized_end=585, +) + + +_CREATEOFFLINEUSERDATAJOBRESPONSE = _descriptor.Descriptor( + name='CreateOfflineUserDataJobResponse', + full_name='google.ads.googleads.v4.services.CreateOfflineUserDataJobResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.CreateOfflineUserDataJobResponse.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=587, + serialized_end=644, +) + + +_GETOFFLINEUSERDATAJOBREQUEST = _descriptor.Descriptor( + name='GetOfflineUserDataJobRequest', + full_name='google.ads.googleads.v4.services.GetOfflineUserDataJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetOfflineUserDataJobRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/OfflineUserDataJob'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=646, + serialized_end=752, +) + + +_RUNOFFLINEUSERDATAJOBREQUEST = _descriptor.Descriptor( + name='RunOfflineUserDataJobRequest', + full_name='google.ads.googleads.v4.services.RunOfflineUserDataJobRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.RunOfflineUserDataJobRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/OfflineUserDataJob'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=754, + serialized_end=860, +) + + +_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST = _descriptor.Descriptor( + name='AddOfflineUserDataJobOperationsRequest', + full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/OfflineUserDataJob'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='enable_partial_failure', full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest.enable_partial_failure', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operations', full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest.operations', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=863, + serialized_end=1127, +) + + +_OFFLINEUSERDATAJOBOPERATION = _descriptor.Descriptor( + name='OfflineUserDataJobOperation', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='create', full_name='google.ads.googleads.v4.services.OfflineUserDataJobOperation.create', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remove', full_name='google.ads.googleads.v4.services.OfflineUserDataJobOperation.remove', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remove_all', full_name='google.ads.googleads.v4.services.OfflineUserDataJobOperation.remove_all', index=2, + number=3, type=8, cpp_type=7, label=1, + has_default_value=False, default_value=False, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.OfflineUserDataJobOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=1130, + serialized_end=1314, +) + + +_ADDOFFLINEUSERDATAJOBOPERATIONSRESPONSE = _descriptor.Descriptor( + name='AddOfflineUserDataJobOperationsResponse', + full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='partial_failure_error', full_name='google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsResponse.partial_failure_error', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1316, + serialized_end=1408, +) + +_CREATEOFFLINEUSERDATAJOBREQUEST.fields_by_name['job'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2._OFFLINEUSERDATAJOB +_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST.fields_by_name['enable_partial_failure'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST.fields_by_name['operations'].message_type = _OFFLINEUSERDATAJOBOPERATION +_OFFLINEUSERDATAJOBOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2._USERDATA +_OFFLINEUSERDATAJOBOPERATION.fields_by_name['remove'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2._USERDATA +_OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'].fields.append( + _OFFLINEUSERDATAJOBOPERATION.fields_by_name['create']) +_OFFLINEUSERDATAJOBOPERATION.fields_by_name['create'].containing_oneof = _OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'] +_OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'].fields.append( + _OFFLINEUSERDATAJOBOPERATION.fields_by_name['remove']) +_OFFLINEUSERDATAJOBOPERATION.fields_by_name['remove'].containing_oneof = _OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'] +_OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'].fields.append( + _OFFLINEUSERDATAJOBOPERATION.fields_by_name['remove_all']) +_OFFLINEUSERDATAJOBOPERATION.fields_by_name['remove_all'].containing_oneof = _OFFLINEUSERDATAJOBOPERATION.oneofs_by_name['operation'] +_ADDOFFLINEUSERDATAJOBOPERATIONSRESPONSE.fields_by_name['partial_failure_error'].message_type = google_dot_rpc_dot_status__pb2._STATUS +DESCRIPTOR.message_types_by_name['CreateOfflineUserDataJobRequest'] = _CREATEOFFLINEUSERDATAJOBREQUEST +DESCRIPTOR.message_types_by_name['CreateOfflineUserDataJobResponse'] = _CREATEOFFLINEUSERDATAJOBRESPONSE +DESCRIPTOR.message_types_by_name['GetOfflineUserDataJobRequest'] = _GETOFFLINEUSERDATAJOBREQUEST +DESCRIPTOR.message_types_by_name['RunOfflineUserDataJobRequest'] = _RUNOFFLINEUSERDATAJOBREQUEST +DESCRIPTOR.message_types_by_name['AddOfflineUserDataJobOperationsRequest'] = _ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST +DESCRIPTOR.message_types_by_name['OfflineUserDataJobOperation'] = _OFFLINEUSERDATAJOBOPERATION +DESCRIPTOR.message_types_by_name['AddOfflineUserDataJobOperationsResponse'] = _ADDOFFLINEUSERDATAJOBOPERATIONSRESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +CreateOfflineUserDataJobRequest = _reflection.GeneratedProtocolMessageType('CreateOfflineUserDataJobRequest', (_message.Message,), dict( + DESCRIPTOR = _CREATEOFFLINEUSERDATAJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Request message for + [OfflineUserDataJobService.CreateOfflineUserDataJobRequest][] + + + Attributes: + customer_id: + Required. The ID of the customer for which to create an + offline user data job. + job: + Required. The offline user data job to be created. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateOfflineUserDataJobRequest) + )) +_sym_db.RegisterMessage(CreateOfflineUserDataJobRequest) + +CreateOfflineUserDataJobResponse = _reflection.GeneratedProtocolMessageType('CreateOfflineUserDataJobResponse', (_message.Message,), dict( + DESCRIPTOR = _CREATEOFFLINEUSERDATAJOBRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Response message for + [OfflineUserDataJobService.CreateOfflineUserDataJobResponse][] + + + Attributes: + resource_name: + The resource name of the OfflineUserDataJob. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CreateOfflineUserDataJobResponse) + )) +_sym_db.RegisterMessage(CreateOfflineUserDataJobResponse) + +GetOfflineUserDataJobRequest = _reflection.GeneratedProtocolMessageType('GetOfflineUserDataJobRequest', (_message.Message,), dict( + DESCRIPTOR = _GETOFFLINEUSERDATAJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Request message for + [OfflineUserDataJobService.GetOfflineUserDataJob][google.ads.googleads.v4.services.OfflineUserDataJobService.GetOfflineUserDataJob] + + + Attributes: + resource_name: + Required. The resource name of the OfflineUserDataJob to get. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetOfflineUserDataJobRequest) + )) +_sym_db.RegisterMessage(GetOfflineUserDataJobRequest) + +RunOfflineUserDataJobRequest = _reflection.GeneratedProtocolMessageType('RunOfflineUserDataJobRequest', (_message.Message,), dict( + DESCRIPTOR = _RUNOFFLINEUSERDATAJOBREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Request message for + [OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v4.services.OfflineUserDataJobService.RunOfflineUserDataJob] + + + Attributes: + resource_name: + Required. The resource name of the OfflineUserDataJob to run. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.RunOfflineUserDataJobRequest) + )) +_sym_db.RegisterMessage(RunOfflineUserDataJobRequest) + +AddOfflineUserDataJobOperationsRequest = _reflection.GeneratedProtocolMessageType('AddOfflineUserDataJobOperationsRequest', (_message.Message,), dict( + DESCRIPTOR = _ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Request message for + [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v4.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations] + + + Attributes: + resource_name: + Required. The resource name of the OfflineUserDataJob. + enable_partial_failure: + True to enable partial failure for the offline user data job. + operations: + Required. The list of operations to be done. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsRequest) + )) +_sym_db.RegisterMessage(AddOfflineUserDataJobOperationsRequest) + +OfflineUserDataJobOperation = _reflection.GeneratedProtocolMessageType('OfflineUserDataJobOperation', (_message.Message,), dict( + DESCRIPTOR = _OFFLINEUSERDATAJOBOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Operation to be made for the AddOfflineUserDataJobOperationsRequest. + + + Attributes: + operation: + Operation to be made for the + AddOfflineUserDataJobOperationsRequest. + create: + Add the provided data to the transaction. Data cannot be + retrieved after being uploaded. + remove: + Remove the provided data from the transaction. Data cannot be + retrieved after being uploaded. + remove_all: + Remove all previously provided data. This is only supported + for Customer Match. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.OfflineUserDataJobOperation) + )) +_sym_db.RegisterMessage(OfflineUserDataJobOperation) + +AddOfflineUserDataJobOperationsResponse = _reflection.GeneratedProtocolMessageType('AddOfflineUserDataJobOperationsResponse', (_message.Message,), dict( + DESCRIPTOR = _ADDOFFLINEUSERDATAJOBOPERATIONSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.offline_user_data_job_service_pb2' + , + __doc__ = """Response message for + [OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v4.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations] + + + Attributes: + partial_failure_error: + Errors that pertain to operation failures in the partial + failure mode. Returned only when partial\_failure = true and + all errors occur inside the operations. If any errors occur + outside the operations (e.g. auth errors), we return an RPC + level error. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.AddOfflineUserDataJobOperationsResponse) + )) +_sym_db.RegisterMessage(AddOfflineUserDataJobOperationsResponse) + + +DESCRIPTOR._options = None +_CREATEOFFLINEUSERDATAJOBREQUEST.fields_by_name['customer_id']._options = None +_CREATEOFFLINEUSERDATAJOBREQUEST.fields_by_name['job']._options = None +_GETOFFLINEUSERDATAJOBREQUEST.fields_by_name['resource_name']._options = None +_RUNOFFLINEUSERDATAJOBREQUEST.fields_by_name['resource_name']._options = None +_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST.fields_by_name['resource_name']._options = None +_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST.fields_by_name['operations']._options = None + +_OFFLINEUSERDATAJOBSERVICE = _descriptor.ServiceDescriptor( + name='OfflineUserDataJobService', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1411, + serialized_end=2491, + methods=[ + _descriptor.MethodDescriptor( + name='CreateOfflineUserDataJob', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobService.CreateOfflineUserDataJob', + index=0, + containing_service=None, + input_type=_CREATEOFFLINEUSERDATAJOBREQUEST, + output_type=_CREATEOFFLINEUSERDATAJOBRESPONSE, + serialized_options=_b('\202\323\344\223\002=\"8/v4/customers/{customer_id=*}/offlineUserDataJobs:create:\001*\332A\017customer_id,job'), + ), + _descriptor.MethodDescriptor( + name='GetOfflineUserDataJob', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobService.GetOfflineUserDataJob', + index=1, + containing_service=None, + input_type=_GETOFFLINEUSERDATAJOBREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2._OFFLINEUSERDATAJOB, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/offlineUserDataJobs/*}\332A\rresource_name'), + ), + _descriptor.MethodDescriptor( + name='AddOfflineUserDataJobOperations', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations', + index=2, + containing_service=None, + input_type=_ADDOFFLINEUSERDATAJOBOPERATIONSREQUEST, + output_type=_ADDOFFLINEUSERDATAJOBOPERATIONSRESPONSE, + serialized_options=_b('\202\323\344\223\002H\"C/v4/{resource_name=customers/*/offlineUserDataJobs/*}:addOperations:\001*\332A\030resource_name,operations'), + ), + _descriptor.MethodDescriptor( + name='RunOfflineUserDataJob', + full_name='google.ads.googleads.v4.services.OfflineUserDataJobService.RunOfflineUserDataJob', + index=3, + containing_service=None, + input_type=_RUNOFFLINEUSERDATAJOBREQUEST, + output_type=google_dot_longrunning_dot_operations__pb2._OPERATION, + serialized_options=_b('\202\323\344\223\002>\"9/v4/{resource_name=customers/*/offlineUserDataJobs/*}:run:\001*\332A\rresource_name\312A.\n\025google.protobuf.Empty\022\025google.protobuf.Empty'), + ), +]) +_sym_db.RegisterServiceDescriptor(_OFFLINEUSERDATAJOBSERVICE) + +DESCRIPTOR.services_by_name['OfflineUserDataJobService'] = _OFFLINEUSERDATAJOBSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2_grpc.py new file mode 100644 index 000000000..05e763510 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/offline_user_data_job_service_pb2_grpc.py @@ -0,0 +1,106 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import offline_user_data_job_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2 +from google.ads.google_ads.v4.proto.services import offline_user_data_job_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2 +from google.longrunning import operations_pb2 as google_dot_longrunning_dot_operations__pb2 + + +class OfflineUserDataJobServiceStub(object): + """Proto file describing the OfflineUserDataJobService. + + Service to manage offline user data jobs. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateOfflineUserDataJob = channel.unary_unary( + '/google.ads.googleads.v4.services.OfflineUserDataJobService/CreateOfflineUserDataJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.CreateOfflineUserDataJobRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.CreateOfflineUserDataJobResponse.FromString, + ) + self.GetOfflineUserDataJob = channel.unary_unary( + '/google.ads.googleads.v4.services.OfflineUserDataJobService/GetOfflineUserDataJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.GetOfflineUserDataJobRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2.OfflineUserDataJob.FromString, + ) + self.AddOfflineUserDataJobOperations = channel.unary_unary( + '/google.ads.googleads.v4.services.OfflineUserDataJobService/AddOfflineUserDataJobOperations', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.AddOfflineUserDataJobOperationsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.AddOfflineUserDataJobOperationsResponse.FromString, + ) + self.RunOfflineUserDataJob = channel.unary_unary( + '/google.ads.googleads.v4.services.OfflineUserDataJobService/RunOfflineUserDataJob', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.RunOfflineUserDataJobRequest.SerializeToString, + response_deserializer=google_dot_longrunning_dot_operations__pb2.Operation.FromString, + ) + + +class OfflineUserDataJobServiceServicer(object): + """Proto file describing the OfflineUserDataJobService. + + Service to manage offline user data jobs. + """ + + def CreateOfflineUserDataJob(self, request, context): + """Creates an offline user data job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetOfflineUserDataJob(self, request, context): + """Returns the offline user data job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def AddOfflineUserDataJobOperations(self, request, context): + """Adds operations to the offline user data job. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def RunOfflineUserDataJob(self, request, context): + """Runs the offline user data job. + + When finished, the long running operation will contain the processing + result or failure information, if any. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_OfflineUserDataJobServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateOfflineUserDataJob': grpc.unary_unary_rpc_method_handler( + servicer.CreateOfflineUserDataJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.CreateOfflineUserDataJobRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.CreateOfflineUserDataJobResponse.SerializeToString, + ), + 'GetOfflineUserDataJob': grpc.unary_unary_rpc_method_handler( + servicer.GetOfflineUserDataJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.GetOfflineUserDataJobRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_offline__user__data__job__pb2.OfflineUserDataJob.SerializeToString, + ), + 'AddOfflineUserDataJobOperations': grpc.unary_unary_rpc_method_handler( + servicer.AddOfflineUserDataJobOperations, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.AddOfflineUserDataJobOperationsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.AddOfflineUserDataJobOperationsResponse.SerializeToString, + ), + 'RunOfflineUserDataJob': grpc.unary_unary_rpc_method_handler( + servicer.RunOfflineUserDataJob, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_offline__user__data__job__service__pb2.RunOfflineUserDataJobRequest.FromString, + response_serializer=google_dot_longrunning_dot_operations__pb2.Operation.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.OfflineUserDataJobService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2.py new file mode 100644 index 000000000..0ae4db0c1 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/operating_system_version_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/operating_system_version_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB*OperatingSystemVersionConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nVgoogle/ads/googleads_v4/proto/services/operating_system_version_constant_service.proto\x12 google.ads.googleads.v4.services\x1aOgoogle/ads/googleads_v4/proto/resources/operating_system_version_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x82\x01\n(GetOperatingSystemVersionConstantRequest\x12V\n\rresource_name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7googleads.googleapis.com/OperatingSystemVersionConstant2\xc8\x02\n%OperatingSystemVersionConstantService\x12\x81\x02\n!GetOperatingSystemVersionConstant\x12J.google.ads.googleads.v4.services.GetOperatingSystemVersionConstantRequest\x1a\x41.google.ads.googleads.v4.resources.OperatingSystemVersionConstant\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=operatingSystemVersionConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v4.servicesB*OperatingSystemVersionConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST = _descriptor.Descriptor( + name='GetOperatingSystemVersionConstantRequest', + full_name='google.ads.googleads.v4.services.GetOperatingSystemVersionConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetOperatingSystemVersionConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A9\n7googleads.googleapis.com/OperatingSystemVersionConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=321, + serialized_end=451, +) + +DESCRIPTOR.message_types_by_name['GetOperatingSystemVersionConstantRequest'] = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetOperatingSystemVersionConstantRequest = _reflection.GeneratedProtocolMessageType('GetOperatingSystemVersionConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.operating_system_version_constant_service_pb2' + , + __doc__ = """Request message for + [OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v4.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant]. + + + Attributes: + resource_name: + Required. Resource name of the OS version to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetOperatingSystemVersionConstantRequest) + )) +_sym_db.RegisterMessage(GetOperatingSystemVersionConstantRequest) + + +DESCRIPTOR._options = None +_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_OPERATINGSYSTEMVERSIONCONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='OperatingSystemVersionConstantService', + full_name='google.ads.googleads.v4.services.OperatingSystemVersionConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=454, + serialized_end=782, + methods=[ + _descriptor.MethodDescriptor( + name='GetOperatingSystemVersionConstant', + full_name='google.ads.googleads.v4.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant', + index=0, + containing_service=None, + input_type=_GETOPERATINGSYSTEMVERSIONCONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2._OPERATINGSYSTEMVERSIONCONSTANT, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=operatingSystemVersionConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_OPERATINGSYSTEMVERSIONCONSTANTSERVICE) + +DESCRIPTOR.services_by_name['OperatingSystemVersionConstantService'] = _OPERATINGSYSTEMVERSIONCONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2_grpc.py similarity index 76% rename from google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2_grpc.py index 058418db0..9676b11b9 100644 --- a/google/ads/google_ads/v1/proto/services/operating_system_version_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/operating_system_version_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 -from google.ads.google_ads.v1.proto.services import operating_system_version_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import operating_system_version_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2 +from google.ads.google_ads.v4.proto.services import operating_system_version_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2 class OperatingSystemVersionConstantServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetOperatingSystemVersionConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.FromString, + '/google.ads.googleads.v4.services.OperatingSystemVersionConstantService/GetOperatingSystemVersionConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.FromString, ) @@ -42,10 +42,10 @@ def add_OperatingSystemVersionConstantServiceServicer_to_server(servicer, server rpc_method_handlers = { 'GetOperatingSystemVersionConstant': grpc.unary_unary_rpc_method_handler( servicer.GetOperatingSystemVersionConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_operating__system__version__constant__service__pb2.GetOperatingSystemVersionConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_operating__system__version__constant__pb2.OperatingSystemVersionConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.OperatingSystemVersionConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.OperatingSystemVersionConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/paid_organic_search_term_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/paid_organic_search_term_view_service_pb2.py new file mode 100644 index 000000000..886c86829 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/paid_organic_search_term_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/paid_organic_search_term_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import paid_organic_search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_paid__organic__search__term__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/paid_organic_search_term_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB%PaidOrganicSearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nRgoogle/ads/googleads_v4/proto/services/paid_organic_search_term_view_service.proto\x12 google.ads.googleads.v4.services\x1aKgoogle/ads/googleads_v4/proto/resources/paid_organic_search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"x\n#GetPaidOrganicSearchTermViewRequest\x12Q\n\rresource_name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2googleads.googleapis.com/PaidOrganicSearchTermView2\xbb\x02\n PaidOrganicSearchTermViewService\x12\xf9\x01\n\x1cGetPaidOrganicSearchTermView\x12\x45.google.ads.googleads.v4.services.GetPaidOrganicSearchTermViewRequest\x1a<.google.ads.googleads.v4.resources.PaidOrganicSearchTermView\"T\x82\xd3\xe4\x93\x02>\x12\022.google.ads.googleads.v4.services.GetParentalStatusViewRequest\x1a\x35.google.ads.googleads.v4.resources.ParentalStatusView\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=customers/*/parentalStatusViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x85\x02\n$com.google.ads.googleads.v4.servicesB\x1eParentalStatusViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETPARENTALSTATUSVIEWREQUEST = _descriptor.Descriptor( + name='GetParentalStatusViewRequest', + full_name='google.ads.googleads.v4.services.GetParentalStatusViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetParentalStatusViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A-\n+googleads.googleapis.com/ParentalStatusView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=294, + serialized_end=400, +) + +DESCRIPTOR.message_types_by_name['GetParentalStatusViewRequest'] = _GETPARENTALSTATUSVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetParentalStatusViewRequest = _reflection.GeneratedProtocolMessageType('GetParentalStatusViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETPARENTALSTATUSVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.parental_status_view_service_pb2' + , + __doc__ = """Request message for + [ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v4.services.ParentalStatusViewService.GetParentalStatusView]. + + + Attributes: + resource_name: + Required. The resource name of the parental status view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetParentalStatusViewRequest) + )) +_sym_db.RegisterMessage(GetParentalStatusViewRequest) + + +DESCRIPTOR._options = None +_GETPARENTALSTATUSVIEWREQUEST.fields_by_name['resource_name']._options = None + +_PARENTALSTATUSVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ParentalStatusViewService', + full_name='google.ads.googleads.v4.services.ParentalStatusViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=403, + serialized_end=683, + methods=[ + _descriptor.MethodDescriptor( + name='GetParentalStatusView', + full_name='google.ads.googleads.v4.services.ParentalStatusViewService.GetParentalStatusView', + index=0, + containing_service=None, + input_type=_GETPARENTALSTATUSVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2._PARENTALSTATUSVIEW, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=customers/*/parentalStatusViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_PARENTALSTATUSVIEWSERVICE) + +DESCRIPTOR.services_by_name['ParentalStatusViewService'] = _PARENTALSTATUSVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/parental_status_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/parental_status_view_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/parental_status_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/parental_status_view_service_pb2_grpc.py index 19ae70064..5231da534 100644 --- a/google/ads/google_ads/v1/proto/services/parental_status_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/parental_status_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2 -from google.ads.google_ads.v1.proto.services import parental_status_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_parental__status__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import parental_status_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2 +from google.ads.google_ads.v4.proto.services import parental_status_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_parental__status__view__service__pb2 class ParentalStatusViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetParentalStatusView = channel.unary_unary( - '/google.ads.googleads.v1.services.ParentalStatusViewService/GetParentalStatusView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.FromString, + '/google.ads.googleads.v4.services.ParentalStatusViewService/GetParentalStatusView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.FromString, ) @@ -42,10 +42,10 @@ def add_ParentalStatusViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetParentalStatusView': grpc.unary_unary_rpc_method_handler( servicer.GetParentalStatusView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_parental__status__view__service__pb2.GetParentalStatusViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_parental__status__view__pb2.ParentalStatusView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ParentalStatusViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ParentalStatusViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/payments_account_service_pb2.py b/google/ads/google_ads/v4/proto/services/payments_account_service_pb2.py similarity index 52% rename from google/ads/google_ads/v1/proto/services/payments_account_service_pb2.py rename to google/ads/google_ads/v4/proto/services/payments_account_service_pb2.py index 95f170570..46c6e8767 100644 --- a/google/ads/google_ads/v1/proto/services/payments_account_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/payments_account_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/payments_account_service.proto +# source: google/ads/googleads_v4/proto/services/payments_account_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,36 +13,38 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import payments_account_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_payments__account__pb2 +from google.ads.google_ads.v4.proto.resources import payments_account_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_payments__account__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/payments_account_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/payments_account_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033PaymentsAccountServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/payments_account_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/payments_account.proto\x1a\x1cgoogle/api/annotations.proto\"2\n\x1bListPaymentsAccountsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\"m\n\x1cListPaymentsAccountsResponse\x12M\n\x11payments_accounts\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v1.resources.PaymentsAccount2\xe8\x01\n\x16PaymentsAccountService\x12\xcd\x01\n\x14ListPaymentsAccounts\x12=.google.ads.googleads.v1.services.ListPaymentsAccountsRequest\x1a>.google.ads.googleads.v1.services.ListPaymentsAccountsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./v1/customers/{customer_id=*}/paymentsAccountsB\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1bPaymentsAccountServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033PaymentsAccountServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/payments_account_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/payments_account.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\"7\n\x1bListPaymentsAccountsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\"m\n\x1cListPaymentsAccountsResponse\x12M\n\x11payments_accounts\x18\x01 \x03(\x0b\x32\x32.google.ads.googleads.v4.resources.PaymentsAccount2\x93\x02\n\x16PaymentsAccountService\x12\xdb\x01\n\x14ListPaymentsAccounts\x12=.google.ads.googleads.v4.services.ListPaymentsAccountsRequest\x1a>.google.ads.googleads.v4.services.ListPaymentsAccountsResponse\"D\x82\xd3\xe4\x93\x02\x30\x12./v4/customers/{customer_id=*}/paymentsAccounts\xda\x41\x0b\x63ustomer_id\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1bPaymentsAccountServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_payments__account__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_payments__account__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,]) _LISTPAYMENTSACCOUNTSREQUEST = _descriptor.Descriptor( name='ListPaymentsAccountsRequest', - full_name='google.ads.googleads.v1.services.ListPaymentsAccountsRequest', + full_name='google.ads.googleads.v4.services.ListPaymentsAccountsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.ListPaymentsAccountsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.ListPaymentsAccountsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), ], extensions=[ ], @@ -55,20 +57,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=201, - serialized_end=251, + serialized_start=259, + serialized_end=314, ) _LISTPAYMENTSACCOUNTSRESPONSE = _descriptor.Descriptor( name='ListPaymentsAccountsResponse', - full_name='google.ads.googleads.v1.services.ListPaymentsAccountsResponse', + full_name='google.ads.googleads.v4.services.ListPaymentsAccountsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='payments_accounts', full_name='google.ads.googleads.v1.services.ListPaymentsAccountsResponse.payments_accounts', index=0, + name='payments_accounts', full_name='google.ads.googleads.v4.services.ListPaymentsAccountsResponse.payments_accounts', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -86,67 +88,68 @@ extension_ranges=[], oneofs=[ ], - serialized_start=253, - serialized_end=362, + serialized_start=316, + serialized_end=425, ) -_LISTPAYMENTSACCOUNTSRESPONSE.fields_by_name['payments_accounts'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_payments__account__pb2._PAYMENTSACCOUNT +_LISTPAYMENTSACCOUNTSRESPONSE.fields_by_name['payments_accounts'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_payments__account__pb2._PAYMENTSACCOUNT DESCRIPTOR.message_types_by_name['ListPaymentsAccountsRequest'] = _LISTPAYMENTSACCOUNTSREQUEST DESCRIPTOR.message_types_by_name['ListPaymentsAccountsResponse'] = _LISTPAYMENTSACCOUNTSRESPONSE _sym_db.RegisterFileDescriptor(DESCRIPTOR) ListPaymentsAccountsRequest = _reflection.GeneratedProtocolMessageType('ListPaymentsAccountsRequest', (_message.Message,), dict( DESCRIPTOR = _LISTPAYMENTSACCOUNTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.payments_account_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.payments_account_service_pb2' , - __doc__ = """Request message for fetching all accessible Payments accounts. + __doc__ = """Request message for fetching all accessible payments accounts. Attributes: customer_id: - The ID of the customer to apply the PaymentsAccount list - operation to. + Required. The ID of the customer to apply the PaymentsAccount + list operation to. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListPaymentsAccountsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPaymentsAccountsRequest) )) _sym_db.RegisterMessage(ListPaymentsAccountsRequest) ListPaymentsAccountsResponse = _reflection.GeneratedProtocolMessageType('ListPaymentsAccountsResponse', (_message.Message,), dict( DESCRIPTOR = _LISTPAYMENTSACCOUNTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.payments_account_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.payments_account_service_pb2' , __doc__ = """Response message for - [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v1.services.PaymentsAccountService.ListPaymentsAccounts]. + [PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v4.services.PaymentsAccountService.ListPaymentsAccounts]. Attributes: payments_accounts: - The list of accessible Payments accounts. + The list of accessible payments accounts. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ListPaymentsAccountsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPaymentsAccountsResponse) )) _sym_db.RegisterMessage(ListPaymentsAccountsResponse) DESCRIPTOR._options = None +_LISTPAYMENTSACCOUNTSREQUEST.fields_by_name['customer_id']._options = None _PAYMENTSACCOUNTSERVICE = _descriptor.ServiceDescriptor( name='PaymentsAccountService', - full_name='google.ads.googleads.v1.services.PaymentsAccountService', + full_name='google.ads.googleads.v4.services.PaymentsAccountService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=365, - serialized_end=597, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=428, + serialized_end=703, methods=[ _descriptor.MethodDescriptor( name='ListPaymentsAccounts', - full_name='google.ads.googleads.v1.services.PaymentsAccountService.ListPaymentsAccounts', + full_name='google.ads.googleads.v4.services.PaymentsAccountService.ListPaymentsAccounts', index=0, containing_service=None, input_type=_LISTPAYMENTSACCOUNTSREQUEST, output_type=_LISTPAYMENTSACCOUNTSRESPONSE, - serialized_options=_b('\202\323\344\223\0020\022./v1/customers/{customer_id=*}/paymentsAccounts'), + serialized_options=_b('\202\323\344\223\0020\022./v4/customers/{customer_id=*}/paymentsAccounts\332A\013customer_id'), ), ]) _sym_db.RegisterServiceDescriptor(_PAYMENTSACCOUNTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/payments_account_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/payments_account_service_pb2_grpc.py similarity index 65% rename from google/ads/google_ads/v1/proto/services/payments_account_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/payments_account_service_pb2_grpc.py index 0d2307cfa..e391a92ef 100644 --- a/google/ads/google_ads/v1/proto/services/payments_account_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/payments_account_service_pb2_grpc.py @@ -1,13 +1,13 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.services import payments_account_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_payments__account__service__pb2 +from google.ads.google_ads.v4.proto.services import payments_account_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_payments__account__service__pb2 class PaymentsAccountServiceStub(object): - """Proto file describing the Payments account service. + """Proto file describing the payments account service. - Service to provide Payments accounts that can be used to set up consolidated + Service to provide payments accounts that can be used to set up consolidated billing. """ @@ -18,21 +18,21 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.ListPaymentsAccounts = channel.unary_unary( - '/google.ads.googleads.v1.services.PaymentsAccountService/ListPaymentsAccounts', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.FromString, + '/google.ads.googleads.v4.services.PaymentsAccountService/ListPaymentsAccounts', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.FromString, ) class PaymentsAccountServiceServicer(object): - """Proto file describing the Payments account service. + """Proto file describing the payments account service. - Service to provide Payments accounts that can be used to set up consolidated + Service to provide payments accounts that can be used to set up consolidated billing. """ def ListPaymentsAccounts(self, request, context): - """Returns all Payments accounts associated with all managers + """Returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive. """ @@ -45,10 +45,10 @@ def add_PaymentsAccountServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'ListPaymentsAccounts': grpc.unary_unary_rpc_method_handler( servicer.ListPaymentsAccounts, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_payments__account__service__pb2.ListPaymentsAccountsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.PaymentsAccountService', rpc_method_handlers) + 'google.ads.googleads.v4.services.PaymentsAccountService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2.py new file mode 100644 index 000000000..11107d192 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/product_bidding_category_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/product_bidding_category_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB*ProductBiddingCategoryConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nVgoogle/ads/googleads_v4/proto/services/product_bidding_category_constant_service.proto\x12 google.ads.googleads.v4.services\x1aOgoogle/ads/googleads_v4/proto/resources/product_bidding_category_constant.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x82\x01\n(GetProductBiddingCategoryConstantRequest\x12V\n\rresource_name\x18\x01 \x01(\tB?\xe0\x41\x02\xfa\x41\x39\n7googleads.googleapis.com/ProductBiddingCategoryConstant2\xc8\x02\n%ProductBiddingCategoryConstantService\x12\x81\x02\n!GetProductBiddingCategoryConstant\x12J.google.ads.googleads.v4.services.GetProductBiddingCategoryConstantRequest\x1a\x41.google.ads.googleads.v4.resources.ProductBiddingCategoryConstant\"M\x82\xd3\xe4\x93\x02\x37\x12\x35/v4/{resource_name=productBiddingCategoryConstants/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x91\x02\n$com.google.ads.googleads.v4.servicesB*ProductBiddingCategoryConstantServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST = _descriptor.Descriptor( + name='GetProductBiddingCategoryConstantRequest', + full_name='google.ads.googleads.v4.services.GetProductBiddingCategoryConstantRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetProductBiddingCategoryConstantRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A9\n7googleads.googleapis.com/ProductBiddingCategoryConstant'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=321, + serialized_end=451, +) + +DESCRIPTOR.message_types_by_name['GetProductBiddingCategoryConstantRequest'] = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetProductBiddingCategoryConstantRequest = _reflection.GeneratedProtocolMessageType('GetProductBiddingCategoryConstantRequest', (_message.Message,), dict( + DESCRIPTOR = _GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.product_bidding_category_constant_service_pb2' + , + __doc__ = """Request message for + [ProductBiddingCategoryService.GetProductBiddingCategory][]. + + + Attributes: + resource_name: + Required. Resource name of the Product Bidding Category to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetProductBiddingCategoryConstantRequest) + )) +_sym_db.RegisterMessage(GetProductBiddingCategoryConstantRequest) + + +DESCRIPTOR._options = None +_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST.fields_by_name['resource_name']._options = None + +_PRODUCTBIDDINGCATEGORYCONSTANTSERVICE = _descriptor.ServiceDescriptor( + name='ProductBiddingCategoryConstantService', + full_name='google.ads.googleads.v4.services.ProductBiddingCategoryConstantService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=454, + serialized_end=782, + methods=[ + _descriptor.MethodDescriptor( + name='GetProductBiddingCategoryConstant', + full_name='google.ads.googleads.v4.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant', + index=0, + containing_service=None, + input_type=_GETPRODUCTBIDDINGCATEGORYCONSTANTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2._PRODUCTBIDDINGCATEGORYCONSTANT, + serialized_options=_b('\202\323\344\223\0027\0225/v4/{resource_name=productBiddingCategoryConstants/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_PRODUCTBIDDINGCATEGORYCONSTANTSERVICE) + +DESCRIPTOR.services_by_name['ProductBiddingCategoryConstantService'] = _PRODUCTBIDDINGCATEGORYCONSTANTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2_grpc.py similarity index 76% rename from google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2_grpc.py index de86d96ab..eebb81cf2 100644 --- a/google/ads/google_ads/v1/proto/services/product_bidding_category_constant_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/product_bidding_category_constant_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 -from google.ads.google_ads.v1.proto.services import product_bidding_category_constant_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2 +from google.ads.google_ads.v4.proto.resources import product_bidding_category_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2 +from google.ads.google_ads.v4.proto.services import product_bidding_category_constant_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2 class ProductBiddingCategoryConstantServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetProductBiddingCategoryConstant = channel.unary_unary( - '/google.ads.googleads.v1.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.FromString, + '/google.ads.googleads.v4.services.ProductBiddingCategoryConstantService/GetProductBiddingCategoryConstant', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.FromString, ) @@ -42,10 +42,10 @@ def add_ProductBiddingCategoryConstantServiceServicer_to_server(servicer, server rpc_method_handlers = { 'GetProductBiddingCategoryConstant': grpc.unary_unary_rpc_method_handler( servicer.GetProductBiddingCategoryConstant, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__bidding__category__constant__service__pb2.GetProductBiddingCategoryConstantRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__bidding__category__constant__pb2.ProductBiddingCategoryConstant.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ProductBiddingCategoryConstantService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ProductBiddingCategoryConstantService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/product_group_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/product_group_view_service_pb2.py new file mode 100644 index 000000000..bc5d9dcc6 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/product_group_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/product_group_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/product_group_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034ProductGroupViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/services/product_group_view_service.proto\x12 google.ads.googleads.v4.services\x1a@google/ads/googleads_v4/proto/resources/product_group_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"f\n\x1aGetProductGroupViewRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/ProductGroupView2\x8e\x02\n\x17ProductGroupViewService\x12\xd5\x01\n\x13GetProductGroupView\x12<.google.ads.googleads.v4.services.GetProductGroupViewRequest\x1a\x33.google.ads.googleads.v4.resources.ProductGroupView\"K\x82\xd3\xe4\x93\x02\x35\x12\x33/v4/{resource_name=customers/*/productGroupViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1cProductGroupViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETPRODUCTGROUPVIEWREQUEST = _descriptor.Descriptor( + name='GetProductGroupViewRequest', + full_name='google.ads.googleads.v4.services.GetProductGroupViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetProductGroupViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/ProductGroupView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=290, + serialized_end=392, +) + +DESCRIPTOR.message_types_by_name['GetProductGroupViewRequest'] = _GETPRODUCTGROUPVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetProductGroupViewRequest = _reflection.GeneratedProtocolMessageType('GetProductGroupViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETPRODUCTGROUPVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.product_group_view_service_pb2' + , + __doc__ = """Request message for + [ProductGroupViewService.GetProductGroupView][google.ads.googleads.v4.services.ProductGroupViewService.GetProductGroupView]. + + + Attributes: + resource_name: + Required. The resource name of the product group view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetProductGroupViewRequest) + )) +_sym_db.RegisterMessage(GetProductGroupViewRequest) + + +DESCRIPTOR._options = None +_GETPRODUCTGROUPVIEWREQUEST.fields_by_name['resource_name']._options = None + +_PRODUCTGROUPVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ProductGroupViewService', + full_name='google.ads.googleads.v4.services.ProductGroupViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=395, + serialized_end=665, + methods=[ + _descriptor.MethodDescriptor( + name='GetProductGroupView', + full_name='google.ads.googleads.v4.services.ProductGroupViewService.GetProductGroupView', + index=0, + containing_service=None, + input_type=_GETPRODUCTGROUPVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2._PRODUCTGROUPVIEW, + serialized_options=_b('\202\323\344\223\0025\0223/v4/{resource_name=customers/*/productGroupViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_PRODUCTGROUPVIEWSERVICE) + +DESCRIPTOR.services_by_name['ProductGroupViewService'] = _PRODUCTGROUPVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/product_group_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/product_group_view_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/product_group_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/product_group_view_service_pb2_grpc.py index 025e634b8..9aa02a164 100644 --- a/google/ads/google_ads/v1/proto/services/product_group_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/product_group_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2 -from google.ads.google_ads.v1.proto.services import product_group_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__group__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import product_group_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2 +from google.ads.google_ads.v4.proto.services import product_group_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__group__view__service__pb2 class ProductGroupViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetProductGroupView = channel.unary_unary( - '/google.ads.googleads.v1.services.ProductGroupViewService/GetProductGroupView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.FromString, + '/google.ads.googleads.v4.services.ProductGroupViewService/GetProductGroupView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.FromString, ) @@ -42,10 +42,10 @@ def add_ProductGroupViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetProductGroupView': grpc.unary_unary_rpc_method_handler( servicer.GetProductGroupView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_product__group__view__service__pb2.GetProductGroupViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_product__group__view__pb2.ProductGroupView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ProductGroupViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ProductGroupViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2.py b/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2.py new file mode 100644 index 000000000..8ba93f919 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2.py @@ -0,0 +1,1523 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/reach_plan_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.common import criteria_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2 +from google.ads.google_ads.v4.proto.enums import frequency_cap_time_unit_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2 +from google.ads.google_ads.v4.proto.enums import reach_plan_ad_length_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__ad__length__pb2 +from google.ads.google_ads.v4.proto.enums import reach_plan_age_range_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__age__range__pb2 +from google.ads.google_ads.v4.proto.enums import reach_plan_network_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__network__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/reach_plan_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025ReachPlanServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/services/reach_plan_service.proto\x12 google.ads.googleads.v4.services\x1a\x33google/ads/googleads_v4/proto/common/criteria.proto\x1a\x41google/ads/googleads_v4/proto/enums/frequency_cap_time_unit.proto\x1a>google/ads/googleads_v4/proto/enums/reach_plan_ad_length.proto\x1a>google/ads/googleads_v4/proto/enums/reach_plan_age_range.proto\x1a\n\ttargeting\x18\x06 \x01(\x0b\x32+.google.ads.googleads.v4.services.Targeting\x12O\n\x10planned_products\x18\x07 \x03(\x0b\x32\x30.google.ads.googleads.v4.services.PlannedProductB\x03\xe0\x41\x02\"\xab\x01\n\x0c\x46requencyCap\x12\x35\n\x0bimpressions\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueB\x03\xe0\x41\x02\x12\x64\n\ttime_unit\x18\x02 \x01(\x0e\x32L.google.ads.googleads.v4.enums.FrequencyCapTimeUnitEnum.FrequencyCapTimeUnitB\x03\xe0\x41\x02\"\xf4\x02\n\tTargeting\x12;\n\x15plannable_location_id\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12Y\n\tage_range\x18\x02 \x01(\x0e\x32\x46.google.ads.googleads.v4.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange\x12;\n\x07genders\x18\x03 \x03(\x0b\x32*.google.ads.googleads.v4.common.GenderInfo\x12;\n\x07\x64\x65vices\x18\x04 \x03(\x0b\x32*.google.ads.googleads.v4.common.DeviceInfo\x12U\n\x07network\x18\x05 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.ReachPlanNetworkEnum.ReachPlanNetwork\"I\n\x10\x43\x61mpaignDuration\x12\x35\n\x10\x64uration_in_days\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\"\x82\x01\n\x0ePlannedProduct\x12<\n\x16plannable_product_code\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12\x32\n\rbudget_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\xc1\x01\n\x1dGenerateReachForecastResponse\x12]\n\x1aon_target_audience_metrics\x18\x01 \x01(\x0b\x32\x39.google.ads.googleads.v4.services.OnTargetAudienceMetrics\x12\x41\n\x0breach_curve\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v4.services.ReachCurve\"V\n\nReachCurve\x12H\n\x0freach_forecasts\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v4.services.ReachForecast\"\xdc\x01\n\rReachForecast\x12\x30\n\x0b\x63ost_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12<\n\x08\x66orecast\x18\x02 \x01(\x0b\x32*.google.ads.googleads.v4.services.Forecast\x12[\n\x1e\x66orecasted_product_allocations\x18\x03 \x03(\x0b\x32\x33.google.ads.googleads.v4.services.ProductAllocation\"\xe6\x01\n\x08\x46orecast\x12\x34\n\x0fon_target_reach\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x30\n\x0btotal_reach\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12:\n\x15on_target_impressions\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x36\n\x11total_impressions\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\"\x90\x01\n\x17OnTargetAudienceMetrics\x12:\n\x15youtube_audience_size\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x39\n\x14\x63\x65nsus_audience_size\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value2\xfd\x07\n\x10ReachPlanService\x12\xc2\x01\n\x16ListPlannableLocations\x12?.google.ads.googleads.v4.services.ListPlannableLocationsRequest\x1a@.google.ads.googleads.v4.services.ListPlannableLocationsResponse\"%\x82\xd3\xe4\x93\x02\x1f\"\x1a/v4:listPlannableLocations:\x01*\x12\xd6\x01\n\x15ListPlannableProducts\x12>.google.ads.googleads.v4.services.ListPlannableProductsRequest\x1a?.google.ads.googleads.v4.services.ListPlannableProductsResponse\"<\x82\xd3\xe4\x93\x02\x1e\"\x19/v4:listPlannableProducts:\x01*\xda\x41\x15plannable_location_id\x12\xa1\x02\n\x17GenerateProductMixIdeas\x12@.google.ads.googleads.v4.services.GenerateProductMixIdeasRequest\x1a\x41.google.ads.googleads.v4.services.GenerateProductMixIdeasResponse\"\x80\x01\x82\xd3\xe4\x93\x02:\"5/v4/customers/{customer_id=*}:generateProductMixIdeas:\x01*\xda\x41=customer_id,plannable_location_id,currency_code,budget_micros\x12\x89\x02\n\x15GenerateReachForecast\x12>.google.ads.googleads.v4.services.GenerateReachForecastRequest\x1a?.google.ads.googleads.v4.services.GenerateReachForecastResponse\"o\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}:generateReachForecast:\x01*\xda\x41.customer_id,campaign_duration,planned_products\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15ReachPlanServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__ad__length__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__age__range__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__network__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) + + + + +_LISTPLANNABLELOCATIONSREQUEST = _descriptor.Descriptor( + name='ListPlannableLocationsRequest', + full_name='google.ads.googleads.v4.services.ListPlannableLocationsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=531, + serialized_end=562, +) + + +_LISTPLANNABLELOCATIONSRESPONSE = _descriptor.Descriptor( + name='ListPlannableLocationsResponse', + full_name='google.ads.googleads.v4.services.ListPlannableLocationsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_locations', full_name='google.ads.googleads.v4.services.ListPlannableLocationsResponse.plannable_locations', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=564, + serialized_end=678, +) + + +_PLANNABLELOCATION = _descriptor.Descriptor( + name='PlannableLocation', + full_name='google.ads.googleads.v4.services.PlannableLocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='id', full_name='google.ads.googleads.v4.services.PlannableLocation.id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='name', full_name='google.ads.googleads.v4.services.PlannableLocation.name', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='parent_country_id', full_name='google.ads.googleads.v4.services.PlannableLocation.parent_country_id', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=681, + serialized_end=842, +) + + +_LISTPLANNABLEPRODUCTSREQUEST = _descriptor.Descriptor( + name='ListPlannableProductsRequest', + full_name='google.ads.googleads.v4.services.ListPlannableProductsRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_location_id', full_name='google.ads.googleads.v4.services.ListPlannableProductsRequest.plannable_location_id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=844, + serialized_end=940, +) + + +_LISTPLANNABLEPRODUCTSRESPONSE = _descriptor.Descriptor( + name='ListPlannableProductsResponse', + full_name='google.ads.googleads.v4.services.ListPlannableProductsResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='product_metadata', full_name='google.ads.googleads.v4.services.ListPlannableProductsResponse.product_metadata', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=942, + serialized_end=1050, +) + + +_PRODUCTMETADATA = _descriptor.Descriptor( + name='ProductMetadata', + full_name='google.ads.googleads.v4.services.ProductMetadata', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_product_code', full_name='google.ads.googleads.v4.services.ProductMetadata.plannable_product_code', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='plannable_targeting', full_name='google.ads.googleads.v4.services.ProductMetadata.plannable_targeting', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1053, + serialized_end=1215, +) + + +_PLANNABLETARGETING = _descriptor.Descriptor( + name='PlannableTargeting', + full_name='google.ads.googleads.v4.services.PlannableTargeting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='age_ranges', full_name='google.ads.googleads.v4.services.PlannableTargeting.age_ranges', index=0, + number=1, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='genders', full_name='google.ads.googleads.v4.services.PlannableTargeting.genders', index=1, + number=2, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='devices', full_name='google.ads.googleads.v4.services.PlannableTargeting.devices', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='networks', full_name='google.ads.googleads.v4.services.PlannableTargeting.networks', index=3, + number=4, type=14, cpp_type=8, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1218, + serialized_end=1540, +) + + +_GENERATEPRODUCTMIXIDEASREQUEST = _descriptor.Descriptor( + name='GenerateProductMixIdeasRequest', + full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='plannable_location_id', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest.plannable_location_id', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest.currency_code', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='budget_micros', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest.budget_micros', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='preferences', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasRequest.preferences', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1543, + serialized_end=1850, +) + + +_PREFERENCES = _descriptor.Descriptor( + name='Preferences', + full_name='google.ads.googleads.v4.services.Preferences', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='is_skippable', full_name='google.ads.googleads.v4.services.Preferences.is_skippable', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='starts_with_sound', full_name='google.ads.googleads.v4.services.Preferences.starts_with_sound', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='ad_length', full_name='google.ads.googleads.v4.services.Preferences.ad_length', index=2, + number=3, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='top_content_only', full_name='google.ads.googleads.v4.services.Preferences.top_content_only', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='has_guaranteed_price', full_name='google.ads.googleads.v4.services.Preferences.has_guaranteed_price', index=4, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=1853, + serialized_end=2174, +) + + +_GENERATEPRODUCTMIXIDEASRESPONSE = _descriptor.Descriptor( + name='GenerateProductMixIdeasResponse', + full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='product_allocation', full_name='google.ads.googleads.v4.services.GenerateProductMixIdeasResponse.product_allocation', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2176, + serialized_end=2290, +) + + +_PRODUCTALLOCATION = _descriptor.Descriptor( + name='ProductAllocation', + full_name='google.ads.googleads.v4.services.ProductAllocation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_product_code', full_name='google.ads.googleads.v4.services.ProductAllocation.plannable_product_code', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='budget_micros', full_name='google.ads.googleads.v4.services.ProductAllocation.budget_micros', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2293, + serialized_end=2426, +) + + +_GENERATEREACHFORECASTREQUEST = _descriptor.Descriptor( + name='GenerateReachForecastRequest', + full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='currency_code', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.currency_code', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='campaign_duration', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.campaign_duration', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cookie_frequency_cap', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.cookie_frequency_cap', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='cookie_frequency_cap_setting', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.cookie_frequency_cap_setting', index=4, + number=8, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='min_effective_frequency', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.min_effective_frequency', index=5, + number=5, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='targeting', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.targeting', index=6, + number=6, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='planned_products', full_name='google.ads.googleads.v4.services.GenerateReachForecastRequest.planned_products', index=7, + number=7, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2429, + serialized_end=2974, +) + + +_FREQUENCYCAP = _descriptor.Descriptor( + name='FrequencyCap', + full_name='google.ads.googleads.v4.services.FrequencyCap', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='impressions', full_name='google.ads.googleads.v4.services.FrequencyCap.impressions', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='time_unit', full_name='google.ads.googleads.v4.services.FrequencyCap.time_unit', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=2977, + serialized_end=3148, +) + + +_TARGETING = _descriptor.Descriptor( + name='Targeting', + full_name='google.ads.googleads.v4.services.Targeting', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_location_id', full_name='google.ads.googleads.v4.services.Targeting.plannable_location_id', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='age_range', full_name='google.ads.googleads.v4.services.Targeting.age_range', index=1, + number=2, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='genders', full_name='google.ads.googleads.v4.services.Targeting.genders', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='devices', full_name='google.ads.googleads.v4.services.Targeting.devices', index=3, + number=4, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='network', full_name='google.ads.googleads.v4.services.Targeting.network', index=4, + number=5, type=14, cpp_type=8, label=1, + has_default_value=False, default_value=0, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3151, + serialized_end=3523, +) + + +_CAMPAIGNDURATION = _descriptor.Descriptor( + name='CampaignDuration', + full_name='google.ads.googleads.v4.services.CampaignDuration', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='duration_in_days', full_name='google.ads.googleads.v4.services.CampaignDuration.duration_in_days', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3525, + serialized_end=3598, +) + + +_PLANNEDPRODUCT = _descriptor.Descriptor( + name='PlannedProduct', + full_name='google.ads.googleads.v4.services.PlannedProduct', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='plannable_product_code', full_name='google.ads.googleads.v4.services.PlannedProduct.plannable_product_code', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='budget_micros', full_name='google.ads.googleads.v4.services.PlannedProduct.budget_micros', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3601, + serialized_end=3731, +) + + +_GENERATEREACHFORECASTRESPONSE = _descriptor.Descriptor( + name='GenerateReachForecastResponse', + full_name='google.ads.googleads.v4.services.GenerateReachForecastResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='on_target_audience_metrics', full_name='google.ads.googleads.v4.services.GenerateReachForecastResponse.on_target_audience_metrics', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='reach_curve', full_name='google.ads.googleads.v4.services.GenerateReachForecastResponse.reach_curve', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3734, + serialized_end=3927, +) + + +_REACHCURVE = _descriptor.Descriptor( + name='ReachCurve', + full_name='google.ads.googleads.v4.services.ReachCurve', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='reach_forecasts', full_name='google.ads.googleads.v4.services.ReachCurve.reach_forecasts', index=0, + number=1, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=3929, + serialized_end=4015, +) + + +_REACHFORECAST = _descriptor.Descriptor( + name='ReachForecast', + full_name='google.ads.googleads.v4.services.ReachForecast', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='cost_micros', full_name='google.ads.googleads.v4.services.ReachForecast.cost_micros', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='forecast', full_name='google.ads.googleads.v4.services.ReachForecast.forecast', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='forecasted_product_allocations', full_name='google.ads.googleads.v4.services.ReachForecast.forecasted_product_allocations', index=2, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4018, + serialized_end=4238, +) + + +_FORECAST = _descriptor.Descriptor( + name='Forecast', + full_name='google.ads.googleads.v4.services.Forecast', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='on_target_reach', full_name='google.ads.googleads.v4.services.Forecast.on_target_reach', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_reach', full_name='google.ads.googleads.v4.services.Forecast.total_reach', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='on_target_impressions', full_name='google.ads.googleads.v4.services.Forecast.on_target_impressions', index=2, + number=3, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='total_impressions', full_name='google.ads.googleads.v4.services.Forecast.total_impressions', index=3, + number=4, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4241, + serialized_end=4471, +) + + +_ONTARGETAUDIENCEMETRICS = _descriptor.Descriptor( + name='OnTargetAudienceMetrics', + full_name='google.ads.googleads.v4.services.OnTargetAudienceMetrics', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='youtube_audience_size', full_name='google.ads.googleads.v4.services.OnTargetAudienceMetrics.youtube_audience_size', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='census_audience_size', full_name='google.ads.googleads.v4.services.OnTargetAudienceMetrics.census_audience_size', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=4474, + serialized_end=4618, +) + +_LISTPLANNABLELOCATIONSRESPONSE.fields_by_name['plannable_locations'].message_type = _PLANNABLELOCATION +_PLANNABLELOCATION.fields_by_name['id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PLANNABLELOCATION.fields_by_name['name'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PLANNABLELOCATION.fields_by_name['parent_country_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_LISTPLANNABLEPRODUCTSREQUEST.fields_by_name['plannable_location_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_LISTPLANNABLEPRODUCTSRESPONSE.fields_by_name['product_metadata'].message_type = _PRODUCTMETADATA +_PRODUCTMETADATA.fields_by_name['plannable_product_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTMETADATA.fields_by_name['plannable_targeting'].message_type = _PLANNABLETARGETING +_PLANNABLETARGETING.fields_by_name['age_ranges'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__age__range__pb2._REACHPLANAGERANGEENUM_REACHPLANAGERANGE +_PLANNABLETARGETING.fields_by_name['genders'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_PLANNABLETARGETING.fields_by_name['devices'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_PLANNABLETARGETING.fields_by_name['networks'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__network__pb2._REACHPLANNETWORKENUM_REACHPLANNETWORK +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['plannable_location_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['budget_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['preferences'].message_type = _PREFERENCES +_PREFERENCES.fields_by_name['is_skippable'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_PREFERENCES.fields_by_name['starts_with_sound'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_PREFERENCES.fields_by_name['ad_length'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__ad__length__pb2._REACHPLANADLENGTHENUM_REACHPLANADLENGTH +_PREFERENCES.fields_by_name['top_content_only'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_PREFERENCES.fields_by_name['has_guaranteed_price'].message_type = google_dot_protobuf_dot_wrappers__pb2._BOOLVALUE +_GENERATEPRODUCTMIXIDEASRESPONSE.fields_by_name['product_allocation'].message_type = _PRODUCTALLOCATION +_PRODUCTALLOCATION.fields_by_name['plannable_product_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PRODUCTALLOCATION.fields_by_name['budget_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GENERATEREACHFORECASTREQUEST.fields_by_name['currency_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_GENERATEREACHFORECASTREQUEST.fields_by_name['campaign_duration'].message_type = _CAMPAIGNDURATION +_GENERATEREACHFORECASTREQUEST.fields_by_name['cookie_frequency_cap'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_GENERATEREACHFORECASTREQUEST.fields_by_name['cookie_frequency_cap_setting'].message_type = _FREQUENCYCAP +_GENERATEREACHFORECASTREQUEST.fields_by_name['min_effective_frequency'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_GENERATEREACHFORECASTREQUEST.fields_by_name['targeting'].message_type = _TARGETING +_GENERATEREACHFORECASTREQUEST.fields_by_name['planned_products'].message_type = _PLANNEDPRODUCT +_FREQUENCYCAP.fields_by_name['impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_FREQUENCYCAP.fields_by_name['time_unit'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_frequency__cap__time__unit__pb2._FREQUENCYCAPTIMEUNITENUM_FREQUENCYCAPTIMEUNIT +_TARGETING.fields_by_name['plannable_location_id'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_TARGETING.fields_by_name['age_range'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__age__range__pb2._REACHPLANAGERANGEENUM_REACHPLANAGERANGE +_TARGETING.fields_by_name['genders'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._GENDERINFO +_TARGETING.fields_by_name['devices'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_criteria__pb2._DEVICEINFO +_TARGETING.fields_by_name['network'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_reach__plan__network__pb2._REACHPLANNETWORKENUM_REACHPLANNETWORK +_CAMPAIGNDURATION.fields_by_name['duration_in_days'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +_PLANNEDPRODUCT.fields_by_name['plannable_product_code'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_PLANNEDPRODUCT.fields_by_name['budget_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_GENERATEREACHFORECASTRESPONSE.fields_by_name['on_target_audience_metrics'].message_type = _ONTARGETAUDIENCEMETRICS +_GENERATEREACHFORECASTRESPONSE.fields_by_name['reach_curve'].message_type = _REACHCURVE +_REACHCURVE.fields_by_name['reach_forecasts'].message_type = _REACHFORECAST +_REACHFORECAST.fields_by_name['cost_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_REACHFORECAST.fields_by_name['forecast'].message_type = _FORECAST +_REACHFORECAST.fields_by_name['forecasted_product_allocations'].message_type = _PRODUCTALLOCATION +_FORECAST.fields_by_name['on_target_reach'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_FORECAST.fields_by_name['total_reach'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_FORECAST.fields_by_name['on_target_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_FORECAST.fields_by_name['total_impressions'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ONTARGETAUDIENCEMETRICS.fields_by_name['youtube_audience_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +_ONTARGETAUDIENCEMETRICS.fields_by_name['census_audience_size'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE +DESCRIPTOR.message_types_by_name['ListPlannableLocationsRequest'] = _LISTPLANNABLELOCATIONSREQUEST +DESCRIPTOR.message_types_by_name['ListPlannableLocationsResponse'] = _LISTPLANNABLELOCATIONSRESPONSE +DESCRIPTOR.message_types_by_name['PlannableLocation'] = _PLANNABLELOCATION +DESCRIPTOR.message_types_by_name['ListPlannableProductsRequest'] = _LISTPLANNABLEPRODUCTSREQUEST +DESCRIPTOR.message_types_by_name['ListPlannableProductsResponse'] = _LISTPLANNABLEPRODUCTSRESPONSE +DESCRIPTOR.message_types_by_name['ProductMetadata'] = _PRODUCTMETADATA +DESCRIPTOR.message_types_by_name['PlannableTargeting'] = _PLANNABLETARGETING +DESCRIPTOR.message_types_by_name['GenerateProductMixIdeasRequest'] = _GENERATEPRODUCTMIXIDEASREQUEST +DESCRIPTOR.message_types_by_name['Preferences'] = _PREFERENCES +DESCRIPTOR.message_types_by_name['GenerateProductMixIdeasResponse'] = _GENERATEPRODUCTMIXIDEASRESPONSE +DESCRIPTOR.message_types_by_name['ProductAllocation'] = _PRODUCTALLOCATION +DESCRIPTOR.message_types_by_name['GenerateReachForecastRequest'] = _GENERATEREACHFORECASTREQUEST +DESCRIPTOR.message_types_by_name['FrequencyCap'] = _FREQUENCYCAP +DESCRIPTOR.message_types_by_name['Targeting'] = _TARGETING +DESCRIPTOR.message_types_by_name['CampaignDuration'] = _CAMPAIGNDURATION +DESCRIPTOR.message_types_by_name['PlannedProduct'] = _PLANNEDPRODUCT +DESCRIPTOR.message_types_by_name['GenerateReachForecastResponse'] = _GENERATEREACHFORECASTRESPONSE +DESCRIPTOR.message_types_by_name['ReachCurve'] = _REACHCURVE +DESCRIPTOR.message_types_by_name['ReachForecast'] = _REACHFORECAST +DESCRIPTOR.message_types_by_name['Forecast'] = _FORECAST +DESCRIPTOR.message_types_by_name['OnTargetAudienceMetrics'] = _ONTARGETAUDIENCEMETRICS +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +ListPlannableLocationsRequest = _reflection.GeneratedProtocolMessageType('ListPlannableLocationsRequest', (_message.Message,), dict( + DESCRIPTOR = _LISTPLANNABLELOCATIONSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Request message for [ReachForecastService.ListPlannableLocations][] + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPlannableLocationsRequest) + )) +_sym_db.RegisterMessage(ListPlannableLocationsRequest) + +ListPlannableLocationsResponse = _reflection.GeneratedProtocolMessageType('ListPlannableLocationsResponse', (_message.Message,), dict( + DESCRIPTOR = _LISTPLANNABLELOCATIONSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The list of plannable locations. + + + Attributes: + plannable_locations: + The list of locations available for planning (Countries, DMAs, + sub-countries). For locations like Countries, DMAs see https:/ + /developers.google.com/adwords/api/docs/appendix/geotargeting + for more information. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPlannableLocationsResponse) + )) +_sym_db.RegisterMessage(ListPlannableLocationsResponse) + +PlannableLocation = _reflection.GeneratedProtocolMessageType('PlannableLocation', (_message.Message,), dict( + DESCRIPTOR = _PLANNABLELOCATION, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """A plannable location: a country, a DMA, a metro region, a tv region, a + province. + + + Attributes: + id: + The location identifier. + name: + The unique location name in english. + parent_country_id: + The parent country code, not present if location is a country. + If present will always be a criterion id: additional + information, such as country name are returned both via + ListPlannableLocations or directly by accessing + GeoTargetConstantService with the criterion id. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.PlannableLocation) + )) +_sym_db.RegisterMessage(PlannableLocation) + +ListPlannableProductsRequest = _reflection.GeneratedProtocolMessageType('ListPlannableProductsRequest', (_message.Message,), dict( + DESCRIPTOR = _LISTPLANNABLEPRODUCTSREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Request to list available products in a given location. + + + Attributes: + plannable_location_id: + Required. The ID of the selected location for planning. To + list the available plannable location ids use + ListPlannableLocations. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPlannableProductsRequest) + )) +_sym_db.RegisterMessage(ListPlannableProductsRequest) + +ListPlannableProductsResponse = _reflection.GeneratedProtocolMessageType('ListPlannableProductsResponse', (_message.Message,), dict( + DESCRIPTOR = _LISTPLANNABLEPRODUCTSRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """A response with all available products. + + + Attributes: + product_metadata: + The list of products available for planning and related + targeting metadata. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ListPlannableProductsResponse) + )) +_sym_db.RegisterMessage(ListPlannableProductsResponse) + +ProductMetadata = _reflection.GeneratedProtocolMessageType('ProductMetadata', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTMETADATA, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The metadata associated with an available plannable product. + + + Attributes: + plannable_product_code: + The code associated with the ad product. E.g. Trueview, Bumper + To list the available plannable product codes use + ListPlannableProducts. + plannable_targeting: + The allowed plannable targeting for this product. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ProductMetadata) + )) +_sym_db.RegisterMessage(ProductMetadata) + +PlannableTargeting = _reflection.GeneratedProtocolMessageType('PlannableTargeting', (_message.Message,), dict( + DESCRIPTOR = _PLANNABLETARGETING, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The targeting for which traffic metrics will be reported. + + + Attributes: + age_ranges: + Allowed plannable age ranges for the product for which metrics + will be reported. Actual targeting is computed by mapping this + age range onto standard Google common.AgeRangeInfo values. + genders: + Targetable genders for the ad product. + devices: + Targetable devices for the ad product. + networks: + Targetable networks for the ad product. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.PlannableTargeting) + )) +_sym_db.RegisterMessage(PlannableTargeting) + +GenerateProductMixIdeasRequest = _reflection.GeneratedProtocolMessageType('GenerateProductMixIdeasRequest', (_message.Message,), dict( + DESCRIPTOR = _GENERATEPRODUCTMIXIDEASREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Request message for [ReachForecastService.GenerateProductMixIdeas][]. + + + Attributes: + customer_id: + Required. The ID of the customer. + plannable_location_id: + Required. The ID of the location, this is one of the ids + returned by ListPlannableLocations. + currency_code: + Required. Currency code. Three-character ISO 4217 currency + code. + budget_micros: + Required. Total budget. Amount in micros. One million is + equivalent to one unit. + preferences: + The preferences of the suggested product mix. An unset + preference is interpreted as all possible values are allowed, + unless explicitly specified. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateProductMixIdeasRequest) + )) +_sym_db.RegisterMessage(GenerateProductMixIdeasRequest) + +Preferences = _reflection.GeneratedProtocolMessageType('Preferences', (_message.Message,), dict( + DESCRIPTOR = _PREFERENCES, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Set of preferences about the planned mix. + + + Attributes: + is_skippable: + True if ad skippable. If not set, default is any value. + starts_with_sound: + True if ad start with sound. If not set, default is any value. + ad_length: + The length of the ad. If not set, default is any value. + top_content_only: + True if ad will only show on the top content. If not set, + default is false. + has_guaranteed_price: + True if the price guaranteed. The cost of serving the ad is + agreed upfront and not subject to an auction. If not set, + default is any value. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.Preferences) + )) +_sym_db.RegisterMessage(Preferences) + +GenerateProductMixIdeasResponse = _reflection.GeneratedProtocolMessageType('GenerateProductMixIdeasResponse', (_message.Message,), dict( + DESCRIPTOR = _GENERATEPRODUCTMIXIDEASRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The suggested product mix. + + + Attributes: + product_allocation: + A list of products (ad formats) and the associated budget + allocation idea. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateProductMixIdeasResponse) + )) +_sym_db.RegisterMessage(GenerateProductMixIdeasResponse) + +ProductAllocation = _reflection.GeneratedProtocolMessageType('ProductAllocation', (_message.Message,), dict( + DESCRIPTOR = _PRODUCTALLOCATION, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """An allocation of a part of the budget on a given product. + + + Attributes: + plannable_product_code: + Selected product for planning. The product codes returned are + within the set of the ones returned by ListPlannableProducts + when using the same location id. + budget_micros: + The value to be allocated for the suggested product in + requested currency. Amount in micros. One million is + equivalent to one unit. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ProductAllocation) + )) +_sym_db.RegisterMessage(ProductAllocation) + +GenerateReachForecastRequest = _reflection.GeneratedProtocolMessageType('GenerateReachForecastRequest', (_message.Message,), dict( + DESCRIPTOR = _GENERATEREACHFORECASTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Request message for + [ReachPlanService.GenerateReachForecast][google.ads.googleads.v4.services.ReachPlanService.GenerateReachForecast]. + + + Attributes: + customer_id: + Required. The ID of the customer. + currency_code: + The currency code. Three-character ISO 4217 currency code. + campaign_duration: + Required. Campaign duration. + cookie_frequency_cap: + Desired cookie frequency cap that will be applied to each + planned product. This is equivalent to the frequency cap + exposed in Google Ads when creating a campaign, it represents + the maximum number of times an ad can be shown to the same + user. If not specified no cap is applied. This field is + deprecated in v4 and will eventually be removed. Please use + cookie\_frequency\_cap\_setting instead. + cookie_frequency_cap_setting: + Desired cookie frequency cap that will be applied to each + planned product. This is equivalent to the frequency cap + exposed in Google Ads when creating a campaign, it represents + the maximum number of times an ad can be shown to the same + user during a specified time interval. If not specified, no + cap is applied. This field replaces the deprecated + cookie\_frequency\_cap field. + min_effective_frequency: + Desired minimum effective frequency (the number of times a + person was exposed to the ad) for the reported reach metrics + [1-10]. This won't affect the targeting, but just the + reporting. If not specified, a default of 1 is applied. + targeting: + The targeting to be applied to all products selected in the + product mix. This is planned targeting: execution details + might vary based on the advertising product, please consult an + implementation specialist. See specific metrics for details + on how targeting affects them. In some cases, targeting may + be overridden using the + PlannedProduct.advanced\_product\_targeting field. + planned_products: + Required. The products to be forecast. The max number of + allowed planned products is 15. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateReachForecastRequest) + )) +_sym_db.RegisterMessage(GenerateReachForecastRequest) + +FrequencyCap = _reflection.GeneratedProtocolMessageType('FrequencyCap', (_message.Message,), dict( + DESCRIPTOR = _FREQUENCYCAP, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """A rule specifying the maximum number of times an ad can be shown to a + user over a particular time period. + + + Attributes: + impressions: + Required. The number of impressions, inclusive. + time_unit: + Required. The type of time unit. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.FrequencyCap) + )) +_sym_db.RegisterMessage(FrequencyCap) + +Targeting = _reflection.GeneratedProtocolMessageType('Targeting', (_message.Message,), dict( + DESCRIPTOR = _TARGETING, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The targeting for which traffic metrics will be reported. + + + Attributes: + plannable_location_id: + Required. The ID of the selected location. Plannable locations + ID can be obtained from ListPlannableLocations. + age_range: + Targeted age range. If not specified, targets all age ranges. + genders: + Targeted genders. If not specified, targets all genders. + devices: + Targeted devices. If not specified, targets all applicable + devices. Applicable devices vary by product and region and can + be obtained from ListPlannableProducts. + network: + Targetable network for the ad product. If not specified, + targets all applicable networks. Applicable networks vary by + product and region and can be obtained from + ListPlannableProducts. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.Targeting) + )) +_sym_db.RegisterMessage(Targeting) + +CampaignDuration = _reflection.GeneratedProtocolMessageType('CampaignDuration', (_message.Message,), dict( + DESCRIPTOR = _CAMPAIGNDURATION, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The duration of a planned campaign. + + + Attributes: + duration_in_days: + The duration value in days. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.CampaignDuration) + )) +_sym_db.RegisterMessage(CampaignDuration) + +PlannedProduct = _reflection.GeneratedProtocolMessageType('PlannedProduct', (_message.Message,), dict( + DESCRIPTOR = _PLANNEDPRODUCT, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """A product being planned for reach. + + + Attributes: + plannable_product_code: + Required. Selected product for planning. Plannable products + codes can be obtained from ListPlannableProducts. + budget_micros: + Required. Maximum budget allocation in micros for the selected + product. The value is specified in the selected planning + currency\_code. E.g. 1 000 000$ = 1 000 000 000 000 micros. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.PlannedProduct) + )) +_sym_db.RegisterMessage(PlannedProduct) + +GenerateReachForecastResponse = _reflection.GeneratedProtocolMessageType('GenerateReachForecastResponse', (_message.Message,), dict( + DESCRIPTOR = _GENERATEREACHFORECASTRESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Response message containing the generated reach curve. + + + Attributes: + on_target_audience_metrics: + Reference on target audiences for this curve. + reach_curve: + The generated reach curve for the planned product mix. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GenerateReachForecastResponse) + )) +_sym_db.RegisterMessage(GenerateReachForecastResponse) + +ReachCurve = _reflection.GeneratedProtocolMessageType('ReachCurve', (_message.Message,), dict( + DESCRIPTOR = _REACHCURVE, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """The reach curve for the planned products. + + + Attributes: + reach_forecasts: + All points on the reach curve. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ReachCurve) + )) +_sym_db.RegisterMessage(ReachCurve) + +ReachForecast = _reflection.GeneratedProtocolMessageType('ReachForecast', (_message.Message,), dict( + DESCRIPTOR = _REACHFORECAST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """A point on reach curve. + + + Attributes: + cost_micros: + The cost in micros. + forecast: + Forecasted traffic metrics for this point. + forecasted_product_allocations: + The forecasted allocation. This differs from the input + allocation if one or more product cannot fulfill the budget + because of limited inventory. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ReachForecast) + )) +_sym_db.RegisterMessage(ReachForecast) + +Forecast = _reflection.GeneratedProtocolMessageType('Forecast', (_message.Message,), dict( + DESCRIPTOR = _FORECAST, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Forecasted traffic metrics for the planned products and targeting. + + + Attributes: + on_target_reach: + Number of unique people reached at least + GenerateReachForecastRequest.min\_effective\_frequency times + that exactly matches the Targeting. + total_reach: + Total number of unique people reached at least + GenerateReachForecastRequest.min\_effective\_frequency times. + This includes people that may fall outside the specified + Targeting. + on_target_impressions: + Number of ad impressions that exactly matches the Targeting. + total_impressions: + Total number of ad impressions. This includes impressions that + may fall outside the specified Targeting, due to insufficient + information on signed-in users. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.Forecast) + )) +_sym_db.RegisterMessage(Forecast) + +OnTargetAudienceMetrics = _reflection.GeneratedProtocolMessageType('OnTargetAudienceMetrics', (_message.Message,), dict( + DESCRIPTOR = _ONTARGETAUDIENCEMETRICS, + __module__ = 'google.ads.googleads_v4.proto.services.reach_plan_service_pb2' + , + __doc__ = """Audience metrics for the planned products. These metrics consider the + following targeting dimensions: + + - Location + - PlannableAgeRange + - Gender + + + Attributes: + youtube_audience_size: + Reference audience size matching the considered targeting for + YouTube. + census_audience_size: + Reference audience size matching the considered targeting for + Census. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.OnTargetAudienceMetrics) + )) +_sym_db.RegisterMessage(OnTargetAudienceMetrics) + + +DESCRIPTOR._options = None +_LISTPLANNABLEPRODUCTSREQUEST.fields_by_name['plannable_location_id']._options = None +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['customer_id']._options = None +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['plannable_location_id']._options = None +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['currency_code']._options = None +_GENERATEPRODUCTMIXIDEASREQUEST.fields_by_name['budget_micros']._options = None +_GENERATEREACHFORECASTREQUEST.fields_by_name['customer_id']._options = None +_GENERATEREACHFORECASTREQUEST.fields_by_name['campaign_duration']._options = None +_GENERATEREACHFORECASTREQUEST.fields_by_name['planned_products']._options = None +_FREQUENCYCAP.fields_by_name['impressions']._options = None +_FREQUENCYCAP.fields_by_name['time_unit']._options = None + +_REACHPLANSERVICE = _descriptor.ServiceDescriptor( + name='ReachPlanService', + full_name='google.ads.googleads.v4.services.ReachPlanService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=4621, + serialized_end=5642, + methods=[ + _descriptor.MethodDescriptor( + name='ListPlannableLocations', + full_name='google.ads.googleads.v4.services.ReachPlanService.ListPlannableLocations', + index=0, + containing_service=None, + input_type=_LISTPLANNABLELOCATIONSREQUEST, + output_type=_LISTPLANNABLELOCATIONSRESPONSE, + serialized_options=_b('\202\323\344\223\002\037\"\032/v4:listPlannableLocations:\001*'), + ), + _descriptor.MethodDescriptor( + name='ListPlannableProducts', + full_name='google.ads.googleads.v4.services.ReachPlanService.ListPlannableProducts', + index=1, + containing_service=None, + input_type=_LISTPLANNABLEPRODUCTSREQUEST, + output_type=_LISTPLANNABLEPRODUCTSRESPONSE, + serialized_options=_b('\202\323\344\223\002\036\"\031/v4:listPlannableProducts:\001*\332A\025plannable_location_id'), + ), + _descriptor.MethodDescriptor( + name='GenerateProductMixIdeas', + full_name='google.ads.googleads.v4.services.ReachPlanService.GenerateProductMixIdeas', + index=2, + containing_service=None, + input_type=_GENERATEPRODUCTMIXIDEASREQUEST, + output_type=_GENERATEPRODUCTMIXIDEASRESPONSE, + serialized_options=_b('\202\323\344\223\002:\"5/v4/customers/{customer_id=*}:generateProductMixIdeas:\001*\332A=customer_id,plannable_location_id,currency_code,budget_micros'), + ), + _descriptor.MethodDescriptor( + name='GenerateReachForecast', + full_name='google.ads.googleads.v4.services.ReachPlanService.GenerateReachForecast', + index=3, + containing_service=None, + input_type=_GENERATEREACHFORECASTREQUEST, + output_type=_GENERATEREACHFORECASTRESPONSE, + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}:generateReachForecast:\001*\332A.customer_id,campaign_duration,planned_products'), + ), +]) +_sym_db.RegisterServiceDescriptor(_REACHPLANSERVICE) + +DESCRIPTOR.services_by_name['ReachPlanService'] = _REACHPLANSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2_grpc.py new file mode 100644 index 000000000..9b1b73c3d --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/reach_plan_service_pb2_grpc.py @@ -0,0 +1,112 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.services import reach_plan_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2 + + +class ReachPlanServiceStub(object): + """Proto file describing the reach plan service. + + Reach Plan Service gives users information about audience size that can + be reached through advertisement on YouTube. In particular, + GenerateReachForecast provides estimated number of people of specified + demographics that can be reached by an ad in a given market by a campaign of + certain duration with a defined budget. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.ListPlannableLocations = channel.unary_unary( + '/google.ads.googleads.v4.services.ReachPlanService/ListPlannableLocations', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsResponse.FromString, + ) + self.ListPlannableProducts = channel.unary_unary( + '/google.ads.googleads.v4.services.ReachPlanService/ListPlannableProducts', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsResponse.FromString, + ) + self.GenerateProductMixIdeas = channel.unary_unary( + '/google.ads.googleads.v4.services.ReachPlanService/GenerateProductMixIdeas', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasResponse.FromString, + ) + self.GenerateReachForecast = channel.unary_unary( + '/google.ads.googleads.v4.services.ReachPlanService/GenerateReachForecast', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastResponse.FromString, + ) + + +class ReachPlanServiceServicer(object): + """Proto file describing the reach plan service. + + Reach Plan Service gives users information about audience size that can + be reached through advertisement on YouTube. In particular, + GenerateReachForecast provides estimated number of people of specified + demographics that can be reached by an ad in a given market by a campaign of + certain duration with a defined budget. + """ + + def ListPlannableLocations(self, request, context): + """Returns the list of plannable locations (for example, countries & DMAs). + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListPlannableProducts(self, request, context): + """Returns the list of per-location plannable YouTube ad formats with allowed + targeting. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GenerateProductMixIdeas(self, request, context): + """Generates a product mix ideas given a set of preferences. This method + helps the advertiser to obtain a good mix of ad formats and budget + allocations based on its preferences. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GenerateReachForecast(self, request, context): + """Generates a reach forecast for a given targeting / product mix. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ReachPlanServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'ListPlannableLocations': grpc.unary_unary_rpc_method_handler( + servicer.ListPlannableLocations, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableLocationsResponse.SerializeToString, + ), + 'ListPlannableProducts': grpc.unary_unary_rpc_method_handler( + servicer.ListPlannableProducts, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.ListPlannableProductsResponse.SerializeToString, + ), + 'GenerateProductMixIdeas': grpc.unary_unary_rpc_method_handler( + servicer.GenerateProductMixIdeas, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateProductMixIdeasResponse.SerializeToString, + ), + 'GenerateReachForecast': grpc.unary_unary_rpc_method_handler( + servicer.GenerateReachForecast, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_reach__plan__service__pb2.GenerateReachForecastResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.ReachPlanService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/recommendation_service_pb2.py b/google/ads/google_ads/v4/proto/services/recommendation_service_pb2.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/recommendation_service_pb2.py rename to google/ads/google_ads/v4/proto/services/recommendation_service_pb2.py index 03aa9a058..f50188d94 100644 --- a/google/ads/google_ads/v1/proto/services/recommendation_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/recommendation_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/recommendation_service.proto +# source: google/ads/googleads_v4/proto/services/recommendation_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,41 +13,44 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2 -from google.ads.google_ads.v1.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2 -from google.ads.google_ads.v1.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2 -from google.ads.google_ads.v1.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2 +from google.ads.google_ads.v4.proto.common import extensions_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2 +from google.ads.google_ads.v4.proto.enums import keyword_match_type_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2 +from google.ads.google_ads.v4.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2 +from google.ads.google_ads.v4.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/recommendation_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/recommendation_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\032RecommendationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nCgoogle/ads/googleads_v1/proto/services/recommendation_service.proto\x12 google.ads.googleads.v1.services\x1a\x35google/ads/googleads_v1/proto/common/extensions.proto\x1a.google.ads.googleads.v1.services.ApplyRecommendationOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\"\x82\x0f\n\x1c\x41pplyRecommendationOperation\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12r\n\x0f\x63\x61mpaign_budget\x18\x02 \x01(\x0b\x32W.google.ads.googleads.v1.services.ApplyRecommendationOperation.CampaignBudgetParametersH\x00\x12\x62\n\x07text_ad\x18\x03 \x01(\x0b\x32O.google.ads.googleads.v1.services.ApplyRecommendationOperation.TextAdParametersH\x00\x12\x63\n\x07keyword\x18\x04 \x01(\x0b\x32P.google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParametersH\x00\x12t\n\x11target_cpa_opt_in\x18\x05 \x01(\x0b\x32W.google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParametersH\x00\x12v\n\x11\x63\x61llout_extension\x18\x06 \x01(\x0b\x32Y.google.ads.googleads.v1.services.ApplyRecommendationOperation.CalloutExtensionParametersH\x00\x12p\n\x0e\x63\x61ll_extension\x18\x07 \x01(\x0b\x32V.google.ads.googleads.v1.services.ApplyRecommendationOperation.CallExtensionParametersH\x00\x12x\n\x12sitelink_extension\x18\x08 \x01(\x0b\x32Z.google.ads.googleads.v1.services.ApplyRecommendationOperation.SitelinkExtensionParametersH\x00\x12w\n\x12move_unused_budget\x18\t \x01(\x0b\x32Y.google.ads.googleads.v1.services.ApplyRecommendationOperation.MoveUnusedBudgetParametersH\x00\x1aY\n\x18\x43\x61mpaignBudgetParameters\x12=\n\x18new_budget_amount_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\x45\n\x10TextAdParameters\x12\x31\n\x02\x61\x64\x18\x01 \x01(\x0b\x32%.google.ads.googleads.v1.resources.Ad\x1a\xd2\x01\n\x11KeywordParameters\x12.\n\x08\x61\x64_group\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12X\n\nmatch_type\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v1.enums.KeywordMatchTypeEnum.KeywordMatchType\x12\x33\n\x0e\x63pc_bid_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\x9a\x01\n\x18TargetCpaOptInParameters\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x46\n!new_campaign_budget_amount_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1ai\n\x1a\x43\x61lloutExtensionParameters\x12K\n\x12\x63\x61llout_extensions\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v1.common.CalloutFeedItem\x1a`\n\x17\x43\x61llExtensionParameters\x12\x45\n\x0f\x63\x61ll_extensions\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v1.common.CallFeedItem\x1al\n\x1bSitelinkExtensionParameters\x12M\n\x13sitelink_extensions\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v1.common.SitelinkFeedItem\x1aX\n\x1aMoveUnusedBudgetParameters\x12:\n\x15\x62udget_micros_to_move\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x12\n\x10\x61pply_parameters\"\x9e\x01\n\x1b\x41pplyRecommendationResponse\x12L\n\x07results\x18\x01 \x03(\x0b\x32;.google.ads.googleads.v1.services.ApplyRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"2\n\x19\x41pplyRecommendationResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xf8\x01\n\x1c\x44ismissRecommendationRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12q\n\noperations\x18\x03 \x03(\x0b\x32].google.ads.googleads.v1.services.DismissRecommendationRequest.DismissRecommendationOperation\x12\x17\n\x0fpartial_failure\x18\x02 \x01(\x08\x1a\x37\n\x1e\x44ismissRecommendationOperation\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xf6\x01\n\x1d\x44ismissRecommendationResponse\x12l\n\x07results\x18\x01 \x03(\x0b\x32[.google.ads.googleads.v1.services.DismissRecommendationResponse.DismissRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a\x34\n\x1b\x44ismissRecommendationResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x89\x05\n\x15RecommendationService\x12\xbd\x01\n\x11GetRecommendation\x12:.google.ads.googleads.v1.services.GetRecommendationRequest\x1a\x31.google.ads.googleads.v1.resources.Recommendation\"9\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{resource_name=customers/*/recommendations/*}\x12\xd2\x01\n\x13\x41pplyRecommendation\x12<.google.ads.googleads.v1.services.ApplyRecommendationRequest\x1a=.google.ads.googleads.v1.services.ApplyRecommendationResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}/recommendations:apply:\x01*\x12\xda\x01\n\x15\x44ismissRecommendation\x12>.google.ads.googleads.v1.services.DismissRecommendationRequest\x1a?.google.ads.googleads.v1.services.DismissRecommendationResponse\"@\x82\xd3\xe4\x93\x02:\"5/v1/customers/{customer_id=*}/recommendations:dismiss:\x01*B\x81\x02\n$com.google.ads.googleads.v1.servicesB\x1aRecommendationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032RecommendationServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/recommendation_service.proto\x12 google.ads.googleads.v4.services\x1a\x35google/ads/googleads_v4/proto/common/extensions.proto\x1a.google.ads.googleads.v4.services.ApplyRecommendationOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\"\x82\x0f\n\x1c\x41pplyRecommendationOperation\x12\x15\n\rresource_name\x18\x01 \x01(\t\x12r\n\x0f\x63\x61mpaign_budget\x18\x02 \x01(\x0b\x32W.google.ads.googleads.v4.services.ApplyRecommendationOperation.CampaignBudgetParametersH\x00\x12\x62\n\x07text_ad\x18\x03 \x01(\x0b\x32O.google.ads.googleads.v4.services.ApplyRecommendationOperation.TextAdParametersH\x00\x12\x63\n\x07keyword\x18\x04 \x01(\x0b\x32P.google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParametersH\x00\x12t\n\x11target_cpa_opt_in\x18\x05 \x01(\x0b\x32W.google.ads.googleads.v4.services.ApplyRecommendationOperation.TargetCpaOptInParametersH\x00\x12v\n\x11\x63\x61llout_extension\x18\x06 \x01(\x0b\x32Y.google.ads.googleads.v4.services.ApplyRecommendationOperation.CalloutExtensionParametersH\x00\x12p\n\x0e\x63\x61ll_extension\x18\x07 \x01(\x0b\x32V.google.ads.googleads.v4.services.ApplyRecommendationOperation.CallExtensionParametersH\x00\x12x\n\x12sitelink_extension\x18\x08 \x01(\x0b\x32Z.google.ads.googleads.v4.services.ApplyRecommendationOperation.SitelinkExtensionParametersH\x00\x12w\n\x12move_unused_budget\x18\t \x01(\x0b\x32Y.google.ads.googleads.v4.services.ApplyRecommendationOperation.MoveUnusedBudgetParametersH\x00\x1aY\n\x18\x43\x61mpaignBudgetParameters\x12=\n\x18new_budget_amount_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\x45\n\x10TextAdParameters\x12\x31\n\x02\x61\x64\x18\x01 \x01(\x0b\x32%.google.ads.googleads.v4.resources.Ad\x1a\xd2\x01\n\x11KeywordParameters\x12.\n\x08\x61\x64_group\x18\x01 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12X\n\nmatch_type\x18\x02 \x01(\x0e\x32\x44.google.ads.googleads.v4.enums.KeywordMatchTypeEnum.KeywordMatchType\x12\x33\n\x0e\x63pc_bid_micros\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\x9a\x01\n\x18TargetCpaOptInParameters\x12\x36\n\x11target_cpa_micros\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x46\n!new_campaign_budget_amount_micros\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1ai\n\x1a\x43\x61lloutExtensionParameters\x12K\n\x12\x63\x61llout_extensions\x18\x01 \x03(\x0b\x32/.google.ads.googleads.v4.common.CalloutFeedItem\x1a`\n\x17\x43\x61llExtensionParameters\x12\x45\n\x0f\x63\x61ll_extensions\x18\x01 \x03(\x0b\x32,.google.ads.googleads.v4.common.CallFeedItem\x1al\n\x1bSitelinkExtensionParameters\x12M\n\x13sitelink_extensions\x18\x01 \x03(\x0b\x32\x30.google.ads.googleads.v4.common.SitelinkFeedItem\x1aX\n\x1aMoveUnusedBudgetParameters\x12:\n\x15\x62udget_micros_to_move\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\x12\n\x10\x61pply_parameters\"\x9e\x01\n\x1b\x41pplyRecommendationResponse\x12L\n\x07results\x18\x01 \x03(\x0b\x32;.google.ads.googleads.v4.services.ApplyRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"2\n\x19\x41pplyRecommendationResult\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\x82\x02\n\x1c\x44ismissRecommendationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12v\n\noperations\x18\x03 \x03(\x0b\x32].google.ads.googleads.v4.services.DismissRecommendationRequest.DismissRecommendationOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x02 \x01(\x08\x1a\x37\n\x1e\x44ismissRecommendationOperation\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xf6\x01\n\x1d\x44ismissRecommendationResponse\x12l\n\x07results\x18\x01 \x03(\x0b\x32[.google.ads.googleads.v4.services.DismissRecommendationResponse.DismissRecommendationResult\x12\x31\n\x15partial_failure_error\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x1a\x34\n\x1b\x44ismissRecommendationResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xe8\x05\n\x15RecommendationService\x12\xcd\x01\n\x11GetRecommendation\x12:.google.ads.googleads.v4.services.GetRecommendationRequest\x1a\x31.google.ads.googleads.v4.resources.Recommendation\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/recommendations/*}\xda\x41\rresource_name\x12\xeb\x01\n\x13\x41pplyRecommendation\x12<.google.ads.googleads.v4.services.ApplyRecommendationRequest\x1a=.google.ads.googleads.v4.services.ApplyRecommendationResponse\"W\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}/recommendations:apply:\x01*\xda\x41\x16\x63ustomer_id,operations\x12\xf3\x01\n\x15\x44ismissRecommendation\x12>.google.ads.googleads.v4.services.DismissRecommendationRequest\x1a?.google.ads.googleads.v4.services.DismissRecommendationResponse\"Y\x82\xd3\xe4\x93\x02:\"5/v4/customers/{customer_id=*}/recommendations:dismiss:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1aRecommendationServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2.DESCRIPTOR,google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETRECOMMENDATIONREQUEST = _descriptor.Descriptor( name='GetRecommendationRequest', - full_name='google.ads.googleads.v1.services.GetRecommendationRequest', + full_name='google.ads.googleads.v4.services.GetRecommendationRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetRecommendationRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetRecommendationRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/Recommendation'), file=DESCRIPTOR), ], extensions=[ ], @@ -60,34 +63,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=421, - serialized_end=470, + serialized_start=506, + serialized_end=604, ) _APPLYRECOMMENDATIONREQUEST = _descriptor.Descriptor( name='ApplyRecommendationRequest', - full_name='google.ads.googleads.v1.services.ApplyRecommendationRequest', + full_name='google.ads.googleads.v4.services.ApplyRecommendationRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.ApplyRecommendationRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.ApplyRecommendationRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.ApplyRecommendationRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.ApplyRecommendationRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.ApplyRecommendationRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.ApplyRecommendationRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -105,20 +108,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=473, - serialized_end=631, + serialized_start=607, + serialized_end=775, ) _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS = _descriptor.Descriptor( name='CampaignBudgetParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CampaignBudgetParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CampaignBudgetParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='new_budget_amount_micros', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CampaignBudgetParameters.new_budget_amount_micros', index=0, + name='new_budget_amount_micros', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CampaignBudgetParameters.new_budget_amount_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -136,19 +139,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1601, - serialized_end=1690, + serialized_start=1745, + serialized_end=1834, ) _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS = _descriptor.Descriptor( name='TextAdParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.TextAdParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.TextAdParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.TextAdParameters.ad', index=0, + name='ad', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.TextAdParameters.ad', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -166,33 +169,33 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1692, - serialized_end=1761, + serialized_start=1836, + serialized_end=1905, ) _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS = _descriptor.Descriptor( name='KeywordParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ad_group', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters.ad_group', index=0, + name='ad_group', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParameters.ad_group', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='match_type', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters.match_type', index=1, + name='match_type', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParameters.match_type', index=1, number=2, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='cpc_bid_micros', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters.cpc_bid_micros', index=2, + name='cpc_bid_micros', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParameters.cpc_bid_micros', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -210,26 +213,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1764, - serialized_end=1974, + serialized_start=1908, + serialized_end=2118, ) _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS = _descriptor.Descriptor( name='TargetCpaOptInParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.TargetCpaOptInParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='target_cpa_micros', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParameters.target_cpa_micros', index=0, + name='target_cpa_micros', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.TargetCpaOptInParameters.target_cpa_micros', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='new_campaign_budget_amount_micros', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParameters.new_campaign_budget_amount_micros', index=1, + name='new_campaign_budget_amount_micros', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.TargetCpaOptInParameters.new_campaign_budget_amount_micros', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -247,19 +250,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1977, - serialized_end=2131, + serialized_start=2121, + serialized_end=2275, ) _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS = _descriptor.Descriptor( name='CalloutExtensionParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CalloutExtensionParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CalloutExtensionParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='callout_extensions', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CalloutExtensionParameters.callout_extensions', index=0, + name='callout_extensions', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CalloutExtensionParameters.callout_extensions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -277,19 +280,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2133, - serialized_end=2238, + serialized_start=2277, + serialized_end=2382, ) _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS = _descriptor.Descriptor( name='CallExtensionParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CallExtensionParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CallExtensionParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='call_extensions', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.CallExtensionParameters.call_extensions', index=0, + name='call_extensions', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.CallExtensionParameters.call_extensions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -307,19 +310,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2240, - serialized_end=2336, + serialized_start=2384, + serialized_end=2480, ) _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS = _descriptor.Descriptor( name='SitelinkExtensionParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.SitelinkExtensionParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.SitelinkExtensionParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='sitelink_extensions', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.SitelinkExtensionParameters.sitelink_extensions', index=0, + name='sitelink_extensions', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.SitelinkExtensionParameters.sitelink_extensions', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -337,19 +340,19 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2338, - serialized_end=2446, + serialized_start=2482, + serialized_end=2590, ) _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS = _descriptor.Descriptor( name='MoveUnusedBudgetParameters', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='budget_micros_to_move', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters.budget_micros_to_move', index=0, + name='budget_micros_to_move', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters.budget_micros_to_move', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -367,75 +370,75 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2448, - serialized_end=2536, + serialized_start=2592, + serialized_end=2680, ) _APPLYRECOMMENDATIONOPERATION = _descriptor.Descriptor( name='ApplyRecommendationOperation', - full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation', + full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='campaign_budget', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.campaign_budget', index=1, + name='campaign_budget', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.campaign_budget', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='text_ad', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.text_ad', index=2, + name='text_ad', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.text_ad', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='keyword', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.keyword', index=3, + name='keyword', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.keyword', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='target_cpa_opt_in', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.target_cpa_opt_in', index=4, + name='target_cpa_opt_in', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.target_cpa_opt_in', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='callout_extension', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.callout_extension', index=5, + name='callout_extension', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.callout_extension', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='call_extension', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.call_extension', index=6, + name='call_extension', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.call_extension', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='sitelink_extension', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.sitelink_extension', index=7, + name='sitelink_extension', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.sitelink_extension', index=7, number=8, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='move_unused_budget', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.move_unused_budget', index=8, + name='move_unused_budget', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.move_unused_budget', index=8, number=9, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -453,30 +456,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='apply_parameters', full_name='google.ads.googleads.v1.services.ApplyRecommendationOperation.apply_parameters', + name='apply_parameters', full_name='google.ads.googleads.v4.services.ApplyRecommendationOperation.apply_parameters', index=0, containing_type=None, fields=[]), ], - serialized_start=634, - serialized_end=2556, + serialized_start=778, + serialized_end=2700, ) _APPLYRECOMMENDATIONRESPONSE = _descriptor.Descriptor( name='ApplyRecommendationResponse', - full_name='google.ads.googleads.v1.services.ApplyRecommendationResponse', + full_name='google.ads.googleads.v4.services.ApplyRecommendationResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.ApplyRecommendationResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.ApplyRecommendationResponse.results', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.ApplyRecommendationResponse.partial_failure_error', index=1, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.ApplyRecommendationResponse.partial_failure_error', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -494,20 +497,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2559, - serialized_end=2717, + serialized_start=2703, + serialized_end=2861, ) _APPLYRECOMMENDATIONRESULT = _descriptor.Descriptor( name='ApplyRecommendationResult', - full_name='google.ads.googleads.v1.services.ApplyRecommendationResult', + full_name='google.ads.googleads.v4.services.ApplyRecommendationResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.ApplyRecommendationResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.ApplyRecommendationResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -525,20 +528,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2719, - serialized_end=2769, + serialized_start=2863, + serialized_end=2913, ) _DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION = _descriptor.Descriptor( name='DismissRecommendationOperation', - full_name='google.ads.googleads.v1.services.DismissRecommendationRequest.DismissRecommendationOperation', + full_name='google.ads.googleads.v4.services.DismissRecommendationRequest.DismissRecommendationOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.DismissRecommendationRequest.DismissRecommendationOperation.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.DismissRecommendationRequest.DismissRecommendationOperation.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -556,33 +559,33 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2965, - serialized_end=3020, + serialized_start=3119, + serialized_end=3174, ) _DISMISSRECOMMENDATIONREQUEST = _descriptor.Descriptor( name='DismissRecommendationRequest', - full_name='google.ads.googleads.v1.services.DismissRecommendationRequest', + full_name='google.ads.googleads.v4.services.DismissRecommendationRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.DismissRecommendationRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.DismissRecommendationRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.DismissRecommendationRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.DismissRecommendationRequest.operations', index=1, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.DismissRecommendationRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.DismissRecommendationRequest.partial_failure', index=2, number=2, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -600,20 +603,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2772, - serialized_end=3020, + serialized_start=2916, + serialized_end=3174, ) _DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT = _descriptor.Descriptor( name='DismissRecommendationResult', - full_name='google.ads.googleads.v1.services.DismissRecommendationResponse.DismissRecommendationResult', + full_name='google.ads.googleads.v4.services.DismissRecommendationResponse.DismissRecommendationResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.DismissRecommendationResponse.DismissRecommendationResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.DismissRecommendationResponse.DismissRecommendationResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -631,26 +634,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3217, - serialized_end=3269, + serialized_start=3371, + serialized_end=3423, ) _DISMISSRECOMMENDATIONRESPONSE = _descriptor.Descriptor( name='DismissRecommendationResponse', - full_name='google.ads.googleads.v1.services.DismissRecommendationResponse', + full_name='google.ads.googleads.v4.services.DismissRecommendationResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.DismissRecommendationResponse.results', index=0, + name='results', full_name='google.ads.googleads.v4.services.DismissRecommendationResponse.results', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.DismissRecommendationResponse.partial_failure_error', index=1, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.DismissRecommendationResponse.partial_failure_error', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -668,27 +671,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3023, - serialized_end=3269, + serialized_start=3177, + serialized_end=3423, ) _APPLYRECOMMENDATIONREQUEST.fields_by_name['operations'].message_type = _APPLYRECOMMENDATIONOPERATION _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS.fields_by_name['new_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION -_APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_ad__pb2._AD +_APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS.fields_by_name['ad'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_ad__pb2._AD _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS.fields_by_name['ad_group'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE -_APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS.fields_by_name['match_type'].enum_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE +_APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS.fields_by_name['match_type'].enum_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_enums_dot_keyword__match__type__pb2._KEYWORDMATCHTYPEENUM_KEYWORDMATCHTYPE _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS.fields_by_name['cpc_bid_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS.fields_by_name['target_cpa_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS.fields_by_name['new_campaign_budget_amount_micros'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION -_APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS.fields_by_name['callout_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM +_APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS.fields_by_name['callout_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLOUTFEEDITEM _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION -_APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS.fields_by_name['call_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM +_APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS.fields_by_name['call_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._CALLFEEDITEM _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION -_APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS.fields_by_name['sitelink_extensions'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM +_APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS.fields_by_name['sitelink_extensions'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_extensions__pb2._SITELINKFEEDITEM _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS.fields_by_name['budget_micros_to_move'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT64VALUE _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS.containing_type = _APPLYRECOMMENDATIONOPERATION @@ -742,33 +745,33 @@ GetRecommendationRequest = _reflection.GeneratedProtocolMessageType('GetRecommendationRequest', (_message.Message,), dict( DESCRIPTOR = _GETRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Request message for - [RecommendationService.GetRecommendation][google.ads.googleads.v1.services.RecommendationService.GetRecommendation]. + [RecommendationService.GetRecommendation][google.ads.googleads.v4.services.RecommendationService.GetRecommendation]. Attributes: resource_name: - The resource name of the recommendation to fetch. + Required. The resource name of the recommendation to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetRecommendationRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetRecommendationRequest) )) _sym_db.RegisterMessage(GetRecommendationRequest) ApplyRecommendationRequest = _reflection.GeneratedProtocolMessageType('ApplyRecommendationRequest', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Request message for - [RecommendationService.ApplyRecommendation][google.ads.googleads.v1.services.RecommendationService.ApplyRecommendation]. + [RecommendationService.ApplyRecommendation][google.ads.googleads.v4.services.RecommendationService.ApplyRecommendation]. Attributes: customer_id: - The ID of the customer with the recommendation. + Required. The ID of the customer with the recommendation. operations: - The list of operations to apply recommendations. If + Required. The list of operations to apply recommendations. If partial\_failure=false all recommendations should be of the same type There is a limit of 100 operations per request. partial_failure: @@ -777,7 +780,7 @@ carried out as a transaction if and only if they are all valid. Default is false. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationRequest) )) _sym_db.RegisterMessage(ApplyRecommendationRequest) @@ -785,7 +788,7 @@ CampaignBudgetParameters = _reflection.GeneratedProtocolMessageType('CampaignBudgetParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CAMPAIGNBUDGETPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying a campaign budget recommendation. @@ -795,13 +798,13 @@ New budget amount to set for target budget resource. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.CampaignBudgetParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.CampaignBudgetParameters) )) , TextAdParameters = _reflection.GeneratedProtocolMessageType('TextAdParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_TEXTADPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying a text ad recommendation. @@ -811,13 +814,13 @@ New ad to add to recommended ad group. All necessary fields need to be set in this message. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.TextAdParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.TextAdParameters) )) , KeywordParameters = _reflection.GeneratedProtocolMessageType('KeywordParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_KEYWORDPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying keyword recommendation. @@ -833,13 +836,13 @@ will use bid based on bidding strategy used by target ad group. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.KeywordParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.KeywordParameters) )) , TargetCpaOptInParameters = _reflection.GeneratedProtocolMessageType('TargetCpaOptInParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_TARGETCPAOPTINPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying Target CPA recommendation. @@ -851,13 +854,13 @@ new_campaign_budget_amount_micros: Optional, budget amount to set for the campaign. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.TargetCpaOptInParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.TargetCpaOptInParameters) )) , CalloutExtensionParameters = _reflection.GeneratedProtocolMessageType('CalloutExtensionParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CALLOUTEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying callout extension recommendation. @@ -866,13 +869,13 @@ callout_extensions: Callout extensions to be added. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.CalloutExtensionParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.CalloutExtensionParameters) )) , CallExtensionParameters = _reflection.GeneratedProtocolMessageType('CallExtensionParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_CALLEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying call extension recommendation. @@ -881,13 +884,13 @@ call_extensions: Call extensions to be added. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.CallExtensionParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.CallExtensionParameters) )) , SitelinkExtensionParameters = _reflection.GeneratedProtocolMessageType('SitelinkExtensionParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_SITELINKEXTENSIONPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying sitelink extension recommendation. @@ -896,13 +899,13 @@ sitelink_extensions: Sitelink extensions to be added. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.SitelinkExtensionParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.SitelinkExtensionParameters) )) , MoveUnusedBudgetParameters = _reflection.GeneratedProtocolMessageType('MoveUnusedBudgetParameters', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION_MOVEUNUSEDBUDGETPARAMETERS, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Parameters to use when applying move unused budget recommendation. @@ -912,11 +915,11 @@ Budget amount to move from excess budget to constrained budget. This is a required field. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation.MoveUnusedBudgetParameters) )) , DESCRIPTOR = _APPLYRECOMMENDATIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Information about the operation to apply a recommendation and any parameters to customize it. @@ -951,7 +954,7 @@ Parameters to use when applying move unused budget recommendation. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationOperation) )) _sym_db.RegisterMessage(ApplyRecommendationOperation) _sym_db.RegisterMessage(ApplyRecommendationOperation.CampaignBudgetParameters) @@ -965,10 +968,10 @@ ApplyRecommendationResponse = _reflection.GeneratedProtocolMessageType('ApplyRecommendationResponse', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Response message for - [RecommendationService.ApplyRecommendation][google.ads.googleads.v1.services.RecommendationService.ApplyRecommendation]. + [RecommendationService.ApplyRecommendation][google.ads.googleads.v4.services.RecommendationService.ApplyRecommendation]. Attributes: @@ -981,13 +984,13 @@ outside the operations (e.g. auth errors) we return the RPC level error. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationResponse) )) _sym_db.RegisterMessage(ApplyRecommendationResponse) ApplyRecommendationResult = _reflection.GeneratedProtocolMessageType('ApplyRecommendationResult', (_message.Message,), dict( DESCRIPTOR = _APPLYRECOMMENDATIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """The result of applying a recommendation. @@ -996,7 +999,7 @@ resource_name: Returned for successful applies. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.ApplyRecommendationResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.ApplyRecommendationResult) )) _sym_db.RegisterMessage(ApplyRecommendationResult) @@ -1004,7 +1007,7 @@ DismissRecommendationOperation = _reflection.GeneratedProtocolMessageType('DismissRecommendationOperation', (_message.Message,), dict( DESCRIPTOR = _DISMISSRECOMMENDATIONREQUEST_DISMISSRECOMMENDATIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Operation to dismiss a single recommendation identified by resource\_name. @@ -1014,22 +1017,22 @@ resource_name: The resource name of the recommendation to dismiss. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.DismissRecommendationRequest.DismissRecommendationOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.DismissRecommendationRequest.DismissRecommendationOperation) )) , DESCRIPTOR = _DISMISSRECOMMENDATIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Request message for - [RecommendationService.DismissRecommendation][google.ads.googleads.v1.services.RecommendationService.DismissRecommendation]. + [RecommendationService.DismissRecommendation][google.ads.googleads.v4.services.RecommendationService.DismissRecommendation]. Attributes: customer_id: - The ID of the customer with the recommendation. + Required. The ID of the customer with the recommendation. operations: - The list of operations to dismiss recommendations. If - partial\_failure=false all recommendations should be of the + Required. The list of operations to dismiss recommendations. + If partial\_failure=false all recommendations should be of the same type There is a limit of 100 operations per request. partial_failure: If true, successful operations will be carried out and invalid @@ -1037,7 +1040,7 @@ carried in a single transaction if and only if they are all valid. Default is false. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.DismissRecommendationRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.DismissRecommendationRequest) )) _sym_db.RegisterMessage(DismissRecommendationRequest) _sym_db.RegisterMessage(DismissRecommendationRequest.DismissRecommendationOperation) @@ -1046,7 +1049,7 @@ DismissRecommendationResult = _reflection.GeneratedProtocolMessageType('DismissRecommendationResult', (_message.Message,), dict( DESCRIPTOR = _DISMISSRECOMMENDATIONRESPONSE_DISMISSRECOMMENDATIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """The result of dismissing a recommendation. @@ -1055,14 +1058,14 @@ resource_name: Returned for successful dismissals. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.DismissRecommendationResponse.DismissRecommendationResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.DismissRecommendationResponse.DismissRecommendationResult) )) , DESCRIPTOR = _DISMISSRECOMMENDATIONRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.recommendation_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.recommendation_service_pb2' , __doc__ = """Response message for - [RecommendationService.DismissRecommendation][google.ads.googleads.v1.services.RecommendationService.DismissRecommendation]. + [RecommendationService.DismissRecommendation][google.ads.googleads.v4.services.RecommendationService.DismissRecommendation]. Attributes: @@ -1075,49 +1078,54 @@ outside the operations (e.g. auth errors) we return the RPC level error. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.DismissRecommendationResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.DismissRecommendationResponse) )) _sym_db.RegisterMessage(DismissRecommendationResponse) _sym_db.RegisterMessage(DismissRecommendationResponse.DismissRecommendationResult) DESCRIPTOR._options = None +_GETRECOMMENDATIONREQUEST.fields_by_name['resource_name']._options = None +_APPLYRECOMMENDATIONREQUEST.fields_by_name['customer_id']._options = None +_APPLYRECOMMENDATIONREQUEST.fields_by_name['operations']._options = None +_DISMISSRECOMMENDATIONREQUEST.fields_by_name['customer_id']._options = None +_DISMISSRECOMMENDATIONREQUEST.fields_by_name['operations']._options = None _RECOMMENDATIONSERVICE = _descriptor.ServiceDescriptor( name='RecommendationService', - full_name='google.ads.googleads.v1.services.RecommendationService', + full_name='google.ads.googleads.v4.services.RecommendationService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=3272, - serialized_end=3921, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=3426, + serialized_end=4170, methods=[ _descriptor.MethodDescriptor( name='GetRecommendation', - full_name='google.ads.googleads.v1.services.RecommendationService.GetRecommendation', + full_name='google.ads.googleads.v4.services.RecommendationService.GetRecommendation', index=0, containing_service=None, input_type=_GETRECOMMENDATIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION, - serialized_options=_b('\202\323\344\223\0023\0221/v1/{resource_name=customers/*/recommendations/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2._RECOMMENDATION, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/recommendations/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='ApplyRecommendation', - full_name='google.ads.googleads.v1.services.RecommendationService.ApplyRecommendation', + full_name='google.ads.googleads.v4.services.RecommendationService.ApplyRecommendation', index=1, containing_service=None, input_type=_APPLYRECOMMENDATIONREQUEST, output_type=_APPLYRECOMMENDATIONRESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}/recommendations:apply:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}/recommendations:apply:\001*\332A\026customer_id,operations'), ), _descriptor.MethodDescriptor( name='DismissRecommendation', - full_name='google.ads.googleads.v1.services.RecommendationService.DismissRecommendation', + full_name='google.ads.googleads.v4.services.RecommendationService.DismissRecommendation', index=2, containing_service=None, input_type=_DISMISSRECOMMENDATIONREQUEST, output_type=_DISMISSRECOMMENDATIONRESPONSE, - serialized_options=_b('\202\323\344\223\002:\"5/v1/customers/{customer_id=*}/recommendations:dismiss:\001*'), + serialized_options=_b('\202\323\344\223\002:\"5/v4/customers/{customer_id=*}/recommendations:dismiss:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_RECOMMENDATIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/recommendation_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/recommendation_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/recommendation_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/recommendation_service_pb2_grpc.py index a461e1a67..5fc0027da 100644 --- a/google/ads/google_ads/v1/proto/services/recommendation_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/recommendation_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2 -from google.ads.google_ads.v1.proto.services import recommendation_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2 +from google.ads.google_ads.v4.proto.resources import recommendation_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2 +from google.ads.google_ads.v4.proto.services import recommendation_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2 class RecommendationServiceStub(object): @@ -18,19 +18,19 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetRecommendation = channel.unary_unary( - '/google.ads.googleads.v1.services.RecommendationService/GetRecommendation', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2.Recommendation.FromString, + '/google.ads.googleads.v4.services.RecommendationService/GetRecommendation', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2.Recommendation.FromString, ) self.ApplyRecommendation = channel.unary_unary( - '/google.ads.googleads.v1.services.RecommendationService/ApplyRecommendation', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationResponse.FromString, + '/google.ads.googleads.v4.services.RecommendationService/ApplyRecommendation', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationResponse.FromString, ) self.DismissRecommendation = channel.unary_unary( - '/google.ads.googleads.v1.services.RecommendationService/DismissRecommendation', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.FromString, + '/google.ads.googleads.v4.services.RecommendationService/DismissRecommendation', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.FromString, ) @@ -66,20 +66,20 @@ def add_RecommendationServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetRecommendation': grpc.unary_unary_rpc_method_handler( servicer.GetRecommendation, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_recommendation__pb2.Recommendation.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.GetRecommendationRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_recommendation__pb2.Recommendation.SerializeToString, ), 'ApplyRecommendation': grpc.unary_unary_rpc_method_handler( servicer.ApplyRecommendation, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.ApplyRecommendationResponse.SerializeToString, ), 'DismissRecommendation': grpc.unary_unary_rpc_method_handler( servicer.DismissRecommendation, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_recommendation__service__pb2.DismissRecommendationResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.RecommendationService', rpc_method_handlers) + 'google.ads.googleads.v4.services.RecommendationService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2.py b/google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2.py rename to google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2.py index 0afe27750..635f959b4 100644 --- a/google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/remarketing_action_service.proto +# source: google/ads/googleads_v4/proto/services/remarketing_action_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2 +from google.ads.google_ads.v4.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/remarketing_action_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/remarketing_action_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\035RemarketingActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nGgoogle/ads/googleads_v1/proto/services/remarketing_action_service.proto\x12 google.ads.googleads.v1.services\x1a@google/ads/googleads_v1/proto/resources/remarketing_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"4\n\x1bGetRemarketingActionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb8\x01\n\x1fMutateRemarketingActionsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12P\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v1.services.RemarketingActionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x1aRemarketingActionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.RemarketingActionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v1.resources.RemarketingActionH\x00\x42\x0b\n\toperation\"\xa7\x01\n MutateRemarketingActionsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v1.services.MutateRemarketingActionResult\"6\n\x1dMutateRemarketingActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xce\x03\n\x18RemarketingActionService\x12\xc9\x01\n\x14GetRemarketingAction\x12=.google.ads.googleads.v1.services.GetRemarketingActionRequest\x1a\x34.google.ads.googleads.v1.resources.RemarketingAction\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{resource_name=customers/*/remarketingActions/*}\x12\xe5\x01\n\x18MutateRemarketingActions\x12\x41.google.ads.googleads.v1.services.MutateRemarketingActionsRequest\x1a\x42.google.ads.googleads.v1.services.MutateRemarketingActionsResponse\"B\x82\xd3\xe4\x93\x02<\"7/v1/customers/{customer_id=*}/remarketingActions:mutate:\x01*B\x84\x02\n$com.google.ads.googleads.v1.servicesB\x1dRemarketingActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\035RemarketingActionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/services/remarketing_action_service.proto\x12 google.ads.googleads.v4.services\x1a@google/ads/googleads_v4/proto/resources/remarketing_action.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"h\n\x1bGetRemarketingActionRequest\x12I\n\rresource_name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*googleads.googleapis.com/RemarketingAction\"\xc2\x01\n\x1fMutateRemarketingActionsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12U\n\noperations\x18\x02 \x03(\x0b\x32<.google.ads.googleads.v4.services.RemarketingActionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xea\x01\n\x1aRemarketingActionOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.RemarketingActionH\x00\x12\x46\n\x06update\x18\x02 \x01(\x0b\x32\x34.google.ads.googleads.v4.resources.RemarketingActionH\x00\x42\x0b\n\toperation\"\xa7\x01\n MutateRemarketingActionsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12P\n\x07results\x18\x02 \x03(\x0b\x32?.google.ads.googleads.v4.services.MutateRemarketingActionResult\"6\n\x1dMutateRemarketingActionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x94\x04\n\x18RemarketingActionService\x12\xd9\x01\n\x14GetRemarketingAction\x12=.google.ads.googleads.v4.services.GetRemarketingActionRequest\x1a\x34.google.ads.googleads.v4.resources.RemarketingAction\"L\x82\xd3\xe4\x93\x02\x36\x12\x34/v4/{resource_name=customers/*/remarketingActions/*}\xda\x41\rresource_name\x12\xfe\x01\n\x18MutateRemarketingActions\x12\x41.google.ads.googleads.v4.services.MutateRemarketingActionsRequest\x1a\x42.google.ads.googleads.v4.services.MutateRemarketingActionsResponse\"[\x82\xd3\xe4\x93\x02<\"7/v4/customers/{customer_id=*}/remarketingActions:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x84\x02\n$com.google.ads.googleads.v4.servicesB\x1dRemarketingActionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETREMARKETINGACTIONREQUEST = _descriptor.Descriptor( name='GetRemarketingActionRequest', - full_name='google.ads.googleads.v1.services.GetRemarketingActionRequest', + full_name='google.ads.googleads.v4.services.GetRemarketingActionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetRemarketingActionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetRemarketingActionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A,\n*googleads.googleapis.com/RemarketingAction'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=296, - serialized_end=348, + serialized_start=349, + serialized_end=453, ) _MUTATEREMARKETINGACTIONSREQUEST = _descriptor.Descriptor( name='MutateRemarketingActionsRequest', - full_name='google.ads.googleads.v1.services.MutateRemarketingActionsRequest', + full_name='google.ads.googleads.v4.services.MutateRemarketingActionsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,34 +112,34 @@ extension_ranges=[], oneofs=[ ], - serialized_start=351, - serialized_end=535, + serialized_start=456, + serialized_end=650, ) _REMARKETINGACTIONOPERATION = _descriptor.Descriptor( name='RemarketingActionOperation', - full_name='google.ads.googleads.v1.services.RemarketingActionOperation', + full_name='google.ads.googleads.v4.services.RemarketingActionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.RemarketingActionOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.RemarketingActionOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.RemarketingActionOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.RemarketingActionOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.RemarketingActionOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.RemarketingActionOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -155,30 +157,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.RemarketingActionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.RemarketingActionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=538, - serialized_end=772, + serialized_start=653, + serialized_end=887, ) _MUTATEREMARKETINGACTIONSRESPONSE = _descriptor.Descriptor( name='MutateRemarketingActionsResponse', - full_name='google.ads.googleads.v1.services.MutateRemarketingActionsResponse', + full_name='google.ads.googleads.v4.services.MutateRemarketingActionsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateRemarketingActionsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateRemarketingActionsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -196,20 +198,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=775, - serialized_end=942, + serialized_start=890, + serialized_end=1057, ) _MUTATEREMARKETINGACTIONRESULT = _descriptor.Descriptor( name='MutateRemarketingActionResult', - full_name='google.ads.googleads.v1.services.MutateRemarketingActionResult', + full_name='google.ads.googleads.v4.services.MutateRemarketingActionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateRemarketingActionResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateRemarketingActionResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -227,14 +229,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=944, - serialized_end=998, + serialized_start=1059, + serialized_end=1113, ) _MUTATEREMARKETINGACTIONSREQUEST.fields_by_name['operations'].message_type = _REMARKETINGACTIONOPERATION _REMARKETINGACTIONOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_REMARKETINGACTIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION -_REMARKETINGACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION +_REMARKETINGACTIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION +_REMARKETINGACTIONOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION _REMARKETINGACTIONOPERATION.oneofs_by_name['operation'].fields.append( _REMARKETINGACTIONOPERATION.fields_by_name['create']) _REMARKETINGACTIONOPERATION.fields_by_name['create'].containing_oneof = _REMARKETINGACTIONOPERATION.oneofs_by_name['operation'] @@ -252,35 +254,36 @@ GetRemarketingActionRequest = _reflection.GeneratedProtocolMessageType('GetRemarketingActionRequest', (_message.Message,), dict( DESCRIPTOR = _GETREMARKETINGACTIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.remarketing_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.remarketing_action_service_pb2' , __doc__ = """Request message for - [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v1.services.RemarketingActionService.GetRemarketingAction]. + [RemarketingActionService.GetRemarketingAction][google.ads.googleads.v4.services.RemarketingActionService.GetRemarketingAction]. Attributes: resource_name: - The resource name of the remarketing action to fetch. + Required. The resource name of the remarketing action to + fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetRemarketingActionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetRemarketingActionRequest) )) _sym_db.RegisterMessage(GetRemarketingActionRequest) MutateRemarketingActionsRequest = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEREMARKETINGACTIONSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.remarketing_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.remarketing_action_service_pb2' , __doc__ = """Request message for - [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v1.services.RemarketingActionService.MutateRemarketingActions]. + [RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v4.services.RemarketingActionService.MutateRemarketingActions]. Attributes: customer_id: - The ID of the customer whose remarketing actions are being - modified. + Required. The ID of the customer whose remarketing actions are + being modified. operations: - The list of operations to perform on individual remarketing - actions. + Required. The list of operations to perform on individual + remarketing actions. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -290,13 +293,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateRemarketingActionsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateRemarketingActionsRequest) )) _sym_db.RegisterMessage(MutateRemarketingActionsRequest) RemarketingActionOperation = _reflection.GeneratedProtocolMessageType('RemarketingActionOperation', (_message.Message,), dict( DESCRIPTOR = _REMARKETINGACTIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.remarketing_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.remarketing_action_service_pb2' , __doc__ = """A single operation (create, update) on a remarketing action. @@ -314,13 +317,13 @@ Update operation: The remarketing action is expected to have a valid resource name. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.RemarketingActionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.RemarketingActionOperation) )) _sym_db.RegisterMessage(RemarketingActionOperation) MutateRemarketingActionsResponse = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEREMARKETINGACTIONSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.remarketing_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.remarketing_action_service_pb2' , __doc__ = """Response message for remarketing action mutate. @@ -335,13 +338,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateRemarketingActionsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateRemarketingActionsResponse) )) _sym_db.RegisterMessage(MutateRemarketingActionsResponse) MutateRemarketingActionResult = _reflection.GeneratedProtocolMessageType('MutateRemarketingActionResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEREMARKETINGACTIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.remarketing_action_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.remarketing_action_service_pb2' , __doc__ = """The result for the remarketing action mutate. @@ -350,39 +353,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateRemarketingActionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateRemarketingActionResult) )) _sym_db.RegisterMessage(MutateRemarketingActionResult) DESCRIPTOR._options = None +_GETREMARKETINGACTIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATEREMARKETINGACTIONSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEREMARKETINGACTIONSREQUEST.fields_by_name['operations']._options = None _REMARKETINGACTIONSERVICE = _descriptor.ServiceDescriptor( name='RemarketingActionService', - full_name='google.ads.googleads.v1.services.RemarketingActionService', + full_name='google.ads.googleads.v4.services.RemarketingActionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=1001, - serialized_end=1463, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1116, + serialized_end=1648, methods=[ _descriptor.MethodDescriptor( name='GetRemarketingAction', - full_name='google.ads.googleads.v1.services.RemarketingActionService.GetRemarketingAction', + full_name='google.ads.googleads.v4.services.RemarketingActionService.GetRemarketingAction', index=0, containing_service=None, input_type=_GETREMARKETINGACTIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION, - serialized_options=_b('\202\323\344\223\0026\0224/v1/{resource_name=customers/*/remarketingActions/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2._REMARKETINGACTION, + serialized_options=_b('\202\323\344\223\0026\0224/v4/{resource_name=customers/*/remarketingActions/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateRemarketingActions', - full_name='google.ads.googleads.v1.services.RemarketingActionService.MutateRemarketingActions', + full_name='google.ads.googleads.v4.services.RemarketingActionService.MutateRemarketingActions', index=1, containing_service=None, input_type=_MUTATEREMARKETINGACTIONSREQUEST, output_type=_MUTATEREMARKETINGACTIONSRESPONSE, - serialized_options=_b('\202\323\344\223\002<\"7/v1/customers/{customer_id=*}/remarketingActions:mutate:\001*'), + serialized_options=_b('\202\323\344\223\002<\"7/v4/customers/{customer_id=*}/remarketingActions:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_REMARKETINGACTIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2_grpc.py similarity index 73% rename from google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2_grpc.py index 0a2fe0d78..19cd3b4c0 100644 --- a/google/ads/google_ads/v1/proto/services/remarketing_action_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/remarketing_action_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2 -from google.ads.google_ads.v1.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2 +from google.ads.google_ads.v4.proto.resources import remarketing_action_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2 +from google.ads.google_ads.v4.proto.services import remarketing_action_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2 class RemarketingActionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetRemarketingAction = channel.unary_unary( - '/google.ads.googleads.v1.services.RemarketingActionService/GetRemarketingAction', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2.RemarketingAction.FromString, + '/google.ads.googleads.v4.services.RemarketingActionService/GetRemarketingAction', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2.RemarketingAction.FromString, ) self.MutateRemarketingActions = channel.unary_unary( - '/google.ads.googleads.v1.services.RemarketingActionService/MutateRemarketingActions', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.FromString, + '/google.ads.googleads.v4.services.RemarketingActionService/MutateRemarketingActions', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_RemarketingActionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetRemarketingAction': grpc.unary_unary_rpc_method_handler( servicer.GetRemarketingAction, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_remarketing__action__pb2.RemarketingAction.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.GetRemarketingActionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_remarketing__action__pb2.RemarketingAction.SerializeToString, ), 'MutateRemarketingActions': grpc.unary_unary_rpc_method_handler( servicer.MutateRemarketingActions, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_remarketing__action__service__pb2.MutateRemarketingActionsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.RemarketingActionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.RemarketingActionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/search_term_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/search_term_view_service_pb2.py new file mode 100644 index 000000000..f55238522 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/search_term_view_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/search_term_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/search_term_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\032SearchTermViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/search_term_view_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/search_term_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"b\n\x18GetSearchTermViewRequest\x12\x46\n\rresource_name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'googleads.googleapis.com/SearchTermView2\x84\x02\n\x15SearchTermViewService\x12\xcd\x01\n\x11GetSearchTermView\x12:.google.ads.googleads.v4.services.GetSearchTermViewRequest\x1a\x31.google.ads.googleads.v4.resources.SearchTermView\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v4/{resource_name=customers/*/searchTermViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x81\x02\n$com.google.ads.googleads.v4.servicesB\x1aSearchTermViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETSEARCHTERMVIEWREQUEST = _descriptor.Descriptor( + name='GetSearchTermViewRequest', + full_name='google.ads.googleads.v4.services.GetSearchTermViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetSearchTermViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A)\n\'googleads.googleapis.com/SearchTermView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=286, + serialized_end=384, +) + +DESCRIPTOR.message_types_by_name['GetSearchTermViewRequest'] = _GETSEARCHTERMVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetSearchTermViewRequest = _reflection.GeneratedProtocolMessageType('GetSearchTermViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETSEARCHTERMVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.search_term_view_service_pb2' + , + __doc__ = """Request message for + [SearchTermViewService.GetSearchTermView][google.ads.googleads.v4.services.SearchTermViewService.GetSearchTermView]. + + + Attributes: + resource_name: + Required. The resource name of the search term view to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetSearchTermViewRequest) + )) +_sym_db.RegisterMessage(GetSearchTermViewRequest) + + +DESCRIPTOR._options = None +_GETSEARCHTERMVIEWREQUEST.fields_by_name['resource_name']._options = None + +_SEARCHTERMVIEWSERVICE = _descriptor.ServiceDescriptor( + name='SearchTermViewService', + full_name='google.ads.googleads.v4.services.SearchTermViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=387, + serialized_end=647, + methods=[ + _descriptor.MethodDescriptor( + name='GetSearchTermView', + full_name='google.ads.googleads.v4.services.SearchTermViewService.GetSearchTermView', + index=0, + containing_service=None, + input_type=_GETSEARCHTERMVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2._SEARCHTERMVIEW, + serialized_options=_b('\202\323\344\223\0023\0221/v4/{resource_name=customers/*/searchTermViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_SEARCHTERMVIEWSERVICE) + +DESCRIPTOR.services_by_name['SearchTermViewService'] = _SEARCHTERMVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/search_term_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/search_term_view_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/search_term_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/search_term_view_service_pb2_grpc.py index 2c7e63b3f..6f5a8f794 100644 --- a/google/ads/google_ads/v1/proto/services/search_term_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/search_term_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2 -from google.ads.google_ads.v1.proto.services import search_term_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_search__term__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import search_term_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2 +from google.ads.google_ads.v4.proto.services import search_term_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_search__term__view__service__pb2 class SearchTermViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetSearchTermView = channel.unary_unary( - '/google.ads.googleads.v1.services.SearchTermViewService/GetSearchTermView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.FromString, + '/google.ads.googleads.v4.services.SearchTermViewService/GetSearchTermView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.FromString, ) @@ -42,10 +42,10 @@ def add_SearchTermViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetSearchTermView': grpc.unary_unary_rpc_method_handler( servicer.GetSearchTermView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_search__term__view__service__pb2.GetSearchTermViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_search__term__view__pb2.SearchTermView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.SearchTermViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.SearchTermViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2.py b/google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2.py rename to google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2.py index a43bba567..e66aaf90d 100644 --- a/google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/shared_criterion_service.proto +# source: google/ads/googleads_v4/proto/services/shared_criterion_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,38 +13,40 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2 +from google.ads.google_ads.v4.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/shared_criterion_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/shared_criterion_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\033SharedCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\nEgoogle/ads/googleads_v1/proto/services/shared_criterion_service.proto\x12 google.ads.googleads.v1.services\x1a>google/ads/googleads_v1/proto/resources/shared_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"2\n\x19GetSharedCriterionRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xb2\x01\n\x1bMutateSharedCriteriaRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12N\n\noperations\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v1.services.SharedCriterionOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x7f\n\x18SharedCriterionOperation\x12\x44\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x32.google.ads.googleads.v1.resources.SharedCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1cMutateSharedCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12N\n\x07results\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v1.services.MutateSharedCriterionResult\"4\n\x1bMutateSharedCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xb2\x03\n\x16SharedCriterionService\x12\xbf\x01\n\x12GetSharedCriterion\x12;.google.ads.googleads.v1.services.GetSharedCriterionRequest\x1a\x32.google.ads.googleads.v1.resources.SharedCriterion\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{resource_name=customers/*/sharedCriteria/*}\x12\xd5\x01\n\x14MutateSharedCriteria\x12=.google.ads.googleads.v1.services.MutateSharedCriteriaRequest\x1a>.google.ads.googleads.v1.services.MutateSharedCriteriaResponse\">\x82\xd3\xe4\x93\x02\x38\"3/v1/customers/{customer_id=*}/sharedCriteria:mutate:\x01*B\x82\x02\n$com.google.ads.googleads.v1.servicesB\x1bSharedCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\033SharedCriterionServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nEgoogle/ads/googleads_v4/proto/services/shared_criterion_service.proto\x12 google.ads.googleads.v4.services\x1a>google/ads/googleads_v4/proto/resources/shared_criterion.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x17google/rpc/status.proto\"d\n\x19GetSharedCriterionRequest\x12G\n\rresource_name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(googleads.googleapis.com/SharedCriterion\"\xbc\x01\n\x1bMutateSharedCriteriaRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12S\n\noperations\x18\x02 \x03(\x0b\x32:.google.ads.googleads.v4.services.SharedCriterionOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\x7f\n\x18SharedCriterionOperation\x12\x44\n\x06\x63reate\x18\x01 \x01(\x0b\x32\x32.google.ads.googleads.v4.resources.SharedCriterionH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\xa1\x01\n\x1cMutateSharedCriteriaResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12N\n\x07results\x18\x02 \x03(\x0b\x32=.google.ads.googleads.v4.services.MutateSharedCriterionResult\"4\n\x1bMutateSharedCriterionResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xf8\x03\n\x16SharedCriterionService\x12\xcf\x01\n\x12GetSharedCriterion\x12;.google.ads.googleads.v4.services.GetSharedCriterionRequest\x1a\x32.google.ads.googleads.v4.resources.SharedCriterion\"H\x82\xd3\xe4\x93\x02\x32\x12\x30/v4/{resource_name=customers/*/sharedCriteria/*}\xda\x41\rresource_name\x12\xee\x01\n\x14MutateSharedCriteria\x12=.google.ads.googleads.v4.services.MutateSharedCriteriaRequest\x1a>.google.ads.googleads.v4.services.MutateSharedCriteriaResponse\"W\x82\xd3\xe4\x93\x02\x38\"3/v4/customers/{customer_id=*}/sharedCriteria:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x82\x02\n$com.google.ads.googleads.v4.servicesB\x1bSharedCriterionServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETSHAREDCRITERIONREQUEST = _descriptor.Descriptor( name='GetSharedCriterionRequest', - full_name='google.ads.googleads.v1.services.GetSharedCriterionRequest', + full_name='google.ads.googleads.v4.services.GetSharedCriterionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetSharedCriterionRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetSharedCriterionRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A*\n(googleads.googleapis.com/SharedCriterion'), file=DESCRIPTOR), ], extensions=[ ], @@ -57,41 +59,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=258, - serialized_end=308, + serialized_start=311, + serialized_end=411, ) _MUTATESHAREDCRITERIAREQUEST = _descriptor.Descriptor( name='MutateSharedCriteriaRequest', - full_name='google.ads.googleads.v1.services.MutateSharedCriteriaRequest', + full_name='google.ads.googleads.v4.services.MutateSharedCriteriaRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -109,27 +111,27 @@ extension_ranges=[], oneofs=[ ], - serialized_start=311, - serialized_end=489, + serialized_start=414, + serialized_end=602, ) _SHAREDCRITERIONOPERATION = _descriptor.Descriptor( name='SharedCriterionOperation', - full_name='google.ads.googleads.v1.services.SharedCriterionOperation', + full_name='google.ads.googleads.v4.services.SharedCriterionOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.SharedCriterionOperation.create', index=0, + name='create', full_name='google.ads.googleads.v4.services.SharedCriterionOperation.create', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.SharedCriterionOperation.remove', index=1, + name='remove', full_name='google.ads.googleads.v4.services.SharedCriterionOperation.remove', index=1, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -147,30 +149,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.SharedCriterionOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.SharedCriterionOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=491, - serialized_end=618, + serialized_start=604, + serialized_end=731, ) _MUTATESHAREDCRITERIARESPONSE = _descriptor.Descriptor( name='MutateSharedCriteriaResponse', - full_name='google.ads.googleads.v1.services.MutateSharedCriteriaResponse', + full_name='google.ads.googleads.v4.services.MutateSharedCriteriaResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateSharedCriteriaResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateSharedCriteriaResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -188,20 +190,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=621, - serialized_end=782, + serialized_start=734, + serialized_end=895, ) _MUTATESHAREDCRITERIONRESULT = _descriptor.Descriptor( name='MutateSharedCriterionResult', - full_name='google.ads.googleads.v1.services.MutateSharedCriterionResult', + full_name='google.ads.googleads.v4.services.MutateSharedCriterionResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateSharedCriterionResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateSharedCriterionResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -219,12 +221,12 @@ extension_ranges=[], oneofs=[ ], - serialized_start=784, - serialized_end=836, + serialized_start=897, + serialized_end=949, ) _MUTATESHAREDCRITERIAREQUEST.fields_by_name['operations'].message_type = _SHAREDCRITERIONOPERATION -_SHAREDCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION +_SHAREDCRITERIONOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION _SHAREDCRITERIONOPERATION.oneofs_by_name['operation'].fields.append( _SHAREDCRITERIONOPERATION.fields_by_name['create']) _SHAREDCRITERIONOPERATION.fields_by_name['create'].containing_oneof = _SHAREDCRITERIONOPERATION.oneofs_by_name['operation'] @@ -242,35 +244,35 @@ GetSharedCriterionRequest = _reflection.GeneratedProtocolMessageType('GetSharedCriterionRequest', (_message.Message,), dict( DESCRIPTOR = _GETSHAREDCRITERIONREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.shared_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_criterion_service_pb2' , __doc__ = """Request message for - [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v1.services.SharedCriterionService.GetSharedCriterion]. + [SharedCriterionService.GetSharedCriterion][google.ads.googleads.v4.services.SharedCriterionService.GetSharedCriterion]. Attributes: resource_name: - The resource name of the shared criterion to fetch. + Required. The resource name of the shared criterion to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetSharedCriterionRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetSharedCriterionRequest) )) _sym_db.RegisterMessage(GetSharedCriterionRequest) MutateSharedCriteriaRequest = _reflection.GeneratedProtocolMessageType('MutateSharedCriteriaRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDCRITERIAREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.shared_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_criterion_service_pb2' , __doc__ = """Request message for - [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v1.services.SharedCriterionService.MutateSharedCriteria]. + [SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v4.services.SharedCriterionService.MutateSharedCriteria]. Attributes: customer_id: - The ID of the customer whose shared criteria are being - modified. + Required. The ID of the customer whose shared criteria are + being modified. operations: - The list of operations to perform on individual shared - criteria. + Required. The list of operations to perform on individual + shared criteria. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -280,13 +282,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedCriteriaRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedCriteriaRequest) )) _sym_db.RegisterMessage(MutateSharedCriteriaRequest) SharedCriterionOperation = _reflection.GeneratedProtocolMessageType('SharedCriterionOperation', (_message.Message,), dict( DESCRIPTOR = _SHAREDCRITERIONOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.shared_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_criterion_service_pb2' , __doc__ = """A single operation (create, remove) on an shared criterion. @@ -302,13 +304,13 @@ criterion is expected, in this format: ``customers/{customer_ id}/sharedCriteria/{shared_set_id}~{criterion_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SharedCriterionOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SharedCriterionOperation) )) _sym_db.RegisterMessage(SharedCriterionOperation) MutateSharedCriteriaResponse = _reflection.GeneratedProtocolMessageType('MutateSharedCriteriaResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDCRITERIARESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.shared_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_criterion_service_pb2' , __doc__ = """Response message for a shared criterion mutate. @@ -323,13 +325,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedCriteriaResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedCriteriaResponse) )) _sym_db.RegisterMessage(MutateSharedCriteriaResponse) MutateSharedCriterionResult = _reflection.GeneratedProtocolMessageType('MutateSharedCriterionResult', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDCRITERIONRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.shared_criterion_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_criterion_service_pb2' , __doc__ = """The result for the shared criterion mutate. @@ -338,39 +340,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedCriterionResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedCriterionResult) )) _sym_db.RegisterMessage(MutateSharedCriterionResult) DESCRIPTOR._options = None +_GETSHAREDCRITERIONREQUEST.fields_by_name['resource_name']._options = None +_MUTATESHAREDCRITERIAREQUEST.fields_by_name['customer_id']._options = None +_MUTATESHAREDCRITERIAREQUEST.fields_by_name['operations']._options = None _SHAREDCRITERIONSERVICE = _descriptor.ServiceDescriptor( name='SharedCriterionService', - full_name='google.ads.googleads.v1.services.SharedCriterionService', + full_name='google.ads.googleads.v4.services.SharedCriterionService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=839, - serialized_end=1273, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=952, + serialized_end=1456, methods=[ _descriptor.MethodDescriptor( name='GetSharedCriterion', - full_name='google.ads.googleads.v1.services.SharedCriterionService.GetSharedCriterion', + full_name='google.ads.googleads.v4.services.SharedCriterionService.GetSharedCriterion', index=0, containing_service=None, input_type=_GETSHAREDCRITERIONREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION, - serialized_options=_b('\202\323\344\223\0022\0220/v1/{resource_name=customers/*/sharedCriteria/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2._SHAREDCRITERION, + serialized_options=_b('\202\323\344\223\0022\0220/v4/{resource_name=customers/*/sharedCriteria/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateSharedCriteria', - full_name='google.ads.googleads.v1.services.SharedCriterionService.MutateSharedCriteria', + full_name='google.ads.googleads.v4.services.SharedCriterionService.MutateSharedCriteria', index=1, containing_service=None, input_type=_MUTATESHAREDCRITERIAREQUEST, output_type=_MUTATESHAREDCRITERIARESPONSE, - serialized_options=_b('\202\323\344\223\0028\"3/v1/customers/{customer_id=*}/sharedCriteria:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0028\"3/v4/customers/{customer_id=*}/sharedCriteria:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_SHAREDCRITERIONSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2_grpc.py similarity index 72% rename from google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2_grpc.py index 45f638d97..66215c306 100644 --- a/google/ads/google_ads/v1/proto/services/shared_criterion_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/shared_criterion_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2 -from google.ads.google_ads.v1.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2 +from google.ads.google_ads.v4.proto.resources import shared_criterion_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2 +from google.ads.google_ads.v4.proto.services import shared_criterion_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2 class SharedCriterionServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetSharedCriterion = channel.unary_unary( - '/google.ads.googleads.v1.services.SharedCriterionService/GetSharedCriterion', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2.SharedCriterion.FromString, + '/google.ads.googleads.v4.services.SharedCriterionService/GetSharedCriterion', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2.SharedCriterion.FromString, ) self.MutateSharedCriteria = channel.unary_unary( - '/google.ads.googleads.v1.services.SharedCriterionService/MutateSharedCriteria', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.FromString, + '/google.ads.googleads.v4.services.SharedCriterionService/MutateSharedCriteria', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.FromString, ) @@ -54,15 +54,15 @@ def add_SharedCriterionServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetSharedCriterion': grpc.unary_unary_rpc_method_handler( servicer.GetSharedCriterion, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__criterion__pb2.SharedCriterion.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.GetSharedCriterionRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__criterion__pb2.SharedCriterion.SerializeToString, ), 'MutateSharedCriteria': grpc.unary_unary_rpc_method_handler( servicer.MutateSharedCriteria, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__criterion__service__pb2.MutateSharedCriteriaResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.SharedCriterionService', rpc_method_handlers) + 'google.ads.googleads.v4.services.SharedCriterionService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/shared_set_service_pb2.py b/google/ads/google_ads/v4/proto/services/shared_set_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/shared_set_service_pb2.py rename to google/ads/google_ads/v4/proto/services/shared_set_service_pb2.py index 3233aafe9..bf7bd569b 100644 --- a/google/ads/google_ads/v1/proto/services/shared_set_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/shared_set_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/shared_set_service.proto +# source: google/ads/googleads_v4/proto/services/shared_set_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2 +from google.ads.google_ads.v4.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/shared_set_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/shared_set_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\025SharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n?google/ads/googleads_v1/proto/services/shared_set_service.proto\x12 google.ads.googleads.v1.services\x1a\x38google/ads/googleads_v1/proto/resources/shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\",\n\x13GetSharedSetRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa8\x01\n\x17MutateSharedSetsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12H\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v1.services.SharedSetOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe4\x01\n\x12SharedSetOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v1.resources.SharedSetH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v1.resources.SharedSetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateSharedSetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v1.services.MutateSharedSetResult\".\n\x15MutateSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\x86\x03\n\x10SharedSetService\x12\xa9\x01\n\x0cGetSharedSet\x12\x35.google.ads.googleads.v1.services.GetSharedSetRequest\x1a,.google.ads.googleads.v1.resources.SharedSet\"4\x82\xd3\xe4\x93\x02.\x12,/v1/{resource_name=customers/*/sharedSets/*}\x12\xc5\x01\n\x10MutateSharedSets\x12\x39.google.ads.googleads.v1.services.MutateSharedSetsRequest\x1a:.google.ads.googleads.v1.services.MutateSharedSetsResponse\":\x82\xd3\xe4\x93\x02\x34\"//v1/customers/{customer_id=*}/sharedSets:mutate:\x01*B\xfc\x01\n$com.google.ads.googleads.v1.servicesB\x15SharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\025SharedSetServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n?google/ads/googleads_v4/proto/services/shared_set_service.proto\x12 google.ads.googleads.v4.services\x1a\x38google/ads/googleads_v4/proto/resources/shared_set.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"X\n\x13GetSharedSetRequest\x12\x41\n\rresource_name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"googleads.googleapis.com/SharedSet\"\xb2\x01\n\x17MutateSharedSetsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12M\n\noperations\x18\x02 \x03(\x0b\x32\x34.google.ads.googleads.v4.services.SharedSetOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe4\x01\n\x12SharedSetOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12>\n\x06\x63reate\x18\x01 \x01(\x0b\x32,.google.ads.googleads.v4.resources.SharedSetH\x00\x12>\n\x06update\x18\x02 \x01(\x0b\x32,.google.ads.googleads.v4.resources.SharedSetH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x97\x01\n\x18MutateSharedSetsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12H\n\x07results\x18\x02 \x03(\x0b\x32\x37.google.ads.googleads.v4.services.MutateSharedSetResult\".\n\x15MutateSharedSetResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xcc\x03\n\x10SharedSetService\x12\xb9\x01\n\x0cGetSharedSet\x12\x35.google.ads.googleads.v4.services.GetSharedSetRequest\x1a,.google.ads.googleads.v4.resources.SharedSet\"D\x82\xd3\xe4\x93\x02.\x12,/v4/{resource_name=customers/*/sharedSets/*}\xda\x41\rresource_name\x12\xde\x01\n\x10MutateSharedSets\x12\x39.google.ads.googleads.v4.services.MutateSharedSetsRequest\x1a:.google.ads.googleads.v4.services.MutateSharedSetsResponse\"S\x82\xd3\xe4\x93\x02\x34\"//v4/customers/{customer_id=*}/sharedSets:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfc\x01\n$com.google.ads.googleads.v4.servicesB\x15SharedSetServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETSHAREDSETREQUEST = _descriptor.Descriptor( name='GetSharedSetRequest', - full_name='google.ads.googleads.v1.services.GetSharedSetRequest', + full_name='google.ads.googleads.v4.services.GetSharedSetRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetSharedSetRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetSharedSetRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A$\n\"googleads.googleapis.com/SharedSet'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=280, - serialized_end=324, + serialized_start=333, + serialized_end=421, ) _MUTATESHAREDSETSREQUEST = _descriptor.Descriptor( name='MutateSharedSetsRequest', - full_name='google.ads.googleads.v1.services.MutateSharedSetsRequest', + full_name='google.ads.googleads.v4.services.MutateSharedSetsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateSharedSetsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateSharedSetsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateSharedSetsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateSharedSetsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateSharedSetsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateSharedSetsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateSharedSetsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateSharedSetsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=327, - serialized_end=495, + serialized_start=424, + serialized_end=602, ) _SHAREDSETOPERATION = _descriptor.Descriptor( name='SharedSetOperation', - full_name='google.ads.googleads.v1.services.SharedSetOperation', + full_name='google.ads.googleads.v4.services.SharedSetOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.SharedSetOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.SharedSetOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.SharedSetOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.SharedSetOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.SharedSetOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.SharedSetOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.SharedSetOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.SharedSetOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.SharedSetOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.SharedSetOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=498, - serialized_end=726, + serialized_start=605, + serialized_end=833, ) _MUTATESHAREDSETSRESPONSE = _descriptor.Descriptor( name='MutateSharedSetsResponse', - full_name='google.ads.googleads.v1.services.MutateSharedSetsResponse', + full_name='google.ads.googleads.v4.services.MutateSharedSetsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateSharedSetsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateSharedSetsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateSharedSetsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateSharedSetsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=729, - serialized_end=880, + serialized_start=836, + serialized_end=987, ) _MUTATESHAREDSETRESULT = _descriptor.Descriptor( name='MutateSharedSetResult', - full_name='google.ads.googleads.v1.services.MutateSharedSetResult', + full_name='google.ads.googleads.v4.services.MutateSharedSetResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateSharedSetResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateSharedSetResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=882, - serialized_end=928, + serialized_start=989, + serialized_end=1035, ) _MUTATESHAREDSETSREQUEST.fields_by_name['operations'].message_type = _SHAREDSETOPERATION _SHAREDSETOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_SHAREDSETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET -_SHAREDSETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET +_SHAREDSETOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET +_SHAREDSETOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET _SHAREDSETOPERATION.oneofs_by_name['operation'].fields.append( _SHAREDSETOPERATION.fields_by_name['create']) _SHAREDSETOPERATION.fields_by_name['create'].containing_oneof = _SHAREDSETOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetSharedSetRequest = _reflection.GeneratedProtocolMessageType('GetSharedSetRequest', (_message.Message,), dict( DESCRIPTOR = _GETSHAREDSETREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_set_service_pb2' , __doc__ = """Request message for - [SharedSetService.GetSharedSet][google.ads.googleads.v1.services.SharedSetService.GetSharedSet]. + [SharedSetService.GetSharedSet][google.ads.googleads.v4.services.SharedSetService.GetSharedSet]. Attributes: resource_name: - The resource name of the shared set to fetch. + Required. The resource name of the shared set to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetSharedSetRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetSharedSetRequest) )) _sym_db.RegisterMessage(GetSharedSetRequest) MutateSharedSetsRequest = _reflection.GeneratedProtocolMessageType('MutateSharedSetsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDSETSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_set_service_pb2' , __doc__ = """Request message for - [SharedSetService.MutateSharedSets][google.ads.googleads.v1.services.SharedSetService.MutateSharedSets]. + [SharedSetService.MutateSharedSets][google.ads.googleads.v4.services.SharedSetService.MutateSharedSets]. Attributes: customer_id: - The ID of the customer whose shared sets are being modified. + Required. The ID of the customer whose shared sets are being + modified. operations: - The list of operations to perform on individual shared sets. + Required. The list of operations to perform on individual + shared sets. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedSetsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedSetsRequest) )) _sym_db.RegisterMessage(MutateSharedSetsRequest) SharedSetOperation = _reflection.GeneratedProtocolMessageType('SharedSetOperation', (_message.Message,), dict( DESCRIPTOR = _SHAREDSETOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_set_service_pb2' , __doc__ = """A single operation (create, update, remove) on an shared set. @@ -326,13 +330,13 @@ is expected, in this format: ``customers/{customer_id}/sharedSets/{shared_set_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.SharedSetOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.SharedSetOperation) )) _sym_db.RegisterMessage(SharedSetOperation) MutateSharedSetsResponse = _reflection.GeneratedProtocolMessageType('MutateSharedSetsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDSETSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_set_service_pb2' , __doc__ = """Response message for a shared set mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedSetsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedSetsResponse) )) _sym_db.RegisterMessage(MutateSharedSetsResponse) MutateSharedSetResult = _reflection.GeneratedProtocolMessageType('MutateSharedSetResult', (_message.Message,), dict( DESCRIPTOR = _MUTATESHAREDSETRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.shared_set_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.shared_set_service_pb2' , __doc__ = """The result for the shared set mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateSharedSetResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateSharedSetResult) )) _sym_db.RegisterMessage(MutateSharedSetResult) DESCRIPTOR._options = None +_GETSHAREDSETREQUEST.fields_by_name['resource_name']._options = None +_MUTATESHAREDSETSREQUEST.fields_by_name['customer_id']._options = None +_MUTATESHAREDSETSREQUEST.fields_by_name['operations']._options = None _SHAREDSETSERVICE = _descriptor.ServiceDescriptor( name='SharedSetService', - full_name='google.ads.googleads.v1.services.SharedSetService', + full_name='google.ads.googleads.v4.services.SharedSetService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=931, - serialized_end=1321, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1038, + serialized_end=1498, methods=[ _descriptor.MethodDescriptor( name='GetSharedSet', - full_name='google.ads.googleads.v1.services.SharedSetService.GetSharedSet', + full_name='google.ads.googleads.v4.services.SharedSetService.GetSharedSet', index=0, containing_service=None, input_type=_GETSHAREDSETREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET, - serialized_options=_b('\202\323\344\223\002.\022,/v1/{resource_name=customers/*/sharedSets/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2._SHAREDSET, + serialized_options=_b('\202\323\344\223\002.\022,/v4/{resource_name=customers/*/sharedSets/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateSharedSets', - full_name='google.ads.googleads.v1.services.SharedSetService.MutateSharedSets', + full_name='google.ads.googleads.v4.services.SharedSetService.MutateSharedSets', index=1, containing_service=None, input_type=_MUTATESHAREDSETSREQUEST, output_type=_MUTATESHAREDSETSRESPONSE, - serialized_options=_b('\202\323\344\223\0024\"//v1/customers/{customer_id=*}/sharedSets:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0024\"//v4/customers/{customer_id=*}/sharedSets:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_SHAREDSETSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/shared_set_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/shared_set_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/shared_set_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/shared_set_service_pb2_grpc.py index 926598a1e..439c13131 100644 --- a/google/ads/google_ads/v1/proto/services/shared_set_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/shared_set_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2 -from google.ads.google_ads.v1.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2 +from google.ads.google_ads.v4.proto.resources import shared_set_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2 +from google.ads.google_ads.v4.proto.services import shared_set_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2 class SharedSetServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetSharedSet = channel.unary_unary( - '/google.ads.googleads.v1.services.SharedSetService/GetSharedSet', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2.SharedSet.FromString, + '/google.ads.googleads.v4.services.SharedSetService/GetSharedSet', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2.SharedSet.FromString, ) self.MutateSharedSets = channel.unary_unary( - '/google.ads.googleads.v1.services.SharedSetService/MutateSharedSets', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.FromString, + '/google.ads.googleads.v4.services.SharedSetService/MutateSharedSets', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_SharedSetServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetSharedSet': grpc.unary_unary_rpc_method_handler( servicer.GetSharedSet, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shared__set__pb2.SharedSet.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.GetSharedSetRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shared__set__pb2.SharedSet.SerializeToString, ), 'MutateSharedSets': grpc.unary_unary_rpc_method_handler( servicer.MutateSharedSets, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shared__set__service__pb2.MutateSharedSetsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.SharedSetService', rpc_method_handlers) + 'google.ads.googleads.v4.services.SharedSetService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py new file mode 100644 index 000000000..1e9696acf --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/shopping_performance_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/shopping_performance_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB#ShoppingPerformanceViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nNgoogle/ads/googleads_v4/proto/services/shopping_performance_view_service.proto\x12 google.ads.googleads.v4.services\x1aGgoogle/ads/googleads_v4/proto/resources/shopping_performance_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"t\n!GetShoppingPerformanceViewRequest\x12O\n\rresource_name\x18\x01 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0googleads.googleapis.com/ShoppingPerformanceView2\xae\x02\n\x1eShoppingPerformanceViewService\x12\xee\x01\n\x1aGetShoppingPerformanceView\x12\x43.google.ads.googleads.v4.services.GetShoppingPerformanceViewRequest\x1a:.google.ads.googleads.v4.resources.ShoppingPerformanceView\"O\x82\xd3\xe4\x93\x02\x39\x12\x37/v4/{resource_name=customers/*/shoppingPerformanceView}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8a\x02\n$com.google.ads.googleads.v4.servicesB#ShoppingPerformanceViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETSHOPPINGPERFORMANCEVIEWREQUEST = _descriptor.Descriptor( + name='GetShoppingPerformanceViewRequest', + full_name='google.ads.googleads.v4.services.GetShoppingPerformanceViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetShoppingPerformanceViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A2\n0googleads.googleapis.com/ShoppingPerformanceView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=304, + serialized_end=420, +) + +DESCRIPTOR.message_types_by_name['GetShoppingPerformanceViewRequest'] = _GETSHOPPINGPERFORMANCEVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetShoppingPerformanceViewRequest = _reflection.GeneratedProtocolMessageType('GetShoppingPerformanceViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETSHOPPINGPERFORMANCEVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.shopping_performance_view_service_pb2' + , + __doc__ = """Request message for + [ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v4.services.ShoppingPerformanceViewService.GetShoppingPerformanceView]. + + + Attributes: + resource_name: + Required. The resource name of the Shopping performance view + to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetShoppingPerformanceViewRequest) + )) +_sym_db.RegisterMessage(GetShoppingPerformanceViewRequest) + + +DESCRIPTOR._options = None +_GETSHOPPINGPERFORMANCEVIEWREQUEST.fields_by_name['resource_name']._options = None + +_SHOPPINGPERFORMANCEVIEWSERVICE = _descriptor.ServiceDescriptor( + name='ShoppingPerformanceViewService', + full_name='google.ads.googleads.v4.services.ShoppingPerformanceViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=423, + serialized_end=725, + methods=[ + _descriptor.MethodDescriptor( + name='GetShoppingPerformanceView', + full_name='google.ads.googleads.v4.services.ShoppingPerformanceViewService.GetShoppingPerformanceView', + index=0, + containing_service=None, + input_type=_GETSHOPPINGPERFORMANCEVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2._SHOPPINGPERFORMANCEVIEW, + serialized_options=_b('\202\323\344\223\0029\0227/v4/{resource_name=customers/*/shoppingPerformanceView}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_SHOPPINGPERFORMANCEVIEWSERVICE) + +DESCRIPTOR.services_by_name['ShoppingPerformanceViewService'] = _SHOPPINGPERFORMANCEVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2_grpc.py similarity index 74% rename from google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2_grpc.py index e6a2c72ba..9ab3d54b9 100644 --- a/google/ads/google_ads/v1/proto/services/shopping_performance_view_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2 -from google.ads.google_ads.v1.proto.services import shopping_performance_view_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shopping__performance__view__service__pb2 +from google.ads.google_ads.v4.proto.resources import shopping_performance_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2 +from google.ads.google_ads.v4.proto.services import shopping_performance_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shopping__performance__view__service__pb2 class ShoppingPerformanceViewServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetShoppingPerformanceView = channel.unary_unary( - '/google.ads.googleads.v1.services.ShoppingPerformanceViewService/GetShoppingPerformanceView', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.FromString, + '/google.ads.googleads.v4.services.ShoppingPerformanceViewService/GetShoppingPerformanceView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.FromString, ) @@ -42,10 +42,10 @@ def add_ShoppingPerformanceViewServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetShoppingPerformanceView': grpc.unary_unary_rpc_method_handler( servicer.GetShoppingPerformanceView, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_shopping__performance__view__service__pb2.GetShoppingPerformanceViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_shopping__performance__view__pb2.ShoppingPerformanceView.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.ShoppingPerformanceViewService', rpc_method_handlers) + 'google.ads.googleads.v4.services.ShoppingPerformanceViewService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2.py b/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2.py new file mode 100644 index 000000000..b9f9ac15e --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2.py @@ -0,0 +1,110 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/third_party_app_analytics_link_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import third_party_app_analytics_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/third_party_app_analytics_link_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB&ThirdPartyAppAnalyticsLinkServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nSgoogle/ads/googleads_v4/proto/services/third_party_app_analytics_link_service.proto\x12 google.ads.googleads.v4.services\x1aLgoogle/ads/googleads_v4/proto/resources/third_party_app_analytics_link.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/resource.proto\x1a\x17google/api/client.proto\"w\n$GetThirdPartyAppAnalyticsLinkRequest\x12O\n\rresource_name\x18\x01 \x01(\tB8\xfa\x41\x35\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink2\xb0\x02\n!ThirdPartyAppAnalyticsLinkService\x12\xed\x01\n\x1dGetThirdPartyAppAnalyticsLink\x12\x46.google.ads.googleads.v4.services.GetThirdPartyAppAnalyticsLinkRequest\x1a=.google.ads.googleads.v4.resources.ThirdPartyAppAnalyticsLink\"E\x82\xd3\xe4\x93\x02?\x12=/v4/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x8d\x02\n$com.google.ads.googleads.v4.servicesB&ThirdPartyAppAnalyticsLinkServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) + + + + +_GETTHIRDPARTYAPPANALYTICSLINKREQUEST = _descriptor.Descriptor( + name='GetThirdPartyAppAnalyticsLinkRequest', + full_name='google.ads.googleads.v4.services.GetThirdPartyAppAnalyticsLinkRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetThirdPartyAppAnalyticsLinkRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\372A5\n3googleads.googleapis.com/ThirdPartyAppAnalyticsLink'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=281, + serialized_end=400, +) + +DESCRIPTOR.message_types_by_name['GetThirdPartyAppAnalyticsLinkRequest'] = _GETTHIRDPARTYAPPANALYTICSLINKREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetThirdPartyAppAnalyticsLinkRequest = _reflection.GeneratedProtocolMessageType('GetThirdPartyAppAnalyticsLinkRequest', (_message.Message,), dict( + DESCRIPTOR = _GETTHIRDPARTYAPPANALYTICSLINKREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.third_party_app_analytics_link_service_pb2' + , + __doc__ = """Request message for + [ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink][google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink]. + + + Attributes: + resource_name: + Resource name of the third party app analytics link. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetThirdPartyAppAnalyticsLinkRequest) + )) +_sym_db.RegisterMessage(GetThirdPartyAppAnalyticsLinkRequest) + + +DESCRIPTOR._options = None +_GETTHIRDPARTYAPPANALYTICSLINKREQUEST.fields_by_name['resource_name']._options = None + +_THIRDPARTYAPPANALYTICSLINKSERVICE = _descriptor.ServiceDescriptor( + name='ThirdPartyAppAnalyticsLinkService', + full_name='google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=403, + serialized_end=707, + methods=[ + _descriptor.MethodDescriptor( + name='GetThirdPartyAppAnalyticsLink', + full_name='google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink', + index=0, + containing_service=None, + input_type=_GETTHIRDPARTYAPPANALYTICSLINKREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2._THIRDPARTYAPPANALYTICSLINK, + serialized_options=_b('\202\323\344\223\002?\022=/v4/{resource_name=customers/*/thirdPartyAppAnalyticsLinks/*}'), + ), +]) +_sym_db.RegisterServiceDescriptor(_THIRDPARTYAPPANALYTICSLINKSERVICE) + +DESCRIPTOR.services_by_name['ThirdPartyAppAnalyticsLinkService'] = _THIRDPARTYAPPANALYTICSLINKSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2_grpc.py new file mode 100644 index 000000000..4165e7ac0 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/third_party_app_analytics_link_service_pb2_grpc.py @@ -0,0 +1,49 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import third_party_app_analytics_link_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2 +from google.ads.google_ads.v4.proto.services import third_party_app_analytics_link_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_third__party__app__analytics__link__service__pb2 + + +class ThirdPartyAppAnalyticsLinkServiceStub(object): + """This service allows management of links between Google Ads and third party + app analytics. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetThirdPartyAppAnalyticsLink = channel.unary_unary( + '/google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService/GetThirdPartyAppAnalyticsLink', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_third__party__app__analytics__link__service__pb2.GetThirdPartyAppAnalyticsLinkRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2.ThirdPartyAppAnalyticsLink.FromString, + ) + + +class ThirdPartyAppAnalyticsLinkServiceServicer(object): + """This service allows management of links between Google Ads and third party + app analytics. + """ + + def GetThirdPartyAppAnalyticsLink(self, request, context): + """Returns the third party app analytics link in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_ThirdPartyAppAnalyticsLinkServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetThirdPartyAppAnalyticsLink': grpc.unary_unary_rpc_method_handler( + servicer.GetThirdPartyAppAnalyticsLink, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_third__party__app__analytics__link__service__pb2.GetThirdPartyAppAnalyticsLinkRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_third__party__app__analytics__link__pb2.ThirdPartyAppAnalyticsLink.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/topic_constant_service_pb2.py b/google/ads/google_ads/v4/proto/services/topic_constant_service_pb2.py new file mode 100644 index 000000000..96f98c47c --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/topic_constant_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/topic_constant_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import topic_constant_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_topic__constant__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/topic_constant_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\031TopicConstantServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nCgoogle/ads/googleads_v4/proto/services/topic_constant_service.proto\x12 google.ads.googleads.v4.services\x1agoogle/ads/googleads_v4/proto/services/user_data_service.proto\x12 google.ads.googleads.v4.services\x1a\n\x19received_operations_count\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int32Value2\xed\x01\n\x0fUserDataService\x12\xbc\x01\n\x0eUploadUserData\x12\x37.google.ads.googleads.v4.services.UploadUserDataRequest\x1a\x38.google.ads.googleads.v4.services.UploadUserDataResponse\"7\x82\xd3\xe4\x93\x02\x31\",/v4/customers/{customer_id=*}:uploadUserData:\x01*\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14UserDataServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,]) + + + + +_UPLOADUSERDATAREQUEST = _descriptor.Descriptor( + name='UploadUserDataRequest', + full_name='google.ads.googleads.v4.services.UploadUserDataRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='customer_id', full_name='google.ads.googleads.v4.services.UploadUserDataRequest.customer_id', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='operations', full_name='google.ads.googleads.v4.services.UploadUserDataRequest.operations', index=1, + number=3, type=11, cpp_type=10, label=3, + has_default_value=False, default_value=[], + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002'), file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='customer_match_user_list_metadata', full_name='google.ads.googleads.v4.services.UploadUserDataRequest.customer_match_user_list_metadata', index=2, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='metadata', full_name='google.ads.googleads.v4.services.UploadUserDataRequest.metadata', + index=0, containing_type=None, fields=[]), + ], + serialized_start=283, + serialized_end=530, +) + + +_USERDATAOPERATION = _descriptor.Descriptor( + name='UserDataOperation', + full_name='google.ads.googleads.v4.services.UserDataOperation', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='create', full_name='google.ads.googleads.v4.services.UserDataOperation.create', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='remove', full_name='google.ads.googleads.v4.services.UserDataOperation.remove', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + _descriptor.OneofDescriptor( + name='operation', full_name='google.ads.googleads.v4.services.UserDataOperation.operation', + index=0, containing_type=None, fields=[]), + ], + serialized_start=533, + serialized_end=685, +) + + +_UPLOADUSERDATARESPONSE = _descriptor.Descriptor( + name='UploadUserDataResponse', + full_name='google.ads.googleads.v4.services.UploadUserDataResponse', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='upload_date_time', full_name='google.ads.googleads.v4.services.UploadUserDataResponse.upload_date_time', index=0, + number=1, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + _descriptor.FieldDescriptor( + name='received_operations_count', full_name='google.ads.googleads.v4.services.UploadUserDataResponse.received_operations_count', index=1, + number=2, type=11, cpp_type=10, label=1, + has_default_value=False, default_value=None, + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=None, file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=688, + serialized_end=832, +) + +_UPLOADUSERDATAREQUEST.fields_by_name['operations'].message_type = _USERDATAOPERATION +_UPLOADUSERDATAREQUEST.fields_by_name['customer_match_user_list_metadata'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2._CUSTOMERMATCHUSERLISTMETADATA +_UPLOADUSERDATAREQUEST.oneofs_by_name['metadata'].fields.append( + _UPLOADUSERDATAREQUEST.fields_by_name['customer_match_user_list_metadata']) +_UPLOADUSERDATAREQUEST.fields_by_name['customer_match_user_list_metadata'].containing_oneof = _UPLOADUSERDATAREQUEST.oneofs_by_name['metadata'] +_USERDATAOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2._USERDATA +_USERDATAOPERATION.fields_by_name['remove'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_common_dot_offline__user__data__pb2._USERDATA +_USERDATAOPERATION.oneofs_by_name['operation'].fields.append( + _USERDATAOPERATION.fields_by_name['create']) +_USERDATAOPERATION.fields_by_name['create'].containing_oneof = _USERDATAOPERATION.oneofs_by_name['operation'] +_USERDATAOPERATION.oneofs_by_name['operation'].fields.append( + _USERDATAOPERATION.fields_by_name['remove']) +_USERDATAOPERATION.fields_by_name['remove'].containing_oneof = _USERDATAOPERATION.oneofs_by_name['operation'] +_UPLOADUSERDATARESPONSE.fields_by_name['upload_date_time'].message_type = google_dot_protobuf_dot_wrappers__pb2._STRINGVALUE +_UPLOADUSERDATARESPONSE.fields_by_name['received_operations_count'].message_type = google_dot_protobuf_dot_wrappers__pb2._INT32VALUE +DESCRIPTOR.message_types_by_name['UploadUserDataRequest'] = _UPLOADUSERDATAREQUEST +DESCRIPTOR.message_types_by_name['UserDataOperation'] = _USERDATAOPERATION +DESCRIPTOR.message_types_by_name['UploadUserDataResponse'] = _UPLOADUSERDATARESPONSE +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +UploadUserDataRequest = _reflection.GeneratedProtocolMessageType('UploadUserDataRequest', (_message.Message,), dict( + DESCRIPTOR = _UPLOADUSERDATAREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.user_data_service_pb2' + , + __doc__ = """Request message for + [UserDataService.UploadUserData][google.ads.googleads.v4.services.UserDataService.UploadUserData] + + + Attributes: + customer_id: + Required. The ID of the customer for which to update the user + data. + operations: + Required. The list of operations to be done. + metadata: + Metadata of the request. + customer_match_user_list_metadata: + Metadata for data updates to a Customer Match user list. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadUserDataRequest) + )) +_sym_db.RegisterMessage(UploadUserDataRequest) + +UserDataOperation = _reflection.GeneratedProtocolMessageType('UserDataOperation', (_message.Message,), dict( + DESCRIPTOR = _USERDATAOPERATION, + __module__ = 'google.ads.googleads_v4.proto.services.user_data_service_pb2' + , + __doc__ = """Operation to be made for the UploadUserDataRequest. + + + Attributes: + operation: + Operation to be made for the UploadUserDataRequest. + create: + The list of user data to be appended to the user list. + remove: + The list of user data to be removed from the user list. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UserDataOperation) + )) +_sym_db.RegisterMessage(UserDataOperation) + +UploadUserDataResponse = _reflection.GeneratedProtocolMessageType('UploadUserDataResponse', (_message.Message,), dict( + DESCRIPTOR = _UPLOADUSERDATARESPONSE, + __module__ = 'google.ads.googleads_v4.proto.services.user_data_service_pb2' + , + __doc__ = """Response message for + [UserDataService.UploadUserData][google.ads.googleads.v4.services.UserDataService.UploadUserData] + + + Attributes: + upload_date_time: + The date time at which the request was received by API, + formatted as "yyyy-mm-dd hh:mm:ss+\|-hh:mm", e.g. "2019-01-01 + 12:32:45-08:00". + received_operations_count: + Number of upload data operations received by API. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UploadUserDataResponse) + )) +_sym_db.RegisterMessage(UploadUserDataResponse) + + +DESCRIPTOR._options = None +_UPLOADUSERDATAREQUEST.fields_by_name['customer_id']._options = None +_UPLOADUSERDATAREQUEST.fields_by_name['operations']._options = None + +_USERDATASERVICE = _descriptor.ServiceDescriptor( + name='UserDataService', + full_name='google.ads.googleads.v4.services.UserDataService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=835, + serialized_end=1072, + methods=[ + _descriptor.MethodDescriptor( + name='UploadUserData', + full_name='google.ads.googleads.v4.services.UserDataService.UploadUserData', + index=0, + containing_service=None, + input_type=_UPLOADUSERDATAREQUEST, + output_type=_UPLOADUSERDATARESPONSE, + serialized_options=_b('\202\323\344\223\0021\",/v4/customers/{customer_id=*}:uploadUserData:\001*'), + ), +]) +_sym_db.RegisterServiceDescriptor(_USERDATASERVICE) + +DESCRIPTOR.services_by_name['UserDataService'] = _USERDATASERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/user_data_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/user_data_service_pb2_grpc.py new file mode 100644 index 000000000..f49732ff1 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/user_data_service_pb2_grpc.py @@ -0,0 +1,52 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.services import user_data_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__data__service__pb2 + + +class UserDataServiceStub(object): + """Proto file describing the UserDataService. + + Service to manage user data uploads. + Accessible to whitelisted customers only. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.UploadUserData = channel.unary_unary( + '/google.ads.googleads.v4.services.UserDataService/UploadUserData', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__data__service__pb2.UploadUserDataRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__data__service__pb2.UploadUserDataResponse.FromString, + ) + + +class UserDataServiceServicer(object): + """Proto file describing the UserDataService. + + Service to manage user data uploads. + Accessible to whitelisted customers only. + """ + + def UploadUserData(self, request, context): + """Uploads the given user data. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_UserDataServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'UploadUserData': grpc.unary_unary_rpc_method_handler( + servicer.UploadUserData, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__data__service__pb2.UploadUserDataRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__data__service__pb2.UploadUserDataResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.UserDataService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/user_interest_service_pb2.py b/google/ads/google_ads/v4/proto/services/user_interest_service_pb2.py new file mode 100644 index 000000000..61324b4bd --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/user_interest_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/user_interest_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/user_interest_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\030UserInterestServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nBgoogle/ads/googleads_v4/proto/services/user_interest_service.proto\x12 google.ads.googleads.v4.services\x1a;google/ads/googleads_v4/proto/resources/user_interest.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"^\n\x16GetUserInterestRequest\x12\x44\n\rresource_name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%googleads.googleapis.com/UserInterest2\xfa\x01\n\x13UserInterestService\x12\xc5\x01\n\x0fGetUserInterest\x12\x38.google.ads.googleads.v4.services.GetUserInterestRequest\x1a/.google.ads.googleads.v4.resources.UserInterest\"G\x82\xd3\xe4\x93\x02\x31\x12//v4/{resource_name=customers/*/userInterests/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xff\x01\n$com.google.ads.googleads.v4.servicesB\x18UserInterestServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETUSERINTERESTREQUEST = _descriptor.Descriptor( + name='GetUserInterestRequest', + full_name='google.ads.googleads.v4.services.GetUserInterestRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetUserInterestRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A\'\n%googleads.googleapis.com/UserInterest'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=280, + serialized_end=374, +) + +DESCRIPTOR.message_types_by_name['GetUserInterestRequest'] = _GETUSERINTERESTREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetUserInterestRequest = _reflection.GeneratedProtocolMessageType('GetUserInterestRequest', (_message.Message,), dict( + DESCRIPTOR = _GETUSERINTERESTREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.user_interest_service_pb2' + , + __doc__ = """Request message for + [UserInterestService.GetUserInterest][google.ads.googleads.v4.services.UserInterestService.GetUserInterest]. + + + Attributes: + resource_name: + Required. Resource name of the UserInterest to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetUserInterestRequest) + )) +_sym_db.RegisterMessage(GetUserInterestRequest) + + +DESCRIPTOR._options = None +_GETUSERINTERESTREQUEST.fields_by_name['resource_name']._options = None + +_USERINTERESTSERVICE = _descriptor.ServiceDescriptor( + name='UserInterestService', + full_name='google.ads.googleads.v4.services.UserInterestService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=377, + serialized_end=627, + methods=[ + _descriptor.MethodDescriptor( + name='GetUserInterest', + full_name='google.ads.googleads.v4.services.UserInterestService.GetUserInterest', + index=0, + containing_service=None, + input_type=_GETUSERINTERESTREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2._USERINTEREST, + serialized_options=_b('\202\323\344\223\0021\022//v4/{resource_name=customers/*/userInterests/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_USERINTERESTSERVICE) + +DESCRIPTOR.services_by_name['UserInterestService'] = _USERINTERESTSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/user_interest_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/user_interest_service_pb2_grpc.py similarity index 71% rename from google/ads/google_ads/v1/proto/services/user_interest_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/user_interest_service_pb2_grpc.py index f4ebd8cac..2962445bc 100644 --- a/google/ads/google_ads/v1/proto/services/user_interest_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/user_interest_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2 -from google.ads.google_ads.v1.proto.services import user_interest_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__interest__service__pb2 +from google.ads.google_ads.v4.proto.resources import user_interest_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2 +from google.ads.google_ads.v4.proto.services import user_interest_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__interest__service__pb2 class UserInterestServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetUserInterest = channel.unary_unary( - '/google.ads.googleads.v1.services.UserInterestService/GetUserInterest', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__interest__service__pb2.GetUserInterestRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2.UserInterest.FromString, + '/google.ads.googleads.v4.services.UserInterestService/GetUserInterest', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__interest__service__pb2.GetUserInterestRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2.UserInterest.FromString, ) @@ -42,10 +42,10 @@ def add_UserInterestServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetUserInterest': grpc.unary_unary_rpc_method_handler( servicer.GetUserInterest, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__interest__service__pb2.GetUserInterestRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__interest__pb2.UserInterest.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__interest__service__pb2.GetUserInterestRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__interest__pb2.UserInterest.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.UserInterestService', rpc_method_handlers) + 'google.ads.googleads.v4.services.UserInterestService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/proto/services/user_list_service_pb2.py b/google/ads/google_ads/v4/proto/services/user_list_service_pb2.py similarity index 63% rename from google/ads/google_ads/v1/proto/services/user_list_service_pb2.py rename to google/ads/google_ads/v4/proto/services/user_list_service_pb2.py index 2d6e51729..f31edd10b 100644 --- a/google/ads/google_ads/v1/proto/services/user_list_service_pb2.py +++ b/google/ads/google_ads/v4/proto/services/user_list_service_pb2.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! -# source: google/ads/googleads_v1/proto/services/user_list_service.proto +# source: google/ads/googleads_v4/proto/services/user_list_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) @@ -13,39 +13,41 @@ _sym_db = _symbol_database.Default() -from google.ads.google_ads.v1.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2 +from google.ads.google_ads.v4.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2 from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2 -from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 DESCRIPTOR = _descriptor.FileDescriptor( - name='google/ads/googleads_v1/proto/services/user_list_service.proto', - package='google.ads.googleads.v1.services', + name='google/ads/googleads_v4/proto/services/user_list_service.proto', + package='google.ads.googleads.v4.services', syntax='proto3', - serialized_options=_b('\n$com.google.ads.googleads.v1.servicesB\024UserListServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V1.Services\312\002 Google\\Ads\\GoogleAds\\V1\\Services\352\002$Google::Ads::GoogleAds::V1::Services'), - serialized_pb=_b('\n>google/ads/googleads_v1/proto/services/user_list_service.proto\x12 google.ads.googleads.v1.services\x1a\x37google/ads/googleads_v1/proto/resources/user_list.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"+\n\x12GetUserListRequest\x12\x15\n\rresource_name\x18\x01 \x01(\t\"\xa6\x01\n\x16MutateUserListsRequest\x12\x13\n\x0b\x63ustomer_id\x18\x01 \x01(\t\x12G\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v1.services.UserListOperation\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11UserListOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v1.resources.UserListH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v1.resources.UserListH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateUserListsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v1.services.MutateUserListResult\"-\n\x14MutateUserListResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xfd\x02\n\x0fUserListService\x12\xa5\x01\n\x0bGetUserList\x12\x34.google.ads.googleads.v1.services.GetUserListRequest\x1a+.google.ads.googleads.v1.resources.UserList\"3\x82\xd3\xe4\x93\x02-\x12+/v1/{resource_name=customers/*/userLists/*}\x12\xc1\x01\n\x0fMutateUserLists\x12\x38.google.ads.googleads.v1.services.MutateUserListsRequest\x1a\x39.google.ads.googleads.v1.services.MutateUserListsResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v1/customers/{customer_id=*}/userLists:mutate:\x01*B\xfb\x01\n$com.google.ads.googleads.v1.servicesB\x14UserListServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v1/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V1.Services\xca\x02 Google\\Ads\\GoogleAds\\V1\\Services\xea\x02$Google::Ads::GoogleAds::V1::Servicesb\x06proto3') + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\024UserListServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n>google/ads/googleads_v4/proto/services/user_list_service.proto\x12 google.ads.googleads.v4.services\x1a\x37google/ads/googleads_v4/proto/resources/user_list.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"V\n\x12GetUserListRequest\x12@\n\rresource_name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!googleads.googleapis.com/UserList\"\xb0\x01\n\x16MutateUserListsRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\noperations\x18\x02 \x03(\x0b\x32\x33.google.ads.googleads.v4.services.UserListOperationB\x03\xe0\x41\x02\x12\x17\n\x0fpartial_failure\x18\x03 \x01(\x08\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xe1\x01\n\x11UserListOperation\x12/\n\x0bupdate_mask\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12=\n\x06\x63reate\x18\x01 \x01(\x0b\x32+.google.ads.googleads.v4.resources.UserListH\x00\x12=\n\x06update\x18\x02 \x01(\x0b\x32+.google.ads.googleads.v4.resources.UserListH\x00\x12\x10\n\x06remove\x18\x03 \x01(\tH\x00\x42\x0b\n\toperation\"\x95\x01\n\x17MutateUserListsResponse\x12\x31\n\x15partial_failure_error\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x07results\x18\x02 \x03(\x0b\x32\x36.google.ads.googleads.v4.services.MutateUserListResult\"-\n\x14MutateUserListResult\x12\x15\n\rresource_name\x18\x01 \x01(\t2\xc3\x03\n\x0fUserListService\x12\xb5\x01\n\x0bGetUserList\x12\x34.google.ads.googleads.v4.services.GetUserListRequest\x1a+.google.ads.googleads.v4.resources.UserList\"C\x82\xd3\xe4\x93\x02-\x12+/v4/{resource_name=customers/*/userLists/*}\xda\x41\rresource_name\x12\xda\x01\n\x0fMutateUserLists\x12\x38.google.ads.googleads.v4.services.MutateUserListsRequest\x1a\x39.google.ads.googleads.v4.services.MutateUserListsResponse\"R\x82\xd3\xe4\x93\x02\x33\"./v4/customers/{customer_id=*}/userLists:mutate:\x01*\xda\x41\x16\x63ustomer_id,operations\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xfb\x01\n$com.google.ads.googleads.v4.servicesB\x14UserListServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') , - dependencies=[google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,google_dot_protobuf_dot_field__mask__pb2.DESCRIPTOR,google_dot_rpc_dot_status__pb2.DESCRIPTOR,]) _GETUSERLISTREQUEST = _descriptor.Descriptor( name='GetUserListRequest', - full_name='google.ads.googleads.v1.services.GetUserListRequest', + full_name='google.ads.googleads.v4.services.GetUserListRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.GetUserListRequest.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.GetUserListRequest.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002\372A#\n!googleads.googleapis.com/UserList'), file=DESCRIPTOR), ], extensions=[ ], @@ -58,41 +60,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=278, - serialized_end=321, + serialized_start=331, + serialized_end=417, ) _MUTATEUSERLISTSREQUEST = _descriptor.Descriptor( name='MutateUserListsRequest', - full_name='google.ads.googleads.v1.services.MutateUserListsRequest', + full_name='google.ads.googleads.v4.services.MutateUserListsRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='customer_id', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.customer_id', index=0, + name='customer_id', full_name='google.ads.googleads.v4.services.MutateUserListsRequest.customer_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='operations', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.operations', index=1, + name='operations', full_name='google.ads.googleads.v4.services.MutateUserListsRequest.operations', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), + serialized_options=_b('\340A\002'), file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='partial_failure', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.partial_failure', index=2, + name='partial_failure', full_name='google.ads.googleads.v4.services.MutateUserListsRequest.partial_failure', index=2, number=3, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='validate_only', full_name='google.ads.googleads.v1.services.MutateUserListsRequest.validate_only', index=3, + name='validate_only', full_name='google.ads.googleads.v4.services.MutateUserListsRequest.validate_only', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, @@ -110,41 +112,41 @@ extension_ranges=[], oneofs=[ ], - serialized_start=324, - serialized_end=490, + serialized_start=420, + serialized_end=596, ) _USERLISTOPERATION = _descriptor.Descriptor( name='UserListOperation', - full_name='google.ads.googleads.v1.services.UserListOperation', + full_name='google.ads.googleads.v4.services.UserListOperation', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='update_mask', full_name='google.ads.googleads.v1.services.UserListOperation.update_mask', index=0, + name='update_mask', full_name='google.ads.googleads.v4.services.UserListOperation.update_mask', index=0, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='create', full_name='google.ads.googleads.v1.services.UserListOperation.create', index=1, + name='create', full_name='google.ads.googleads.v4.services.UserListOperation.create', index=1, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='update', full_name='google.ads.googleads.v1.services.UserListOperation.update', index=2, + name='update', full_name='google.ads.googleads.v4.services.UserListOperation.update', index=2, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='remove', full_name='google.ads.googleads.v1.services.UserListOperation.remove', index=3, + name='remove', full_name='google.ads.googleads.v4.services.UserListOperation.remove', index=3, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -162,30 +164,30 @@ extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( - name='operation', full_name='google.ads.googleads.v1.services.UserListOperation.operation', + name='operation', full_name='google.ads.googleads.v4.services.UserListOperation.operation', index=0, containing_type=None, fields=[]), ], - serialized_start=493, - serialized_end=718, + serialized_start=599, + serialized_end=824, ) _MUTATEUSERLISTSRESPONSE = _descriptor.Descriptor( name='MutateUserListsResponse', - full_name='google.ads.googleads.v1.services.MutateUserListsResponse', + full_name='google.ads.googleads.v4.services.MutateUserListsResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='partial_failure_error', full_name='google.ads.googleads.v1.services.MutateUserListsResponse.partial_failure_error', index=0, + name='partial_failure_error', full_name='google.ads.googleads.v4.services.MutateUserListsResponse.partial_failure_error', index=0, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( - name='results', full_name='google.ads.googleads.v1.services.MutateUserListsResponse.results', index=1, + name='results', full_name='google.ads.googleads.v4.services.MutateUserListsResponse.results', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -203,20 +205,20 @@ extension_ranges=[], oneofs=[ ], - serialized_start=721, - serialized_end=870, + serialized_start=827, + serialized_end=976, ) _MUTATEUSERLISTRESULT = _descriptor.Descriptor( name='MutateUserListResult', - full_name='google.ads.googleads.v1.services.MutateUserListResult', + full_name='google.ads.googleads.v4.services.MutateUserListResult', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='resource_name', full_name='google.ads.googleads.v1.services.MutateUserListResult.resource_name', index=0, + name='resource_name', full_name='google.ads.googleads.v4.services.MutateUserListResult.resource_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -234,14 +236,14 @@ extension_ranges=[], oneofs=[ ], - serialized_start=872, - serialized_end=917, + serialized_start=978, + serialized_end=1023, ) _MUTATEUSERLISTSREQUEST.fields_by_name['operations'].message_type = _USERLISTOPERATION _USERLISTOPERATION.fields_by_name['update_mask'].message_type = google_dot_protobuf_dot_field__mask__pb2._FIELDMASK -_USERLISTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST -_USERLISTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST +_USERLISTOPERATION.fields_by_name['create'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2._USERLIST +_USERLISTOPERATION.fields_by_name['update'].message_type = google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2._USERLIST _USERLISTOPERATION.oneofs_by_name['operation'].fields.append( _USERLISTOPERATION.fields_by_name['create']) _USERLISTOPERATION.fields_by_name['create'].containing_oneof = _USERLISTOPERATION.oneofs_by_name['operation'] @@ -262,33 +264,35 @@ GetUserListRequest = _reflection.GeneratedProtocolMessageType('GetUserListRequest', (_message.Message,), dict( DESCRIPTOR = _GETUSERLISTREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.user_list_service_pb2' , __doc__ = """Request message for - [UserListService.GetUserList][google.ads.googleads.v1.services.UserListService.GetUserList]. + [UserListService.GetUserList][google.ads.googleads.v4.services.UserListService.GetUserList]. Attributes: resource_name: - The resource name of the user list to fetch. + Required. The resource name of the user list to fetch. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.GetUserListRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetUserListRequest) )) _sym_db.RegisterMessage(GetUserListRequest) MutateUserListsRequest = _reflection.GeneratedProtocolMessageType('MutateUserListsRequest', (_message.Message,), dict( DESCRIPTOR = _MUTATEUSERLISTSREQUEST, - __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.user_list_service_pb2' , __doc__ = """Request message for - [UserListService.MutateUserLists][google.ads.googleads.v1.services.UserListService.MutateUserLists]. + [UserListService.MutateUserLists][google.ads.googleads.v4.services.UserListService.MutateUserLists]. Attributes: customer_id: - The ID of the customer whose user lists are being modified. + Required. The ID of the customer whose user lists are being + modified. operations: - The list of operations to perform on individual user lists. + Required. The list of operations to perform on individual user + lists. partial_failure: If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will @@ -298,13 +302,13 @@ If true, the request is validated but not executed. Only errors are returned, not results. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListsRequest) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateUserListsRequest) )) _sym_db.RegisterMessage(MutateUserListsRequest) UserListOperation = _reflection.GeneratedProtocolMessageType('UserListOperation', (_message.Message,), dict( DESCRIPTOR = _USERLISTOPERATION, - __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.user_list_service_pb2' , __doc__ = """A single operation (create, update) on a user list. @@ -326,13 +330,13 @@ expected, in this format: ``customers/{customer_id}/userLists/{user_list_id}`` """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.UserListOperation) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.UserListOperation) )) _sym_db.RegisterMessage(UserListOperation) MutateUserListsResponse = _reflection.GeneratedProtocolMessageType('MutateUserListsResponse', (_message.Message,), dict( DESCRIPTOR = _MUTATEUSERLISTSRESPONSE, - __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.user_list_service_pb2' , __doc__ = """Response message for user list mutate. @@ -347,13 +351,13 @@ results: All results for the mutate. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListsResponse) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateUserListsResponse) )) _sym_db.RegisterMessage(MutateUserListsResponse) MutateUserListResult = _reflection.GeneratedProtocolMessageType('MutateUserListResult', (_message.Message,), dict( DESCRIPTOR = _MUTATEUSERLISTRESULT, - __module__ = 'google.ads.googleads_v1.proto.services.user_list_service_pb2' + __module__ = 'google.ads.googleads_v4.proto.services.user_list_service_pb2' , __doc__ = """The result for the user list mutate. @@ -362,39 +366,42 @@ resource_name: Returned for successful operations. """, - # @@protoc_insertion_point(class_scope:google.ads.googleads.v1.services.MutateUserListResult) + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.MutateUserListResult) )) _sym_db.RegisterMessage(MutateUserListResult) DESCRIPTOR._options = None +_GETUSERLISTREQUEST.fields_by_name['resource_name']._options = None +_MUTATEUSERLISTSREQUEST.fields_by_name['customer_id']._options = None +_MUTATEUSERLISTSREQUEST.fields_by_name['operations']._options = None _USERLISTSERVICE = _descriptor.ServiceDescriptor( name='UserListService', - full_name='google.ads.googleads.v1.services.UserListService', + full_name='google.ads.googleads.v4.services.UserListService', file=DESCRIPTOR, index=0, - serialized_options=None, - serialized_start=920, - serialized_end=1301, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=1026, + serialized_end=1477, methods=[ _descriptor.MethodDescriptor( name='GetUserList', - full_name='google.ads.googleads.v1.services.UserListService.GetUserList', + full_name='google.ads.googleads.v4.services.UserListService.GetUserList', index=0, containing_service=None, input_type=_GETUSERLISTREQUEST, - output_type=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2._USERLIST, - serialized_options=_b('\202\323\344\223\002-\022+/v1/{resource_name=customers/*/userLists/*}'), + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2._USERLIST, + serialized_options=_b('\202\323\344\223\002-\022+/v4/{resource_name=customers/*/userLists/*}\332A\rresource_name'), ), _descriptor.MethodDescriptor( name='MutateUserLists', - full_name='google.ads.googleads.v1.services.UserListService.MutateUserLists', + full_name='google.ads.googleads.v4.services.UserListService.MutateUserLists', index=1, containing_service=None, input_type=_MUTATEUSERLISTSREQUEST, output_type=_MUTATEUSERLISTSRESPONSE, - serialized_options=_b('\202\323\344\223\0023\"./v1/customers/{customer_id=*}/userLists:mutate:\001*'), + serialized_options=_b('\202\323\344\223\0023\"./v4/customers/{customer_id=*}/userLists:mutate:\001*\332A\026customer_id,operations'), ), ]) _sym_db.RegisterServiceDescriptor(_USERLISTSERVICE) diff --git a/google/ads/google_ads/v1/proto/services/user_list_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/user_list_service_pb2_grpc.py similarity index 70% rename from google/ads/google_ads/v1/proto/services/user_list_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/user_list_service_pb2_grpc.py index a13d30897..1acade8b0 100644 --- a/google/ads/google_ads/v1/proto/services/user_list_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/user_list_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2 -from google.ads.google_ads.v1.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2 +from google.ads.google_ads.v4.proto.resources import user_list_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2 +from google.ads.google_ads.v4.proto.services import user_list_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2 class UserListServiceStub(object): @@ -18,14 +18,14 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetUserList = channel.unary_unary( - '/google.ads.googleads.v1.services.UserListService/GetUserList', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2.UserList.FromString, + '/google.ads.googleads.v4.services.UserListService/GetUserList', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2.UserList.FromString, ) self.MutateUserLists = channel.unary_unary( - '/google.ads.googleads.v1.services.UserListService/MutateUserLists', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.FromString, + '/google.ads.googleads.v4.services.UserListService/MutateUserLists', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.FromString, ) @@ -54,15 +54,15 @@ def add_UserListServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetUserList': grpc.unary_unary_rpc_method_handler( servicer.GetUserList, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_user__list__pb2.UserList.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.GetUserListRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__list__pb2.UserList.SerializeToString, ), 'MutateUserLists': grpc.unary_unary_rpc_method_handler( servicer.MutateUserLists, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__list__service__pb2.MutateUserListsResponse.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.UserListService', rpc_method_handlers) + 'google.ads.googleads.v4.services.UserListService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2.py b/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2.py new file mode 100644 index 000000000..56a2520ba --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/user_location_view_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/user_location_view_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\034UserLocationViewServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\nGgoogle/ads/googleads_v4/proto/services/user_location_view_service.proto\x12 google.ads.googleads.v4.services\x1a@google/ads/googleads_v4/proto/resources/user_location_view.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"f\n\x1aGetUserLocationViewRequest\x12H\n\rresource_name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)googleads.googleapis.com/UserLocationView2\x8e\x02\n\x17UserLocationViewService\x12\xd5\x01\n\x13GetUserLocationView\x12<.google.ads.googleads.v4.services.GetUserLocationViewRequest\x1a\x33.google.ads.googleads.v4.resources.UserLocationView\"K\x82\xd3\xe4\x93\x02\x35\x12\x33/v4/{resource_name=customers/*/userLocationViews/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\x83\x02\n$com.google.ads.googleads.v4.servicesB\x1cUserLocationViewServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETUSERLOCATIONVIEWREQUEST = _descriptor.Descriptor( + name='GetUserLocationViewRequest', + full_name='google.ads.googleads.v4.services.GetUserLocationViewRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetUserLocationViewRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A+\n)googleads.googleapis.com/UserLocationView'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=290, + serialized_end=392, +) + +DESCRIPTOR.message_types_by_name['GetUserLocationViewRequest'] = _GETUSERLOCATIONVIEWREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetUserLocationViewRequest = _reflection.GeneratedProtocolMessageType('GetUserLocationViewRequest', (_message.Message,), dict( + DESCRIPTOR = _GETUSERLOCATIONVIEWREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.user_location_view_service_pb2' + , + __doc__ = """Request message for + [UserLocationViewService.GetUserLocationView][google.ads.googleads.v4.services.UserLocationViewService.GetUserLocationView]. + + + Attributes: + resource_name: + Required. The resource name of the user location view to + fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetUserLocationViewRequest) + )) +_sym_db.RegisterMessage(GetUserLocationViewRequest) + + +DESCRIPTOR._options = None +_GETUSERLOCATIONVIEWREQUEST.fields_by_name['resource_name']._options = None + +_USERLOCATIONVIEWSERVICE = _descriptor.ServiceDescriptor( + name='UserLocationViewService', + full_name='google.ads.googleads.v4.services.UserLocationViewService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=395, + serialized_end=665, + methods=[ + _descriptor.MethodDescriptor( + name='GetUserLocationView', + full_name='google.ads.googleads.v4.services.UserLocationViewService.GetUserLocationView', + index=0, + containing_service=None, + input_type=_GETUSERLOCATIONVIEWREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2._USERLOCATIONVIEW, + serialized_options=_b('\202\323\344\223\0025\0223/v4/{resource_name=customers/*/userLocationViews/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_USERLOCATIONVIEWSERVICE) + +DESCRIPTOR.services_by_name['UserLocationViewService'] = _USERLOCATIONVIEWSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2_grpc.py new file mode 100644 index 000000000..281fe0a99 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/user_location_view_service_pb2_grpc.py @@ -0,0 +1,51 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +import grpc + +from google.ads.google_ads.v4.proto.resources import user_location_view_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2 +from google.ads.google_ads.v4.proto.services import user_location_view_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__location__view__service__pb2 + + +class UserLocationViewServiceStub(object): + """Proto file describing the UserLocationView service. + + Service to manage user location views. + """ + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.GetUserLocationView = channel.unary_unary( + '/google.ads.googleads.v4.services.UserLocationViewService/GetUserLocationView', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__location__view__service__pb2.GetUserLocationViewRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2.UserLocationView.FromString, + ) + + +class UserLocationViewServiceServicer(object): + """Proto file describing the UserLocationView service. + + Service to manage user location views. + """ + + def GetUserLocationView(self, request, context): + """Returns the requested user location view in full detail. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_UserLocationViewServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'GetUserLocationView': grpc.unary_unary_rpc_method_handler( + servicer.GetUserLocationView, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_user__location__view__service__pb2.GetUserLocationViewRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_user__location__view__pb2.UserLocationView.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'google.ads.googleads.v4.services.UserLocationViewService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v4/proto/services/video_service_pb2.py b/google/ads/google_ads/v4/proto/services/video_service_pb2.py new file mode 100644 index 000000000..c32bf09f0 --- /dev/null +++ b/google/ads/google_ads/v4/proto/services/video_service_pb2.py @@ -0,0 +1,111 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: google/ads/googleads_v4/proto/services/video_service.proto + +import sys +_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from google.protobuf import reflection as _reflection +from google.protobuf import symbol_database as _symbol_database +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.ads.google_ads.v4.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2 +from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 +from google.api import client_pb2 as google_dot_api_dot_client__pb2 +from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2 +from google.api import resource_pb2 as google_dot_api_dot_resource__pb2 + + +DESCRIPTOR = _descriptor.FileDescriptor( + name='google/ads/googleads_v4/proto/services/video_service.proto', + package='google.ads.googleads.v4.services', + syntax='proto3', + serialized_options=_b('\n$com.google.ads.googleads.v4.servicesB\021VideoServiceProtoP\001ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\242\002\003GAA\252\002 Google.Ads.GoogleAds.V4.Services\312\002 Google\\Ads\\GoogleAds\\V4\\Services\352\002$Google::Ads::GoogleAds::V4::Services'), + serialized_pb=_b('\n:google/ads/googleads_v4/proto/services/video_service.proto\x12 google.ads.googleads.v4.services\x1a\x33google/ads/googleads_v4/proto/resources/video.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"P\n\x0fGetVideoRequest\x12=\n\rresource_name\x18\x01 \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1egoogleads.googleapis.com/Video2\xd7\x01\n\x0cVideoService\x12\xa9\x01\n\x08GetVideo\x12\x31.google.ads.googleads.v4.services.GetVideoRequest\x1a(.google.ads.googleads.v4.resources.Video\"@\x82\xd3\xe4\x93\x02*\x12(/v4/{resource_name=customers/*/videos/*}\xda\x41\rresource_name\x1a\x1b\xca\x41\x18googleads.googleapis.comB\xf8\x01\n$com.google.ads.googleads.v4.servicesB\x11VideoServiceProtoP\x01ZHgoogle.golang.org/genproto/googleapis/ads/googleads/v4/services;services\xa2\x02\x03GAA\xaa\x02 Google.Ads.GoogleAds.V4.Services\xca\x02 Google\\Ads\\GoogleAds\\V4\\Services\xea\x02$Google::Ads::GoogleAds::V4::Servicesb\x06proto3') + , + dependencies=[google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,google_dot_api_dot_client__pb2.DESCRIPTOR,google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,google_dot_api_dot_resource__pb2.DESCRIPTOR,]) + + + + +_GETVIDEOREQUEST = _descriptor.Descriptor( + name='GetVideoRequest', + full_name='google.ads.googleads.v4.services.GetVideoRequest', + filename=None, + file=DESCRIPTOR, + containing_type=None, + fields=[ + _descriptor.FieldDescriptor( + name='resource_name', full_name='google.ads.googleads.v4.services.GetVideoRequest.resource_name', index=0, + number=1, type=9, cpp_type=9, label=1, + has_default_value=False, default_value=_b("").decode('utf-8'), + message_type=None, enum_type=None, containing_type=None, + is_extension=False, extension_scope=None, + serialized_options=_b('\340A\002\372A \n\036googleads.googleapis.com/Video'), file=DESCRIPTOR), + ], + extensions=[ + ], + nested_types=[], + enum_types=[ + ], + serialized_options=None, + is_extendable=False, + syntax='proto3', + extension_ranges=[], + oneofs=[ + ], + serialized_start=264, + serialized_end=344, +) + +DESCRIPTOR.message_types_by_name['GetVideoRequest'] = _GETVIDEOREQUEST +_sym_db.RegisterFileDescriptor(DESCRIPTOR) + +GetVideoRequest = _reflection.GeneratedProtocolMessageType('GetVideoRequest', (_message.Message,), dict( + DESCRIPTOR = _GETVIDEOREQUEST, + __module__ = 'google.ads.googleads_v4.proto.services.video_service_pb2' + , + __doc__ = """Request message for + [VideoService.GetVideo][google.ads.googleads.v4.services.VideoService.GetVideo]. + + + Attributes: + resource_name: + Required. The resource name of the video to fetch. + """, + # @@protoc_insertion_point(class_scope:google.ads.googleads.v4.services.GetVideoRequest) + )) +_sym_db.RegisterMessage(GetVideoRequest) + + +DESCRIPTOR._options = None +_GETVIDEOREQUEST.fields_by_name['resource_name']._options = None + +_VIDEOSERVICE = _descriptor.ServiceDescriptor( + name='VideoService', + full_name='google.ads.googleads.v4.services.VideoService', + file=DESCRIPTOR, + index=0, + serialized_options=_b('\312A\030googleads.googleapis.com'), + serialized_start=347, + serialized_end=562, + methods=[ + _descriptor.MethodDescriptor( + name='GetVideo', + full_name='google.ads.googleads.v4.services.VideoService.GetVideo', + index=0, + containing_service=None, + input_type=_GETVIDEOREQUEST, + output_type=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2._VIDEO, + serialized_options=_b('\202\323\344\223\002*\022(/v4/{resource_name=customers/*/videos/*}\332A\rresource_name'), + ), +]) +_sym_db.RegisterServiceDescriptor(_VIDEOSERVICE) + +DESCRIPTOR.services_by_name['VideoService'] = _VIDEOSERVICE + +# @@protoc_insertion_point(module_scope) diff --git a/google/ads/google_ads/v1/proto/services/video_service_pb2_grpc.py b/google/ads/google_ads/v4/proto/services/video_service_pb2_grpc.py similarity index 67% rename from google/ads/google_ads/v1/proto/services/video_service_pb2_grpc.py rename to google/ads/google_ads/v4/proto/services/video_service_pb2_grpc.py index 59e5fef4a..288d4d8d1 100644 --- a/google/ads/google_ads/v1/proto/services/video_service_pb2_grpc.py +++ b/google/ads/google_ads/v4/proto/services/video_service_pb2_grpc.py @@ -1,8 +1,8 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc -from google.ads.google_ads.v1.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2 -from google.ads.google_ads.v1.proto.services import video_service_pb2 as google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_video__service__pb2 +from google.ads.google_ads.v4.proto.resources import video_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2 +from google.ads.google_ads.v4.proto.services import video_service_pb2 as google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_video__service__pb2 class VideoServiceStub(object): @@ -18,9 +18,9 @@ def __init__(self, channel): channel: A grpc.Channel. """ self.GetVideo = channel.unary_unary( - '/google.ads.googleads.v1.services.VideoService/GetVideo', - request_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.SerializeToString, - response_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2.Video.FromString, + '/google.ads.googleads.v4.services.VideoService/GetVideo', + request_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.SerializeToString, + response_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2.Video.FromString, ) @@ -42,10 +42,10 @@ def add_VideoServiceServicer_to_server(servicer, server): rpc_method_handlers = { 'GetVideo': grpc.unary_unary_rpc_method_handler( servicer.GetVideo, - request_deserializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.FromString, - response_serializer=google_dot_ads_dot_googleads__v1_dot_proto_dot_resources_dot_video__pb2.Video.SerializeToString, + request_deserializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_services_dot_video__service__pb2.GetVideoRequest.FromString, + response_serializer=google_dot_ads_dot_googleads__v4_dot_proto_dot_resources_dot_video__pb2.Video.SerializeToString, ), } generic_handler = grpc.method_handlers_generic_handler( - 'google.ads.googleads.v1.services.VideoService', rpc_method_handlers) + 'google.ads.googleads.v4.services.VideoService', rpc_method_handlers) server.add_generic_rpc_handlers((generic_handler,)) diff --git a/google/ads/google_ads/v1/services/__init__.py b/google/ads/google_ads/v4/services/__init__.py similarity index 100% rename from google/ads/google_ads/v1/services/__init__.py rename to google/ads/google_ads/v4/services/__init__.py diff --git a/google/ads/google_ads/v1/services/account_budget_proposal_service_client.py b/google/ads/google_ads/v4/services/account_budget_proposal_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/account_budget_proposal_service_client.py rename to google/ads/google_ads/v4/services/account_budget_proposal_service_client.py index 7dc861bf6..ec5b2ed1e 100644 --- a/google/ads/google_ads/v1/services/account_budget_proposal_service_client.py +++ b/google/ads/google_ads/v4/services/account_budget_proposal_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AccountBudgetProposalService API.""" + +"""Accesses the google.ads.googleads.v4.services AccountBudgetProposalService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import account_budget_proposal_service_client_config -from google.ads.google_ads.v1.services.transports import account_budget_proposal_service_grpc_transport -from google.ads.google_ads.v1.proto.services import account_budget_proposal_service_pb2 +from google.ads.google_ads.v4.services import account_budget_proposal_service_client_config +from google.ads.google_ads.v4.services.transports import account_budget_proposal_service_grpc_transport +from google.ads.google_ads.v4.proto.services import account_budget_proposal_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AccountBudgetProposalServiceClient(object): @@ -41,7 +46,8 @@ class AccountBudgetProposalServiceClient(object): existing one. Reads for account-level budgets managed by these proposals will be - supported in a future version. Please use BudgetOrderService until then: + supported in a future version. Until then, please use the + BudgetOrderService from the AdWords API. Learn more at https://developers.google.com/adwords/api/docs/guides/budget-order Mutates: @@ -55,7 +61,8 @@ class AccountBudgetProposalServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AccountBudgetProposalService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AccountBudgetProposalService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -78,6 +85,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def account_budget_proposal_path(cls, customer, account_budget_proposal): """Return a fully-qualified account_budget_proposal string.""" @@ -87,12 +95,8 @@ def account_budget_proposal_path(cls, customer, account_budget_proposal): account_budget_proposal=account_budget_proposal, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -125,19 +129,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = account_budget_proposal_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -146,14 +146,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=account_budget_proposal_service_grpc_transport - .AccountBudgetProposalServiceGrpcTransport, + default_class=account_budget_proposal_service_grpc_transport.AccountBudgetProposalServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = account_budget_proposal_service_grpc_transport.AccountBudgetProposalServiceGrpcTransport( @@ -164,7 +164,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -174,7 +175,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -193,7 +195,7 @@ def get_account_budget_proposal( Returns an account-level budget proposal in full detail. Args: - resource_name (str): The resource name of the account-level budget proposal to fetch. + resource_name (str): Required. The resource name of the account-level budget proposal to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -204,7 +206,7 @@ def get_account_budget_proposal( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AccountBudgetProposal` instance. + A :class:`~google.ads.googleads_v4.types.AccountBudgetProposal` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -215,20 +217,28 @@ def get_account_budget_proposal( """ # Wrap the transport method to add retry and timeout logic. if 'get_account_budget_proposal' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_account_budget_proposal'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_account_budget_proposal, - default_retry=self. - _method_configs['GetAccountBudgetProposal'].retry, - default_timeout=self. - _method_configs['GetAccountBudgetProposal'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_account_budget_proposal'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_account_budget_proposal, + default_retry=self._method_configs['GetAccountBudgetProposal'].retry, + default_timeout=self._method_configs['GetAccountBudgetProposal'].timeout, + client_info=self._client_info, + ) request = account_budget_proposal_service_pb2.GetAccountBudgetProposalRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_account_budget_proposal']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_account_budget_proposal'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_account_budget_proposal( self, @@ -243,11 +253,11 @@ def mutate_account_budget_proposal( are returned. Args: - customer_id (str): The ID of the customer. - operation_ (Union[dict, ~google.ads.googleads_v1.types.AccountBudgetProposalOperation]): The operation to perform on an individual account-level budget proposal. + customer_id (str): Required. The ID of the customer. + operation_ (Union[dict, ~google.ads.googleads_v4.types.AccountBudgetProposalOperation]): Required. The operation to perform on an individual account-level budget proposal. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AccountBudgetProposalOperation` + message :class:`~google.ads.googleads_v4.types.AccountBudgetProposalOperation` validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -260,7 +270,7 @@ def mutate_account_budget_proposal( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAccountBudgetProposalResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAccountBudgetProposalResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -271,20 +281,27 @@ def mutate_account_budget_proposal( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_account_budget_proposal' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_account_budget_proposal'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_account_budget_proposal, - default_retry=self. - _method_configs['MutateAccountBudgetProposal'].retry, - default_timeout=self. - _method_configs['MutateAccountBudgetProposal'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_account_budget_proposal'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_account_budget_proposal, + default_retry=self._method_configs['MutateAccountBudgetProposal'].retry, + default_timeout=self._method_configs['MutateAccountBudgetProposal'].timeout, + client_info=self._client_info, + ) request = account_budget_proposal_service_pb2.MutateAccountBudgetProposalRequest( customer_id=customer_id, operation=operation_, validate_only=validate_only, ) - return self._inner_api_calls['mutate_account_budget_proposal']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_account_budget_proposal'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/account_budget_proposal_service_client_config.py b/google/ads/google_ads/v4/services/account_budget_proposal_service_client_config.py new file mode 100644 index 000000000..66b58e8aa --- /dev/null +++ b/google/ads/google_ads/v4/services/account_budget_proposal_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AccountBudgetProposalService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAccountBudgetProposal": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAccountBudgetProposal": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/account_budget_service_client.py b/google/ads/google_ads/v4/services/account_budget_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/account_budget_service_client.py rename to google/ads/google_ads/v4/services/account_budget_service_client.py index b3f2fdf94..28229b342 100644 --- a/google/ads/google_ads/v1/services/account_budget_service_client.py +++ b/google/ads/google_ads/v4/services/account_budget_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AccountBudgetService API.""" + +"""Accesses the google.ads.googleads.v4.services AccountBudgetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import account_budget_service_client_config -from google.ads.google_ads.v1.services.transports import account_budget_service_grpc_transport -from google.ads.google_ads.v1.proto.services import account_budget_service_pb2 +from google.ads.google_ads.v4.services import account_budget_service_client_config +from google.ads.google_ads.v4.services.transports import account_budget_service_grpc_transport +from google.ads.google_ads.v4.proto.services import account_budget_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AccountBudgetServiceClient(object): @@ -45,7 +50,8 @@ class AccountBudgetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AccountBudgetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AccountBudgetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -68,6 +74,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def account_budget_path(cls, customer, account_budget): """Return a fully-qualified account_budget string.""" @@ -77,12 +84,8 @@ def account_budget_path(cls, customer, account_budget): account_budget=account_budget, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -115,19 +118,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = account_budget_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -136,14 +135,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=account_budget_service_grpc_transport. - AccountBudgetServiceGrpcTransport, + default_class=account_budget_service_grpc_transport.AccountBudgetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = account_budget_service_grpc_transport.AccountBudgetServiceGrpcTransport( @@ -154,7 +153,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -164,7 +164,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -173,16 +174,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_account_budget(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_account_budget( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns an account-level budget in full detail. Args: - resource_name (str): The resource name of the account-level budget to fetch. + resource_name (str): Required. The resource name of the account-level budget to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -193,7 +195,7 @@ def get_account_budget(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AccountBudget` instance. + A :class:`~google.ads.googleads_v4.types.AccountBudget` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -204,17 +206,25 @@ def get_account_budget(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_account_budget' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_account_budget'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_account_budget, - default_retry=self._method_configs['GetAccountBudget']. - retry, - default_timeout=self._method_configs['GetAccountBudget']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_account_budget'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_account_budget, + default_retry=self._method_configs['GetAccountBudget'].retry, + default_timeout=self._method_configs['GetAccountBudget'].timeout, + client_info=self._client_info, + ) request = account_budget_service_pb2.GetAccountBudgetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_account_budget']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_account_budget'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/account_budget_service_client_config.py b/google/ads/google_ads/v4/services/account_budget_service_client_config.py new file mode 100644 index 000000000..d9a8fad20 --- /dev/null +++ b/google/ads/google_ads/v4/services/account_budget_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AccountBudgetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAccountBudget": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.py b/google/ads/google_ads/v4/services/account_link_service_client.py similarity index 64% rename from google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.py rename to google/ads/google_ads/v4/services/account_link_service_client.py index ea7d62c74..621519c70 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_keyword_service_client.py +++ b/google/ads/google_ads/v4/services/account_link_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanKeywordService API.""" + +"""Accesses the google.ads.googleads.v4.services AccountLinkService API.""" import pkg_resources import warnings @@ -22,26 +23,34 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_plan_keyword_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_keyword_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_keyword_service_pb2 +from google.ads.google_ads.v4.services import account_link_service_client_config +from google.ads.google_ads.v4.services.transports import account_link_service_grpc_transport +from google.ads.google_ads.v4.proto.services import account_link_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version -class KeywordPlanKeywordServiceClient(object): - """Service to manage Keyword Plan ad group keywords.""" +class AccountLinkServiceClient(object): + """ + This service allows management of links between Google Ads accounts and other + accounts. + """ SERVICE_ADDRESS = 'googleads.googleapis.com:443' """The default address of the service.""" # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanKeywordService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AccountLinkService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -55,7 +64,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): kwargs: Additional arguments to pass to the constructor. Returns: - KeywordPlanKeywordServiceClient: The constructed client. + AccountLinkServiceClient: The constructed client. """ credentials = service_account.Credentials.from_service_account_file( filename) @@ -64,26 +73,23 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def keyword_plan_keyword_path(cls, customer, keyword_plan_keyword): - """Return a fully-qualified keyword_plan_keyword string.""" + def account_link_path(cls, customer, account_link): + """Return a fully-qualified account_link string.""" return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanKeywords/{keyword_plan_keyword}', + 'customers/{customer}/accountLinks/{account_link}', customer=customer, - keyword_plan_keyword=keyword_plan_keyword, + account_link=account_link, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: - transport (Union[~.KeywordPlanKeywordServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanKeywordServiceGrpcTransport]): A transport + transport (Union[~.AccountLinkServiceGrpcTransport, + Callable[[~.Credentials, type], ~.AccountLinkServiceGrpcTransport]): A transport instance, responsible for actually making the API calls. The default transport uses the gRPC protocol. This argument may also be a callable which returns a @@ -111,19 +117,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: - client_config = keyword_plan_keyword_service_client_config.config + client_config = account_link_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,17 +134,17 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_plan_keyword_service_grpc_transport. - KeywordPlanKeywordServiceGrpcTransport, + default_class=account_link_service_grpc_transport.AccountLinkServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: - self.transport = keyword_plan_keyword_service_grpc_transport.KeywordPlanKeywordServiceGrpcTransport( + self.transport = account_link_service_grpc_transport.AccountLinkServiceGrpcTransport( address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials, @@ -150,7 +152,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +163,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,17 +173,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_keyword_plan_keyword( + def get_account_link( self, resource_name, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Returns the requested Keyword Plan keyword in full detail. + Returns the account link in full detail. Args: - resource_name (str): The resource name of the ad group keyword to fetch. + resource_name (str): Required. Resource name of the account link. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +194,7 @@ def get_keyword_plan_keyword( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordPlanKeyword` instance. + A :class:`~google.ads.googleads_v4.types.AccountLink` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,41 +204,48 @@ def get_keyword_plan_keyword( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'get_keyword_plan_keyword' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_plan_keyword'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_plan_keyword, - default_retry=self. - _method_configs['GetKeywordPlanKeyword'].retry, - default_timeout=self. - _method_configs['GetKeywordPlanKeyword'].timeout, - client_info=self._client_info, - ) + if 'get_account_link' not in self._inner_api_calls: + self._inner_api_calls['get_account_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_account_link, + default_retry=self._method_configs['GetAccountLink'].retry, + default_timeout=self._method_configs['GetAccountLink'].timeout, + client_info=self._client_info, + ) + + request = account_link_service_pb2.GetAccountLinkRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = keyword_plan_keyword_service_pb2.GetKeywordPlanKeywordRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_plan_keyword']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['get_account_link'](request, retry=retry, timeout=timeout, metadata=metadata) - def mutate_keyword_plan_keywords( + def mutate_account_link( self, customer_id, - operations, + operation_, partial_failure=None, validate_only=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Creates, updates, or removes Keyword Plan keywords. Operation statuses are - returned. + Creates or removes an account link. Args: - customer_id (str): The ID of the customer whose Keyword Plan keywords are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.KeywordPlanKeywordOperation]]): The list of operations to perform on individual Keyword Plan keywords. + customer_id (str): Required. The ID of the customer being modified. + operation_ (Union[dict, ~google.ads.googleads_v4.types.AccountLinkOperation]): Required. The operation to perform on the link. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordPlanKeywordOperation` + message :class:`~google.ads.googleads_v4.types.AccountLinkOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +262,7 @@ def mutate_keyword_plan_keywords( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateKeywordPlanKeywordsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAccountLinkResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,22 +272,29 @@ def mutate_keyword_plan_keywords( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'mutate_keyword_plan_keywords' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_keyword_plan_keywords'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_keyword_plan_keywords, - default_retry=self. - _method_configs['MutateKeywordPlanKeywords'].retry, - default_timeout=self. - _method_configs['MutateKeywordPlanKeywords'].timeout, - client_info=self._client_info, - ) + if 'mutate_account_link' not in self._inner_api_calls: + self._inner_api_calls['mutate_account_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_account_link, + default_retry=self._method_configs['MutateAccountLink'].retry, + default_timeout=self._method_configs['MutateAccountLink'].timeout, + client_info=self._client_info, + ) - request = keyword_plan_keyword_service_pb2.MutateKeywordPlanKeywordsRequest( + request = account_link_service_pb2.MutateAccountLinkRequest( customer_id=customer_id, - operations=operations, + operation=operation_, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_keyword_plan_keywords']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_account_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/account_link_service_client_config.py b/google/ads/google_ads/v4/services/account_link_service_client_config.py new file mode 100644 index 000000000..3c90c443f --- /dev/null +++ b/google/ads/google_ads/v4/services/account_link_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AccountLinkService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAccountLink": { + "timeout_millis": 600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAccountLink": { + "timeout_millis": 600000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client.py b/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client.py new file mode 100644 index 000000000..ee23f7297 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services AdGroupAdAssetViewService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import ad_group_ad_asset_view_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_ad_asset_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_ad_asset_view_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class AdGroupAdAssetViewServiceClient(object): + """Service to fetch ad group ad asset views.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupAdAssetViewService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + AdGroupAdAssetViewServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def ad_group_ad_asset_view_path(cls, customer, ad_group_ad_asset_view): + """Return a fully-qualified ad_group_ad_asset_view string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/adGroupAdAssetViews/{ad_group_ad_asset_view}', + customer=customer, + ad_group_ad_asset_view=ad_group_ad_asset_view, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.AdGroupAdAssetViewServiceGrpcTransport, + Callable[[~.Credentials, type], ~.AdGroupAdAssetViewServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = ad_group_ad_asset_view_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=ad_group_ad_asset_view_service_grpc_transport.AdGroupAdAssetViewServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = ad_group_ad_asset_view_service_grpc_transport.AdGroupAdAssetViewServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_ad_group_ad_asset_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested ad group ad asset view in full detail. + + Args: + resource_name (str): Required. The resource name of the ad group ad asset view to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.AdGroupAdAssetView` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_ad_group_ad_asset_view' not in self._inner_api_calls: + self._inner_api_calls['get_ad_group_ad_asset_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_ad_asset_view, + default_retry=self._method_configs['GetAdGroupAdAssetView'].retry, + default_timeout=self._method_configs['GetAdGroupAdAssetView'].timeout, + client_info=self._client_info, + ) + + request = ad_group_ad_asset_view_service_pb2.GetAdGroupAdAssetViewRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_ad_asset_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client_config.py new file mode 100644 index 000000000..a1cc76889 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_ad_asset_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupAdAssetViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupAdAssetView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_ad_label_service_client.py b/google/ads/google_ads/v4/services/ad_group_ad_label_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/ad_group_ad_label_service_client.py rename to google/ads/google_ads/v4/services/ad_group_ad_label_service_client.py index 7c563cdd2..ad0065e6c 100644 --- a/google/ads/google_ads/v1/services/ad_group_ad_label_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_ad_label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupAdLabelService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupAdLabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_ad_label_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_ad_label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_ad_label_service_pb2 +from google.ads.google_ads.v4.services import ad_group_ad_label_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_ad_label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_ad_label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupAdLabelServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupAdLabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupAdLabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupAdLabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_ad_label_path(cls, customer, ad_group_ad_label): """Return a fully-qualified ad_group_ad_label string.""" @@ -73,12 +80,8 @@ def ad_group_ad_label_path(cls, customer, ad_group_ad_label): ad_group_ad_label=ad_group_ad_label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_ad_label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_ad_label_service_grpc_transport. - AdGroupAdLabelServiceGrpcTransport, + default_class=ad_group_ad_label_service_grpc_transport.AdGroupAdLabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_ad_label_service_grpc_transport.AdGroupAdLabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group_ad_label(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group_ad_label( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad group ad label in full detail. Args: - resource_name (str): The resource name of the ad group ad label to fetch. + resource_name (str): Required. The resource name of the ad group ad label to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group_ad_label(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupAdLabel` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupAdLabel` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_ad_group_ad_label(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_ad_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_ad_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_ad_label, - default_retry=self._method_configs['GetAdGroupAdLabel']. - retry, - default_timeout=self._method_configs['GetAdGroupAdLabel']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_ad_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_ad_label, + default_retry=self._method_configs['GetAdGroupAdLabel'].retry, + default_timeout=self._method_configs['GetAdGroupAdLabel'].timeout, + client_info=self._client_info, + ) request = ad_group_ad_label_service_pb2.GetAdGroupAdLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_ad_label']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_ad_label'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_ad_group_ad_labels( self, @@ -229,11 +239,11 @@ def mutate_ad_group_ad_labels( Operation statuses are returned. Args: - customer_id (str): ID of the customer whose ad group ad labels are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupAdLabelOperation]]): The list of operations to perform on ad group ad labels. + customer_id (str): Required. ID of the customer whose ad group ad labels are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupAdLabelOperation]]): Required. The list of operations to perform on ad group ad labels. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupAdLabelOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupAdLabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -250,7 +260,7 @@ def mutate_ad_group_ad_labels( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupAdLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupAdLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,15 +271,12 @@ def mutate_ad_group_ad_labels( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_ad_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_ad_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_ad_labels, - default_retry=self. - _method_configs['MutateAdGroupAdLabels'].retry, - default_timeout=self. - _method_configs['MutateAdGroupAdLabels'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_ad_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_ad_labels, + default_retry=self._method_configs['MutateAdGroupAdLabels'].retry, + default_timeout=self._method_configs['MutateAdGroupAdLabels'].timeout, + client_info=self._client_info, + ) request = ad_group_ad_label_service_pb2.MutateAdGroupAdLabelsRequest( customer_id=customer_id, @@ -277,5 +284,15 @@ def mutate_ad_group_ad_labels( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_ad_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_ad_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_ad_label_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_ad_label_service_client_config.py new file mode 100644 index 000000000..748560885 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_ad_label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupAdLabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupAdLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupAdLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_ad_service_client.py b/google/ads/google_ads/v4/services/ad_group_ad_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/ad_group_ad_service_client.py rename to google/ads/google_ads/v4/services/ad_group_ad_service_client.py index 3607e8a09..8c1fb3dfe 100644 --- a/google/ads/google_ads/v1/services/ad_group_ad_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_ad_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupAdService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupAdService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_ad_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_ad_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_ad_service_pb2 +from google.ads.google_ads.v4.services import ad_group_ad_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_ad_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_ad_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupAdServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupAdServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupAdService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupAdService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_ad_path(cls, customer, ad_group_ad): """Return a fully-qualified ad_group_ad string.""" @@ -73,12 +80,8 @@ def ad_group_ad_path(cls, customer, ad_group_ad): ad_group_ad=ad_group_ad, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_ad_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_ad_service_grpc_transport. - AdGroupAdServiceGrpcTransport, + default_class=ad_group_ad_service_grpc_transport.AdGroupAdServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_ad_service_grpc_transport.AdGroupAdServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group_ad(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group_ad( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad in full detail. Args: - resource_name (str): The resource name of the ad to fetch. + resource_name (str): Required. The resource name of the ad to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group_ad(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupAd` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupAd` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,47 @@ def get_ad_group_ad(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_ad' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_ad'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_ad, - default_retry=self._method_configs['GetAdGroupAd'].retry, - default_timeout=self._method_configs['GetAdGroupAd']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_ad'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_ad, + default_retry=self._method_configs['GetAdGroupAd'].retry, + default_timeout=self._method_configs['GetAdGroupAd'].timeout, + client_info=self._client_info, + ) request = ad_group_ad_service_pb2.GetAdGroupAdRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_ad']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ad_group_ads(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_ad'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_ad_group_ads( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes ads. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose ads are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupAdOperation]]): The list of operations to perform on individual ads. + customer_id (str): Required. The ID of the customer whose ads are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupAdOperation]]): Required. The list of operations to perform on individual ads. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupAdOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupAdOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +259,7 @@ def mutate_ad_group_ads(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupAdsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupAdsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,15 +270,12 @@ def mutate_ad_group_ads(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_ads' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_ads'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_ads, - default_retry=self._method_configs['MutateAdGroupAds']. - retry, - default_timeout=self._method_configs['MutateAdGroupAds']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_ads'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_ads, + default_retry=self._method_configs['MutateAdGroupAds'].retry, + default_timeout=self._method_configs['MutateAdGroupAds'].timeout, + client_info=self._client_info, + ) request = ad_group_ad_service_pb2.MutateAdGroupAdsRequest( customer_id=customer_id, @@ -274,5 +283,15 @@ def mutate_ad_group_ads(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_ads']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_ads'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_ad_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_ad_service_client_config.py new file mode 100644 index 000000000..5999aeb49 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_ad_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupAdService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupAd": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupAds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_audience_view_service_client.py b/google/ads/google_ads/v4/services/ad_group_audience_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/ad_group_audience_view_service_client.py rename to google/ads/google_ads/v4/services/ad_group_audience_view_service_client.py index b17a0f18d..d1f510a0e 100644 --- a/google/ads/google_ads/v1/services/ad_group_audience_view_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_audience_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupAudienceViewService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupAudienceViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_audience_view_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_audience_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_audience_view_service_pb2 +from google.ads.google_ads.v4.services import ad_group_audience_view_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_audience_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_audience_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupAudienceViewServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupAudienceViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupAudienceViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupAudienceViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_audience_view_path(cls, customer, ad_group_audience_view): """Return a fully-qualified ad_group_audience_view string.""" @@ -73,12 +80,8 @@ def ad_group_audience_view_path(cls, customer, ad_group_audience_view): ad_group_audience_view=ad_group_audience_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_audience_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_audience_view_service_grpc_transport - .AdGroupAudienceViewServiceGrpcTransport, + default_class=ad_group_audience_view_service_grpc_transport.AdGroupAudienceViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_audience_view_service_grpc_transport.AdGroupAudienceViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_ad_group_audience_view( Returns the requested ad group audience view in full detail. Args: - resource_name (str): The resource name of the ad group audience view to fetch. + resource_name (str): Required. The resource name of the ad group audience view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_ad_group_audience_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupAudienceView` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupAudienceView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_ad_group_audience_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_audience_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_audience_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_audience_view, - default_retry=self. - _method_configs['GetAdGroupAudienceView'].retry, - default_timeout=self. - _method_configs['GetAdGroupAudienceView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_audience_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_audience_view, + default_retry=self._method_configs['GetAdGroupAudienceView'].retry, + default_timeout=self._method_configs['GetAdGroupAudienceView'].timeout, + client_info=self._client_info, + ) request = ad_group_audience_view_service_pb2.GetAdGroupAudienceViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_audience_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_audience_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_audience_view_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_audience_view_service_client_config.py new file mode 100644 index 000000000..8c730beed --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_audience_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupAudienceViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupAudienceView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.py b/google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.py rename to google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client.py index 6f959c4c6..58b4115ab 100644 --- a/google/ads/google_ads/v1/services/ad_group_bid_modifier_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupBidModifierService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupBidModifierService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_bid_modifier_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_bid_modifier_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_bid_modifier_service_pb2 +from google.ads.google_ads.v4.services import ad_group_bid_modifier_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_bid_modifier_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_bid_modifier_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupBidModifierServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupBidModifierServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupBidModifierService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupBidModifierService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_bid_modifier_path(cls, customer, ad_group_bid_modifier): """Return a fully-qualified ad_group_bid_modifier string.""" @@ -73,12 +80,8 @@ def ad_group_bid_modifier_path(cls, customer, ad_group_bid_modifier): ad_group_bid_modifier=ad_group_bid_modifier, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_bid_modifier_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_bid_modifier_service_grpc_transport. - AdGroupBidModifierServiceGrpcTransport, + default_class=ad_group_bid_modifier_service_grpc_transport.AdGroupBidModifierServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_bid_modifier_service_grpc_transport.AdGroupBidModifierServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_ad_group_bid_modifier( Returns the requested ad group bid modifier in full detail. Args: - resource_name (str): The resource name of the ad group bid modifier to fetch. + resource_name (str): Required. The resource name of the ad group bid modifier to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_ad_group_bid_modifier( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupBidModifier` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupBidModifier` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_ad_group_bid_modifier( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_bid_modifier' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_bid_modifier'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_bid_modifier, - default_retry=self. - _method_configs['GetAdGroupBidModifier'].retry, - default_timeout=self. - _method_configs['GetAdGroupBidModifier'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_bid_modifier'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_bid_modifier, + default_retry=self._method_configs['GetAdGroupBidModifier'].retry, + default_timeout=self._method_configs['GetAdGroupBidModifier'].timeout, + client_info=self._client_info, + ) request = ad_group_bid_modifier_service_pb2.GetAdGroupBidModifierRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_bid_modifier']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_bid_modifier'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_ad_group_bid_modifiers( self, @@ -230,11 +239,11 @@ def mutate_ad_group_bid_modifiers( Operation statuses are returned. Args: - customer_id (str): ID of the customer whose ad group bid modifiers are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupBidModifierOperation]]): The list of operations to perform on individual ad group bid modifiers. + customer_id (str): Required. ID of the customer whose ad group bid modifiers are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupBidModifierOperation]]): Required. The list of operations to perform on individual ad group bid modifiers. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupBidModifierOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupBidModifierOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +260,7 @@ def mutate_ad_group_bid_modifiers( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupBidModifiersResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupBidModifiersResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -262,15 +271,12 @@ def mutate_ad_group_bid_modifiers( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_bid_modifiers' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_bid_modifiers'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_bid_modifiers, - default_retry=self. - _method_configs['MutateAdGroupBidModifiers'].retry, - default_timeout=self. - _method_configs['MutateAdGroupBidModifiers'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_bid_modifiers'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_bid_modifiers, + default_retry=self._method_configs['MutateAdGroupBidModifiers'].retry, + default_timeout=self._method_configs['MutateAdGroupBidModifiers'].timeout, + client_info=self._client_info, + ) request = ad_group_bid_modifier_service_pb2.MutateAdGroupBidModifiersRequest( customer_id=customer_id, @@ -278,5 +284,15 @@ def mutate_ad_group_bid_modifiers( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_bid_modifiers']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_bid_modifiers'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client_config.py new file mode 100644 index 000000000..3716ab36d --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_bid_modifier_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupBidModifierService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupBidModifier": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupBidModifiers": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.py b/google/ads/google_ads/v4/services/ad_group_criterion_label_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.py rename to google/ads/google_ads/v4/services/ad_group_criterion_label_service_client.py index b37f29202..270dc4b00 100644 --- a/google/ads/google_ads/v1/services/ad_group_criterion_label_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_criterion_label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupCriterionLabelService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupCriterionLabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_criterion_label_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_criterion_label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_criterion_label_service_pb2 +from google.ads.google_ads.v4.services import ad_group_criterion_label_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_criterion_label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_criterion_label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupCriterionLabelServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupCriterionLabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupCriterionLabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupCriterionLabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_criterion_label_path(cls, customer, ad_group_criterion_label): """Return a fully-qualified ad_group_criterion_label string.""" @@ -73,12 +80,8 @@ def ad_group_criterion_label_path(cls, customer, ad_group_criterion_label): ad_group_criterion_label=ad_group_criterion_label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_criterion_label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_criterion_label_service_grpc_transport - .AdGroupCriterionLabelServiceGrpcTransport, + default_class=ad_group_criterion_label_service_grpc_transport.AdGroupCriterionLabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_criterion_label_service_grpc_transport.AdGroupCriterionLabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_ad_group_criterion_label( Returns the requested ad group criterion label in full detail. Args: - resource_name (str): The resource name of the ad group criterion label to fetch. + resource_name (str): Required. The resource name of the ad group criterion label to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_ad_group_criterion_label( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupCriterionLabel` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupCriterionLabel` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_ad_group_criterion_label( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_criterion_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_criterion_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_criterion_label, - default_retry=self. - _method_configs['GetAdGroupCriterionLabel'].retry, - default_timeout=self. - _method_configs['GetAdGroupCriterionLabel'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_criterion_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_criterion_label, + default_retry=self._method_configs['GetAdGroupCriterionLabel'].retry, + default_timeout=self._method_configs['GetAdGroupCriterionLabel'].timeout, + client_info=self._client_info, + ) request = ad_group_criterion_label_service_pb2.GetAdGroupCriterionLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_criterion_label']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_criterion_label'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_ad_group_criterion_labels( self, @@ -230,11 +239,11 @@ def mutate_ad_group_criterion_labels( Operation statuses are returned. Args: - customer_id (str): ID of the customer whose ad group criterion labels are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupCriterionLabelOperation]]): The list of operations to perform on ad group criterion labels. + customer_id (str): Required. ID of the customer whose ad group criterion labels are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupCriterionLabelOperation]]): Required. The list of operations to perform on ad group criterion labels. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupCriterionLabelOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupCriterionLabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +260,7 @@ def mutate_ad_group_criterion_labels( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupCriterionLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupCriterionLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -262,15 +271,12 @@ def mutate_ad_group_criterion_labels( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_criterion_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_criterion_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_criterion_labels, - default_retry=self. - _method_configs['MutateAdGroupCriterionLabels'].retry, - default_timeout=self. - _method_configs['MutateAdGroupCriterionLabels'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_criterion_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_criterion_labels, + default_retry=self._method_configs['MutateAdGroupCriterionLabels'].retry, + default_timeout=self._method_configs['MutateAdGroupCriterionLabels'].timeout, + client_info=self._client_info, + ) request = ad_group_criterion_label_service_pb2.MutateAdGroupCriterionLabelsRequest( customer_id=customer_id, @@ -278,5 +284,15 @@ def mutate_ad_group_criterion_labels( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_criterion_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_criterion_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_criterion_label_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_criterion_label_service_client_config.py new file mode 100644 index 000000000..6923a8c73 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_criterion_label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupCriterionLabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupCriterionLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupCriterionLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_criterion_service_client.py b/google/ads/google_ads/v4/services/ad_group_criterion_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/ad_group_criterion_service_client.py rename to google/ads/google_ads/v4/services/ad_group_criterion_service_client.py index cd28c4b29..98c724e16 100644 --- a/google/ads/google_ads/v1/services/ad_group_criterion_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_criterion_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupCriterionService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupCriterionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_criterion_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_criterion_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_criterion_service_pb2 +from google.ads.google_ads.v4.services import ad_group_criterion_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_criterion_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_criterion_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupCriterionServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupCriterionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupCriterionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupCriterionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_criteria_path(cls, customer, ad_group_criteria): """Return a fully-qualified ad_group_criteria string.""" @@ -73,12 +80,8 @@ def ad_group_criteria_path(cls, customer, ad_group_criteria): ad_group_criteria=ad_group_criteria, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_criterion_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_criterion_service_grpc_transport. - AdGroupCriterionServiceGrpcTransport, + default_class=ad_group_criterion_service_grpc_transport.AdGroupCriterionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_criterion_service_grpc_transport.AdGroupCriterionServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group_criterion(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group_criterion( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested criterion in full detail. Args: - resource_name (str): The resource name of the criterion to fetch. + resource_name (str): Required. The resource name of the criterion to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group_criterion(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupCriterion` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupCriterion` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_ad_group_criterion(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_criterion' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_criterion'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_criterion, - default_retry=self._method_configs['GetAdGroupCriterion']. - retry, - default_timeout=self. - _method_configs['GetAdGroupCriterion'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_criterion'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_criterion, + default_retry=self._method_configs['GetAdGroupCriterion'].retry, + default_timeout=self._method_configs['GetAdGroupCriterion'].timeout, + client_info=self._client_info, + ) request = ad_group_criterion_service_pb2.GetAdGroupCriterionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_criterion']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_criterion'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_ad_group_criteria( self, @@ -228,11 +238,11 @@ def mutate_ad_group_criteria( Creates, updates, or removes criteria. Operation statuses are returned. Args: - customer_id (str): ID of the customer whose criteria are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupCriterionOperation]]): The list of operations to perform on individual criteria. + customer_id (str): Required. ID of the customer whose criteria are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupCriterionOperation]]): Required. The list of operations to perform on individual criteria. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupCriterionOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupCriterionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +259,7 @@ def mutate_ad_group_criteria( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupCriteriaResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupCriteriaResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +270,12 @@ def mutate_ad_group_criteria( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_criteria' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_criteria'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_criteria, - default_retry=self. - _method_configs['MutateAdGroupCriteria'].retry, - default_timeout=self. - _method_configs['MutateAdGroupCriteria'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_criteria'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_criteria, + default_retry=self._method_configs['MutateAdGroupCriteria'].retry, + default_timeout=self._method_configs['MutateAdGroupCriteria'].timeout, + client_info=self._client_info, + ) request = ad_group_criterion_service_pb2.MutateAdGroupCriteriaRequest( customer_id=customer_id, @@ -276,5 +283,15 @@ def mutate_ad_group_criteria( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_criteria']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_criterion_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_criterion_service_client_config.py new file mode 100644 index 000000000..578687977 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_criterion_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupCriterionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupCriterion": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupCriteria": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client.py b/google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client.py rename to google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client.py index 467627c48..1f0b581eb 100644 --- a/google/ads/google_ads/v1/services/ad_group_criterion_simulation_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupCriterionSimulationService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupCriterionSimulationService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_criterion_simulation_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_criterion_simulation_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_criterion_simulation_service_pb2 +from google.ads.google_ads.v4.services import ad_group_criterion_simulation_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_criterion_simulation_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_criterion_simulation_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupCriterionSimulationServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupCriterionSimulationServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupCriterionSimulationService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupCriterionSimulationService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def ad_group_criterion_simulation_path(cls, customer, - ad_group_criterion_simulation): + def ad_group_criterion_simulation_path(cls, customer, ad_group_criterion_simulation): """Return a fully-qualified ad_group_criterion_simulation string.""" return google.api_core.path_template.expand( 'customers/{customer}/adGroupCriterionSimulations/{ad_group_criterion_simulation}', @@ -74,12 +80,8 @@ def ad_group_criterion_simulation_path(cls, customer, ad_group_criterion_simulation=ad_group_criterion_simulation, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_criterion_simulation_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - ad_group_criterion_simulation_service_grpc_transport. - AdGroupCriterionSimulationServiceGrpcTransport, + default_class=ad_group_criterion_simulation_service_grpc_transport.AdGroupCriterionSimulationServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_criterion_simulation_service_grpc_transport.AdGroupCriterionSimulationServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_ad_group_criterion_simulation( Returns the requested ad group criterion simulation in full detail. Args: - resource_name (str): The resource name of the ad group criterion simulation to fetch. + resource_name (str): Required. The resource name of the ad group criterion simulation to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_ad_group_criterion_simulation( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupCriterionSimulation` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupCriterionSimulation` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,17 +202,25 @@ def get_ad_group_criterion_simulation( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_criterion_simulation' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_criterion_simulation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_criterion_simulation, - default_retry=self. - _method_configs['GetAdGroupCriterionSimulation'].retry, - default_timeout=self. - _method_configs['GetAdGroupCriterionSimulation'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_criterion_simulation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_criterion_simulation, + default_retry=self._method_configs['GetAdGroupCriterionSimulation'].retry, + default_timeout=self._method_configs['GetAdGroupCriterionSimulation'].timeout, + client_info=self._client_info, + ) request = ad_group_criterion_simulation_service_pb2.GetAdGroupCriterionSimulationRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_criterion_simulation']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_criterion_simulation'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client_config.py new file mode 100644 index 000000000..18d47f329 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_criterion_simulation_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupCriterionSimulationService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupCriterionSimulation": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.py b/google/ads/google_ads/v4/services/ad_group_extension_setting_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.py rename to google/ads/google_ads/v4/services/ad_group_extension_setting_service_client.py index c3004473c..3689c2e9f 100644 --- a/google/ads/google_ads/v1/services/ad_group_extension_setting_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_extension_setting_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupExtensionSettingService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupExtensionSettingService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_extension_setting_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_extension_setting_service_pb2 +from google.ads.google_ads.v4.services import ad_group_extension_setting_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_extension_setting_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_extension_setting_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupExtensionSettingServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupExtensionSettingServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupExtensionSettingService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupExtensionSettingService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def ad_group_extension_setting_path(cls, customer, - ad_group_extension_setting): + def ad_group_extension_setting_path(cls, customer, ad_group_extension_setting): """Return a fully-qualified ad_group_extension_setting string.""" return google.api_core.path_template.expand( 'customers/{customer}/adGroupExtensionSettings/{ad_group_extension_setting}', @@ -74,12 +80,8 @@ def ad_group_extension_setting_path(cls, customer, ad_group_extension_setting=ad_group_extension_setting, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_extension_setting_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - ad_group_extension_setting_service_grpc_transport. - AdGroupExtensionSettingServiceGrpcTransport, + default_class=ad_group_extension_setting_service_grpc_transport.AdGroupExtensionSettingServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_extension_setting_service_grpc_transport.AdGroupExtensionSettingServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_ad_group_extension_setting( Returns the requested ad group extension setting in full detail. Args: - resource_name (str): The resource name of the ad group extension setting to fetch. + resource_name (str): Required. The resource name of the ad group extension setting to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_ad_group_extension_setting( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupExtensionSetting` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupExtensionSetting` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,20 +202,28 @@ def get_ad_group_extension_setting( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_extension_setting' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_extension_setting, - default_retry=self. - _method_configs['GetAdGroupExtensionSetting'].retry, - default_timeout=self. - _method_configs['GetAdGroupExtensionSetting'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_extension_setting, + default_retry=self._method_configs['GetAdGroupExtensionSetting'].retry, + default_timeout=self._method_configs['GetAdGroupExtensionSetting'].timeout, + client_info=self._client_info, + ) request = ad_group_extension_setting_service_pb2.GetAdGroupExtensionSettingRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_extension_setting']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_extension_setting'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_ad_group_extension_settings( self, @@ -232,13 +239,13 @@ def mutate_ad_group_extension_settings( statuses are returned. Args: - customer_id (str): The ID of the customer whose ad group extension settings are being + customer_id (str): Required. The ID of the customer whose ad group extension settings are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupExtensionSettingOperation]]): The list of operations to perform on individual ad group extension + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupExtensionSettingOperation]]): Required. The list of operations to perform on individual ad group extension settings. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupExtensionSettingOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupExtensionSettingOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -255,7 +262,7 @@ def mutate_ad_group_extension_settings( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupExtensionSettingsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupExtensionSettingsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -266,15 +273,12 @@ def mutate_ad_group_extension_settings( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_extension_settings' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_extension_settings, - default_retry=self. - _method_configs['MutateAdGroupExtensionSettings'].retry, - default_timeout=self. - _method_configs['MutateAdGroupExtensionSettings'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_extension_settings, + default_retry=self._method_configs['MutateAdGroupExtensionSettings'].retry, + default_timeout=self._method_configs['MutateAdGroupExtensionSettings'].timeout, + client_info=self._client_info, + ) request = ad_group_extension_setting_service_pb2.MutateAdGroupExtensionSettingsRequest( customer_id=customer_id, @@ -282,5 +286,15 @@ def mutate_ad_group_extension_settings( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_extension_settings']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_extension_settings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_extension_setting_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_extension_setting_service_client_config.py new file mode 100644 index 000000000..00c25b45f --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_extension_setting_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupExtensionSettingService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupExtensionSetting": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupExtensionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_feed_service_client.py b/google/ads/google_ads/v4/services/ad_group_feed_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/ad_group_feed_service_client.py rename to google/ads/google_ads/v4/services/ad_group_feed_service_client.py index c8c51a24d..6e8f3f4c6 100644 --- a/google/ads/google_ads/v1/services/ad_group_feed_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_feed_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupFeedService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupFeedService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_feed_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_feed_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_feed_service_pb2 +from google.ads.google_ads.v4.services import ad_group_feed_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_feed_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_feed_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupFeedServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupFeedServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupFeedService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupFeedService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_feed_path(cls, customer, ad_group_feed): """Return a fully-qualified ad_group_feed string.""" @@ -73,12 +80,8 @@ def ad_group_feed_path(cls, customer, ad_group_feed): ad_group_feed=ad_group_feed, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_feed_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_feed_service_grpc_transport. - AdGroupFeedServiceGrpcTransport, + default_class=ad_group_feed_service_grpc_transport.AdGroupFeedServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_feed_service_grpc_transport.AdGroupFeedServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group_feed(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group_feed( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad group feed in full detail. Args: - resource_name (str): The resource name of the ad group feed to fetch. + resource_name (str): Required. The resource name of the ad group feed to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group_feed(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupFeed` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupFeed` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,48 @@ def get_ad_group_feed(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_feed' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_feed'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_feed, - default_retry=self._method_configs['GetAdGroupFeed'].retry, - default_timeout=self._method_configs['GetAdGroupFeed']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_feed'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_feed, + default_retry=self._method_configs['GetAdGroupFeed'].retry, + default_timeout=self._method_configs['GetAdGroupFeed'].timeout, + client_info=self._client_info, + ) request = ad_group_feed_service_pb2.GetAdGroupFeedRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_feed']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ad_group_feeds(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_feed'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_ad_group_feeds( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes ad group feeds. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose ad group feeds are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupFeedOperation]]): The list of operations to perform on individual ad group feeds. + customer_id (str): Required. The ID of the customer whose ad group feeds are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupFeedOperation]]): Required. The list of operations to perform on individual ad group feeds. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupFeedOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupFeedOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +260,7 @@ def mutate_ad_group_feeds(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupFeedsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupFeedsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +271,12 @@ def mutate_ad_group_feeds(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_feeds' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_feeds'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_feeds, - default_retry=self._method_configs['MutateAdGroupFeeds']. - retry, - default_timeout=self._method_configs['MutateAdGroupFeeds']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_feeds'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_feeds, + default_retry=self._method_configs['MutateAdGroupFeeds'].retry, + default_timeout=self._method_configs['MutateAdGroupFeeds'].timeout, + client_info=self._client_info, + ) request = ad_group_feed_service_pb2.MutateAdGroupFeedsRequest( customer_id=customer_id, @@ -275,5 +284,15 @@ def mutate_ad_group_feeds(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_feeds']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_feed_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_feed_service_client_config.py new file mode 100644 index 000000000..adcdfdbd1 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_feed_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupFeedService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupFeed": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupFeeds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_label_service_client.py b/google/ads/google_ads/v4/services/ad_group_label_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/ad_group_label_service_client.py rename to google/ads/google_ads/v4/services/ad_group_label_service_client.py index f2893b71c..70df2c2b0 100644 --- a/google/ads/google_ads/v1/services/ad_group_label_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupLabelService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupLabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_label_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_label_service_pb2 +from google.ads.google_ads.v4.services import ad_group_label_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupLabelServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupLabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupLabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupLabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_label_path(cls, customer, ad_group_label): """Return a fully-qualified ad_group_label string.""" @@ -73,12 +80,8 @@ def ad_group_label_path(cls, customer, ad_group_label): ad_group_label=ad_group_label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_label_service_grpc_transport. - AdGroupLabelServiceGrpcTransport, + default_class=ad_group_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_label_service_grpc_transport.AdGroupLabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group_label(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group_label( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad group label in full detail. Args: - resource_name (str): The resource name of the ad group label to fetch. + resource_name (str): Required. The resource name of the ad group label to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group_label(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupLabel` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupLabel` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_ad_group_label(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_label, - default_retry=self._method_configs['GetAdGroupLabel']. - retry, - default_timeout=self._method_configs['GetAdGroupLabel']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_label, + default_retry=self._method_configs['GetAdGroupLabel'].retry, + default_timeout=self._method_configs['GetAdGroupLabel'].timeout, + client_info=self._client_info, + ) request = ad_group_label_service_pb2.GetAdGroupLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_label']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ad_group_labels(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_label'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_ad_group_labels( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates and removes ad group labels. Operation statuses are returned. Args: - customer_id (str): ID of the customer whose ad group labels are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupLabelOperation]]): The list of operations to perform on ad group labels. + customer_id (str): Required. ID of the customer whose ad group labels are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupLabelOperation]]): Required. The list of operations to perform on ad group labels. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupLabelOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupLabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +260,7 @@ def mutate_ad_group_labels(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +271,12 @@ def mutate_ad_group_labels(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_group_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_group_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_group_labels, - default_retry=self._method_configs['MutateAdGroupLabels']. - retry, - default_timeout=self. - _method_configs['MutateAdGroupLabels'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_group_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_group_labels, + default_retry=self._method_configs['MutateAdGroupLabels'].retry, + default_timeout=self._method_configs['MutateAdGroupLabels'].timeout, + client_info=self._client_info, + ) request = ad_group_label_service_pb2.MutateAdGroupLabelsRequest( customer_id=customer_id, @@ -276,5 +284,15 @@ def mutate_ad_group_labels(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_group_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_group_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_label_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_label_service_client_config.py new file mode 100644 index 000000000..c43408826 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupLabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroupLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_service_client.py b/google/ads/google_ads/v4/services/ad_group_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/ad_group_service_client.py rename to google/ads/google_ads/v4/services/ad_group_service_client.py index 81ad3a0b0..9c63c660b 100644 --- a/google/ads/google_ads/v1/services/ad_group_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_service_pb2 +from google.ads.google_ads.v4.services import ad_group_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_path(cls, customer, ad_group): """Return a fully-qualified ad_group string.""" @@ -73,12 +80,8 @@ def ad_group_path(cls, customer, ad_group): ad_group=ad_group, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_service_grpc_transport. - AdGroupServiceGrpcTransport, + default_class=ad_group_service_grpc_transport.AdGroupServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_service_grpc_transport.AdGroupServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_group(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_group( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad group in full detail. Args: - resource_name (str): The resource name of the ad group to fetch. + resource_name (str): Required. The resource name of the ad group to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_group(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroup` instance. + A :class:`~google.ads.googleads_v4.types.AdGroup` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,36 +202,47 @@ def get_ad_group(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group, - default_retry=self._method_configs['GetAdGroup'].retry, - default_timeout=self._method_configs['GetAdGroup'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group, + default_retry=self._method_configs['GetAdGroup'].retry, + default_timeout=self._method_configs['GetAdGroup'].timeout, + client_info=self._client_info, + ) request = ad_group_service_pb2.GetAdGroupRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ad_groups(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_ad_groups( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes ad groups. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose ad groups are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdGroupOperation]]): The list of operations to perform on individual ad groups. + customer_id (str): Required. The ID of the customer whose ad groups are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdGroupOperation]]): Required. The list of operations to perform on individual ad groups. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdGroupOperation` + message :class:`~google.ads.googleads_v4.types.AdGroupOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -246,7 +259,7 @@ def mutate_ad_groups(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdGroupsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdGroupsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -257,14 +270,12 @@ def mutate_ad_groups(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_groups' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_groups'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_groups, - default_retry=self._method_configs['MutateAdGroups'].retry, - default_timeout=self._method_configs['MutateAdGroups']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_groups'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_groups, + default_retry=self._method_configs['MutateAdGroups'].retry, + default_timeout=self._method_configs['MutateAdGroups'].timeout, + client_info=self._client_info, + ) request = ad_group_service_pb2.MutateAdGroupsRequest( customer_id=customer_id, @@ -272,5 +283,15 @@ def mutate_ad_groups(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_groups']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_groups'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_service_client_config.py new file mode 100644 index 000000000..1931ef3df --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroup": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdGroups": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_group_simulation_service_client.py b/google/ads/google_ads/v4/services/ad_group_simulation_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/ad_group_simulation_service_client.py rename to google/ads/google_ads/v4/services/ad_group_simulation_service_client.py index 6730ac6ec..21f35f5f1 100644 --- a/google/ads/google_ads/v1/services/ad_group_simulation_service_client.py +++ b/google/ads/google_ads/v4/services/ad_group_simulation_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdGroupSimulationService API.""" + +"""Accesses the google.ads.googleads.v4.services AdGroupSimulationService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_group_simulation_service_client_config -from google.ads.google_ads.v1.services.transports import ad_group_simulation_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_group_simulation_service_pb2 +from google.ads.google_ads.v4.services import ad_group_simulation_service_client_config +from google.ads.google_ads.v4.services.transports import ad_group_simulation_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_group_simulation_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdGroupSimulationServiceClient(object): @@ -41,7 +46,8 @@ class AdGroupSimulationServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdGroupSimulationService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdGroupSimulationService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_group_simulation_path(cls, customer, ad_group_simulation): """Return a fully-qualified ad_group_simulation string.""" @@ -73,12 +80,8 @@ def ad_group_simulation_path(cls, customer, ad_group_simulation): ad_group_simulation=ad_group_simulation, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_group_simulation_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_group_simulation_service_grpc_transport. - AdGroupSimulationServiceGrpcTransport, + default_class=ad_group_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_group_simulation_service_grpc_transport.AdGroupSimulationServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_ad_group_simulation( Returns the requested ad group simulation in full detail. Args: - resource_name (str): The resource name of the ad group simulation to fetch. + resource_name (str): Required. The resource name of the ad group simulation to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_ad_group_simulation( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdGroupSimulation` instance. + A :class:`~google.ads.googleads_v4.types.AdGroupSimulation` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_ad_group_simulation( """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_group_simulation' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_group_simulation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_group_simulation, - default_retry=self._method_configs['GetAdGroupSimulation']. - retry, - default_timeout=self. - _method_configs['GetAdGroupSimulation'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_group_simulation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_group_simulation, + default_retry=self._method_configs['GetAdGroupSimulation'].retry, + default_timeout=self._method_configs['GetAdGroupSimulation'].timeout, + client_info=self._client_info, + ) request = ad_group_simulation_service_pb2.GetAdGroupSimulationRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_group_simulation']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_group_simulation'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_group_simulation_service_client_config.py b/google/ads/google_ads/v4/services/ad_group_simulation_service_client_config.py new file mode 100644 index 000000000..3e8f9e773 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_group_simulation_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdGroupSimulationService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdGroupSimulation": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_parameter_service_client.py b/google/ads/google_ads/v4/services/ad_parameter_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/ad_parameter_service_client.py rename to google/ads/google_ads/v4/services/ad_parameter_service_client.py index 43c6db122..4bd8fba09 100644 --- a/google/ads/google_ads/v1/services/ad_parameter_service_client.py +++ b/google/ads/google_ads/v4/services/ad_parameter_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdParameterService API.""" + +"""Accesses the google.ads.googleads.v4.services AdParameterService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_parameter_service_client_config -from google.ads.google_ads.v1.services.transports import ad_parameter_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_parameter_service_pb2 +from google.ads.google_ads.v4.services import ad_parameter_service_client_config +from google.ads.google_ads.v4.services.transports import ad_parameter_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_parameter_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdParameterServiceClient(object): @@ -41,7 +46,8 @@ class AdParameterServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdParameterService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdParameterService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_parameter_path(cls, customer, ad_parameter): """Return a fully-qualified ad_parameter string.""" @@ -73,12 +80,8 @@ def ad_parameter_path(cls, customer, ad_parameter): ad_parameter=ad_parameter, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_parameter_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_parameter_service_grpc_transport. - AdParameterServiceGrpcTransport, + default_class=ad_parameter_service_grpc_transport.AdParameterServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_parameter_service_grpc_transport.AdParameterServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_parameter(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_parameter( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad parameter in full detail. Args: - resource_name (str): The resource name of the ad parameter to fetch. + resource_name (str): Required. The resource name of the ad parameter to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_parameter(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdParameter` instance. + A :class:`~google.ads.googleads_v4.types.AdParameter` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,48 @@ def get_ad_parameter(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_parameter' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_parameter'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_parameter, - default_retry=self._method_configs['GetAdParameter'].retry, - default_timeout=self._method_configs['GetAdParameter']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_parameter'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_parameter, + default_retry=self._method_configs['GetAdParameter'].retry, + default_timeout=self._method_configs['GetAdParameter'].timeout, + client_info=self._client_info, + ) request = ad_parameter_service_pb2.GetAdParameterRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_parameter']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_ad_parameters(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_parameter'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_ad_parameters( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes ad parameters. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose ad parameters are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AdParameterOperation]]): The list of operations to perform on individual ad parameters. + customer_id (str): Required. The ID of the customer whose ad parameters are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdParameterOperation]]): Required. The list of operations to perform on individual ad parameters. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AdParameterOperation` + message :class:`~google.ads.googleads_v4.types.AdParameterOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +260,7 @@ def mutate_ad_parameters(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAdParametersResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdParametersResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +271,12 @@ def mutate_ad_parameters(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_ad_parameters' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_ad_parameters'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_ad_parameters, - default_retry=self._method_configs['MutateAdParameters']. - retry, - default_timeout=self._method_configs['MutateAdParameters']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_ad_parameters'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ad_parameters, + default_retry=self._method_configs['MutateAdParameters'].retry, + default_timeout=self._method_configs['MutateAdParameters'].timeout, + client_info=self._client_info, + ) request = ad_parameter_service_pb2.MutateAdParametersRequest( customer_id=customer_id, @@ -275,5 +284,15 @@ def mutate_ad_parameters(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_ad_parameters']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ad_parameters'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_parameter_service_client_config.py b/google/ads/google_ads/v4/services/ad_parameter_service_client_config.py new file mode 100644 index 000000000..8c3a2f8dc --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_parameter_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdParameterService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdParameter": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAdParameters": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/ad_schedule_view_service_client.py b/google/ads/google_ads/v4/services/ad_schedule_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/ad_schedule_view_service_client.py rename to google/ads/google_ads/v4/services/ad_schedule_view_service_client.py index a38cc917e..a4e626beb 100644 --- a/google/ads/google_ads/v1/services/ad_schedule_view_service_client.py +++ b/google/ads/google_ads/v4/services/ad_schedule_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AdScheduleViewService API.""" + +"""Accesses the google.ads.googleads.v4.services AdScheduleViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import ad_schedule_view_service_client_config -from google.ads.google_ads.v1.services.transports import ad_schedule_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import ad_schedule_view_service_pb2 +from google.ads.google_ads.v4.services import ad_schedule_view_service_client_config +from google.ads.google_ads.v4.services.transports import ad_schedule_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_schedule_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AdScheduleViewServiceClient(object): @@ -41,7 +46,8 @@ class AdScheduleViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AdScheduleViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdScheduleViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def ad_schedule_view_path(cls, customer, ad_schedule_view): """Return a fully-qualified ad_schedule_view string.""" @@ -73,12 +80,8 @@ def ad_schedule_view_path(cls, customer, ad_schedule_view): ad_schedule_view=ad_schedule_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = ad_schedule_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=ad_schedule_view_service_grpc_transport. - AdScheduleViewServiceGrpcTransport, + default_class=ad_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = ad_schedule_view_service_grpc_transport.AdScheduleViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_ad_schedule_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_ad_schedule_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested ad schedule view in full detail. Args: - resource_name (str): The resource name of the ad schedule view to fetch. + resource_name (str): Required. The resource name of the ad schedule view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_ad_schedule_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AdScheduleView` instance. + A :class:`~google.ads.googleads_v4.types.AdScheduleView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_ad_schedule_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_ad_schedule_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_ad_schedule_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_ad_schedule_view, - default_retry=self._method_configs['GetAdScheduleView']. - retry, - default_timeout=self._method_configs['GetAdScheduleView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_ad_schedule_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad_schedule_view, + default_retry=self._method_configs['GetAdScheduleView'].retry, + default_timeout=self._method_configs['GetAdScheduleView'].timeout, + client_info=self._client_info, + ) request = ad_schedule_view_service_pb2.GetAdScheduleViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_ad_schedule_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_ad_schedule_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_schedule_view_service_client_config.py b/google/ads/google_ads/v4/services/ad_schedule_view_service_client_config.py new file mode 100644 index 000000000..369506b7d --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_schedule_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdScheduleViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAdScheduleView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_manager_link_service_client.py b/google/ads/google_ads/v4/services/ad_service_client.py similarity index 64% rename from google/ads/google_ads/v1/services/customer_manager_link_service_client.py rename to google/ads/google_ads/v4/services/ad_service_client.py index 68b7ee088..de6a259f2 100644 --- a/google/ads/google_ads/v1/services/customer_manager_link_service_client.py +++ b/google/ads/google_ads/v4/services/ad_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerManagerLinkService API.""" + +"""Accesses the google.ads.googleads.v4.services AdService API.""" import pkg_resources import warnings @@ -22,26 +23,31 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_manager_link_service_client_config -from google.ads.google_ads.v1.services.transports import customer_manager_link_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_manager_link_service_pb2 +from google.ads.google_ads.v4.services import ad_service_client_config +from google.ads.google_ads.v4.services.transports import ad_service_grpc_transport +from google.ads.google_ads.v4.proto.services import ad_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version -class CustomerManagerLinkServiceClient(object): - """Service to manage customer-manager links.""" +class AdServiceClient(object): + """Service to manage ads.""" SERVICE_ADDRESS = 'googleads.googleapis.com:443' """The default address of the service.""" # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerManagerLinkService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AdService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -55,7 +61,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): kwargs: Additional arguments to pass to the constructor. Returns: - CustomerManagerLinkServiceClient: The constructed client. + AdServiceClient: The constructed client. """ credentials = service_account.Credentials.from_service_account_file( filename) @@ -64,26 +70,23 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def customer_manager_link_path(cls, customer, customer_manager_link): - """Return a fully-qualified customer_manager_link string.""" + def ad_path(cls, customer, ad): + """Return a fully-qualified ad string.""" return google.api_core.path_template.expand( - 'customers/{customer}/customerManagerLinks/{customer_manager_link}', + 'customers/{customer}/ads/{ad}', customer=customer, - customer_manager_link=customer_manager_link, + ad=ad, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: - transport (Union[~.CustomerManagerLinkServiceGrpcTransport, - Callable[[~.Credentials, type], ~.CustomerManagerLinkServiceGrpcTransport]): A transport + transport (Union[~.AdServiceGrpcTransport, + Callable[[~.Credentials, type], ~.AdServiceGrpcTransport]): A transport instance, responsible for actually making the API calls. The default transport uses the gRPC protocol. This argument may also be a callable which returns a @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: - client_config = customer_manager_link_service_client_config.config + client_config = ad_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,17 +131,17 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_manager_link_service_grpc_transport. - CustomerManagerLinkServiceGrpcTransport, + default_class=ad_service_grpc_transport.AdServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: - self.transport = customer_manager_link_service_grpc_transport.CustomerManagerLinkServiceGrpcTransport( + self.transport = ad_service_grpc_transport.AdServiceGrpcTransport( address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials, @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,17 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_customer_manager_link( + def get_ad( self, resource_name, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Returns the requested CustomerManagerLink in full detail. + Returns the requested ad in full detail. Args: - resource_name (str): The resource name of the CustomerManagerLink to fetch. + resource_name (str): Required. The resource name of the ad to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_customer_manager_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerManagerLink` instance. + A :class:`~google.ads.googleads_v4.types.Ad` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,23 +201,31 @@ def get_customer_manager_link( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'get_customer_manager_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_manager_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_manager_link, - default_retry=self. - _method_configs['GetCustomerManagerLink'].retry, - default_timeout=self. - _method_configs['GetCustomerManagerLink'].timeout, - client_info=self._client_info, - ) + if 'get_ad' not in self._inner_api_calls: + self._inner_api_calls['get_ad'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_ad, + default_retry=self._method_configs['GetAd'].retry, + default_timeout=self._method_configs['GetAd'].timeout, + client_info=self._client_info, + ) + + request = ad_service_pb2.GetAdRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = customer_manager_link_service_pb2.GetCustomerManagerLinkRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_manager_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['get_ad'](request, retry=retry, timeout=timeout, metadata=metadata) - def mutate_customer_manager_link( + def mutate_ads( self, customer_id, operations, @@ -224,14 +233,15 @@ def mutate_customer_manager_link( timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Creates or updates customer manager links. Operation statuses are returned. + Updates ads. Operation statuses are returned. Updating ads is not supported + for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. Args: - customer_id (str): The ID of the customer whose customer manager links are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomerManagerLinkOperation]]): The list of operations to perform on individual customer manager links. + customer_id (str): Required. The ID of the customer whose ads are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AdOperation]]): Required. The list of operations to perform on individual ads. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerManagerLinkOperation` + message :class:`~google.ads.googleads_v4.types.AdOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -242,7 +252,7 @@ def mutate_customer_manager_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerManagerLinkResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAdsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -252,20 +262,27 @@ def mutate_customer_manager_link( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'mutate_customer_manager_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_manager_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_manager_link, - default_retry=self. - _method_configs['MutateCustomerManagerLink'].retry, - default_timeout=self. - _method_configs['MutateCustomerManagerLink'].timeout, - client_info=self._client_info, - ) + if 'mutate_ads' not in self._inner_api_calls: + self._inner_api_calls['mutate_ads'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_ads, + default_retry=self._method_configs['MutateAds'].retry, + default_timeout=self._method_configs['MutateAds'].timeout, + client_info=self._client_info, + ) - request = customer_manager_link_service_pb2.MutateCustomerManagerLinkRequest( + request = ad_service_pb2.MutateAdsRequest( customer_id=customer_id, operations=operations, ) - return self._inner_api_calls['mutate_customer_manager_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_ads'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/ad_service_client_config.py b/google/ads/google_ads/v4/services/ad_service_client_config.py new file mode 100644 index 000000000..bb4149145 --- /dev/null +++ b/google/ads/google_ads/v4/services/ad_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AdService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAd": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/age_range_view_service_client.py b/google/ads/google_ads/v4/services/age_range_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/age_range_view_service_client.py rename to google/ads/google_ads/v4/services/age_range_view_service_client.py index 443798c32..ecaaeeb15 100644 --- a/google/ads/google_ads/v1/services/age_range_view_service_client.py +++ b/google/ads/google_ads/v4/services/age_range_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AgeRangeViewService API.""" + +"""Accesses the google.ads.googleads.v4.services AgeRangeViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import age_range_view_service_client_config -from google.ads.google_ads.v1.services.transports import age_range_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import age_range_view_service_pb2 +from google.ads.google_ads.v4.services import age_range_view_service_client_config +from google.ads.google_ads.v4.services.transports import age_range_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import age_range_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AgeRangeViewServiceClient(object): @@ -41,7 +46,8 @@ class AgeRangeViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AgeRangeViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AgeRangeViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def age_range_view_path(cls, customer, age_range_view): """Return a fully-qualified age_range_view string.""" @@ -73,12 +80,8 @@ def age_range_view_path(cls, customer, age_range_view): age_range_view=age_range_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = age_range_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=age_range_view_service_grpc_transport. - AgeRangeViewServiceGrpcTransport, + default_class=age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = age_range_view_service_grpc_transport.AgeRangeViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_age_range_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_age_range_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested age range view in full detail. Args: - resource_name (str): The resource name of the age range view to fetch. + resource_name (str): Required. The resource name of the age range view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_age_range_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AgeRangeView` instance. + A :class:`~google.ads.googleads_v4.types.AgeRangeView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_age_range_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_age_range_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_age_range_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_age_range_view, - default_retry=self._method_configs['GetAgeRangeView']. - retry, - default_timeout=self._method_configs['GetAgeRangeView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_age_range_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_age_range_view, + default_retry=self._method_configs['GetAgeRangeView'].retry, + default_timeout=self._method_configs['GetAgeRangeView'].timeout, + client_info=self._client_info, + ) request = age_range_view_service_pb2.GetAgeRangeViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_age_range_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_age_range_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/age_range_view_service_client_config.py b/google/ads/google_ads/v4/services/age_range_view_service_client_config.py new file mode 100644 index 000000000..a7750f380 --- /dev/null +++ b/google/ads/google_ads/v4/services/age_range_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AgeRangeViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAgeRangeView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/asset_service_client.py b/google/ads/google_ads/v4/services/asset_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/asset_service_client.py rename to google/ads/google_ads/v4/services/asset_service_client.py index 21103719e..73ecd9b92 100644 --- a/google/ads/google_ads/v1/services/asset_service_client.py +++ b/google/ads/google_ads/v4/services/asset_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services AssetService API.""" + +"""Accesses the google.ads.googleads.v4.services AssetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import asset_service_client_config -from google.ads.google_ads.v1.services.transports import asset_service_grpc_transport -from google.ads.google_ads.v1.proto.services import asset_service_pb2 +from google.ads.google_ads.v4.services import asset_service_client_config +from google.ads.google_ads.v4.services.transports import asset_service_grpc_transport +from google.ads.google_ads.v4.proto.services import asset_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class AssetServiceClient(object): @@ -45,7 +50,8 @@ class AssetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.AssetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.AssetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -68,6 +74,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def asset_path(cls, customer, asset): """Return a fully-qualified asset string.""" @@ -77,12 +84,8 @@ def asset_path(cls, customer, asset): asset=asset, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -115,19 +118,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = asset_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -136,14 +135,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=asset_service_grpc_transport. - AssetServiceGrpcTransport, + default_class=asset_service_grpc_transport.AssetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = asset_service_grpc_transport.AssetServiceGrpcTransport( @@ -154,7 +153,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -164,7 +164,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -173,16 +174,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_asset(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_asset( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested asset in full detail. Args: - resource_name (str): The resource name of the asset to fetch. + resource_name (str): Required. The resource name of the asset to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -193,7 +195,7 @@ def get_asset(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Asset` instance. + A :class:`~google.ads.googleads_v4.types.Asset` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -204,34 +206,45 @@ def get_asset(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_asset' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_asset'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_asset, - default_retry=self._method_configs['GetAsset'].retry, - default_timeout=self._method_configs['GetAsset'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_asset'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_asset, + default_retry=self._method_configs['GetAsset'].retry, + default_timeout=self._method_configs['GetAsset'].timeout, + client_info=self._client_info, + ) request = asset_service_pb2.GetAssetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_asset']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_assets(self, - customer_id, - operations, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_asset'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_assets( + self, + customer_id, + operations, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates assets. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose assets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.AssetOperation]]): The list of operations to perform on individual assets. + customer_id (str): Required. The ID of the customer whose assets are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.AssetOperation]]): Required. The list of operations to perform on individual assets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.AssetOperation` + message :class:`~google.ads.googleads_v4.types.AssetOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -242,7 +255,7 @@ def mutate_assets(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateAssetsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateAssetsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -253,18 +266,26 @@ def mutate_assets(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_assets' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_assets'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_assets, - default_retry=self._method_configs['MutateAssets'].retry, - default_timeout=self._method_configs['MutateAssets']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_assets'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_assets, + default_retry=self._method_configs['MutateAssets'].retry, + default_timeout=self._method_configs['MutateAssets'].timeout, + client_info=self._client_info, + ) request = asset_service_pb2.MutateAssetsRequest( customer_id=customer_id, operations=operations, ) - return self._inner_api_calls['mutate_assets']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_assets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/asset_service_client_config.py b/google/ads/google_ads/v4/services/asset_service_client_config.py new file mode 100644 index 000000000..4be712996 --- /dev/null +++ b/google/ads/google_ads/v4/services/asset_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.AssetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetAsset": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateAssets": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/mutate_job_service_client.py b/google/ads/google_ads/v4/services/batch_job_service_client.py similarity index 58% rename from google/ads/google_ads/v1/services/mutate_job_service_client.py rename to google/ads/google_ads/v4/services/batch_job_service_client.py index 544e983ee..d31a1bf6f 100644 --- a/google/ads/google_ads/v1/services/mutate_job_service_client.py +++ b/google/ads/google_ads/v4/services/batch_job_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services MutateJobService API.""" + +"""Accesses the google.ads.googleads.v4.services BatchJobService API.""" import functools import pkg_resources @@ -23,31 +24,36 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.operation import google.api_core.operations_v1 import google.api_core.page_iterator import google.api_core.path_template -from google.ads.google_ads.v1.services import mutate_job_service_client_config -from google.ads.google_ads.v1.services.transports import mutate_job_service_grpc_transport -from google.ads.google_ads.v1.proto.resources import mutate_job_pb2 -from google.ads.google_ads.v1.proto.services import mutate_job_service_pb2 +from google.ads.google_ads.v4.services import batch_job_service_client_config +from google.ads.google_ads.v4.services.transports import batch_job_service_grpc_transport +from google.ads.google_ads.v4.proto.resources import batch_job_pb2 +from google.ads.google_ads.v4.proto.services import batch_job_service_pb2 from google.protobuf import empty_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version -class MutateJobServiceClient(object): - """Service to manage mutate jobs.""" +class BatchJobServiceClient(object): + """Service to manage batch jobs.""" SERVICE_ADDRESS = 'googleads.googleapis.com:443' """The default address of the service.""" # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.MutateJobService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.BatchJobService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -61,7 +67,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): kwargs: Additional arguments to pass to the constructor. Returns: - MutateJobServiceClient: The constructed client. + BatchJobServiceClient: The constructed client. """ credentials = service_account.Credentials.from_service_account_file( filename) @@ -70,26 +76,23 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def mutate_job_path(cls, customer, mutate_job): - """Return a fully-qualified mutate_job string.""" + def batch_job_path(cls, customer, batch_job): + """Return a fully-qualified batch_job string.""" return google.api_core.path_template.expand( - 'customers/{customer}/mutateJobs/{mutate_job}', + 'customers/{customer}/batchJobs/{batch_job}', customer=customer, - mutate_job=mutate_job, + batch_job=batch_job, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: - transport (Union[~.MutateJobServiceGrpcTransport, - Callable[[~.Credentials, type], ~.MutateJobServiceGrpcTransport]): A transport + transport (Union[~.BatchJobServiceGrpcTransport, + Callable[[~.Credentials, type], ~.BatchJobServiceGrpcTransport]): A transport instance, responsible for actually making the API calls. The default transport uses the gRPC protocol. This argument may also be a callable which returns a @@ -117,19 +120,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: - client_config = mutate_job_service_client_config.config + client_config = batch_job_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -138,17 +137,17 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=mutate_job_service_grpc_transport. - MutateJobServiceGrpcTransport, + default_class=batch_job_service_grpc_transport.BatchJobServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: - self.transport = mutate_job_service_grpc_transport.MutateJobServiceGrpcTransport( + self.transport = batch_job_service_grpc_transport.BatchJobServiceGrpcTransport( address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials, @@ -156,7 +155,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -166,7 +166,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -175,16 +176,22 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def create_mutate_job(self, - customer_id, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def mutate_batch_job( + self, + customer_id, + operation_, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ - Creates a mutate job. + Mutates a batch job. Args: - customer_id (str): The ID of the customer for which to create a mutate job. + customer_id (str): Required. The ID of the customer for which to create a batch job. + operation_ (Union[dict, ~google.ads.googleads_v4.types.BatchJobOperation]): Required. The operation to perform on an individual batch job. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.BatchJobOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -195,7 +202,7 @@ def create_mutate_job(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CreateMutateJobResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateBatchJobResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -205,32 +212,42 @@ def create_mutate_job(self, ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'create_mutate_job' not in self._inner_api_calls: - self._inner_api_calls[ - 'create_mutate_job'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.create_mutate_job, - default_retry=self._method_configs['CreateMutateJob']. - retry, - default_timeout=self._method_configs['CreateMutateJob']. - timeout, - client_info=self._client_info, - ) + if 'mutate_batch_job' not in self._inner_api_calls: + self._inner_api_calls['mutate_batch_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_batch_job, + default_retry=self._method_configs['MutateBatchJob'].retry, + default_timeout=self._method_configs['MutateBatchJob'].timeout, + client_info=self._client_info, + ) + + request = batch_job_service_pb2.MutateBatchJobRequest( + customer_id=customer_id, + operation=operation_, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = mutate_job_service_pb2.CreateMutateJobRequest( - customer_id=customer_id, ) - return self._inner_api_calls['create_mutate_job']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['mutate_batch_job'](request, retry=retry, timeout=timeout, metadata=metadata) - def get_mutate_job(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_batch_job( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ - Returns the mutate job. + Returns the batch job. Args: - resource_name (str): The resource name of the MutateJob to get. + resource_name (str): Required. The resource name of the batch job to get. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -241,7 +258,7 @@ def get_mutate_job(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateJob` instance. + A :class:`~google.ads.googleads_v4.types.BatchJob` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -251,22 +268,31 @@ def get_mutate_job(self, ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'get_mutate_job' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_mutate_job'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_mutate_job, - default_retry=self._method_configs['GetMutateJob'].retry, - default_timeout=self._method_configs['GetMutateJob']. - timeout, - client_info=self._client_info, - ) + if 'get_batch_job' not in self._inner_api_calls: + self._inner_api_calls['get_batch_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_batch_job, + default_retry=self._method_configs['GetBatchJob'].retry, + default_timeout=self._method_configs['GetBatchJob'].timeout, + client_info=self._client_info, + ) + + request = batch_job_service_pb2.GetBatchJobRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = mutate_job_service_pb2.GetMutateJobRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_mutate_job']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['get_batch_job'](request, retry=retry, timeout=timeout, metadata=metadata) - def list_mutate_job_results( + def list_batch_job_results( self, resource_name, page_size=None, @@ -274,11 +300,11 @@ def list_mutate_job_results( timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Returns the results of the mutate job. The job must be done. + Returns the results of the batch job. The job must be done. Supports standard list paging. Args: - resource_name (str): The resource name of the MutateJob whose results are being listed. + resource_name (str): Required. The resource name of the batch job whose results are being listed. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -295,7 +321,7 @@ def list_mutate_job_results( Returns: A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v1.types.MutateJobResult` instances. + is an iterable of :class:`~google.ads.googleads_v4.types.BatchJobResult` instances. This object can also be configured to iterate over the pages of the response through the `options` parameter. @@ -307,28 +333,32 @@ def list_mutate_job_results( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'list_mutate_job_results' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_mutate_job_results'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_mutate_job_results, - default_retry=self._method_configs['ListMutateJobResults']. - retry, - default_timeout=self. - _method_configs['ListMutateJobResults'].timeout, - client_info=self._client_info, - ) + if 'list_batch_job_results' not in self._inner_api_calls: + self._inner_api_calls['list_batch_job_results'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_batch_job_results, + default_retry=self._method_configs['ListBatchJobResults'].retry, + default_timeout=self._method_configs['ListBatchJobResults'].timeout, + client_info=self._client_info, + ) - request = mutate_job_service_pb2.ListMutateJobResultsRequest( + request = batch_job_service_pb2.ListBatchJobResultsRequest( resource_name=resource_name, page_size=page_size, ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + iterator = google.api_core.page_iterator.GRPCIterator( client=None, - method=functools.partial( - self._inner_api_calls['list_mutate_job_results'], - retry=retry, - timeout=timeout, - metadata=metadata), + method=functools.partial(self._inner_api_calls['list_batch_job_results'], retry=retry, timeout=timeout, metadata=metadata), request=request, items_field='results', request_token_field='page_token', @@ -336,20 +366,21 @@ def list_mutate_job_results( ) return iterator - def run_mutate_job(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def run_batch_job( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ - Runs the mutate job. + Runs the batch job. - The Operation.metadata field type is MutateJobMetadata. When finished, the + The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use - ListMutateJobResults to get the results of the job. + ListBatchJobResults to get the results of the job. Args: - resource_name (str): The resource name of the MutateJob to run. + resource_name (str): Required. The resource name of the BatchJob to run. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -360,7 +391,7 @@ def run_mutate_job(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types._OperationFuture` instance. + A :class:`~google.ads.googleads_v4.types._OperationFuture` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -370,28 +401,37 @@ def run_mutate_job(self, ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'run_mutate_job' not in self._inner_api_calls: - self._inner_api_calls[ - 'run_mutate_job'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.run_mutate_job, - default_retry=self._method_configs['RunMutateJob'].retry, - default_timeout=self._method_configs['RunMutateJob']. - timeout, - client_info=self._client_info, - ) + if 'run_batch_job' not in self._inner_api_calls: + self._inner_api_calls['run_batch_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.run_batch_job, + default_retry=self._method_configs['RunBatchJob'].retry, + default_timeout=self._method_configs['RunBatchJob'].timeout, + client_info=self._client_info, + ) + + request = batch_job_service_pb2.RunBatchJobRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = mutate_job_service_pb2.RunMutateJobRequest( - resource_name=resource_name, ) - operation = self._inner_api_calls['run_mutate_job']( - request, retry=retry, timeout=timeout, metadata=metadata) + operation = self._inner_api_calls['run_batch_job'](request, retry=retry, timeout=timeout, metadata=metadata) return google.api_core.operation.from_gapic( operation, self.transport._operations_client, empty_pb2.Empty, - metadata_type=mutate_job_pb2.MutateJob.MutateJobMetadata, + metadata_type=batch_job_pb2.BatchJob.BatchJobMetadata, ) - def add_mutate_job_operations( + def add_batch_job_operations( self, resource_name, sequence_token, @@ -400,20 +440,20 @@ def add_mutate_job_operations( timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Add operations to the mutate job. + Add operations to the batch job. Args: - resource_name (str): The resource name of the MutateJob. + resource_name (str): Required. The resource name of the batch job. sequence_token (str): A token used to enforce sequencing. - The first AddMutateJobOperations request for a MutateJob should not set + The first AddBatchJobOperations request for a batch job should not set sequence\_token. Subsequent requests must set sequence\_token to the value of next\_sequence\_token received in the previous - AddMutateJobOperations response. - mutate_operations (list[Union[dict, ~google.ads.googleads_v1.types.MutateOperation]]): The list of mutates being added. + AddBatchJobOperations response. + mutate_operations (list[Union[dict, ~google.ads.googleads_v4.types.MutateOperation]]): Required. The list of mutates being added. Operations can use negative integers as temp ids to signify dependencies - between entities created in this MutateJob. For example, a customer with + between entities created in this batch job. For example, a customer with id = 1234 can create a campaign and an ad group in that same campaign by creating a campaign in the first operation with the resource name explicitly set to "customers/1234/campaigns/-1", and creating an ad group @@ -421,7 +461,7 @@ def add_mutate_job_operations( "customers/1234/campaigns/-1". If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.MutateOperation` + message :class:`~google.ads.googleads_v4.types.MutateOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -432,7 +472,7 @@ def add_mutate_job_operations( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.AddMutateJobOperationsResponse` instance. + A :class:`~google.ads.googleads_v4.types.AddBatchJobOperationsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -442,21 +482,28 @@ def add_mutate_job_operations( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'add_mutate_job_operations' not in self._inner_api_calls: - self._inner_api_calls[ - 'add_mutate_job_operations'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.add_mutate_job_operations, - default_retry=self. - _method_configs['AddMutateJobOperations'].retry, - default_timeout=self. - _method_configs['AddMutateJobOperations'].timeout, - client_info=self._client_info, - ) + if 'add_batch_job_operations' not in self._inner_api_calls: + self._inner_api_calls['add_batch_job_operations'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.add_batch_job_operations, + default_retry=self._method_configs['AddBatchJobOperations'].retry, + default_timeout=self._method_configs['AddBatchJobOperations'].timeout, + client_info=self._client_info, + ) - request = mutate_job_service_pb2.AddMutateJobOperationsRequest( + request = batch_job_service_pb2.AddBatchJobOperationsRequest( resource_name=resource_name, sequence_token=sequence_token, mutate_operations=mutate_operations, ) - return self._inner_api_calls['add_mutate_job_operations']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['add_batch_job_operations'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/batch_job_service_client_config.py b/google/ads/google_ads/v4/services/batch_job_service_client_config.py new file mode 100644 index 000000000..32b9d5708 --- /dev/null +++ b/google/ads/google_ads/v4/services/batch_job_service_client_config.py @@ -0,0 +1,51 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.BatchJobService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "MutateBatchJob": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GetBatchJob": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "ListBatchJobResults": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "RunBatchJob": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "AddBatchJobOperations": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/bidding_strategy_service_client.py b/google/ads/google_ads/v4/services/bidding_strategy_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/bidding_strategy_service_client.py rename to google/ads/google_ads/v4/services/bidding_strategy_service_client.py index 2eb8fb9da..91bdb805a 100644 --- a/google/ads/google_ads/v1/services/bidding_strategy_service_client.py +++ b/google/ads/google_ads/v4/services/bidding_strategy_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services BiddingStrategyService API.""" + +"""Accesses the google.ads.googleads.v4.services BiddingStrategyService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import bidding_strategy_service_client_config -from google.ads.google_ads.v1.services.transports import bidding_strategy_service_grpc_transport -from google.ads.google_ads.v1.proto.services import bidding_strategy_service_pb2 +from google.ads.google_ads.v4.services import bidding_strategy_service_client_config +from google.ads.google_ads.v4.services.transports import bidding_strategy_service_grpc_transport +from google.ads.google_ads.v4.proto.services import bidding_strategy_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class BiddingStrategyServiceClient(object): @@ -41,7 +46,8 @@ class BiddingStrategyServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.BiddingStrategyService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.BiddingStrategyService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def bidding_strategy_path(cls, customer, bidding_strategy): """Return a fully-qualified bidding_strategy string.""" @@ -73,12 +80,8 @@ def bidding_strategy_path(cls, customer, bidding_strategy): bidding_strategy=bidding_strategy, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = bidding_strategy_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=bidding_strategy_service_grpc_transport. - BiddingStrategyServiceGrpcTransport, + default_class=bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = bidding_strategy_service_grpc_transport.BiddingStrategyServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_bidding_strategy(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_bidding_strategy( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested bidding strategy in full detail. Args: - resource_name (str): The resource name of the bidding strategy to fetch. + resource_name (str): Required. The resource name of the bidding strategy to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_bidding_strategy(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.BiddingStrategy` instance. + A :class:`~google.ads.googleads_v4.types.BiddingStrategy` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_bidding_strategy(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_bidding_strategy' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_bidding_strategy'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_bidding_strategy, - default_retry=self._method_configs['GetBiddingStrategy']. - retry, - default_timeout=self._method_configs['GetBiddingStrategy']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_bidding_strategy'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_bidding_strategy, + default_retry=self._method_configs['GetBiddingStrategy'].retry, + default_timeout=self._method_configs['GetBiddingStrategy'].timeout, + client_info=self._client_info, + ) request = bidding_strategy_service_pb2.GetBiddingStrategyRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_bidding_strategy']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_bidding_strategy'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_bidding_strategies( self, @@ -229,11 +239,11 @@ def mutate_bidding_strategies( returned. Args: - customer_id (str): The ID of the customer whose bidding strategies are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.BiddingStrategyOperation]]): The list of operations to perform on individual bidding strategies. + customer_id (str): Required. The ID of the customer whose bidding strategies are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.BiddingStrategyOperation]]): Required. The list of operations to perform on individual bidding strategies. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.BiddingStrategyOperation` + message :class:`~google.ads.googleads_v4.types.BiddingStrategyOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -250,7 +260,7 @@ def mutate_bidding_strategies( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateBiddingStrategiesResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateBiddingStrategiesResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,15 +271,12 @@ def mutate_bidding_strategies( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_bidding_strategies' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_bidding_strategies'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_bidding_strategies, - default_retry=self. - _method_configs['MutateBiddingStrategies'].retry, - default_timeout=self. - _method_configs['MutateBiddingStrategies'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_bidding_strategies'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_bidding_strategies, + default_retry=self._method_configs['MutateBiddingStrategies'].retry, + default_timeout=self._method_configs['MutateBiddingStrategies'].timeout, + client_info=self._client_info, + ) request = bidding_strategy_service_pb2.MutateBiddingStrategiesRequest( customer_id=customer_id, @@ -277,5 +284,15 @@ def mutate_bidding_strategies( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_bidding_strategies']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_bidding_strategies'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/bidding_strategy_service_client_config.py b/google/ads/google_ads/v4/services/bidding_strategy_service_client_config.py new file mode 100644 index 000000000..127294bf9 --- /dev/null +++ b/google/ads/google_ads/v4/services/bidding_strategy_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.BiddingStrategyService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetBiddingStrategy": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateBiddingStrategies": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/billing_setup_service_client.py b/google/ads/google_ads/v4/services/billing_setup_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/billing_setup_service_client.py rename to google/ads/google_ads/v4/services/billing_setup_service_client.py index 74e12e3c1..f0bf55b74 100644 --- a/google/ads/google_ads/v1/services/billing_setup_service_client.py +++ b/google/ads/google_ads/v4/services/billing_setup_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services BillingSetupService API.""" + +"""Accesses the google.ads.googleads.v4.services BillingSetupService API.""" import pkg_resources import warnings @@ -22,23 +23,27 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import billing_setup_service_client_config -from google.ads.google_ads.v1.services.transports import billing_setup_service_grpc_transport -from google.ads.google_ads.v1.proto.services import billing_setup_service_pb2 +from google.ads.google_ads.v4.services import billing_setup_service_client_config +from google.ads.google_ads.v4.services.transports import billing_setup_service_grpc_transport +from google.ads.google_ads.v4.proto.services import billing_setup_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class BillingSetupServiceClient(object): """ A service for designating the business entity responsible for accrued costs. - A billing setup is associated with a Payments account. Billing-related - activity for all billing setups associated with a particular Payments account + A billing setup is associated with a payments account. Billing-related + activity for all billing setups associated with a particular payments account will appear on a single invoice generated monthly. Mutates: @@ -51,7 +56,8 @@ class BillingSetupServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.BillingSetupService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.BillingSetupService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -74,6 +80,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def billing_setup_path(cls, customer, billing_setup): """Return a fully-qualified billing_setup string.""" @@ -83,12 +90,8 @@ def billing_setup_path(cls, customer, billing_setup): billing_setup=billing_setup, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -121,19 +124,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = billing_setup_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -142,14 +141,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=billing_setup_service_grpc_transport. - BillingSetupServiceGrpcTransport, + default_class=billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = billing_setup_service_grpc_transport.BillingSetupServiceGrpcTransport( @@ -160,7 +159,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -170,7 +170,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,16 +180,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_billing_setup(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_billing_setup( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns a billing setup. Args: - resource_name (str): The resource name of the billing setup to fetch. + resource_name (str): Required. The resource name of the billing setup to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -199,7 +201,7 @@ def get_billing_setup(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.BillingSetup` instance. + A :class:`~google.ads.googleads_v4.types.BillingSetup` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -210,36 +212,45 @@ def get_billing_setup(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_billing_setup' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_billing_setup'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_billing_setup, - default_retry=self._method_configs['GetBillingSetup']. - retry, - default_timeout=self._method_configs['GetBillingSetup']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_billing_setup'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_billing_setup, + default_retry=self._method_configs['GetBillingSetup'].retry, + default_timeout=self._method_configs['GetBillingSetup'].timeout, + client_info=self._client_info, + ) request = billing_setup_service_pb2.GetBillingSetupRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_billing_setup']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_billing_setup(self, - customer_id, - operation_, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_billing_setup'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_billing_setup( + self, + customer_id, + operation_, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates a billing setup, or cancels an existing billing setup. Args: - customer_id (str): Id of the customer to apply the billing setup mutate operation to. - operation_ (Union[dict, ~google.ads.googleads_v1.types.BillingSetupOperation]): The operation to perform. + customer_id (str): Required. Id of the customer to apply the billing setup mutate operation to. + operation_ (Union[dict, ~google.ads.googleads_v4.types.BillingSetupOperation]): Required. The operation to perform. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.BillingSetupOperation` + message :class:`~google.ads.googleads_v4.types.BillingSetupOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -250,7 +261,7 @@ def mutate_billing_setup(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateBillingSetupResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateBillingSetupResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,19 +272,26 @@ def mutate_billing_setup(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_billing_setup' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_billing_setup'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_billing_setup, - default_retry=self._method_configs['MutateBillingSetup']. - retry, - default_timeout=self._method_configs['MutateBillingSetup']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_billing_setup'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_billing_setup, + default_retry=self._method_configs['MutateBillingSetup'].retry, + default_timeout=self._method_configs['MutateBillingSetup'].timeout, + client_info=self._client_info, + ) request = billing_setup_service_pb2.MutateBillingSetupRequest( customer_id=customer_id, operation=operation_, ) - return self._inner_api_calls['mutate_billing_setup']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_billing_setup'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/billing_setup_service_client_config.py b/google/ads/google_ads/v4/services/billing_setup_service_client_config.py new file mode 100644 index 000000000..7be54c190 --- /dev/null +++ b/google/ads/google_ads/v4/services/billing_setup_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.BillingSetupService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetBillingSetup": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateBillingSetup": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_audience_view_service_client.py b/google/ads/google_ads/v4/services/campaign_audience_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/campaign_audience_view_service_client.py rename to google/ads/google_ads/v4/services/campaign_audience_view_service_client.py index 702f0039b..b6593a8fe 100644 --- a/google/ads/google_ads/v1/services/campaign_audience_view_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_audience_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignAudienceViewService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignAudienceViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_audience_view_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_audience_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_audience_view_service_pb2 +from google.ads.google_ads.v4.services import campaign_audience_view_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_audience_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_audience_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignAudienceViewServiceClient(object): @@ -41,7 +46,8 @@ class CampaignAudienceViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignAudienceViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignAudienceViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_audience_view_path(cls, customer, campaign_audience_view): """Return a fully-qualified campaign_audience_view string.""" @@ -73,12 +80,8 @@ def campaign_audience_view_path(cls, customer, campaign_audience_view): campaign_audience_view=campaign_audience_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_audience_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_audience_view_service_grpc_transport - .CampaignAudienceViewServiceGrpcTransport, + default_class=campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_audience_view_service_grpc_transport.CampaignAudienceViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_campaign_audience_view( Returns the requested campaign audience view in full detail. Args: - resource_name (str): The resource name of the campaign audience view to fetch. + resource_name (str): Required. The resource name of the campaign audience view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_campaign_audience_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignAudienceView` instance. + A :class:`~google.ads.googleads_v4.types.CampaignAudienceView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_campaign_audience_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_audience_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_audience_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_audience_view, - default_retry=self. - _method_configs['GetCampaignAudienceView'].retry, - default_timeout=self. - _method_configs['GetCampaignAudienceView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_audience_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_audience_view, + default_retry=self._method_configs['GetCampaignAudienceView'].retry, + default_timeout=self._method_configs['GetCampaignAudienceView'].timeout, + client_info=self._client_info, + ) request = campaign_audience_view_service_pb2.GetCampaignAudienceViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_audience_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_audience_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_audience_view_service_client_config.py b/google/ads/google_ads/v4/services/campaign_audience_view_service_client_config.py new file mode 100644 index 000000000..296fa5765 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_audience_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignAudienceViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignAudienceView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.py b/google/ads/google_ads/v4/services/campaign_bid_modifier_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.py rename to google/ads/google_ads/v4/services/campaign_bid_modifier_service_client.py index 00bc9005b..a452eca76 100644 --- a/google/ads/google_ads/v1/services/campaign_bid_modifier_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_bid_modifier_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignBidModifierService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignBidModifierService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_bid_modifier_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_bid_modifier_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_bid_modifier_service_pb2 +from google.ads.google_ads.v4.services import campaign_bid_modifier_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_bid_modifier_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_bid_modifier_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignBidModifierServiceClient(object): @@ -41,7 +46,8 @@ class CampaignBidModifierServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignBidModifierService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignBidModifierService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_bid_modifier_path(cls, customer, campaign_bid_modifier): """Return a fully-qualified campaign_bid_modifier string.""" @@ -73,12 +80,8 @@ def campaign_bid_modifier_path(cls, customer, campaign_bid_modifier): campaign_bid_modifier=campaign_bid_modifier, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_bid_modifier_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_bid_modifier_service_grpc_transport. - CampaignBidModifierServiceGrpcTransport, + default_class=campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_bid_modifier_service_grpc_transport.CampaignBidModifierServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_campaign_bid_modifier( Returns the requested campaign bid modifier in full detail. Args: - resource_name (str): The resource name of the campaign bid modifier to fetch. + resource_name (str): Required. The resource name of the campaign bid modifier to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_campaign_bid_modifier( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignBidModifier` instance. + A :class:`~google.ads.googleads_v4.types.CampaignBidModifier` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_campaign_bid_modifier( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_bid_modifier' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_bid_modifier'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_bid_modifier, - default_retry=self. - _method_configs['GetCampaignBidModifier'].retry, - default_timeout=self. - _method_configs['GetCampaignBidModifier'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_bid_modifier'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_bid_modifier, + default_retry=self._method_configs['GetCampaignBidModifier'].retry, + default_timeout=self._method_configs['GetCampaignBidModifier'].timeout, + client_info=self._client_info, + ) request = campaign_bid_modifier_service_pb2.GetCampaignBidModifierRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_bid_modifier']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_bid_modifier'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_campaign_bid_modifiers( self, @@ -230,11 +239,11 @@ def mutate_campaign_bid_modifiers( Operation statuses are returned. Args: - customer_id (str): ID of the customer whose campaign bid modifiers are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignBidModifierOperation]]): The list of operations to perform on individual campaign bid modifiers. + customer_id (str): Required. ID of the customer whose campaign bid modifiers are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignBidModifierOperation]]): Required. The list of operations to perform on individual campaign bid modifiers. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignBidModifierOperation` + message :class:`~google.ads.googleads_v4.types.CampaignBidModifierOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +260,7 @@ def mutate_campaign_bid_modifiers( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignBidModifiersResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignBidModifiersResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -262,15 +271,12 @@ def mutate_campaign_bid_modifiers( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_bid_modifiers' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_bid_modifiers'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_bid_modifiers, - default_retry=self. - _method_configs['MutateCampaignBidModifiers'].retry, - default_timeout=self. - _method_configs['MutateCampaignBidModifiers'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_bid_modifiers'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_bid_modifiers, + default_retry=self._method_configs['MutateCampaignBidModifiers'].retry, + default_timeout=self._method_configs['MutateCampaignBidModifiers'].timeout, + client_info=self._client_info, + ) request = campaign_bid_modifier_service_pb2.MutateCampaignBidModifiersRequest( customer_id=customer_id, @@ -278,5 +284,15 @@ def mutate_campaign_bid_modifiers( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_bid_modifiers']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_bid_modifiers'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_bid_modifier_service_client_config.py b/google/ads/google_ads/v4/services/campaign_bid_modifier_service_client_config.py new file mode 100644 index 000000000..c825cc01d --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_bid_modifier_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignBidModifierService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignBidModifier": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignBidModifiers": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_budget_service_client.py b/google/ads/google_ads/v4/services/campaign_budget_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/campaign_budget_service_client.py rename to google/ads/google_ads/v4/services/campaign_budget_service_client.py index 252d67b2d..5a157cdf4 100644 --- a/google/ads/google_ads/v1/services/campaign_budget_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_budget_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignBudgetService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignBudgetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_budget_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_budget_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_budget_service_pb2 +from google.ads.google_ads.v4.services import campaign_budget_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_budget_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_budget_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignBudgetServiceClient(object): @@ -41,7 +46,8 @@ class CampaignBudgetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignBudgetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignBudgetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_budget_path(cls, customer, campaign_budget): """Return a fully-qualified campaign_budget string.""" @@ -73,12 +80,8 @@ def campaign_budget_path(cls, customer, campaign_budget): campaign_budget=campaign_budget, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_budget_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_budget_service_grpc_transport. - CampaignBudgetServiceGrpcTransport, + default_class=campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_budget_service_grpc_transport.CampaignBudgetServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign_budget(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign_budget( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested Campaign Budget in full detail. Args: - resource_name (str): The resource name of the campaign budget to fetch. + resource_name (str): Required. The resource name of the campaign budget to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_campaign_budget(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignBudget` instance. + A :class:`~google.ads.googleads_v4.types.CampaignBudget` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_campaign_budget(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_budget' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_budget'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_budget, - default_retry=self._method_configs['GetCampaignBudget']. - retry, - default_timeout=self._method_configs['GetCampaignBudget']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_budget'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_budget, + default_retry=self._method_configs['GetCampaignBudget'].retry, + default_timeout=self._method_configs['GetCampaignBudget'].timeout, + client_info=self._client_info, + ) request = campaign_budget_service_pb2.GetCampaignBudgetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_budget']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_budget'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_campaign_budgets( self, @@ -229,11 +239,11 @@ def mutate_campaign_budgets( returned. Args: - customer_id (str): The ID of the customer whose campaign budgets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignBudgetOperation]]): The list of operations to perform on individual campaign budgets. + customer_id (str): Required. The ID of the customer whose campaign budgets are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignBudgetOperation]]): Required. The list of operations to perform on individual campaign budgets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignBudgetOperation` + message :class:`~google.ads.googleads_v4.types.CampaignBudgetOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -250,7 +260,7 @@ def mutate_campaign_budgets( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignBudgetsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignBudgetsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,15 +271,12 @@ def mutate_campaign_budgets( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_budgets' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_budgets'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_budgets, - default_retry=self. - _method_configs['MutateCampaignBudgets'].retry, - default_timeout=self. - _method_configs['MutateCampaignBudgets'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_budgets'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_budgets, + default_retry=self._method_configs['MutateCampaignBudgets'].retry, + default_timeout=self._method_configs['MutateCampaignBudgets'].timeout, + client_info=self._client_info, + ) request = campaign_budget_service_pb2.MutateCampaignBudgetsRequest( customer_id=customer_id, @@ -277,5 +284,15 @@ def mutate_campaign_budgets( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_budgets']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_budgets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_budget_service_client_config.py b/google/ads/google_ads/v4/services/campaign_budget_service_client_config.py new file mode 100644 index 000000000..815a5f20c --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_budget_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignBudgetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignBudget": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignBudgets": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_criterion_service_client.py b/google/ads/google_ads/v4/services/campaign_criterion_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/campaign_criterion_service_client.py rename to google/ads/google_ads/v4/services/campaign_criterion_service_client.py index 50c88cd5b..30872d952 100644 --- a/google/ads/google_ads/v1/services/campaign_criterion_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_criterion_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignCriterionService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignCriterionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_criterion_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_criterion_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_criterion_service_pb2 +from google.ads.google_ads.v4.services import campaign_criterion_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_criterion_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_criterion_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignCriterionServiceClient(object): @@ -41,7 +46,8 @@ class CampaignCriterionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignCriterionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignCriterionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_criteria_path(cls, customer, campaign_criteria): """Return a fully-qualified campaign_criteria string.""" @@ -73,12 +80,8 @@ def campaign_criteria_path(cls, customer, campaign_criteria): campaign_criteria=campaign_criteria, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_criterion_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_criterion_service_grpc_transport. - CampaignCriterionServiceGrpcTransport, + default_class=campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_criterion_service_grpc_transport.CampaignCriterionServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign_criterion(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign_criterion( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested criterion in full detail. Args: - resource_name (str): The resource name of the criterion to fetch. + resource_name (str): Required. The resource name of the criterion to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_campaign_criterion(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignCriterion` instance. + A :class:`~google.ads.googleads_v4.types.CampaignCriterion` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_campaign_criterion(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_criterion' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_criterion'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_criterion, - default_retry=self._method_configs['GetCampaignCriterion']. - retry, - default_timeout=self. - _method_configs['GetCampaignCriterion'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_criterion'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_criterion, + default_retry=self._method_configs['GetCampaignCriterion'].retry, + default_timeout=self._method_configs['GetCampaignCriterion'].timeout, + client_info=self._client_info, + ) request = campaign_criterion_service_pb2.GetCampaignCriterionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_criterion']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_criterion'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_campaign_criteria( self, @@ -228,11 +238,11 @@ def mutate_campaign_criteria( Creates, updates, or removes criteria. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose criteria are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignCriterionOperation]]): The list of operations to perform on individual criteria. + customer_id (str): Required. The ID of the customer whose criteria are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignCriterionOperation]]): Required. The list of operations to perform on individual criteria. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignCriterionOperation` + message :class:`~google.ads.googleads_v4.types.CampaignCriterionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +259,7 @@ def mutate_campaign_criteria( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignCriteriaResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignCriteriaResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +270,12 @@ def mutate_campaign_criteria( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_criteria' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_criteria'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_criteria, - default_retry=self. - _method_configs['MutateCampaignCriteria'].retry, - default_timeout=self. - _method_configs['MutateCampaignCriteria'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_criteria'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_criteria, + default_retry=self._method_configs['MutateCampaignCriteria'].retry, + default_timeout=self._method_configs['MutateCampaignCriteria'].timeout, + client_info=self._client_info, + ) request = campaign_criterion_service_pb2.MutateCampaignCriteriaRequest( customer_id=customer_id, @@ -276,5 +283,15 @@ def mutate_campaign_criteria( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_criteria']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_criterion_service_client_config.py b/google/ads/google_ads/v4/services/campaign_criterion_service_client_config.py new file mode 100644 index 000000000..cdf14d073 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_criterion_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignCriterionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignCriterion": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignCriteria": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client.py b/google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client.py rename to google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client.py index 9fcaeeb3b..77e6010e5 100644 --- a/google/ads/google_ads/v1/services/campaign_criterion_simulation_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignCriterionSimulationService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignCriterionSimulationService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_criterion_simulation_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_criterion_simulation_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_criterion_simulation_service_pb2 +from google.ads.google_ads.v4.services import campaign_criterion_simulation_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_criterion_simulation_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_criterion_simulation_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignCriterionSimulationServiceClient(object): @@ -41,7 +46,8 @@ class CampaignCriterionSimulationServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignCriterionSimulationService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignCriterionSimulationService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def campaign_criterion_simulation_path(cls, customer, - campaign_criterion_simulation): + def campaign_criterion_simulation_path(cls, customer, campaign_criterion_simulation): """Return a fully-qualified campaign_criterion_simulation string.""" return google.api_core.path_template.expand( 'customers/{customer}/campaignCriterionSimulations/{campaign_criterion_simulation}', @@ -74,12 +80,8 @@ def campaign_criterion_simulation_path(cls, customer, campaign_criterion_simulation=campaign_criterion_simulation, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_criterion_simulation_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - campaign_criterion_simulation_service_grpc_transport. - CampaignCriterionSimulationServiceGrpcTransport, + default_class=campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_criterion_simulation_service_grpc_transport.CampaignCriterionSimulationServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_campaign_criterion_simulation( Returns the requested campaign criterion simulation in full detail. Args: - resource_name (str): The resource name of the campaign criterion simulation to fetch. + resource_name (str): Required. The resource name of the campaign criterion simulation to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_campaign_criterion_simulation( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignCriterionSimulation` instance. + A :class:`~google.ads.googleads_v4.types.CampaignCriterionSimulation` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,17 +202,25 @@ def get_campaign_criterion_simulation( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_criterion_simulation' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_criterion_simulation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_criterion_simulation, - default_retry=self. - _method_configs['GetCampaignCriterionSimulation'].retry, - default_timeout=self. - _method_configs['GetCampaignCriterionSimulation'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_criterion_simulation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_criterion_simulation, + default_retry=self._method_configs['GetCampaignCriterionSimulation'].retry, + default_timeout=self._method_configs['GetCampaignCriterionSimulation'].timeout, + client_info=self._client_info, + ) request = campaign_criterion_simulation_service_pb2.GetCampaignCriterionSimulationRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_criterion_simulation']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_criterion_simulation'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client_config.py b/google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client_config.py new file mode 100644 index 000000000..b1e4a0824 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_criterion_simulation_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignCriterionSimulationService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignCriterionSimulation": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_draft_service_client.py b/google/ads/google_ads/v4/services/campaign_draft_service_client.py similarity index 69% rename from google/ads/google_ads/v1/services/campaign_draft_service_client.py rename to google/ads/google_ads/v4/services/campaign_draft_service_client.py index 54cf3409f..94304f2c1 100644 --- a/google/ads/google_ads/v1/services/campaign_draft_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_draft_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignDraftService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignDraftService API.""" import functools import pkg_resources @@ -23,19 +24,23 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.operation import google.api_core.operations_v1 import google.api_core.page_iterator import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_draft_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_draft_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_draft_service_pb2 +from google.ads.google_ads.v4.services import campaign_draft_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_draft_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_draft_service_pb2 from google.protobuf import empty_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignDraftServiceClient(object): @@ -46,7 +51,8 @@ class CampaignDraftServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignDraftService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignDraftService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -69,6 +75,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_draft_path(cls, customer, campaign_draft): """Return a fully-qualified campaign_draft string.""" @@ -78,12 +85,8 @@ def campaign_draft_path(cls, customer, campaign_draft): campaign_draft=campaign_draft, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -116,19 +119,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_draft_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -137,14 +136,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_draft_service_grpc_transport. - CampaignDraftServiceGrpcTransport, + default_class=campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_draft_service_grpc_transport.CampaignDraftServiceGrpcTransport( @@ -155,7 +154,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -165,7 +165,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -174,16 +175,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign_draft(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign_draft( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested campaign draft in full detail. Args: - resource_name (str): The resource name of the campaign draft to fetch. + resource_name (str): Required. The resource name of the campaign draft to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -194,7 +196,7 @@ def get_campaign_draft(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignDraft` instance. + A :class:`~google.ads.googleads_v4.types.CampaignDraft` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -205,39 +207,48 @@ def get_campaign_draft(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_draft' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_draft'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_draft, - default_retry=self._method_configs['GetCampaignDraft']. - retry, - default_timeout=self._method_configs['GetCampaignDraft']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_draft'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_draft, + default_retry=self._method_configs['GetCampaignDraft'].retry, + default_timeout=self._method_configs['GetCampaignDraft'].timeout, + client_info=self._client_info, + ) request = campaign_draft_service_pb2.GetCampaignDraftRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_draft']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_campaign_drafts(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_draft'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_campaign_drafts( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes campaign drafts. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose campaign drafts are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignDraftOperation]]): The list of operations to perform on individual campaign drafts. + customer_id (str): Required. The ID of the customer whose campaign drafts are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignDraftOperation]]): Required. The list of operations to perform on individual campaign drafts. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignDraftOperation` + message :class:`~google.ads.googleads_v4.types.CampaignDraftOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -254,7 +265,7 @@ def mutate_campaign_drafts(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignDraftsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignDraftsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -265,15 +276,12 @@ def mutate_campaign_drafts(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_drafts' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_drafts'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_drafts, - default_retry=self._method_configs['MutateCampaignDrafts']. - retry, - default_timeout=self. - _method_configs['MutateCampaignDrafts'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_drafts'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_drafts, + default_retry=self._method_configs['MutateCampaignDrafts'].retry, + default_timeout=self._method_configs['MutateCampaignDrafts'].timeout, + client_info=self._client_info, + ) request = campaign_draft_service_pb2.MutateCampaignDraftsRequest( customer_id=customer_id, @@ -281,14 +289,25 @@ def mutate_campaign_drafts(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_drafts']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def promote_campaign_draft(self, - campaign_draft, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_drafts'](request, retry=retry, timeout=timeout, metadata=metadata) + + def promote_campaign_draft( + self, + campaign_draft, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Promotes the changes in a draft back to the base campaign. @@ -301,7 +320,7 @@ def promote_campaign_draft(self, of error reasons. Args: - campaign_draft (str): The resource name of the campaign draft to promote. + campaign_draft (str): Required. The resource name of the campaign draft to promote. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -312,7 +331,7 @@ def promote_campaign_draft(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types._OperationFuture` instance. + A :class:`~google.ads.googleads_v4.types._OperationFuture` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -323,20 +342,28 @@ def promote_campaign_draft(self, """ # Wrap the transport method to add retry and timeout logic. if 'promote_campaign_draft' not in self._inner_api_calls: - self._inner_api_calls[ - 'promote_campaign_draft'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.promote_campaign_draft, - default_retry=self._method_configs['PromoteCampaignDraft']. - retry, - default_timeout=self. - _method_configs['PromoteCampaignDraft'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['promote_campaign_draft'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.promote_campaign_draft, + default_retry=self._method_configs['PromoteCampaignDraft'].retry, + default_timeout=self._method_configs['PromoteCampaignDraft'].timeout, + client_info=self._client_info, + ) request = campaign_draft_service_pb2.PromoteCampaignDraftRequest( - campaign_draft=campaign_draft, ) - operation = self._inner_api_calls['promote_campaign_draft']( - request, retry=retry, timeout=timeout, metadata=metadata) + campaign_draft=campaign_draft, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('campaign_draft', campaign_draft)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + operation = self._inner_api_calls['promote_campaign_draft'](request, retry=retry, timeout=timeout, metadata=metadata) return google.api_core.operation.from_gapic( operation, self.transport._operations_client, @@ -357,7 +384,7 @@ def list_campaign_draft_async_errors( Supports standard list paging. Args: - resource_name (str): The name of the campaign draft from which to retrieve the async errors. + resource_name (str): Required. The name of the campaign draft from which to retrieve the async errors. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -374,7 +401,7 @@ def list_campaign_draft_async_errors( Returns: A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v1.types.Status` instances. + is an iterable of :class:`~google.ads.googleads_v4.types.Status` instances. This object can also be configured to iterate over the pages of the response through the `options` parameter. @@ -387,27 +414,31 @@ def list_campaign_draft_async_errors( """ # Wrap the transport method to add retry and timeout logic. if 'list_campaign_draft_async_errors' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_campaign_draft_async_errors'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_campaign_draft_async_errors, - default_retry=self. - _method_configs['ListCampaignDraftAsyncErrors'].retry, - default_timeout=self. - _method_configs['ListCampaignDraftAsyncErrors'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['list_campaign_draft_async_errors'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_campaign_draft_async_errors, + default_retry=self._method_configs['ListCampaignDraftAsyncErrors'].retry, + default_timeout=self._method_configs['ListCampaignDraftAsyncErrors'].timeout, + client_info=self._client_info, + ) request = campaign_draft_service_pb2.ListCampaignDraftAsyncErrorsRequest( resource_name=resource_name, page_size=page_size, ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + iterator = google.api_core.page_iterator.GRPCIterator( client=None, - method=functools.partial( - self._inner_api_calls['list_campaign_draft_async_errors'], - retry=retry, - timeout=timeout, - metadata=metadata), + method=functools.partial(self._inner_api_calls['list_campaign_draft_async_errors'], retry=retry, timeout=timeout, metadata=metadata), request=request, items_field='errors', request_token_field='page_token', diff --git a/google/ads/google_ads/v4/services/campaign_draft_service_client_config.py b/google/ads/google_ads/v4/services/campaign_draft_service_client_config.py new file mode 100644 index 000000000..41cb189a6 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_draft_service_client_config.py @@ -0,0 +1,46 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignDraftService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignDraft": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignDrafts": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "PromoteCampaignDraft": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListCampaignDraftAsyncErrors": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_experiment_service_client.py b/google/ads/google_ads/v4/services/campaign_experiment_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/campaign_experiment_service_client.py rename to google/ads/google_ads/v4/services/campaign_experiment_service_client.py index 15547c9b1..03a4371c6 100644 --- a/google/ads/google_ads/v1/services/campaign_experiment_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_experiment_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignExperimentService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignExperimentService API.""" import functools import pkg_resources @@ -23,19 +24,23 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.operation import google.api_core.operations_v1 import google.api_core.page_iterator import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_experiment_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_experiment_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_experiment_service_pb2 +from google.ads.google_ads.v4.services import campaign_experiment_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_experiment_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_experiment_service_pb2 from google.protobuf import empty_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignExperimentServiceClient(object): @@ -57,7 +62,8 @@ class CampaignExperimentServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignExperimentService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignExperimentService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -80,6 +86,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_experiment_path(cls, customer, campaign_experiment): """Return a fully-qualified campaign_experiment string.""" @@ -89,12 +96,8 @@ def campaign_experiment_path(cls, customer, campaign_experiment): campaign_experiment=campaign_experiment, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -127,19 +130,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_experiment_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -148,14 +147,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_experiment_service_grpc_transport. - CampaignExperimentServiceGrpcTransport, + default_class=campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_experiment_service_grpc_transport.CampaignExperimentServiceGrpcTransport( @@ -166,7 +165,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -176,7 +176,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -195,7 +196,7 @@ def get_campaign_experiment( Returns the requested campaign experiment in full detail. Args: - resource_name (str): The resource name of the campaign experiment to fetch. + resource_name (str): Required. The resource name of the campaign experiment to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -206,7 +207,7 @@ def get_campaign_experiment( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignExperiment` instance. + A :class:`~google.ads.googleads_v4.types.CampaignExperiment` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -217,20 +218,28 @@ def get_campaign_experiment( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_experiment' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_experiment, - default_retry=self. - _method_configs['GetCampaignExperiment'].retry, - default_timeout=self. - _method_configs['GetCampaignExperiment'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_experiment, + default_retry=self._method_configs['GetCampaignExperiment'].retry, + default_timeout=self._method_configs['GetCampaignExperiment'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.GetCampaignExperimentRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_experiment']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_experiment'](request, retry=retry, timeout=timeout, metadata=metadata) def create_campaign_experiment( self, @@ -253,11 +262,11 @@ def create_campaign_experiment( campaign experiment. Args: - customer_id (str): The ID of the customer whose campaign experiment is being created. - campaign_experiment (Union[dict, ~google.ads.googleads_v1.types.CampaignExperiment]): The campaign experiment to be created. + customer_id (str): Required. The ID of the customer whose campaign experiment is being created. + campaign_experiment (Union[dict, ~google.ads.googleads_v4.types.CampaignExperiment]): Required. The campaign experiment to be created. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignExperiment` + message :class:`~google.ads.googleads_v4.types.CampaignExperiment` validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -270,7 +279,7 @@ def create_campaign_experiment( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types._OperationFuture` instance. + A :class:`~google.ads.googleads_v4.types._OperationFuture` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -281,29 +290,35 @@ def create_campaign_experiment( """ # Wrap the transport method to add retry and timeout logic. if 'create_campaign_experiment' not in self._inner_api_calls: - self._inner_api_calls[ - 'create_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.create_campaign_experiment, - default_retry=self. - _method_configs['CreateCampaignExperiment'].retry, - default_timeout=self. - _method_configs['CreateCampaignExperiment'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['create_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.create_campaign_experiment, + default_retry=self._method_configs['CreateCampaignExperiment'].retry, + default_timeout=self._method_configs['CreateCampaignExperiment'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.CreateCampaignExperimentRequest( customer_id=customer_id, campaign_experiment=campaign_experiment, validate_only=validate_only, ) - operation = self._inner_api_calls['create_campaign_experiment']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + operation = self._inner_api_calls['create_campaign_experiment'](request, retry=retry, timeout=timeout, metadata=metadata) return google.api_core.operation.from_gapic( operation, self.transport._operations_client, empty_pb2.Empty, - metadata_type=campaign_experiment_service_pb2. - CreateCampaignExperimentMetadata, + metadata_type=campaign_experiment_service_pb2.CreateCampaignExperimentMetadata, ) def mutate_campaign_experiments( @@ -319,11 +334,11 @@ def mutate_campaign_experiments( Updates campaign experiments. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose campaign experiments are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignExperimentOperation]]): The list of operations to perform on individual campaign experiments. + customer_id (str): Required. The ID of the customer whose campaign experiments are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignExperimentOperation]]): Required. The list of operations to perform on individual campaign experiments. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignExperimentOperation` + message :class:`~google.ads.googleads_v4.types.CampaignExperimentOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -340,7 +355,7 @@ def mutate_campaign_experiments( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignExperimentsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignExperimentsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -351,15 +366,12 @@ def mutate_campaign_experiments( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_experiments' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_experiments'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_experiments, - default_retry=self. - _method_configs['MutateCampaignExperiments'].retry, - default_timeout=self. - _method_configs['MutateCampaignExperiments'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_experiments'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_experiments, + default_retry=self._method_configs['MutateCampaignExperiments'].retry, + default_timeout=self._method_configs['MutateCampaignExperiments'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.MutateCampaignExperimentsRequest( customer_id=customer_id, @@ -367,8 +379,18 @@ def mutate_campaign_experiments( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_experiments']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_experiments'](request, retry=retry, timeout=timeout, metadata=metadata) def graduate_campaign_experiment( self, @@ -382,8 +404,8 @@ def graduate_campaign_experiment( campaigns will start running independently with their own budgets. Args: - campaign_experiment (str): The resource name of the campaign experiment to graduate. - campaign_budget (str): Resource name of the budget to attach to the campaign graduated from the + campaign_experiment (str): Required. The resource name of the campaign experiment to graduate. + campaign_budget (str): Required. Resource name of the budget to attach to the campaign graduated from the experiment. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not @@ -395,7 +417,7 @@ def graduate_campaign_experiment( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GraduateCampaignExperimentResponse` instance. + A :class:`~google.ads.googleads_v4.types.GraduateCampaignExperimentResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -406,22 +428,29 @@ def graduate_campaign_experiment( """ # Wrap the transport method to add retry and timeout logic. if 'graduate_campaign_experiment' not in self._inner_api_calls: - self._inner_api_calls[ - 'graduate_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.graduate_campaign_experiment, - default_retry=self. - _method_configs['GraduateCampaignExperiment'].retry, - default_timeout=self. - _method_configs['GraduateCampaignExperiment'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['graduate_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.graduate_campaign_experiment, + default_retry=self._method_configs['GraduateCampaignExperiment'].retry, + default_timeout=self._method_configs['GraduateCampaignExperiment'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.GraduateCampaignExperimentRequest( campaign_experiment=campaign_experiment, campaign_budget=campaign_budget, ) - return self._inner_api_calls['graduate_campaign_experiment']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('campaign_experiment', campaign_experiment)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['graduate_campaign_experiment'](request, retry=retry, timeout=timeout, metadata=metadata) def promote_campaign_experiment( self, @@ -438,7 +467,7 @@ def promote_campaign_experiment( retrieved using the ListCampaignExperimentAsyncErrors method. Args: - campaign_experiment (str): The resource name of the campaign experiment to promote. + campaign_experiment (str): Required. The resource name of the campaign experiment to promote. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -449,7 +478,7 @@ def promote_campaign_experiment( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types._OperationFuture` instance. + A :class:`~google.ads.googleads_v4.types._OperationFuture` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -460,20 +489,28 @@ def promote_campaign_experiment( """ # Wrap the transport method to add retry and timeout logic. if 'promote_campaign_experiment' not in self._inner_api_calls: - self._inner_api_calls[ - 'promote_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.promote_campaign_experiment, - default_retry=self. - _method_configs['PromoteCampaignExperiment'].retry, - default_timeout=self. - _method_configs['PromoteCampaignExperiment'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['promote_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.promote_campaign_experiment, + default_retry=self._method_configs['PromoteCampaignExperiment'].retry, + default_timeout=self._method_configs['PromoteCampaignExperiment'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.PromoteCampaignExperimentRequest( - campaign_experiment=campaign_experiment, ) - operation = self._inner_api_calls['promote_campaign_experiment']( - request, retry=retry, timeout=timeout, metadata=metadata) + campaign_experiment=campaign_experiment, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('campaign_experiment', campaign_experiment)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + operation = self._inner_api_calls['promote_campaign_experiment'](request, retry=retry, timeout=timeout, metadata=metadata) return google.api_core.operation.from_gapic( operation, self.transport._operations_client, @@ -493,7 +530,7 @@ def end_campaign_experiment( time of the request. Args: - campaign_experiment (str): The resource name of the campaign experiment to end. + campaign_experiment (str): Required. The resource name of the campaign experiment to end. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -512,20 +549,28 @@ def end_campaign_experiment( """ # Wrap the transport method to add retry and timeout logic. if 'end_campaign_experiment' not in self._inner_api_calls: - self._inner_api_calls[ - 'end_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.end_campaign_experiment, - default_retry=self. - _method_configs['EndCampaignExperiment'].retry, - default_timeout=self. - _method_configs['EndCampaignExperiment'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['end_campaign_experiment'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.end_campaign_experiment, + default_retry=self._method_configs['EndCampaignExperiment'].retry, + default_timeout=self._method_configs['EndCampaignExperiment'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.EndCampaignExperimentRequest( - campaign_experiment=campaign_experiment, ) - self._inner_api_calls['end_campaign_experiment']( - request, retry=retry, timeout=timeout, metadata=metadata) + campaign_experiment=campaign_experiment, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('campaign_experiment', campaign_experiment)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + self._inner_api_calls['end_campaign_experiment'](request, retry=retry, timeout=timeout, metadata=metadata) def list_campaign_experiment_async_errors( self, @@ -540,7 +585,7 @@ def list_campaign_experiment_async_errors( Supports standard list paging. Args: - resource_name (str): The name of the campaign experiment from which to retrieve the async + resource_name (str): Required. The name of the campaign experiment from which to retrieve the async errors. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- @@ -558,7 +603,7 @@ def list_campaign_experiment_async_errors( Returns: A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v1.types.Status` instances. + is an iterable of :class:`~google.ads.googleads_v4.types.Status` instances. This object can also be configured to iterate over the pages of the response through the `options` parameter. @@ -571,27 +616,31 @@ def list_campaign_experiment_async_errors( """ # Wrap the transport method to add retry and timeout logic. if 'list_campaign_experiment_async_errors' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_campaign_experiment_async_errors'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_campaign_experiment_async_errors, - default_retry=self. - _method_configs['ListCampaignExperimentAsyncErrors'].retry, - default_timeout=self._method_configs[ - 'ListCampaignExperimentAsyncErrors'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['list_campaign_experiment_async_errors'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_campaign_experiment_async_errors, + default_retry=self._method_configs['ListCampaignExperimentAsyncErrors'].retry, + default_timeout=self._method_configs['ListCampaignExperimentAsyncErrors'].timeout, + client_info=self._client_info, + ) request = campaign_experiment_service_pb2.ListCampaignExperimentAsyncErrorsRequest( resource_name=resource_name, page_size=page_size, ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + iterator = google.api_core.page_iterator.GRPCIterator( client=None, - method=functools.partial( - self._inner_api_calls['list_campaign_experiment_async_errors'], - retry=retry, - timeout=timeout, - metadata=metadata), + method=functools.partial(self._inner_api_calls['list_campaign_experiment_async_errors'], retry=retry, timeout=timeout, metadata=metadata), request=request, items_field='errors', request_token_field='page_token', diff --git a/google/ads/google_ads/v4/services/campaign_experiment_service_client_config.py b/google/ads/google_ads/v4/services/campaign_experiment_service_client_config.py new file mode 100644 index 000000000..2c2cb56e0 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_experiment_service_client_config.py @@ -0,0 +1,61 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignExperimentService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignExperiment": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "CreateCampaignExperiment": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "MutateCampaignExperiments": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GraduateCampaignExperiment": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "PromoteCampaignExperiment": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "EndCampaignExperiment": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListCampaignExperimentAsyncErrors": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_extension_setting_service_client.py b/google/ads/google_ads/v4/services/campaign_extension_setting_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/campaign_extension_setting_service_client.py rename to google/ads/google_ads/v4/services/campaign_extension_setting_service_client.py index aefd3d86b..eaf4c14cb 100644 --- a/google/ads/google_ads/v1/services/campaign_extension_setting_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_extension_setting_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignExtensionSettingService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignExtensionSettingService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_extension_setting_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_extension_setting_service_pb2 +from google.ads.google_ads.v4.services import campaign_extension_setting_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_extension_setting_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_extension_setting_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignExtensionSettingServiceClient(object): @@ -41,7 +46,8 @@ class CampaignExtensionSettingServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignExtensionSettingService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignExtensionSettingService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def campaign_extension_setting_path(cls, customer, - campaign_extension_setting): + def campaign_extension_setting_path(cls, customer, campaign_extension_setting): """Return a fully-qualified campaign_extension_setting string.""" return google.api_core.path_template.expand( 'customers/{customer}/campaignExtensionSettings/{campaign_extension_setting}', @@ -74,12 +80,8 @@ def campaign_extension_setting_path(cls, customer, campaign_extension_setting=campaign_extension_setting, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_extension_setting_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - campaign_extension_setting_service_grpc_transport. - CampaignExtensionSettingServiceGrpcTransport, + default_class=campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_extension_setting_service_grpc_transport.CampaignExtensionSettingServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_campaign_extension_setting( Returns the requested campaign extension setting in full detail. Args: - resource_name (str): The resource name of the campaign extension setting to fetch. + resource_name (str): Required. The resource name of the campaign extension setting to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_campaign_extension_setting( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignExtensionSetting` instance. + A :class:`~google.ads.googleads_v4.types.CampaignExtensionSetting` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,20 +202,28 @@ def get_campaign_extension_setting( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_extension_setting' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_extension_setting, - default_retry=self. - _method_configs['GetCampaignExtensionSetting'].retry, - default_timeout=self. - _method_configs['GetCampaignExtensionSetting'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_extension_setting, + default_retry=self._method_configs['GetCampaignExtensionSetting'].retry, + default_timeout=self._method_configs['GetCampaignExtensionSetting'].timeout, + client_info=self._client_info, + ) request = campaign_extension_setting_service_pb2.GetCampaignExtensionSettingRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_extension_setting']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_extension_setting'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_campaign_extension_settings( self, @@ -232,13 +239,13 @@ def mutate_campaign_extension_settings( statuses are returned. Args: - customer_id (str): The ID of the customer whose campaign extension settings are being + customer_id (str): Required. The ID of the customer whose campaign extension settings are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignExtensionSettingOperation]]): The list of operations to perform on individual campaign extension + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignExtensionSettingOperation]]): Required. The list of operations to perform on individual campaign extension settings. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignExtensionSettingOperation` + message :class:`~google.ads.googleads_v4.types.CampaignExtensionSettingOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -255,7 +262,7 @@ def mutate_campaign_extension_settings( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignExtensionSettingsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignExtensionSettingsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -266,15 +273,12 @@ def mutate_campaign_extension_settings( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_extension_settings' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_extension_settings, - default_retry=self. - _method_configs['MutateCampaignExtensionSettings'].retry, - default_timeout=self. - _method_configs['MutateCampaignExtensionSettings'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_extension_settings, + default_retry=self._method_configs['MutateCampaignExtensionSettings'].retry, + default_timeout=self._method_configs['MutateCampaignExtensionSettings'].timeout, + client_info=self._client_info, + ) request = campaign_extension_setting_service_pb2.MutateCampaignExtensionSettingsRequest( customer_id=customer_id, @@ -282,5 +286,15 @@ def mutate_campaign_extension_settings( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_extension_settings']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_extension_settings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_extension_setting_service_client_config.py b/google/ads/google_ads/v4/services/campaign_extension_setting_service_client_config.py new file mode 100644 index 000000000..7cd8a5c8e --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_extension_setting_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignExtensionSettingService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignExtensionSetting": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignExtensionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_feed_service_client.py b/google/ads/google_ads/v4/services/campaign_feed_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/campaign_feed_service_client.py rename to google/ads/google_ads/v4/services/campaign_feed_service_client.py index f53778d6c..c16a12818 100644 --- a/google/ads/google_ads/v1/services/campaign_feed_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_feed_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignFeedService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignFeedService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_feed_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_feed_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_feed_service_pb2 +from google.ads.google_ads.v4.services import campaign_feed_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_feed_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_feed_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignFeedServiceClient(object): @@ -41,7 +46,8 @@ class CampaignFeedServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignFeedService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignFeedService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_feed_path(cls, customer, campaign_feed): """Return a fully-qualified campaign_feed string.""" @@ -73,12 +80,8 @@ def campaign_feed_path(cls, customer, campaign_feed): campaign_feed=campaign_feed, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_feed_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_feed_service_grpc_transport. - CampaignFeedServiceGrpcTransport, + default_class=campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_feed_service_grpc_transport.CampaignFeedServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign_feed(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign_feed( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested campaign feed in full detail. Args: - resource_name (str): The resource name of the campaign feed to fetch. + resource_name (str): Required. The resource name of the campaign feed to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_campaign_feed(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignFeed` instance. + A :class:`~google.ads.googleads_v4.types.CampaignFeed` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_campaign_feed(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_feed' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_feed'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_feed, - default_retry=self._method_configs['GetCampaignFeed']. - retry, - default_timeout=self._method_configs['GetCampaignFeed']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_feed'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_feed, + default_retry=self._method_configs['GetCampaignFeed'].retry, + default_timeout=self._method_configs['GetCampaignFeed'].timeout, + client_info=self._client_info, + ) request = campaign_feed_service_pb2.GetCampaignFeedRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_feed']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_campaign_feeds(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_feed'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_campaign_feeds( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes campaign feeds. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose campaign feeds are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignFeedOperation]]): The list of operations to perform on individual campaign feeds. + customer_id (str): Required. The ID of the customer whose campaign feeds are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignFeedOperation]]): Required. The list of operations to perform on individual campaign feeds. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignFeedOperation` + message :class:`~google.ads.googleads_v4.types.CampaignFeedOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +260,7 @@ def mutate_campaign_feeds(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignFeedsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignFeedsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +271,12 @@ def mutate_campaign_feeds(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_feeds' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_feeds'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_feeds, - default_retry=self._method_configs['MutateCampaignFeeds']. - retry, - default_timeout=self. - _method_configs['MutateCampaignFeeds'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_feeds'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_feeds, + default_retry=self._method_configs['MutateCampaignFeeds'].retry, + default_timeout=self._method_configs['MutateCampaignFeeds'].timeout, + client_info=self._client_info, + ) request = campaign_feed_service_pb2.MutateCampaignFeedsRequest( customer_id=customer_id, @@ -276,5 +284,15 @@ def mutate_campaign_feeds(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_feeds']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_feed_service_client_config.py b/google/ads/google_ads/v4/services/campaign_feed_service_client_config.py new file mode 100644 index 000000000..b3ae1dcd0 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_feed_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignFeedService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignFeed": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignFeeds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_label_service_client.py b/google/ads/google_ads/v4/services/campaign_label_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/campaign_label_service_client.py rename to google/ads/google_ads/v4/services/campaign_label_service_client.py index 013912e99..6a4d3f152 100644 --- a/google/ads/google_ads/v1/services/campaign_label_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignLabelService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignLabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_label_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_label_service_pb2 +from google.ads.google_ads.v4.services import campaign_label_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignLabelServiceClient(object): @@ -41,7 +46,8 @@ class CampaignLabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignLabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignLabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_label_path(cls, customer, campaign_label): """Return a fully-qualified campaign_label string.""" @@ -73,12 +80,8 @@ def campaign_label_path(cls, customer, campaign_label): campaign_label=campaign_label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_label_service_grpc_transport. - CampaignLabelServiceGrpcTransport, + default_class=campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_label_service_grpc_transport.CampaignLabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign_label(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign_label( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested campaign-label relationship in full detail. Args: - resource_name (str): The resource name of the campaign-label relationship to fetch. + resource_name (str): Required. The resource name of the campaign-label relationship to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_campaign_label(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignLabel` instance. + A :class:`~google.ads.googleads_v4.types.CampaignLabel` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_campaign_label(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_label, - default_retry=self._method_configs['GetCampaignLabel']. - retry, - default_timeout=self._method_configs['GetCampaignLabel']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_label, + default_retry=self._method_configs['GetCampaignLabel'].retry, + default_timeout=self._method_configs['GetCampaignLabel'].timeout, + client_info=self._client_info, + ) request = campaign_label_service_pb2.GetCampaignLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_label']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_campaign_labels(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_label'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_campaign_labels( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates and removes campaign-label relationships. Operation statuses are returned. Args: - customer_id (str): ID of the customer whose campaign-label relationships are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignLabelOperation]]): The list of operations to perform on campaign-label relationships. + customer_id (str): Required. ID of the customer whose campaign-label relationships are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignLabelOperation]]): Required. The list of operations to perform on campaign-label relationships. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignLabelOperation` + message :class:`~google.ads.googleads_v4.types.CampaignLabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +260,7 @@ def mutate_campaign_labels(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +271,12 @@ def mutate_campaign_labels(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_labels, - default_retry=self._method_configs['MutateCampaignLabels']. - retry, - default_timeout=self. - _method_configs['MutateCampaignLabels'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_labels, + default_retry=self._method_configs['MutateCampaignLabels'].retry, + default_timeout=self._method_configs['MutateCampaignLabels'].timeout, + client_info=self._client_info, + ) request = campaign_label_service_pb2.MutateCampaignLabelsRequest( customer_id=customer_id, @@ -276,5 +284,15 @@ def mutate_campaign_labels(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_label_service_client_config.py b/google/ads/google_ads/v4/services/campaign_label_service_client_config.py new file mode 100644 index 000000000..7ef1ad945 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignLabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_service_client.py b/google/ads/google_ads/v4/services/campaign_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/campaign_service_client.py rename to google/ads/google_ads/v4/services/campaign_service_client.py index 7752ea6f7..dba7c2ae0 100644 --- a/google/ads/google_ads/v1/services/campaign_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_service_pb2 +from google.ads.google_ads.v4.services import campaign_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignServiceClient(object): @@ -41,7 +46,8 @@ class CampaignServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_path(cls, customer, campaign): """Return a fully-qualified campaign string.""" @@ -73,12 +80,8 @@ def campaign_path(cls, customer, campaign): campaign=campaign, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_service_grpc_transport. - CampaignServiceGrpcTransport, + default_class=campaign_service_grpc_transport.CampaignServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_service_grpc_transport.CampaignServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_campaign(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_campaign( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested campaign in full detail. Args: - resource_name (str): The resource name of the campaign to fetch. + resource_name (str): Required. The resource name of the campaign to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_campaign(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Campaign` instance. + A :class:`~google.ads.googleads_v4.types.Campaign` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,47 @@ def get_campaign(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign, - default_retry=self._method_configs['GetCampaign'].retry, - default_timeout=self._method_configs['GetCampaign']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign, + default_retry=self._method_configs['GetCampaign'].retry, + default_timeout=self._method_configs['GetCampaign'].timeout, + client_info=self._client_info, + ) request = campaign_service_pb2.GetCampaignRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_campaigns(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_campaigns( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes campaigns. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose campaigns are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignOperation]]): The list of operations to perform on individual campaigns. + customer_id (str): Required. The ID of the customer whose campaigns are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignOperation]]): Required. The list of operations to perform on individual campaigns. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignOperation` + message :class:`~google.ads.googleads_v4.types.CampaignOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +259,7 @@ def mutate_campaigns(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,15 +270,12 @@ def mutate_campaigns(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaigns' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaigns'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaigns, - default_retry=self._method_configs['MutateCampaigns']. - retry, - default_timeout=self._method_configs['MutateCampaigns']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaigns'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaigns, + default_retry=self._method_configs['MutateCampaigns'].retry, + default_timeout=self._method_configs['MutateCampaigns'].timeout, + client_info=self._client_info, + ) request = campaign_service_pb2.MutateCampaignsRequest( customer_id=customer_id, @@ -274,5 +283,15 @@ def mutate_campaigns(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaigns']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaigns'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_service_client_config.py b/google/ads/google_ads/v4/services/campaign_service_client_config.py new file mode 100644 index 000000000..65ac4294b --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaign": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaigns": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/campaign_shared_set_service_client.py b/google/ads/google_ads/v4/services/campaign_shared_set_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/campaign_shared_set_service_client.py rename to google/ads/google_ads/v4/services/campaign_shared_set_service_client.py index 31cc697e2..fdd760510 100644 --- a/google/ads/google_ads/v1/services/campaign_shared_set_service_client.py +++ b/google/ads/google_ads/v4/services/campaign_shared_set_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CampaignSharedSetService API.""" + +"""Accesses the google.ads.googleads.v4.services CampaignSharedSetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import campaign_shared_set_service_client_config -from google.ads.google_ads.v1.services.transports import campaign_shared_set_service_grpc_transport -from google.ads.google_ads.v1.proto.services import campaign_shared_set_service_pb2 +from google.ads.google_ads.v4.services import campaign_shared_set_service_client_config +from google.ads.google_ads.v4.services.transports import campaign_shared_set_service_grpc_transport +from google.ads.google_ads.v4.proto.services import campaign_shared_set_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CampaignSharedSetServiceClient(object): @@ -41,7 +46,8 @@ class CampaignSharedSetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CampaignSharedSetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CampaignSharedSetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def campaign_shared_set_path(cls, customer, campaign_shared_set): """Return a fully-qualified campaign_shared_set string.""" @@ -73,12 +80,8 @@ def campaign_shared_set_path(cls, customer, campaign_shared_set): campaign_shared_set=campaign_shared_set, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = campaign_shared_set_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=campaign_shared_set_service_grpc_transport. - CampaignSharedSetServiceGrpcTransport, + default_class=campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = campaign_shared_set_service_grpc_transport.CampaignSharedSetServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_campaign_shared_set( Returns the requested campaign shared set in full detail. Args: - resource_name (str): The resource name of the campaign shared set to fetch. + resource_name (str): Required. The resource name of the campaign shared set to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_campaign_shared_set( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CampaignSharedSet` instance. + A :class:`~google.ads.googleads_v4.types.CampaignSharedSet` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_campaign_shared_set( """ # Wrap the transport method to add retry and timeout logic. if 'get_campaign_shared_set' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_campaign_shared_set'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_campaign_shared_set, - default_retry=self._method_configs['GetCampaignSharedSet']. - retry, - default_timeout=self. - _method_configs['GetCampaignSharedSet'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_campaign_shared_set'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_campaign_shared_set, + default_retry=self._method_configs['GetCampaignSharedSet'].retry, + default_timeout=self._method_configs['GetCampaignSharedSet'].timeout, + client_info=self._client_info, + ) request = campaign_shared_set_service_pb2.GetCampaignSharedSetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_campaign_shared_set']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_campaign_shared_set'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_campaign_shared_sets( self, @@ -229,11 +238,11 @@ def mutate_campaign_shared_sets( Creates or removes campaign shared sets. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose campaign shared sets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CampaignSharedSetOperation]]): The list of operations to perform on individual campaign shared sets. + customer_id (str): Required. The ID of the customer whose campaign shared sets are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CampaignSharedSetOperation]]): Required. The list of operations to perform on individual campaign shared sets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CampaignSharedSetOperation` + message :class:`~google.ads.googleads_v4.types.CampaignSharedSetOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -250,7 +259,7 @@ def mutate_campaign_shared_sets( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCampaignSharedSetsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCampaignSharedSetsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,15 +270,12 @@ def mutate_campaign_shared_sets( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_campaign_shared_sets' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_campaign_shared_sets'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_campaign_shared_sets, - default_retry=self. - _method_configs['MutateCampaignSharedSets'].retry, - default_timeout=self. - _method_configs['MutateCampaignSharedSets'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_campaign_shared_sets'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_campaign_shared_sets, + default_retry=self._method_configs['MutateCampaignSharedSets'].retry, + default_timeout=self._method_configs['MutateCampaignSharedSets'].timeout, + client_info=self._client_info, + ) request = campaign_shared_set_service_pb2.MutateCampaignSharedSetsRequest( customer_id=customer_id, @@ -277,5 +283,15 @@ def mutate_campaign_shared_sets( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_campaign_shared_sets']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_campaign_shared_sets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/campaign_shared_set_service_client_config.py b/google/ads/google_ads/v4/services/campaign_shared_set_service_client_config.py new file mode 100644 index 000000000..b8a905131 --- /dev/null +++ b/google/ads/google_ads/v4/services/campaign_shared_set_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CampaignSharedSetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCampaignSharedSet": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCampaignSharedSets": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/carrier_constant_service_client.py b/google/ads/google_ads/v4/services/carrier_constant_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/carrier_constant_service_client.py rename to google/ads/google_ads/v4/services/carrier_constant_service_client.py index 3f28fcf82..7499b0e7e 100644 --- a/google/ads/google_ads/v1/services/carrier_constant_service_client.py +++ b/google/ads/google_ads/v4/services/carrier_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CarrierConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services CarrierConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import carrier_constant_service_client_config -from google.ads.google_ads.v1.services.transports import carrier_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import carrier_constant_service_pb2 +from google.ads.google_ads.v4.services import carrier_constant_service_client_config +from google.ads.google_ads.v4.services.transports import carrier_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import carrier_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CarrierConstantServiceClient(object): @@ -41,7 +46,8 @@ class CarrierConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CarrierConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CarrierConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def carrier_constant_path(cls, carrier_constant): """Return a fully-qualified carrier_constant string.""" @@ -72,12 +79,8 @@ def carrier_constant_path(cls, carrier_constant): carrier_constant=carrier_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = carrier_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=carrier_constant_service_grpc_transport. - CarrierConstantServiceGrpcTransport, + default_class=carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = carrier_constant_service_grpc_transport.CarrierConstantServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -168,16 +169,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_carrier_constant(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_carrier_constant( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested carrier constant in full detail. Args: - resource_name (str): Resource name of the carrier constant to fetch. + resource_name (str): Required. Resource name of the carrier constant to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -188,7 +190,7 @@ def get_carrier_constant(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CarrierConstant` instance. + A :class:`~google.ads.googleads_v4.types.CarrierConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -199,17 +201,25 @@ def get_carrier_constant(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_carrier_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_carrier_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_carrier_constant, - default_retry=self._method_configs['GetCarrierConstant']. - retry, - default_timeout=self._method_configs['GetCarrierConstant']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_carrier_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_carrier_constant, + default_retry=self._method_configs['GetCarrierConstant'].retry, + default_timeout=self._method_configs['GetCarrierConstant'].timeout, + client_info=self._client_info, + ) request = carrier_constant_service_pb2.GetCarrierConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_carrier_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_carrier_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/carrier_constant_service_client_config.py b/google/ads/google_ads/v4/services/carrier_constant_service_client_config.py new file mode 100644 index 000000000..33fd7971b --- /dev/null +++ b/google/ads/google_ads/v4/services/carrier_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CarrierConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCarrierConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/change_status_service_client.py b/google/ads/google_ads/v4/services/change_status_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/change_status_service_client.py rename to google/ads/google_ads/v4/services/change_status_service_client.py index dd1100d25..0cd3115ed 100644 --- a/google/ads/google_ads/v1/services/change_status_service_client.py +++ b/google/ads/google_ads/v4/services/change_status_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ChangeStatusService API.""" + +"""Accesses the google.ads.googleads.v4.services ChangeStatusService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import change_status_service_client_config -from google.ads.google_ads.v1.services.transports import change_status_service_grpc_transport -from google.ads.google_ads.v1.proto.services import change_status_service_pb2 +from google.ads.google_ads.v4.services import change_status_service_client_config +from google.ads.google_ads.v4.services.transports import change_status_service_grpc_transport +from google.ads.google_ads.v4.proto.services import change_status_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ChangeStatusServiceClient(object): @@ -41,7 +46,8 @@ class ChangeStatusServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ChangeStatusService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ChangeStatusService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def change_status_path(cls, customer, change_status): """Return a fully-qualified change_status string.""" @@ -73,12 +80,8 @@ def change_status_path(cls, customer, change_status): change_status=change_status, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = change_status_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=change_status_service_grpc_transport. - ChangeStatusServiceGrpcTransport, + default_class=change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = change_status_service_grpc_transport.ChangeStatusServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_change_status(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_change_status( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested change status in full detail. Args: - resource_name (str): The resource name of the change status to fetch. + resource_name (str): Required. The resource name of the change status to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_change_status(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ChangeStatus` instance. + A :class:`~google.ads.googleads_v4.types.ChangeStatus` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_change_status(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_change_status' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_change_status'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_change_status, - default_retry=self._method_configs['GetChangeStatus']. - retry, - default_timeout=self._method_configs['GetChangeStatus']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_change_status'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_change_status, + default_retry=self._method_configs['GetChangeStatus'].retry, + default_timeout=self._method_configs['GetChangeStatus'].timeout, + client_info=self._client_info, + ) request = change_status_service_pb2.GetChangeStatusRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_change_status']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_change_status'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/change_status_service_client_config.py b/google/ads/google_ads/v4/services/change_status_service_client_config.py new file mode 100644 index 000000000..be4ee170c --- /dev/null +++ b/google/ads/google_ads/v4/services/change_status_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ChangeStatusService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetChangeStatus": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/click_view_service_client.py b/google/ads/google_ads/v4/services/click_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/click_view_service_client.py rename to google/ads/google_ads/v4/services/click_view_service_client.py index ba300e53a..e5b97ab62 100644 --- a/google/ads/google_ads/v1/services/click_view_service_client.py +++ b/google/ads/google_ads/v4/services/click_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ClickViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ClickViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import click_view_service_client_config -from google.ads.google_ads.v1.services.transports import click_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import click_view_service_pb2 +from google.ads.google_ads.v4.services import click_view_service_client_config +from google.ads.google_ads.v4.services.transports import click_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import click_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ClickViewServiceClient(object): @@ -41,7 +46,8 @@ class ClickViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ClickViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ClickViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def click_view_path(cls, customer, click_view): """Return a fully-qualified click_view string.""" @@ -73,12 +80,8 @@ def click_view_path(cls, customer, click_view): click_view=click_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = click_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=click_view_service_grpc_transport. - ClickViewServiceGrpcTransport, + default_class=click_view_service_grpc_transport.ClickViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = click_view_service_grpc_transport.ClickViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_click_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_click_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested click view in full detail. Args: - resource_name (str): The resource name of the click view to fetch. + resource_name (str): Required. The resource name of the click view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_click_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ClickView` instance. + A :class:`~google.ads.googleads_v4.types.ClickView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,16 +202,25 @@ def get_click_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_click_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_click_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_click_view, - default_retry=self._method_configs['GetClickView'].retry, - default_timeout=self._method_configs['GetClickView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_click_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_click_view, + default_retry=self._method_configs['GetClickView'].retry, + default_timeout=self._method_configs['GetClickView'].timeout, + client_info=self._client_info, + ) request = click_view_service_pb2.GetClickViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_click_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_click_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/click_view_service_client_config.py b/google/ads/google_ads/v4/services/click_view_service_client_config.py new file mode 100644 index 000000000..5dedf73e3 --- /dev/null +++ b/google/ads/google_ads/v4/services/click_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ClickViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetClickView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/conversion_action_service_client.py b/google/ads/google_ads/v4/services/conversion_action_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/conversion_action_service_client.py rename to google/ads/google_ads/v4/services/conversion_action_service_client.py index c1aaa0ac8..81b83ee6e 100644 --- a/google/ads/google_ads/v1/services/conversion_action_service_client.py +++ b/google/ads/google_ads/v4/services/conversion_action_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ConversionActionService API.""" + +"""Accesses the google.ads.googleads.v4.services ConversionActionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import conversion_action_service_client_config -from google.ads.google_ads.v1.services.transports import conversion_action_service_grpc_transport -from google.ads.google_ads.v1.proto.services import conversion_action_service_pb2 +from google.ads.google_ads.v4.services import conversion_action_service_client_config +from google.ads.google_ads.v4.services.transports import conversion_action_service_grpc_transport +from google.ads.google_ads.v4.proto.services import conversion_action_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ConversionActionServiceClient(object): @@ -41,7 +46,8 @@ class ConversionActionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ConversionActionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ConversionActionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def conversion_action_path(cls, customer, conversion_action): """Return a fully-qualified conversion_action string.""" @@ -73,12 +80,8 @@ def conversion_action_path(cls, customer, conversion_action): conversion_action=conversion_action, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = conversion_action_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=conversion_action_service_grpc_transport. - ConversionActionServiceGrpcTransport, + default_class=conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = conversion_action_service_grpc_transport.ConversionActionServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_conversion_action(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_conversion_action( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested conversion action. Args: - resource_name (str): The resource name of the conversion action to fetch. + resource_name (str): Required. The resource name of the conversion action to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_conversion_action(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ConversionAction` instance. + A :class:`~google.ads.googleads_v4.types.ConversionAction` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_conversion_action(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_conversion_action' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_conversion_action'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_conversion_action, - default_retry=self._method_configs['GetConversionAction']. - retry, - default_timeout=self. - _method_configs['GetConversionAction'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_conversion_action'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_conversion_action, + default_retry=self._method_configs['GetConversionAction'].retry, + default_timeout=self._method_configs['GetConversionAction'].timeout, + client_info=self._client_info, + ) request = conversion_action_service_pb2.GetConversionActionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_conversion_action']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_conversion_action'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_conversion_actions( self, @@ -229,11 +239,11 @@ def mutate_conversion_actions( returned. Args: - customer_id (str): The ID of the customer whose conversion actions are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.ConversionActionOperation]]): The list of operations to perform on individual conversion actions. + customer_id (str): Required. The ID of the customer whose conversion actions are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.ConversionActionOperation]]): Required. The list of operations to perform on individual conversion actions. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.ConversionActionOperation` + message :class:`~google.ads.googleads_v4.types.ConversionActionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -250,7 +260,7 @@ def mutate_conversion_actions( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateConversionActionsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateConversionActionsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -261,15 +271,12 @@ def mutate_conversion_actions( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_conversion_actions' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_conversion_actions'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_conversion_actions, - default_retry=self. - _method_configs['MutateConversionActions'].retry, - default_timeout=self. - _method_configs['MutateConversionActions'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_conversion_actions'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_conversion_actions, + default_retry=self._method_configs['MutateConversionActions'].retry, + default_timeout=self._method_configs['MutateConversionActions'].timeout, + client_info=self._client_info, + ) request = conversion_action_service_pb2.MutateConversionActionsRequest( customer_id=customer_id, @@ -277,5 +284,15 @@ def mutate_conversion_actions( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_conversion_actions']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_conversion_actions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/conversion_action_service_client_config.py b/google/ads/google_ads/v4/services/conversion_action_service_client_config.py new file mode 100644 index 000000000..5999ede3b --- /dev/null +++ b/google/ads/google_ads/v4/services/conversion_action_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ConversionActionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetConversionAction": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateConversionActions": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.py b/google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.py rename to google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client.py index 72a2e7dfd..f5a432295 100644 --- a/google/ads/google_ads/v1/services/conversion_adjustment_upload_service_client.py +++ b/google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ConversionAdjustmentUploadService API.""" + +"""Accesses the google.ads.googleads.v4.services ConversionAdjustmentUploadService API.""" import pkg_resources import warnings @@ -22,14 +23,18 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers -from google.ads.google_ads.v1.services import conversion_adjustment_upload_service_client_config -from google.ads.google_ads.v1.services.transports import conversion_adjustment_upload_service_grpc_transport -from google.ads.google_ads.v1.proto.services import conversion_adjustment_upload_service_pb2 +from google.ads.google_ads.v4.services import conversion_adjustment_upload_service_client_config +from google.ads.google_ads.v4.services.transports import conversion_adjustment_upload_service_grpc_transport +from google.ads.google_ads.v4.proto.services import conversion_adjustment_upload_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ConversionAdjustmentUploadServiceClient(object): @@ -40,7 +45,8 @@ class ConversionAdjustmentUploadServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ConversionAdjustmentUploadService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ConversionAdjustmentUploadService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -63,12 +69,8 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -101,19 +103,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = conversion_adjustment_upload_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -122,15 +120,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - conversion_adjustment_upload_service_grpc_transport. - ConversionAdjustmentUploadServiceGrpcTransport, + default_class=conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = conversion_adjustment_upload_service_grpc_transport.ConversionAdjustmentUploadServiceGrpcTransport( @@ -141,7 +138,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -151,7 +149,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -173,15 +172,18 @@ def upload_conversion_adjustments( Processes the given conversion adjustments. Args: - customer_id (str): The ID of the customer performing the upload. - conversion_adjustments (list[Union[dict, ~google.ads.googleads_v1.types.ConversionAdjustment]]): The conversion adjustments that are being uploaded. + customer_id (str): Required. The ID of the customer performing the upload. + conversion_adjustments (list[Union[dict, ~google.ads.googleads_v4.types.ConversionAdjustment]]): Required. The conversion adjustments that are being uploaded. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.ConversionAdjustment` - partial_failure (bool): If true, successful operations will be carried out and invalid + message :class:`~google.ads.googleads_v4.types.ConversionAdjustment` + partial_failure (bool): Required. If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. This should always be set to true. + See + https://developers.google.com/google-ads/api/docs/best-practices/partial-failures + for more information about partial failure. validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -194,7 +196,7 @@ def upload_conversion_adjustments( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.UploadConversionAdjustmentsResponse` instance. + A :class:`~google.ads.googleads_v4.types.UploadConversionAdjustmentsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -205,15 +207,12 @@ def upload_conversion_adjustments( """ # Wrap the transport method to add retry and timeout logic. if 'upload_conversion_adjustments' not in self._inner_api_calls: - self._inner_api_calls[ - 'upload_conversion_adjustments'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.upload_conversion_adjustments, - default_retry=self. - _method_configs['UploadConversionAdjustments'].retry, - default_timeout=self. - _method_configs['UploadConversionAdjustments'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['upload_conversion_adjustments'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.upload_conversion_adjustments, + default_retry=self._method_configs['UploadConversionAdjustments'].retry, + default_timeout=self._method_configs['UploadConversionAdjustments'].timeout, + client_info=self._client_info, + ) request = conversion_adjustment_upload_service_pb2.UploadConversionAdjustmentsRequest( customer_id=customer_id, @@ -221,5 +220,15 @@ def upload_conversion_adjustments( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['upload_conversion_adjustments']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['upload_conversion_adjustments'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client_config.py b/google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client_config.py new file mode 100644 index 000000000..a13d8dade --- /dev/null +++ b/google/ads/google_ads/v4/services/conversion_adjustment_upload_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ConversionAdjustmentUploadService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "UploadConversionAdjustments": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/conversion_upload_service_client.py b/google/ads/google_ads/v4/services/conversion_upload_service_client.py similarity index 72% rename from google/ads/google_ads/v1/services/conversion_upload_service_client.py rename to google/ads/google_ads/v4/services/conversion_upload_service_client.py index 25a86f684..a17ec0535 100644 --- a/google/ads/google_ads/v1/services/conversion_upload_service_client.py +++ b/google/ads/google_ads/v4/services/conversion_upload_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ConversionUploadService API.""" + +"""Accesses the google.ads.googleads.v4.services ConversionUploadService API.""" import pkg_resources import warnings @@ -22,14 +23,18 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers -from google.ads.google_ads.v1.services import conversion_upload_service_client_config -from google.ads.google_ads.v1.services.transports import conversion_upload_service_grpc_transport -from google.ads.google_ads.v1.proto.services import conversion_upload_service_pb2 +from google.ads.google_ads.v4.services import conversion_upload_service_client_config +from google.ads.google_ads.v4.services.transports import conversion_upload_service_grpc_transport +from google.ads.google_ads.v4.proto.services import conversion_upload_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ConversionUploadServiceClient(object): @@ -40,7 +45,8 @@ class ConversionUploadServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ConversionUploadService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ConversionUploadService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -63,12 +69,8 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -101,19 +103,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = conversion_upload_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -122,14 +120,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=conversion_upload_service_grpc_transport. - ConversionUploadServiceGrpcTransport, + default_class=conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = conversion_upload_service_grpc_transport.ConversionUploadServiceGrpcTransport( @@ -140,7 +138,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -150,7 +149,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -172,15 +172,18 @@ def upload_click_conversions( Processes the given click conversions. Args: - customer_id (str): The ID of the customer performing the upload. - conversions (list[Union[dict, ~google.ads.googleads_v1.types.ClickConversion]]): The conversions that are being uploaded. + customer_id (str): Required. The ID of the customer performing the upload. + conversions (list[Union[dict, ~google.ads.googleads_v4.types.ClickConversion]]): Required. The conversions that are being uploaded. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.ClickConversion` - partial_failure (bool): If true, successful operations will be carried out and invalid + message :class:`~google.ads.googleads_v4.types.ClickConversion` + partial_failure (bool): Required. If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. This should always be set to true. + See + https://developers.google.com/google-ads/api/docs/best-practices/partial-failures + for more information about partial failure. validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -193,7 +196,7 @@ def upload_click_conversions( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.UploadClickConversionsResponse` instance. + A :class:`~google.ads.googleads_v4.types.UploadClickConversionsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -204,15 +207,12 @@ def upload_click_conversions( """ # Wrap the transport method to add retry and timeout logic. if 'upload_click_conversions' not in self._inner_api_calls: - self._inner_api_calls[ - 'upload_click_conversions'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.upload_click_conversions, - default_retry=self. - _method_configs['UploadClickConversions'].retry, - default_timeout=self. - _method_configs['UploadClickConversions'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['upload_click_conversions'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.upload_click_conversions, + default_retry=self._method_configs['UploadClickConversions'].retry, + default_timeout=self._method_configs['UploadClickConversions'].timeout, + client_info=self._client_info, + ) request = conversion_upload_service_pb2.UploadClickConversionsRequest( customer_id=customer_id, @@ -220,8 +220,18 @@ def upload_click_conversions( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['upload_click_conversions']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['upload_click_conversions'](request, retry=retry, timeout=timeout, metadata=metadata) def upload_call_conversions( self, @@ -236,15 +246,18 @@ def upload_call_conversions( Processes the given call conversions. Args: - customer_id (str): The ID of the customer performing the upload. - conversions (list[Union[dict, ~google.ads.googleads_v1.types.CallConversion]]): The conversions that are being uploaded. + customer_id (str): Required. The ID of the customer performing the upload. + conversions (list[Union[dict, ~google.ads.googleads_v4.types.CallConversion]]): Required. The conversions that are being uploaded. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CallConversion` - partial_failure (bool): If true, successful operations will be carried out and invalid + message :class:`~google.ads.googleads_v4.types.CallConversion` + partial_failure (bool): Required. If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. This should always be set to true. + See + https://developers.google.com/google-ads/api/docs/best-practices/partial-failures + for more information about partial failure. validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -257,7 +270,7 @@ def upload_call_conversions( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.UploadCallConversionsResponse` instance. + A :class:`~google.ads.googleads_v4.types.UploadCallConversionsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -268,15 +281,12 @@ def upload_call_conversions( """ # Wrap the transport method to add retry and timeout logic. if 'upload_call_conversions' not in self._inner_api_calls: - self._inner_api_calls[ - 'upload_call_conversions'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.upload_call_conversions, - default_retry=self. - _method_configs['UploadCallConversions'].retry, - default_timeout=self. - _method_configs['UploadCallConversions'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['upload_call_conversions'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.upload_call_conversions, + default_retry=self._method_configs['UploadCallConversions'].retry, + default_timeout=self._method_configs['UploadCallConversions'].timeout, + client_info=self._client_info, + ) request = conversion_upload_service_pb2.UploadCallConversionsRequest( customer_id=customer_id, @@ -284,5 +294,15 @@ def upload_call_conversions( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['upload_call_conversions']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['upload_call_conversions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/conversion_upload_service_client_config.py b/google/ads/google_ads/v4/services/conversion_upload_service_client_config.py new file mode 100644 index 000000000..13dad2a82 --- /dev/null +++ b/google/ads/google_ads/v4/services/conversion_upload_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ConversionUploadService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "UploadClickConversions": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "UploadCallConversions": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/currency_constant_service_client.py b/google/ads/google_ads/v4/services/currency_constant_service_client.py new file mode 100644 index 000000000..5a6a8f1a9 --- /dev/null +++ b/google/ads/google_ads/v4/services/currency_constant_service_client.py @@ -0,0 +1,225 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services CurrencyConstantService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import currency_constant_service_client_config +from google.ads.google_ads.v4.services.transports import currency_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import currency_constant_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class CurrencyConstantServiceClient(object): + """Service to fetch currency constants.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CurrencyConstantService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + CurrencyConstantServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def currency_constant_path(cls, currency_constant): + """Return a fully-qualified currency_constant string.""" + return google.api_core.path_template.expand( + 'currencyConstants/{currency_constant}', + currency_constant=currency_constant, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.CurrencyConstantServiceGrpcTransport, + Callable[[~.Credentials, type], ~.CurrencyConstantServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = currency_constant_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=currency_constant_service_grpc_transport.CurrencyConstantServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = currency_constant_service_grpc_transport.CurrencyConstantServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_currency_constant( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested currency constant. + + Args: + resource_name (str): Required. Resource name of the currency constant to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.CurrencyConstant` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_currency_constant' not in self._inner_api_calls: + self._inner_api_calls['get_currency_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_currency_constant, + default_retry=self._method_configs['GetCurrencyConstant'].retry, + default_timeout=self._method_configs['GetCurrencyConstant'].timeout, + client_info=self._client_info, + ) + + request = currency_constant_service_pb2.GetCurrencyConstantRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_currency_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/currency_constant_service_client_config.py b/google/ads/google_ads/v4/services/currency_constant_service_client_config.py new file mode 100644 index 000000000..97f85df98 --- /dev/null +++ b/google/ads/google_ads/v4/services/currency_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CurrencyConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCurrencyConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/custom_interest_service_client.py b/google/ads/google_ads/v4/services/custom_interest_service_client.py similarity index 72% rename from google/ads/google_ads/v1/services/custom_interest_service_client.py rename to google/ads/google_ads/v4/services/custom_interest_service_client.py index 7895b8ed4..3df9e2e62 100644 --- a/google/ads/google_ads/v1/services/custom_interest_service_client.py +++ b/google/ads/google_ads/v4/services/custom_interest_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomInterestService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomInterestService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import custom_interest_service_client_config -from google.ads.google_ads.v1.services.transports import custom_interest_service_grpc_transport -from google.ads.google_ads.v1.proto.services import custom_interest_service_pb2 +from google.ads.google_ads.v4.services import custom_interest_service_client_config +from google.ads.google_ads.v4.services.transports import custom_interest_service_grpc_transport +from google.ads.google_ads.v4.proto.services import custom_interest_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomInterestServiceClient(object): @@ -41,7 +46,8 @@ class CustomInterestServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomInterestService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomInterestService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def custom_interest_path(cls, customer, custom_interest): """Return a fully-qualified custom_interest string.""" @@ -73,12 +80,8 @@ def custom_interest_path(cls, customer, custom_interest): custom_interest=custom_interest, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = custom_interest_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=custom_interest_service_grpc_transport. - CustomInterestServiceGrpcTransport, + default_class=custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = custom_interest_service_grpc_transport.CustomInterestServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_custom_interest(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_custom_interest( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested custom interest in full detail. Args: - resource_name (str): The resource name of the custom interest to fetch. + resource_name (str): Required. The resource name of the custom interest to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_custom_interest(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomInterest` instance. + A :class:`~google.ads.googleads_v4.types.CustomInterest` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_custom_interest(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_custom_interest' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_custom_interest'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_custom_interest, - default_retry=self._method_configs['GetCustomInterest']. - retry, - default_timeout=self._method_configs['GetCustomInterest']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_custom_interest'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_custom_interest, + default_retry=self._method_configs['GetCustomInterest'].retry, + default_timeout=self._method_configs['GetCustomInterest'].timeout, + client_info=self._client_info, + ) request = custom_interest_service_pb2.GetCustomInterestRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_custom_interest']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_custom_interest'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_custom_interests( self, @@ -227,11 +237,11 @@ def mutate_custom_interests( Creates or updates custom interests. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose custom interests are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomInterestOperation]]): The list of operations to perform on individual custom interests. + customer_id (str): Required. The ID of the customer whose custom interests are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomInterestOperation]]): Required. The list of operations to perform on individual custom interests. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomInterestOperation` + message :class:`~google.ads.googleads_v4.types.CustomInterestOperation` validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -244,7 +254,7 @@ def mutate_custom_interests( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomInterestsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomInterestsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -255,20 +265,27 @@ def mutate_custom_interests( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_custom_interests' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_custom_interests'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_custom_interests, - default_retry=self. - _method_configs['MutateCustomInterests'].retry, - default_timeout=self. - _method_configs['MutateCustomInterests'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_custom_interests'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_custom_interests, + default_retry=self._method_configs['MutateCustomInterests'].retry, + default_timeout=self._method_configs['MutateCustomInterests'].timeout, + client_info=self._client_info, + ) request = custom_interest_service_pb2.MutateCustomInterestsRequest( customer_id=customer_id, operations=operations, validate_only=validate_only, ) - return self._inner_api_calls['mutate_custom_interests']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_custom_interests'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/custom_interest_service_client_config.py b/google/ads/google_ads/v4/services/custom_interest_service_client_config.py new file mode 100644 index 000000000..0704b6a45 --- /dev/null +++ b/google/ads/google_ads/v4/services/custom_interest_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomInterestService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomInterest": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomInterests": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_client_link_service_client.py b/google/ads/google_ads/v4/services/customer_client_link_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/customer_client_link_service_client.py rename to google/ads/google_ads/v4/services/customer_client_link_service_client.py index 7bb5d0d8b..a46b29da0 100644 --- a/google/ads/google_ads/v1/services/customer_client_link_service_client.py +++ b/google/ads/google_ads/v4/services/customer_client_link_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerClientLinkService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerClientLinkService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_client_link_service_client_config -from google.ads.google_ads.v1.services.transports import customer_client_link_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_client_link_service_pb2 +from google.ads.google_ads.v4.services import customer_client_link_service_client_config +from google.ads.google_ads.v4.services.transports import customer_client_link_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_client_link_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerClientLinkServiceClient(object): @@ -41,7 +46,8 @@ class CustomerClientLinkServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerClientLinkService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerClientLinkService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def customer_client_link_path(cls, customer, customer_client_link): """Return a fully-qualified customer_client_link string.""" @@ -73,12 +80,8 @@ def customer_client_link_path(cls, customer, customer_client_link): customer_client_link=customer_client_link, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_client_link_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_client_link_service_grpc_transport. - CustomerClientLinkServiceGrpcTransport, + default_class=customer_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_client_link_service_grpc_transport.CustomerClientLinkServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_customer_client_link( Returns the requested CustomerClientLink in full detail. Args: - resource_name (str): The resource name of the customer client link to fetch. + resource_name (str): Required. The resource name of the customer client link to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_customer_client_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerClientLink` instance. + A :class:`~google.ads.googleads_v4.types.CustomerClientLink` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_customer_client_link( """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_client_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_client_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_client_link, - default_retry=self. - _method_configs['GetCustomerClientLink'].retry, - default_timeout=self. - _method_configs['GetCustomerClientLink'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_client_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_client_link, + default_retry=self._method_configs['GetCustomerClientLink'].retry, + default_timeout=self._method_configs['GetCustomerClientLink'].timeout, + client_info=self._client_info, + ) request = customer_client_link_service_pb2.GetCustomerClientLinkRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_client_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_client_link'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_customer_client_link( self, @@ -227,11 +236,11 @@ def mutate_customer_client_link( Creates or updates a customer client link. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose customer link are being modified. - operation_ (Union[dict, ~google.ads.googleads_v1.types.CustomerClientLinkOperation]): The operation to perform on the individual CustomerClientLink. + customer_id (str): Required. The ID of the customer whose customer link are being modified. + operation_ (Union[dict, ~google.ads.googleads_v4.types.CustomerClientLinkOperation]): Required. The operation to perform on the individual CustomerClientLink. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerClientLinkOperation` + message :class:`~google.ads.googleads_v4.types.CustomerClientLinkOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -242,7 +251,7 @@ def mutate_customer_client_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerClientLinkResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerClientLinkResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -253,19 +262,26 @@ def mutate_customer_client_link( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer_client_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_client_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_client_link, - default_retry=self. - _method_configs['MutateCustomerClientLink'].retry, - default_timeout=self. - _method_configs['MutateCustomerClientLink'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer_client_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_client_link, + default_retry=self._method_configs['MutateCustomerClientLink'].retry, + default_timeout=self._method_configs['MutateCustomerClientLink'].timeout, + client_info=self._client_info, + ) request = customer_client_link_service_pb2.MutateCustomerClientLinkRequest( customer_id=customer_id, operation=operation_, ) - return self._inner_api_calls['mutate_customer_client_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_client_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_client_link_service_client_config.py b/google/ads/google_ads/v4/services/customer_client_link_service_client_config.py new file mode 100644 index 000000000..ab8d48a80 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_client_link_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerClientLinkService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerClientLink": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerClientLink": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_client_service_client.py b/google/ads/google_ads/v4/services/customer_client_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/customer_client_service_client.py rename to google/ads/google_ads/v4/services/customer_client_service_client.py index c9336b1e1..3a930355c 100644 --- a/google/ads/google_ads/v1/services/customer_client_service_client.py +++ b/google/ads/google_ads/v4/services/customer_client_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerClientService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerClientService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_client_service_client_config -from google.ads.google_ads.v1.services.transports import customer_client_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_client_service_pb2 +from google.ads.google_ads.v4.services import customer_client_service_client_config +from google.ads.google_ads.v4.services.transports import customer_client_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_client_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerClientServiceClient(object): @@ -41,7 +46,8 @@ class CustomerClientServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerClientService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerClientService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def customer_client_path(cls, customer, customer_client): """Return a fully-qualified customer_client string.""" @@ -73,12 +80,8 @@ def customer_client_path(cls, customer, customer_client): customer_client=customer_client, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_client_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_client_service_grpc_transport. - CustomerClientServiceGrpcTransport, + default_class=customer_client_service_grpc_transport.CustomerClientServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_client_service_grpc_transport.CustomerClientServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_customer_client(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_customer_client( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested client in full detail. Args: - resource_name (str): The resource name of the client to fetch. + resource_name (str): Required. The resource name of the client to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_customer_client(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerClient` instance. + A :class:`~google.ads.googleads_v4.types.CustomerClient` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_customer_client(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_client' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_client'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_client, - default_retry=self._method_configs['GetCustomerClient']. - retry, - default_timeout=self._method_configs['GetCustomerClient']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_client'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_client, + default_retry=self._method_configs['GetCustomerClient'].retry, + default_timeout=self._method_configs['GetCustomerClient'].timeout, + client_info=self._client_info, + ) request = customer_client_service_pb2.GetCustomerClientRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_client']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_client'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_client_service_client_config.py b/google/ads/google_ads/v4/services/customer_client_service_client_config.py new file mode 100644 index 000000000..bc7cc7286 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_client_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerClientService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerClient": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_extension_setting_service_client.py b/google/ads/google_ads/v4/services/customer_extension_setting_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/customer_extension_setting_service_client.py rename to google/ads/google_ads/v4/services/customer_extension_setting_service_client.py index 4a76e09e6..ca7274472 100644 --- a/google/ads/google_ads/v1/services/customer_extension_setting_service_client.py +++ b/google/ads/google_ads/v4/services/customer_extension_setting_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerExtensionSettingService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerExtensionSettingService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_extension_setting_service_client_config -from google.ads.google_ads.v1.services.transports import customer_extension_setting_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_extension_setting_service_pb2 +from google.ads.google_ads.v4.services import customer_extension_setting_service_client_config +from google.ads.google_ads.v4.services.transports import customer_extension_setting_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_extension_setting_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerExtensionSettingServiceClient(object): @@ -41,7 +46,8 @@ class CustomerExtensionSettingServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerExtensionSettingService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerExtensionSettingService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def customer_extension_setting_path(cls, customer, - customer_extension_setting): + def customer_extension_setting_path(cls, customer, customer_extension_setting): """Return a fully-qualified customer_extension_setting string.""" return google.api_core.path_template.expand( 'customers/{customer}/customerExtensionSettings/{customer_extension_setting}', @@ -74,12 +80,8 @@ def customer_extension_setting_path(cls, customer, customer_extension_setting=customer_extension_setting, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_extension_setting_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - customer_extension_setting_service_grpc_transport. - CustomerExtensionSettingServiceGrpcTransport, + default_class=customer_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_extension_setting_service_grpc_transport.CustomerExtensionSettingServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_customer_extension_setting( Returns the requested customer extension setting in full detail. Args: - resource_name (str): The resource name of the customer extension setting to fetch. + resource_name (str): Required. The resource name of the customer extension setting to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_customer_extension_setting( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerExtensionSetting` instance. + A :class:`~google.ads.googleads_v4.types.CustomerExtensionSetting` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,20 +202,28 @@ def get_customer_extension_setting( """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_extension_setting' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_extension_setting, - default_retry=self. - _method_configs['GetCustomerExtensionSetting'].retry, - default_timeout=self. - _method_configs['GetCustomerExtensionSetting'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_extension_setting'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_extension_setting, + default_retry=self._method_configs['GetCustomerExtensionSetting'].retry, + default_timeout=self._method_configs['GetCustomerExtensionSetting'].timeout, + client_info=self._client_info, + ) request = customer_extension_setting_service_pb2.GetCustomerExtensionSettingRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_extension_setting']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_extension_setting'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_customer_extension_settings( self, @@ -232,13 +239,13 @@ def mutate_customer_extension_settings( statuses are returned. Args: - customer_id (str): The ID of the customer whose customer extension settings are being + customer_id (str): Required. The ID of the customer whose customer extension settings are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomerExtensionSettingOperation]]): The list of operations to perform on individual customer extension + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomerExtensionSettingOperation]]): Required. The list of operations to perform on individual customer extension settings. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerExtensionSettingOperation` + message :class:`~google.ads.googleads_v4.types.CustomerExtensionSettingOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -255,7 +262,7 @@ def mutate_customer_extension_settings( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerExtensionSettingsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerExtensionSettingsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -266,15 +273,12 @@ def mutate_customer_extension_settings( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer_extension_settings' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_extension_settings, - default_retry=self. - _method_configs['MutateCustomerExtensionSettings'].retry, - default_timeout=self. - _method_configs['MutateCustomerExtensionSettings'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer_extension_settings'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_extension_settings, + default_retry=self._method_configs['MutateCustomerExtensionSettings'].retry, + default_timeout=self._method_configs['MutateCustomerExtensionSettings'].timeout, + client_info=self._client_info, + ) request = customer_extension_setting_service_pb2.MutateCustomerExtensionSettingsRequest( customer_id=customer_id, @@ -282,5 +286,15 @@ def mutate_customer_extension_settings( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_customer_extension_settings']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_extension_settings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_extension_setting_service_client_config.py b/google/ads/google_ads/v4/services/customer_extension_setting_service_client_config.py new file mode 100644 index 000000000..7a3dac7a1 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_extension_setting_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerExtensionSettingService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerExtensionSetting": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerExtensionSettings": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_feed_service_client.py b/google/ads/google_ads/v4/services/customer_feed_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/customer_feed_service_client.py rename to google/ads/google_ads/v4/services/customer_feed_service_client.py index 6e8bb1300..8dcd9fc26 100644 --- a/google/ads/google_ads/v1/services/customer_feed_service_client.py +++ b/google/ads/google_ads/v4/services/customer_feed_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerFeedService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerFeedService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_feed_service_client_config -from google.ads.google_ads.v1.services.transports import customer_feed_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_feed_service_pb2 +from google.ads.google_ads.v4.services import customer_feed_service_client_config +from google.ads.google_ads.v4.services.transports import customer_feed_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_feed_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerFeedServiceClient(object): @@ -41,7 +46,8 @@ class CustomerFeedServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerFeedService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerFeedService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def customer_feed_path(cls, customer, customer_feed): """Return a fully-qualified customer_feed string.""" @@ -73,12 +80,8 @@ def customer_feed_path(cls, customer, customer_feed): customer_feed=customer_feed, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_feed_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_feed_service_grpc_transport. - CustomerFeedServiceGrpcTransport, + default_class=customer_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_feed_service_grpc_transport.CustomerFeedServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_customer_feed(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_customer_feed( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested customer feed in full detail. Args: - resource_name (str): The resource name of the customer feed to fetch. + resource_name (str): Required. The resource name of the customer feed to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_customer_feed(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerFeed` instance. + A :class:`~google.ads.googleads_v4.types.CustomerFeed` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_customer_feed(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_feed' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_feed'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_feed, - default_retry=self._method_configs['GetCustomerFeed']. - retry, - default_timeout=self._method_configs['GetCustomerFeed']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_feed'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_feed, + default_retry=self._method_configs['GetCustomerFeed'].retry, + default_timeout=self._method_configs['GetCustomerFeed'].timeout, + client_info=self._client_info, + ) request = customer_feed_service_pb2.GetCustomerFeedRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_feed']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_customer_feeds(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_feed'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_customer_feeds( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes customer feeds. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose customer feeds are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomerFeedOperation]]): The list of operations to perform on individual customer feeds. + customer_id (str): Required. The ID of the customer whose customer feeds are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomerFeedOperation]]): Required. The list of operations to perform on individual customer feeds. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerFeedOperation` + message :class:`~google.ads.googleads_v4.types.CustomerFeedOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +260,7 @@ def mutate_customer_feeds(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerFeedsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerFeedsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +271,12 @@ def mutate_customer_feeds(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer_feeds' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_feeds'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_feeds, - default_retry=self._method_configs['MutateCustomerFeeds']. - retry, - default_timeout=self. - _method_configs['MutateCustomerFeeds'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer_feeds'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_feeds, + default_retry=self._method_configs['MutateCustomerFeeds'].retry, + default_timeout=self._method_configs['MutateCustomerFeeds'].timeout, + client_info=self._client_info, + ) request = customer_feed_service_pb2.MutateCustomerFeedsRequest( customer_id=customer_id, @@ -276,5 +284,15 @@ def mutate_customer_feeds(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_customer_feeds']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_feed_service_client_config.py b/google/ads/google_ads/v4/services/customer_feed_service_client_config.py new file mode 100644 index 000000000..423b11a63 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_feed_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerFeedService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerFeed": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerFeeds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_label_service_client.py b/google/ads/google_ads/v4/services/customer_label_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/customer_label_service_client.py rename to google/ads/google_ads/v4/services/customer_label_service_client.py index dd2ef7d4d..f9320ce64 100644 --- a/google/ads/google_ads/v1/services/customer_label_service_client.py +++ b/google/ads/google_ads/v4/services/customer_label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerLabelService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerLabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_label_service_client_config -from google.ads.google_ads.v1.services.transports import customer_label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_label_service_pb2 +from google.ads.google_ads.v4.services import customer_label_service_client_config +from google.ads.google_ads.v4.services.transports import customer_label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerLabelServiceClient(object): @@ -41,7 +46,8 @@ class CustomerLabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerLabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerLabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def customer_label_path(cls, customer, customer_label): """Return a fully-qualified customer_label string.""" @@ -73,12 +80,8 @@ def customer_label_path(cls, customer, customer_label): customer_label=customer_label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_label_service_grpc_transport. - CustomerLabelServiceGrpcTransport, + default_class=customer_label_service_grpc_transport.CustomerLabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_label_service_grpc_transport.CustomerLabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_customer_label(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_customer_label( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested customer-label relationship in full detail. Args: - resource_name (str): The resource name of the customer-label relationship to fetch. + resource_name (str): Required. The resource name of the customer-label relationship to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_customer_label(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerLabel` instance. + A :class:`~google.ads.googleads_v4.types.CustomerLabel` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_customer_label(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_label, - default_retry=self._method_configs['GetCustomerLabel']. - retry, - default_timeout=self._method_configs['GetCustomerLabel']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_label, + default_retry=self._method_configs['GetCustomerLabel'].retry, + default_timeout=self._method_configs['GetCustomerLabel'].timeout, + client_info=self._client_info, + ) request = customer_label_service_pb2.GetCustomerLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_label']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_customer_labels(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_label'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_customer_labels( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates and removes customer-label relationships. Operation statuses are returned. Args: - customer_id (str): ID of the customer whose customer-label relationships are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomerLabelOperation]]): The list of operations to perform on customer-label relationships. + customer_id (str): Required. ID of the customer whose customer-label relationships are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomerLabelOperation]]): Required. The list of operations to perform on customer-label relationships. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerLabelOperation` + message :class:`~google.ads.googleads_v4.types.CustomerLabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +260,7 @@ def mutate_customer_labels(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +271,12 @@ def mutate_customer_labels(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_labels, - default_retry=self._method_configs['MutateCustomerLabels']. - retry, - default_timeout=self. - _method_configs['MutateCustomerLabels'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_labels, + default_retry=self._method_configs['MutateCustomerLabels'].retry, + default_timeout=self._method_configs['MutateCustomerLabels'].timeout, + client_info=self._client_info, + ) request = customer_label_service_pb2.MutateCustomerLabelsRequest( customer_id=customer_id, @@ -276,5 +284,15 @@ def mutate_customer_labels(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_customer_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_label_service_client_config.py b/google/ads/google_ads/v4/services/customer_label_service_client_config.py new file mode 100644 index 000000000..689d36f01 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerLabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/customer_manager_link_service_client.py b/google/ads/google_ads/v4/services/customer_manager_link_service_client.py new file mode 100644 index 000000000..18ebeae74 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_manager_link_service_client.py @@ -0,0 +1,356 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services CustomerManagerLinkService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import customer_manager_link_service_client_config +from google.ads.google_ads.v4.services.transports import customer_manager_link_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_manager_link_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class CustomerManagerLinkServiceClient(object): + """Service to manage customer-manager links.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerManagerLinkService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + CustomerManagerLinkServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def customer_manager_link_path(cls, customer, customer_manager_link): + """Return a fully-qualified customer_manager_link string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/customerManagerLinks/{customer_manager_link}', + customer=customer, + customer_manager_link=customer_manager_link, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.CustomerManagerLinkServiceGrpcTransport, + Callable[[~.Credentials, type], ~.CustomerManagerLinkServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = customer_manager_link_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=customer_manager_link_service_grpc_transport.CustomerManagerLinkServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = customer_manager_link_service_grpc_transport.CustomerManagerLinkServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_customer_manager_link( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested CustomerManagerLink in full detail. + + Args: + resource_name (str): Required. The resource name of the CustomerManagerLink to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.CustomerManagerLink` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_customer_manager_link' not in self._inner_api_calls: + self._inner_api_calls['get_customer_manager_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_manager_link, + default_retry=self._method_configs['GetCustomerManagerLink'].retry, + default_timeout=self._method_configs['GetCustomerManagerLink'].timeout, + client_info=self._client_info, + ) + + request = customer_manager_link_service_pb2.GetCustomerManagerLinkRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_manager_link'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_customer_manager_link( + self, + customer_id, + operations, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Creates or updates customer manager links. Operation statuses are returned. + + Args: + customer_id (str): Required. The ID of the customer whose customer manager links are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomerManagerLinkOperation]]): Required. The list of operations to perform on individual customer manager links. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.CustomerManagerLinkOperation` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.MutateCustomerManagerLinkResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'mutate_customer_manager_link' not in self._inner_api_calls: + self._inner_api_calls['mutate_customer_manager_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_manager_link, + default_retry=self._method_configs['MutateCustomerManagerLink'].retry, + default_timeout=self._method_configs['MutateCustomerManagerLink'].timeout, + client_info=self._client_info, + ) + + request = customer_manager_link_service_pb2.MutateCustomerManagerLinkRequest( + customer_id=customer_id, + operations=operations, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_manager_link'](request, retry=retry, timeout=timeout, metadata=metadata) + + def move_manager_link( + self, + customer_id, + previous_customer_manager_link, + new_manager, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Moves a client customer to a new manager customer. + This simplifies the complex request that requires two operations to move + a client customer to a new manager. i.e: + 1. Update operation with Status INACTIVE (previous manager) and, + 2. Update operation with Status ACTIVE (new manager). + + Args: + customer_id (str): Required. The ID of the client customer that is being moved. + previous_customer_manager_link (str): Required. The resource name of the previous CustomerManagerLink. The + resource name has the form: + ``customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`` + new_manager (str): Required. The resource name of the new manager customer that the client + wants to move to. Customer resource names have the format: + "customers/{customer\_id}" + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.MoveManagerLinkResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'move_manager_link' not in self._inner_api_calls: + self._inner_api_calls['move_manager_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.move_manager_link, + default_retry=self._method_configs['MoveManagerLink'].retry, + default_timeout=self._method_configs['MoveManagerLink'].timeout, + client_info=self._client_info, + ) + + request = customer_manager_link_service_pb2.MoveManagerLinkRequest( + customer_id=customer_id, + previous_customer_manager_link=previous_customer_manager_link, + new_manager=new_manager, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['move_manager_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_manager_link_service_client_config.py b/google/ads/google_ads/v4/services/customer_manager_link_service_client_config.py new file mode 100644 index 000000000..32650289c --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_manager_link_service_client_config.py @@ -0,0 +1,41 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerManagerLinkService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerManagerLink": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerManagerLink": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "MoveManagerLink": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_negative_criterion_service_client.py b/google/ads/google_ads/v4/services/customer_negative_criterion_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/customer_negative_criterion_service_client.py rename to google/ads/google_ads/v4/services/customer_negative_criterion_service_client.py index cfd68b774..52b9f9a45 100644 --- a/google/ads/google_ads/v1/services/customer_negative_criterion_service_client.py +++ b/google/ads/google_ads/v4/services/customer_negative_criterion_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerNegativeCriterionService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerNegativeCriterionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_negative_criterion_service_client_config -from google.ads.google_ads.v1.services.transports import customer_negative_criterion_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_negative_criterion_service_pb2 +from google.ads.google_ads.v4.services import customer_negative_criterion_service_client_config +from google.ads.google_ads.v4.services.transports import customer_negative_criterion_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_negative_criterion_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerNegativeCriterionServiceClient(object): @@ -41,7 +46,8 @@ class CustomerNegativeCriterionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerNegativeCriterionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerNegativeCriterionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def customer_negative_criteria_path(cls, customer, - customer_negative_criteria): + def customer_negative_criteria_path(cls, customer, customer_negative_criteria): """Return a fully-qualified customer_negative_criteria string.""" return google.api_core.path_template.expand( 'customers/{customer}/customerNegativeCriteria/{customer_negative_criteria}', @@ -74,12 +80,8 @@ def customer_negative_criteria_path(cls, customer, customer_negative_criteria=customer_negative_criteria, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_negative_criterion_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - customer_negative_criterion_service_grpc_transport. - CustomerNegativeCriterionServiceGrpcTransport, + default_class=customer_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_negative_criterion_service_grpc_transport.CustomerNegativeCriterionServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_customer_negative_criterion( Returns the requested criterion in full detail. Args: - resource_name (str): The resource name of the criterion to fetch. + resource_name (str): Required. The resource name of the criterion to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_customer_negative_criterion( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CustomerNegativeCriterion` instance. + A :class:`~google.ads.googleads_v4.types.CustomerNegativeCriterion` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,20 +202,28 @@ def get_customer_negative_criterion( """ # Wrap the transport method to add retry and timeout logic. if 'get_customer_negative_criterion' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer_negative_criterion'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer_negative_criterion, - default_retry=self. - _method_configs['GetCustomerNegativeCriterion'].retry, - default_timeout=self. - _method_configs['GetCustomerNegativeCriterion'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer_negative_criterion'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer_negative_criterion, + default_retry=self._method_configs['GetCustomerNegativeCriterion'].retry, + default_timeout=self._method_configs['GetCustomerNegativeCriterion'].timeout, + client_info=self._client_info, + ) request = customer_negative_criterion_service_pb2.GetCustomerNegativeCriterionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer_negative_criterion']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer_negative_criterion'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_customer_negative_criteria( self, @@ -231,11 +238,11 @@ def mutate_customer_negative_criteria( Creates or removes criteria. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose criteria are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.CustomerNegativeCriterionOperation]]): The list of operations to perform on individual criteria. + customer_id (str): Required. The ID of the customer whose criteria are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.CustomerNegativeCriterionOperation]]): Required. The list of operations to perform on individual criteria. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerNegativeCriterionOperation` + message :class:`~google.ads.googleads_v4.types.CustomerNegativeCriterionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -252,7 +259,7 @@ def mutate_customer_negative_criteria( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerNegativeCriteriaResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerNegativeCriteriaResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -263,15 +270,12 @@ def mutate_customer_negative_criteria( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer_negative_criteria' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer_negative_criteria'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer_negative_criteria, - default_retry=self. - _method_configs['MutateCustomerNegativeCriteria'].retry, - default_timeout=self. - _method_configs['MutateCustomerNegativeCriteria'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer_negative_criteria'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer_negative_criteria, + default_retry=self._method_configs['MutateCustomerNegativeCriteria'].retry, + default_timeout=self._method_configs['MutateCustomerNegativeCriteria'].timeout, + client_info=self._client_info, + ) request = customer_negative_criterion_service_pb2.MutateCustomerNegativeCriteriaRequest( customer_id=customer_id, @@ -279,5 +283,15 @@ def mutate_customer_negative_criteria( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_customer_negative_criteria']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer_negative_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_negative_criterion_service_client_config.py b/google/ads/google_ads/v4/services/customer_negative_criterion_service_client_config.py new file mode 100644 index 000000000..85ff074da --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_negative_criterion_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerNegativeCriterionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomerNegativeCriterion": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomerNegativeCriteria": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/customer_service_client.py b/google/ads/google_ads/v4/services/customer_service_client.py similarity index 64% rename from google/ads/google_ads/v1/services/customer_service_client.py rename to google/ads/google_ads/v4/services/customer_service_client.py index 5e5a72c11..60c4403ba 100644 --- a/google/ads/google_ads/v1/services/customer_service_client.py +++ b/google/ads/google_ads/v4/services/customer_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services CustomerService API.""" + +"""Accesses the google.ads.googleads.v4.services CustomerService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import customer_service_client_config -from google.ads.google_ads.v1.services.transports import customer_service_grpc_transport -from google.ads.google_ads.v1.proto.services import customer_service_pb2 +from google.ads.google_ads.v4.services import customer_service_client_config +from google.ads.google_ads.v4.services.transports import customer_service_grpc_transport +from google.ads.google_ads.v4.proto.services import customer_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class CustomerServiceClient(object): @@ -41,7 +46,8 @@ class CustomerServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.CustomerService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.CustomerService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def customer_path(cls, customer): """Return a fully-qualified customer string.""" @@ -72,12 +79,8 @@ def customer_path(cls, customer): customer=customer, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = customer_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=customer_service_grpc_transport. - CustomerServiceGrpcTransport, + default_class=customer_service_grpc_transport.CustomerServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = customer_service_grpc_transport.CustomerServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -168,16 +169,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_customer(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_customer( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested customer in full detail. Args: - resource_name (str): The resource name of the customer to fetch. + resource_name (str): Required. The resource name of the customer to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -188,7 +190,7 @@ def get_customer(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Customer` instance. + A :class:`~google.ads.googleads_v4.types.Customer` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -199,36 +201,46 @@ def get_customer(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_customer' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_customer'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_customer, - default_retry=self._method_configs['GetCustomer'].retry, - default_timeout=self._method_configs['GetCustomer']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_customer'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_customer, + default_retry=self._method_configs['GetCustomer'].retry, + default_timeout=self._method_configs['GetCustomer'].timeout, + client_info=self._client_info, + ) request = customer_service_pb2.GetCustomerRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_customer']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_customer(self, - customer_id, - operation_, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_customer'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_customer( + self, + customer_id, + operation_, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Updates a customer. Operation statuses are returned. Args: - customer_id (str): The ID of the customer being modified. - operation_ (Union[dict, ~google.ads.googleads_v1.types.CustomerOperation]): The operation to perform on the customer + customer_id (str): Required. The ID of the customer being modified. + operation_ (Union[dict, ~google.ads.googleads_v4.types.CustomerOperation]): Required. The operation to perform on the customer If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.CustomerOperation` + message :class:`~google.ads.googleads_v4.types.CustomerOperation` validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -241,7 +253,7 @@ def mutate_customer(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateCustomerResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateCustomerResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -252,22 +264,30 @@ def mutate_customer(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_customer' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_customer'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_customer, - default_retry=self._method_configs['MutateCustomer'].retry, - default_timeout=self._method_configs['MutateCustomer']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_customer'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_customer, + default_retry=self._method_configs['MutateCustomer'].retry, + default_timeout=self._method_configs['MutateCustomer'].timeout, + client_info=self._client_info, + ) request = customer_service_pb2.MutateCustomerRequest( customer_id=customer_id, operation=operation_, validate_only=validate_only, ) - return self._inner_api_calls['mutate_customer']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_customer'](request, retry=retry, timeout=timeout, metadata=metadata) def list_accessible_customers( self, @@ -289,7 +309,7 @@ def list_accessible_customers( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ListAccessibleCustomersResponse` instance. + A :class:`~google.ads.googleads_v4.types.ListAccessibleCustomersResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -299,36 +319,42 @@ def list_accessible_customers( """ # Wrap the transport method to add retry and timeout logic. if 'list_accessible_customers' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_accessible_customers'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_accessible_customers, - default_retry=self. - _method_configs['ListAccessibleCustomers'].retry, - default_timeout=self. - _method_configs['ListAccessibleCustomers'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['list_accessible_customers'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_accessible_customers, + default_retry=self._method_configs['ListAccessibleCustomers'].retry, + default_timeout=self._method_configs['ListAccessibleCustomers'].timeout, + client_info=self._client_info, + ) request = customer_service_pb2.ListAccessibleCustomersRequest() - return self._inner_api_calls['list_accessible_customers']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def create_customer_client(self, - customer_id, - customer_client, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + return self._inner_api_calls['list_accessible_customers'](request, retry=retry, timeout=timeout, metadata=metadata) + + def create_customer_client( + self, + customer_id, + customer_client, + email_address=None, + access_role=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates a new client under manager. The new client customer is returned. Args: - customer_id (str): The ID of the Manager under whom client customer is being created. - customer_client (Union[dict, ~google.ads.googleads_v1.types.Customer]): The new client customer to create. The resource name on this customer + customer_id (str): Required. The ID of the Manager under whom client customer is being created. + customer_client (Union[dict, ~google.ads.googleads_v4.types.Customer]): Required. The new client customer to create. The resource name on this customer will be ignored. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.Customer` + message :class:`~google.ads.googleads_v4.types.Customer` + email_address (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Email address of the user who should be invited on the created client + customer. Accessible to whitelisted customers only. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.StringValue` + access_role (~google.ads.googleads_v4.types.AccessRole): The proposed role of user on the created client customer. + Accessible to whitelisted customers only. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -339,7 +365,7 @@ def create_customer_client(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.CreateCustomerClientResponse` instance. + A :class:`~google.ads.googleads_v4.types.CreateCustomerClientResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -350,19 +376,28 @@ def create_customer_client(self, """ # Wrap the transport method to add retry and timeout logic. if 'create_customer_client' not in self._inner_api_calls: - self._inner_api_calls[ - 'create_customer_client'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.create_customer_client, - default_retry=self._method_configs['CreateCustomerClient']. - retry, - default_timeout=self. - _method_configs['CreateCustomerClient'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['create_customer_client'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.create_customer_client, + default_retry=self._method_configs['CreateCustomerClient'].retry, + default_timeout=self._method_configs['CreateCustomerClient'].timeout, + client_info=self._client_info, + ) request = customer_service_pb2.CreateCustomerClientRequest( customer_id=customer_id, customer_client=customer_client, + email_address=email_address, + access_role=access_role, ) - return self._inner_api_calls['create_customer_client']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['create_customer_client'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/customer_service_client_config.py b/google/ads/google_ads/v4/services/customer_service_client_config.py new file mode 100644 index 000000000..1699128d3 --- /dev/null +++ b/google/ads/google_ads/v4/services/customer_service_client_config.py @@ -0,0 +1,46 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.CustomerService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetCustomer": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateCustomer": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListAccessibleCustomers": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "CreateCustomerClient": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/detail_placement_view_service_client.py b/google/ads/google_ads/v4/services/detail_placement_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/detail_placement_view_service_client.py rename to google/ads/google_ads/v4/services/detail_placement_view_service_client.py index 869e51fe6..98c658664 100644 --- a/google/ads/google_ads/v1/services/detail_placement_view_service_client.py +++ b/google/ads/google_ads/v4/services/detail_placement_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services DetailPlacementViewService API.""" + +"""Accesses the google.ads.googleads.v4.services DetailPlacementViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import detail_placement_view_service_client_config -from google.ads.google_ads.v1.services.transports import detail_placement_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import detail_placement_view_service_pb2 +from google.ads.google_ads.v4.services import detail_placement_view_service_client_config +from google.ads.google_ads.v4.services.transports import detail_placement_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import detail_placement_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class DetailPlacementViewServiceClient(object): @@ -41,7 +46,8 @@ class DetailPlacementViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.DetailPlacementViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.DetailPlacementViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def detail_placement_view_path(cls, customer, detail_placement_view): """Return a fully-qualified detail_placement_view string.""" @@ -73,12 +80,8 @@ def detail_placement_view_path(cls, customer, detail_placement_view): detail_placement_view=detail_placement_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = detail_placement_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=detail_placement_view_service_grpc_transport. - DetailPlacementViewServiceGrpcTransport, + default_class=detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = detail_placement_view_service_grpc_transport.DetailPlacementViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_detail_placement_view( Returns the requested Detail Placement view in full detail. Args: - resource_name (str): The resource name of the Detail Placement view to fetch. + resource_name (str): Required. The resource name of the Detail Placement view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_detail_placement_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.DetailPlacementView` instance. + A :class:`~google.ads.googleads_v4.types.DetailPlacementView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_detail_placement_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_detail_placement_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_detail_placement_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_detail_placement_view, - default_retry=self. - _method_configs['GetDetailPlacementView'].retry, - default_timeout=self. - _method_configs['GetDetailPlacementView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_detail_placement_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_detail_placement_view, + default_retry=self._method_configs['GetDetailPlacementView'].retry, + default_timeout=self._method_configs['GetDetailPlacementView'].timeout, + client_info=self._client_info, + ) request = detail_placement_view_service_pb2.GetDetailPlacementViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_detail_placement_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_detail_placement_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/detail_placement_view_service_client_config.py b/google/ads/google_ads/v4/services/detail_placement_view_service_client_config.py new file mode 100644 index 000000000..74716ec61 --- /dev/null +++ b/google/ads/google_ads/v4/services/detail_placement_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.DetailPlacementViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetDetailPlacementView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/display_keyword_view_service_client.py b/google/ads/google_ads/v4/services/display_keyword_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/display_keyword_view_service_client.py rename to google/ads/google_ads/v4/services/display_keyword_view_service_client.py index 873702254..93040c7f3 100644 --- a/google/ads/google_ads/v1/services/display_keyword_view_service_client.py +++ b/google/ads/google_ads/v4/services/display_keyword_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services DisplayKeywordViewService API.""" + +"""Accesses the google.ads.googleads.v4.services DisplayKeywordViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import display_keyword_view_service_client_config -from google.ads.google_ads.v1.services.transports import display_keyword_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import display_keyword_view_service_pb2 +from google.ads.google_ads.v4.services import display_keyword_view_service_client_config +from google.ads.google_ads.v4.services.transports import display_keyword_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import display_keyword_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class DisplayKeywordViewServiceClient(object): @@ -41,7 +46,8 @@ class DisplayKeywordViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.DisplayKeywordViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.DisplayKeywordViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def display_keyword_view_path(cls, customer, display_keyword_view): """Return a fully-qualified display_keyword_view string.""" @@ -73,12 +80,8 @@ def display_keyword_view_path(cls, customer, display_keyword_view): display_keyword_view=display_keyword_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = display_keyword_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=display_keyword_view_service_grpc_transport. - DisplayKeywordViewServiceGrpcTransport, + default_class=display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = display_keyword_view_service_grpc_transport.DisplayKeywordViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_display_keyword_view( Returns the requested display keyword view in full detail. Args: - resource_name (str): The resource name of the display keyword view to fetch. + resource_name (str): Required. The resource name of the display keyword view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_display_keyword_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.DisplayKeywordView` instance. + A :class:`~google.ads.googleads_v4.types.DisplayKeywordView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_display_keyword_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_display_keyword_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_display_keyword_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_display_keyword_view, - default_retry=self. - _method_configs['GetDisplayKeywordView'].retry, - default_timeout=self. - _method_configs['GetDisplayKeywordView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_display_keyword_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_display_keyword_view, + default_retry=self._method_configs['GetDisplayKeywordView'].retry, + default_timeout=self._method_configs['GetDisplayKeywordView'].timeout, + client_info=self._client_info, + ) request = display_keyword_view_service_pb2.GetDisplayKeywordViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_display_keyword_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_display_keyword_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/display_keyword_view_service_client_config.py b/google/ads/google_ads/v4/services/display_keyword_view_service_client_config.py new file mode 100644 index 000000000..32bc8a2ba --- /dev/null +++ b/google/ads/google_ads/v4/services/display_keyword_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.DisplayKeywordViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetDisplayKeywordView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/distance_view_service_client.py b/google/ads/google_ads/v4/services/distance_view_service_client.py new file mode 100644 index 000000000..27ced3b9c --- /dev/null +++ b/google/ads/google_ads/v4/services/distance_view_service_client.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services DistanceViewService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import distance_view_service_client_config +from google.ads.google_ads.v4.services.transports import distance_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import distance_view_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class DistanceViewServiceClient(object): + """Service to fetch distance views.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.DistanceViewService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + DistanceViewServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def distance_view_path(cls, customer, distance_view): + """Return a fully-qualified distance_view string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/distanceViews/{distance_view}', + customer=customer, + distance_view=distance_view, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.DistanceViewServiceGrpcTransport, + Callable[[~.Credentials, type], ~.DistanceViewServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = distance_view_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=distance_view_service_grpc_transport.DistanceViewServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = distance_view_service_grpc_transport.DistanceViewServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_distance_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the attributes of the requested distance view. + + Args: + resource_name (str): Required. The resource name of the distance view to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.DistanceView` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_distance_view' not in self._inner_api_calls: + self._inner_api_calls['get_distance_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_distance_view, + default_retry=self._method_configs['GetDistanceView'].retry, + default_timeout=self._method_configs['GetDistanceView'].timeout, + client_info=self._client_info, + ) + + request = distance_view_service_pb2.GetDistanceViewRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_distance_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/distance_view_service_client_config.py b/google/ads/google_ads/v4/services/distance_view_service_client_config.py new file mode 100644 index 000000000..89b7177f4 --- /dev/null +++ b/google/ads/google_ads/v4/services/distance_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.DistanceViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetDistanceView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/domain_category_service_client.py b/google/ads/google_ads/v4/services/domain_category_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/domain_category_service_client.py rename to google/ads/google_ads/v4/services/domain_category_service_client.py index 0610343d7..30a9ff45b 100644 --- a/google/ads/google_ads/v1/services/domain_category_service_client.py +++ b/google/ads/google_ads/v4/services/domain_category_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services DomainCategoryService API.""" + +"""Accesses the google.ads.googleads.v4.services DomainCategoryService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import domain_category_service_client_config -from google.ads.google_ads.v1.services.transports import domain_category_service_grpc_transport -from google.ads.google_ads.v1.proto.services import domain_category_service_pb2 +from google.ads.google_ads.v4.services import domain_category_service_client_config +from google.ads.google_ads.v4.services.transports import domain_category_service_grpc_transport +from google.ads.google_ads.v4.proto.services import domain_category_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class DomainCategoryServiceClient(object): @@ -41,7 +46,8 @@ class DomainCategoryServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.DomainCategoryService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.DomainCategoryService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def domain_category_path(cls, customer, domain_category): """Return a fully-qualified domain_category string.""" @@ -73,12 +80,8 @@ def domain_category_path(cls, customer, domain_category): domain_category=domain_category, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = domain_category_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=domain_category_service_grpc_transport. - DomainCategoryServiceGrpcTransport, + default_class=domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = domain_category_service_grpc_transport.DomainCategoryServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_domain_category(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_domain_category( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested domain category. Args: - resource_name (str): Resource name of the domain category to fetch. + resource_name (str): Required. Resource name of the domain category to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_domain_category(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.DomainCategory` instance. + A :class:`~google.ads.googleads_v4.types.DomainCategory` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_domain_category(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_domain_category' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_domain_category'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_domain_category, - default_retry=self._method_configs['GetDomainCategory']. - retry, - default_timeout=self._method_configs['GetDomainCategory']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_domain_category'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_domain_category, + default_retry=self._method_configs['GetDomainCategory'].retry, + default_timeout=self._method_configs['GetDomainCategory'].timeout, + client_info=self._client_info, + ) request = domain_category_service_pb2.GetDomainCategoryRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_domain_category']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_domain_category'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/domain_category_service_client_config.py b/google/ads/google_ads/v4/services/domain_category_service_client_config.py new file mode 100644 index 000000000..db4f358f4 --- /dev/null +++ b/google/ads/google_ads/v4/services/domain_category_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.DomainCategoryService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetDomainCategory": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.py b/google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.py rename to google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client.py index dc12923c3..f394b4a61 100644 --- a/google/ads/google_ads/v1/services/dynamic_search_ads_search_term_view_service_client.py +++ b/google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services DynamicSearchAdsSearchTermViewService API.""" + +"""Accesses the google.ads.googleads.v4.services DynamicSearchAdsSearchTermViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import dynamic_search_ads_search_term_view_service_client_config -from google.ads.google_ads.v1.services.transports import dynamic_search_ads_search_term_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import dynamic_search_ads_search_term_view_service_pb2 +from google.ads.google_ads.v4.services import dynamic_search_ads_search_term_view_service_client_config +from google.ads.google_ads.v4.services.transports import dynamic_search_ads_search_term_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import dynamic_search_ads_search_term_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class DynamicSearchAdsSearchTermViewServiceClient(object): @@ -41,7 +46,8 @@ class DynamicSearchAdsSearchTermViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.DynamicSearchAdsSearchTermViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,23 +70,18 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def dynamic_search_ads_search_term_view_path( - cls, customer, dynamic_search_ads_search_term_view): + def dynamic_search_ads_search_term_view_path(cls, customer, dynamic_search_ads_search_term_view): """Return a fully-qualified dynamic_search_ads_search_term_view string.""" return google.api_core.path_template.expand( 'customers/{customer}/dynamicSearchAdsSearchTermViews/{dynamic_search_ads_search_term_view}', customer=customer, - dynamic_search_ads_search_term_view= - dynamic_search_ads_search_term_view, + dynamic_search_ads_search_term_view=dynamic_search_ads_search_term_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -113,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = dynamic_search_ads_search_term_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -134,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - dynamic_search_ads_search_term_view_service_grpc_transport. - DynamicSearchAdsSearchTermViewServiceGrpcTransport, + default_class=dynamic_search_ads_search_term_view_service_grpc_transport.DynamicSearchAdsSearchTermViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = dynamic_search_ads_search_term_view_service_grpc_transport.DynamicSearchAdsSearchTermViewServiceGrpcTransport( @@ -153,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -163,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -182,7 +180,7 @@ def get_dynamic_search_ads_search_term_view( Returns the requested dynamic search ads search term view in full detail. Args: - resource_name (str): The resource name of the dynamic search ads search term view to fetch. + resource_name (str): Required. The resource name of the dynamic search ads search term view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -193,7 +191,7 @@ def get_dynamic_search_ads_search_term_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.DynamicSearchAdsSearchTermView` instance. + A :class:`~google.ads.googleads_v4.types.DynamicSearchAdsSearchTermView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -204,18 +202,25 @@ def get_dynamic_search_ads_search_term_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_dynamic_search_ads_search_term_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_dynamic_search_ads_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_dynamic_search_ads_search_term_view, - default_retry=self. - _method_configs['GetDynamicSearchAdsSearchTermView'].retry, - default_timeout=self._method_configs[ - 'GetDynamicSearchAdsSearchTermView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_dynamic_search_ads_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_dynamic_search_ads_search_term_view, + default_retry=self._method_configs['GetDynamicSearchAdsSearchTermView'].retry, + default_timeout=self._method_configs['GetDynamicSearchAdsSearchTermView'].timeout, + client_info=self._client_info, + ) request = dynamic_search_ads_search_term_view_service_pb2.GetDynamicSearchAdsSearchTermViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls[ - 'get_dynamic_search_ads_search_term_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_dynamic_search_ads_search_term_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client_config.py b/google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client_config.py new file mode 100644 index 000000000..774c460eb --- /dev/null +++ b/google/ads/google_ads/v4/services/dynamic_search_ads_search_term_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.DynamicSearchAdsSearchTermViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetDynamicSearchAdsSearchTermView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/enums.py b/google/ads/google_ads/v4/services/enums.py similarity index 79% rename from google/ads/google_ads/v1/services/enums.py rename to google/ads/google_ads/v4/services/enums.py index ba92439d6..52802149b 100644 --- a/google/ads/google_ads/v1/services/enums.py +++ b/google/ads/google_ads/v4/services/enums.py @@ -13,12 +13,139 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + """Wrappers for protocol buffer enum types.""" import enum +from textwrap import dedent + + +class _CreateEnumTypeUponFirstAccess(object): + r"""A lazy container class for a single capitalized Enum attribute. + It will exec code to define the Enum type within the instance dict upon + first access. Reducing import time for a module full of Enum definitions. + Example: + >>> class ThingHolder(_CreateEnumTypeUponFirstAccess): + ... Thing = '''\ + ... Thing = '''\ +class Thing(enum.IntEnum): + ... GOOD = 0 + ... BAD = 1 + ... UNKNOWN = 2 + ... ''' + ... + >>> ThingHolder = ThingHolder() # The instance enables the magic. + This avoids executing the slow Python enum.Enum metaclass construction code + at import time. Instead, the first time ThingHolder.Thing is accessed, the + code to define the enum type will be run and replace the Thing attribute on + ThingHolder with the instantiated Thing type. + >>> ThingHolder + + >>> dir(ThingHolder) + ['Thing'] + >>> ThingHolder.Thing.UNKNOWN # Triggers the actual creation of Thing. + + >>> ThingHolder.Thing.GOOD + + >>> ThingHolder + + The import time enum type creation cost is deferred. The runtime cost upon + first access will be a bit higher. Under the assumption that most + applications never access the majority of the enum types, the reduction in + startup time makes for a nicer experience. + """ + def __getattribute__(self, name): + # We use type(self) instead of self.__class__ to avoid recursing. + names = [k for k in type(self).__dict__ if k[0].isupper()] + assert len(names) <= 1, names + if not names: + # Race condition, another thread finished executing this before us. + return getattr(self, enum_type_name) + enum_type_name = names[0] + if name == enum_type_name: + try: + class_def_src = dedent(getattr(type(self), enum_type_name)) + except AttributeError: + # The only way this should happen is if another thread was also + # executing this method at the same time and finished defining + # the enum class on our instance and deleting its source from + # the class before our own call got this far. + # Assume our method is gone and revert to a regular instance + # attribute lookup to find our class. + assert not hasattr(type(self), '__getattribute__') + return getattr(self, enum_type_name) + if not isinstance(class_def_src, str): + # If the class attribute has been replaced with something else, + # another must have already executed it and created our type. + return class_def_src + + # Here 'class_def_src' will be the stringified definition of the + # inner enum. This assertion checks that the string starts with + # 'class AccessRole(enum.' if, for example, the outer class name + # is AccessRoleEnum. This follows the pattern for the majority of + # our API enums, where the outer message is FooBarEnum and the inner + # enum is named FooBar. In a few cases enums are defined on + # Operations, for example 'FeedAttributeOperation', and the inner + # enum is always called 'Operator' so this assertion also allows the + # pattern 'class Operator(enum.'. + assertion = class_def_src.startswith( + 'class %s(enum.' % enum_type_name) or class_def_src.startswith( + 'class Operator(enum.') + assert assertion, 'Expected ' + enum_type_name + # It is possible for multiple threads to wind up doing this exec at + # the same time. That'll create multiple identical types and assign + # them into the instance dict under the same name. One of them will + # "win" the final spot in class dict. BUT each simultaneous + # "first" call may wind up returning an "obsolete" type... Not + # great, but as they're IntEnum classes, nobody should be using + # the class type in type checks. Add a lock if this bothers you. + exec(class_def_src, {'enum': enum}, + object.__getattribute__(self, '__dict__')) + # We've done our job, get out of the way forever. + type(self).__getattribute__ = object.__getattribute__ + enum_type = getattr(self, enum_type_name) + # No need for the enum class source anymore. + ###delattr(type(self), enum_type_name) + + # ... + # These two statements are overkill and need rewriting if this base + # class were moved to a utility library or used from outside this + # file as globals() refers to the scope in the current file. If + # you get rid of these, uncomment the delattr above to still + # release some memory. + setattr(type(self), enum_type_name, enum_type) + # Get rid of our instance singleton now that its job is done. + # (obsoletes the reassigning of __getattribute__ above) + globals()[type(self).__name__] = type(self) + # ... + + return enum_type + else: + raise AttributeError('%r has no attribute %r' % + (type(self).__name__, name)) + +class AccessInvitationErrorEnum(_CreateEnumTypeUponFirstAccess): + AccessInvitationError = '''\ + class AccessInvitationError(enum.IntEnum): + """ + Enum describing possible AccessInvitation errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + INVALID_EMAIL_ADDRESS (int): The email address is invalid for sending an invitation. + EMAIL_ADDRESS_ALREADY_HAS_ACCESS (int): Email address already has access to this customer. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INVALID_EMAIL_ADDRESS = 2 + EMAIL_ADDRESS_ALREADY_HAS_ACCESS = 3 +''' +AccessInvitationErrorEnum = AccessInvitationErrorEnum() # For __getattribute__ -class AccessReasonEnum(object): +class AccessReasonEnum(_CreateEnumTypeUponFirstAccess): + AccessReason = '''\ class AccessReason(enum.IntEnum): """ Enum describing possible access reasons. @@ -39,9 +166,34 @@ class AccessReason(enum.IntEnum): LICENSED = 4 SUBSCRIBED = 5 AFFILIATED = 6 +''' +AccessReasonEnum = AccessReasonEnum() # For __getattribute__ + + +class AccessRoleEnum(_CreateEnumTypeUponFirstAccess): + AccessRole = '''\ + class AccessRole(enum.IntEnum): + """ + Possible access role of a user. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + ADMIN (int): Owns its account and can control the addition of other users. + STANDARD (int): Can modify campaigns, but can't affect other users. + READ_ONLY (int): Can view campaigns and account changes, but cannot make edits. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + ADMIN = 2 + STANDARD = 3 + READ_ONLY = 4 +''' +AccessRoleEnum = AccessRoleEnum() # For __getattribute__ -class AccountBudgetProposalErrorEnum(object): +class AccountBudgetProposalErrorEnum(_CreateEnumTypeUponFirstAccess): + AccountBudgetProposalError = '''\ class AccountBudgetProposalError(enum.IntEnum): """ Enum describing possible account budget proposal errors. @@ -75,6 +227,10 @@ class AccountBudgetProposalError(enum.IntEnum): setup. NOT_AUTHORIZED (int): The user is not authorized to mutate budgets for the given billing setup. INVALID_BILLING_SETUP (int): Mutates are not allowed for the given billing setup. + OVERLAPS_EXISTING_BUDGET (int): Budget creation failed as it overlaps with an pending budget proposal + or an approved budget. + CANNOT_CREATE_BUDGET_THROUGH_API (int): The control setting in user's payments profile doesn't allow budget + creation through API. Log in to Google Ads to create budget. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -100,9 +256,14 @@ class AccountBudgetProposalError(enum.IntEnum): BUDGET_DATE_RANGE_INCOMPATIBLE_WITH_BILLING_SETUP = 21 NOT_AUTHORIZED = 22 INVALID_BILLING_SETUP = 23 + OVERLAPS_EXISTING_BUDGET = 24 + CANNOT_CREATE_BUDGET_THROUGH_API = 25 +''' +AccountBudgetProposalErrorEnum = AccountBudgetProposalErrorEnum() # For __getattribute__ -class AccountBudgetProposalStatusEnum(object): +class AccountBudgetProposalStatusEnum(_CreateEnumTypeUponFirstAccess): + AccountBudgetProposalStatus = '''\ class AccountBudgetProposalStatus(enum.IntEnum): """ The possible statuses of an AccountBudgetProposal. @@ -127,9 +288,12 @@ class AccountBudgetProposalStatus(enum.IntEnum): APPROVED = 4 CANCELLED = 5 REJECTED = 6 +''' +AccountBudgetProposalStatusEnum = AccountBudgetProposalStatusEnum() # For __getattribute__ -class AccountBudgetProposalTypeEnum(object): +class AccountBudgetProposalTypeEnum(_CreateEnumTypeUponFirstAccess): + AccountBudgetProposalType = '''\ class AccountBudgetProposalType(enum.IntEnum): """ The possible types of an AccountBudgetProposal. @@ -148,9 +312,12 @@ class AccountBudgetProposalType(enum.IntEnum): UPDATE = 3 END = 4 REMOVE = 5 +''' +AccountBudgetProposalTypeEnum = AccountBudgetProposalTypeEnum() # For __getattribute__ -class AccountBudgetStatusEnum(object): +class AccountBudgetStatusEnum(_CreateEnumTypeUponFirstAccess): + AccountBudgetStatus = '''\ class AccountBudgetStatus(enum.IntEnum): """ The possible statuses of an AccountBudget. @@ -167,9 +334,33 @@ class AccountBudgetStatus(enum.IntEnum): PENDING = 2 APPROVED = 3 CANCELLED = 4 +''' +AccountBudgetStatusEnum = AccountBudgetStatusEnum() # For __getattribute__ + + +class AccountLinkStatusEnum(_CreateEnumTypeUponFirstAccess): + AccountLinkStatus = '''\ + class AccountLinkStatus(enum.IntEnum): + """ + Describes the possible statuses for a link between a Google Ads customer + and another account. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + ENABLED (int): The link is enabled. + REMOVED (int): The link is removed/disabled. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + ENABLED = 2 + REMOVED = 3 +''' +AccountLinkStatusEnum = AccountLinkStatusEnum() # For __getattribute__ -class AdCustomizerErrorEnum(object): +class AdCustomizerErrorEnum(_CreateEnumTypeUponFirstAccess): + AdCustomizerError = '''\ class AdCustomizerError(enum.IntEnum): """ Enum describing possible ad customizer errors. @@ -190,9 +381,12 @@ class AdCustomizerError(enum.IntEnum): COUNTDOWN_INVALID_LOCALE = 4 COUNTDOWN_INVALID_START_DAYS_BEFORE = 5 UNKNOWN_USER_LIST = 6 +''' +AdCustomizerErrorEnum = AdCustomizerErrorEnum() # For __getattribute__ -class AdCustomizerPlaceholderFieldEnum(object): +class AdCustomizerPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + AdCustomizerPlaceholderField = '''\ class AdCustomizerPlaceholderField(enum.IntEnum): """ Possible values for Ad Customizers placeholder fields. @@ -211,9 +405,12 @@ class AdCustomizerPlaceholderField(enum.IntEnum): PRICE = 3 DATE = 4 STRING = 5 +''' +AdCustomizerPlaceholderFieldEnum = AdCustomizerPlaceholderFieldEnum() # For __getattribute__ -class AdErrorEnum(object): +class AdErrorEnum(_CreateEnumTypeUponFirstAccess): + AdError = '''\ class AdError(enum.IntEnum): """ Enum describing possible ad errors. @@ -374,6 +571,27 @@ class AdError(enum.IntEnum): ads. Please see https://support.google.com/google-ads/answer/7412639. MISSING_IMAGE_OR_MEDIA_BUNDLE (int): Either an image or a media bundle is required in a display upload ad. PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN (int): The display upload product type is not supported in this campaign. + PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE (int): The default value of an ad placeholder can not be the empty string. + PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE (int): Ad placeholders with countdown functions must not have a default value. + PLACEHOLDER_DEFAULT_VALUE_MISSING (int): A previous ad placeholder that had a default value was found which means + that all (non-countdown) placeholders must have a default value. This + ad placeholder does not have a default value. + UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE (int): A previous ad placeholder that did not have a default value was found + which means that no placeholders may have a default value. This + ad placeholder does have a default value. + AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT (int): Two ad customizers may not be directly adjacent in an ad text. They must + be separated by at least one character. + UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION (int): The ad is not associated with any enabled AdGroupAd, and cannot be + updated. + TOO_MANY_AD_CUSTOMIZERS (int): Too many ad customizers in one asset. + INVALID_AD_CUSTOMIZER_FORMAT (int): The ad customizer tag is recognized, but the format is invalid. + NESTED_AD_CUSTOMIZER_SYNTAX (int): Customizer tags cannot be nested. + UNSUPPORTED_AD_CUSTOMIZER_SYNTAX (int): The ad customizer syntax used in the ad is not supported. + UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG (int): There exists unpaired brace in the ad customizer tag. + MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS (int): More than one type of countdown tag exists among all text lines. + DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID (int): Date time in the countdown tag is invalid. + DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST (int): Date time in the countdown tag is in the past. + UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND (int): Cannot recognize the ad customizer tag. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -506,9 +724,27 @@ class AdError(enum.IntEnum): CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 131 MISSING_IMAGE_OR_MEDIA_BUNDLE = 132 PRODUCT_TYPE_NOT_SUPPORTED_IN_THIS_CAMPAIGN = 133 - - -class AdGroupAdErrorEnum(object): + PLACEHOLDER_CANNOT_HAVE_EMPTY_DEFAULT_VALUE = 134 + PLACEHOLDER_COUNTDOWN_FUNCTION_CANNOT_HAVE_DEFAULT_VALUE = 135 + PLACEHOLDER_DEFAULT_VALUE_MISSING = 136 + UNEXPECTED_PLACEHOLDER_DEFAULT_VALUE = 137 + AD_CUSTOMIZERS_MAY_NOT_BE_ADJACENT = 138 + UPDATING_AD_WITH_NO_ENABLED_ASSOCIATION = 139 + TOO_MANY_AD_CUSTOMIZERS = 141 + INVALID_AD_CUSTOMIZER_FORMAT = 142 + NESTED_AD_CUSTOMIZER_SYNTAX = 143 + UNSUPPORTED_AD_CUSTOMIZER_SYNTAX = 144 + UNPAIRED_BRACE_IN_AD_CUSTOMIZER_TAG = 145 + MORE_THAN_ONE_COUNTDOWN_TAG_TYPE_EXISTS = 146 + DATE_TIME_IN_COUNTDOWN_TAG_IS_INVALID = 147 + DATE_TIME_IN_COUNTDOWN_TAG_IS_PAST = 148 + UNRECOGNIZED_AD_CUSTOMIZER_TAG_FOUND = 149 +''' +AdErrorEnum = AdErrorEnum() # For __getattribute__ + + +class AdGroupAdErrorEnum(_CreateEnumTypeUponFirstAccess): + AdGroupAdError = '''\ class AdGroupAdError(enum.IntEnum): """ Enum describing possible ad group ad errors. @@ -526,6 +762,8 @@ class AdGroupAdError(enum.IntEnum): instead. EMPTY_FIELD (int): A required field was not specified or is an empty string. RESOURCE_REFERENCED_IN_MULTIPLE_OPS (int): An ad may only be modified once per call + AD_TYPE_CANNOT_BE_PAUSED (int): AdGroupAds with the given ad type cannot be paused. + AD_TYPE_CANNOT_BE_REMOVED (int): AdGroupAds with the given ad type cannot be removed. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -537,9 +775,14 @@ class AdGroupAdError(enum.IntEnum): CANNOT_CREATE_TEXT_ADS = 7 EMPTY_FIELD = 8 RESOURCE_REFERENCED_IN_MULTIPLE_OPS = 9 + AD_TYPE_CANNOT_BE_PAUSED = 10 + AD_TYPE_CANNOT_BE_REMOVED = 11 +''' +AdGroupAdErrorEnum = AdGroupAdErrorEnum() # For __getattribute__ -class AdGroupAdRotationModeEnum(object): +class AdGroupAdRotationModeEnum(_CreateEnumTypeUponFirstAccess): + AdGroupAdRotationMode = '''\ class AdGroupAdRotationMode(enum.IntEnum): """ The possible ad rotation modes of an ad group. @@ -556,9 +799,12 @@ class AdGroupAdRotationMode(enum.IntEnum): UNKNOWN = 1 OPTIMIZE = 2 ROTATE_FOREVER = 3 +''' +AdGroupAdRotationModeEnum = AdGroupAdRotationModeEnum() # For __getattribute__ -class AdGroupAdStatusEnum(object): +class AdGroupAdStatusEnum(_CreateEnumTypeUponFirstAccess): + AdGroupAdStatus = '''\ class AdGroupAdStatus(enum.IntEnum): """ The possible statuses of an AdGroupAd. @@ -577,9 +823,12 @@ class AdGroupAdStatus(enum.IntEnum): ENABLED = 2 PAUSED = 3 REMOVED = 4 +''' +AdGroupAdStatusEnum = AdGroupAdStatusEnum() # For __getattribute__ -class AdGroupBidModifierErrorEnum(object): +class AdGroupBidModifierErrorEnum(_CreateEnumTypeUponFirstAccess): + AdGroupBidModifierError = '''\ class AdGroupBidModifierError(enum.IntEnum): """ Enum describing possible ad group bid modifier errors. @@ -595,9 +844,12 @@ class AdGroupBidModifierError(enum.IntEnum): UNKNOWN = 1 CRITERION_ID_NOT_SUPPORTED = 2 CANNOT_OVERRIDE_OPTED_OUT_CAMPAIGN_CRITERION_BID_MODIFIER = 3 +''' +AdGroupBidModifierErrorEnum = AdGroupBidModifierErrorEnum() # For __getattribute__ -class AdGroupCriterionApprovalStatusEnum(object): +class AdGroupCriterionApprovalStatusEnum(_CreateEnumTypeUponFirstAccess): + AdGroupCriterionApprovalStatus = '''\ class AdGroupCriterionApprovalStatus(enum.IntEnum): """ Enumerates AdGroupCriterion approval statuses. @@ -616,9 +868,12 @@ class AdGroupCriterionApprovalStatus(enum.IntEnum): DISAPPROVED = 3 PENDING_REVIEW = 4 UNDER_REVIEW = 5 +''' +AdGroupCriterionApprovalStatusEnum = AdGroupCriterionApprovalStatusEnum() # For __getattribute__ -class AdGroupCriterionErrorEnum(object): +class AdGroupCriterionErrorEnum(_CreateEnumTypeUponFirstAccess): + AdGroupCriterionError = '''\ class AdGroupCriterionError(enum.IntEnum): """ Enum describing possible ad group criterion errors. @@ -663,16 +918,6 @@ class AdGroupCriterionError(enum.IntEnum): CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE (int): Cannot set both destination url and tracking url template. FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE (int): Final urls are not supported for this criterion type. FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE (int): Final mobile urls are not supported for this criterion type. - INVALID_LISTING_GROUP_HIERARCHY (int): Ad group is invalid due to the listing groups it contains. - LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN (int): Listing group unit cannot have children. - LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE (int): Subdivided listing groups must have an "others" case. - LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS (int): Dimension type of listing group must be the same as that of its siblings. - LISTING_GROUP_ALREADY_EXISTS (int): Listing group cannot be added to the ad group because it already exists. - LISTING_GROUP_DOES_NOT_EXIST (int): Listing group referenced in the operation was not found in the ad group. - LISTING_GROUP_CANNOT_BE_REMOVED (int): Recursive removal failed because listing group subdivision is being - created or modified in this request. - INVALID_LISTING_GROUP_TYPE (int): Listing group type is not allowed for specified ad group criterion type. - LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID (int): Listing group in an ADD operation specifies a non temporary criterion id. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -704,18 +949,12 @@ class AdGroupCriterionError(enum.IntEnum): CANNOT_SET_BOTH_DESTINATION_URL_AND_TRACKING_URL_TEMPLATE = 36 FINAL_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 37 FINAL_MOBILE_URLS_NOT_SUPPORTED_FOR_CRITERION_TYPE = 38 - INVALID_LISTING_GROUP_HIERARCHY = 39 - LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 40 - LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 41 - LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 42 - LISTING_GROUP_ALREADY_EXISTS = 43 - LISTING_GROUP_DOES_NOT_EXIST = 44 - LISTING_GROUP_CANNOT_BE_REMOVED = 45 - INVALID_LISTING_GROUP_TYPE = 46 - LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 47 - - -class AdGroupCriterionStatusEnum(object): +''' +AdGroupCriterionErrorEnum = AdGroupCriterionErrorEnum() # For __getattribute__ + + +class AdGroupCriterionStatusEnum(_CreateEnumTypeUponFirstAccess): + AdGroupCriterionStatus = '''\ class AdGroupCriterionStatus(enum.IntEnum): """ The possible statuses of an AdGroupCriterion. @@ -734,9 +973,12 @@ class AdGroupCriterionStatus(enum.IntEnum): ENABLED = 2 PAUSED = 3 REMOVED = 4 +''' +AdGroupCriterionStatusEnum = AdGroupCriterionStatusEnum() # For __getattribute__ -class AdGroupErrorEnum(object): +class AdGroupErrorEnum(_CreateEnumTypeUponFirstAccess): + AdGroupError = '''\ class AdGroupError(enum.IntEnum): """ Enum describing possible ad group errors. @@ -759,6 +1001,7 @@ class AdGroupError(enum.IntEnum): campaign. CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING (int): Ad groups of AdGroupType.SEARCH\_DYNAMIC\_ADS can only be added to campaigns that have DynamicSearchAdsSetting attached. + PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER (int): Promoted hotels ad groups are only available to whitelisted customers. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -774,9 +1017,13 @@ class AdGroupError(enum.IntEnum): AD_GROUP_TYPE_NOT_VALID_FOR_ADVERTISING_CHANNEL_TYPE = 12 ADGROUP_TYPE_NOT_SUPPORTED_FOR_CAMPAIGN_SALES_COUNTRY = 13 CANNOT_ADD_ADGROUP_OF_TYPE_DSA_TO_CAMPAIGN_WITHOUT_DSA_SETTING = 14 + PROMOTED_HOTEL_AD_GROUPS_NOT_AVAILABLE_FOR_CUSTOMER = 15 +''' +AdGroupErrorEnum = AdGroupErrorEnum() # For __getattribute__ -class AdGroupFeedErrorEnum(object): +class AdGroupFeedErrorEnum(_CreateEnumTypeUponFirstAccess): + AdGroupFeedError = '''\ class AdGroupFeedError(enum.IntEnum): """ Enum describing possible ad group feed errors. @@ -803,9 +1050,12 @@ class AdGroupFeedError(enum.IntEnum): INVALID_PLACEHOLDER_TYPE = 6 MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 NO_EXISTING_LOCATION_CUSTOMER_FEED = 8 +''' +AdGroupFeedErrorEnum = AdGroupFeedErrorEnum() # For __getattribute__ -class AdGroupStatusEnum(object): +class AdGroupStatusEnum(_CreateEnumTypeUponFirstAccess): + AdGroupStatus = '''\ class AdGroupStatus(enum.IntEnum): """ The possible statuses of an ad group. @@ -824,9 +1074,12 @@ class AdGroupStatus(enum.IntEnum): ENABLED = 2 PAUSED = 3 REMOVED = 4 +''' +AdGroupStatusEnum = AdGroupStatusEnum() # For __getattribute__ -class AdGroupTypeEnum(object): +class AdGroupTypeEnum(_CreateEnumTypeUponFirstAccess): + AdGroupType = '''\ class AdGroupType(enum.IntEnum): """ Enum listing the possible types of an ad group. @@ -848,6 +1101,8 @@ class AdGroupType(enum.IntEnum): VIDEO_OUTSTREAM (int): Outstream video ads. SEARCH_DYNAMIC_ADS (int): Ad group type for Dynamic Search Ads ad groups. SHOPPING_COMPARISON_LISTING_ADS (int): The type for ad groups in Shopping Comparison Listing campaigns. + PROMOTED_HOTEL_ADS (int): The ad group type for Promoted Hotel ad groups. + VIDEO_RESPONSIVE (int): Video responsive ad groups. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -863,9 +1118,14 @@ class AdGroupType(enum.IntEnum): VIDEO_OUTSTREAM = 12 SEARCH_DYNAMIC_ADS = 13 SHOPPING_COMPARISON_LISTING_ADS = 14 + PROMOTED_HOTEL_ADS = 15 + VIDEO_RESPONSIVE = 16 +''' +AdGroupTypeEnum = AdGroupTypeEnum() # For __getattribute__ -class AdNetworkTypeEnum(object): +class AdNetworkTypeEnum(_CreateEnumTypeUponFirstAccess): + AdNetworkType = '''\ class AdNetworkType(enum.IntEnum): """ Enumerates Google Ads network types. @@ -888,9 +1148,12 @@ class AdNetworkType(enum.IntEnum): YOUTUBE_SEARCH = 5 YOUTUBE_WATCH = 6 MIXED = 7 +''' +AdNetworkTypeEnum = AdNetworkTypeEnum() # For __getattribute__ -class AdParameterErrorEnum(object): +class AdParameterErrorEnum(_CreateEnumTypeUponFirstAccess): + AdParameterError = '''\ class AdParameterError(enum.IntEnum): """ Enum describing possible ad parameter errors. @@ -905,9 +1168,12 @@ class AdParameterError(enum.IntEnum): UNKNOWN = 1 AD_GROUP_CRITERION_MUST_BE_KEYWORD = 2 INVALID_INSERTION_TEXT_FORMAT = 3 +''' +AdParameterErrorEnum = AdParameterErrorEnum() # For __getattribute__ -class AdServingOptimizationStatusEnum(object): +class AdServingOptimizationStatusEnum(_CreateEnumTypeUponFirstAccess): + AdServingOptimizationStatus = '''\ class AdServingOptimizationStatus(enum.IntEnum): """ Enum describing possible serving statuses. @@ -933,9 +1199,12 @@ class AdServingOptimizationStatus(enum.IntEnum): ROTATE = 4 ROTATE_INDEFINITELY = 5 UNAVAILABLE = 6 +''' +AdServingOptimizationStatusEnum = AdServingOptimizationStatusEnum() # For __getattribute__ -class AdSharingErrorEnum(object): +class AdSharingErrorEnum(_CreateEnumTypeUponFirstAccess): + AdSharingError = '''\ class AdSharingError(enum.IntEnum): """ Enum describing possible ad sharing errors. @@ -953,9 +1222,12 @@ class AdSharingError(enum.IntEnum): AD_GROUP_ALREADY_CONTAINS_AD = 2 INCOMPATIBLE_AD_UNDER_AD_GROUP = 3 CANNOT_SHARE_INACTIVE_AD = 4 +''' +AdSharingErrorEnum = AdSharingErrorEnum() # For __getattribute__ -class AdStrengthEnum(object): +class AdStrengthEnum(_CreateEnumTypeUponFirstAccess): + AdStrength = '''\ class AdStrength(enum.IntEnum): """ Enum listing the possible ad strengths. @@ -978,9 +1250,12 @@ class AdStrength(enum.IntEnum): AVERAGE = 5 GOOD = 6 EXCELLENT = 7 +''' +AdStrengthEnum = AdStrengthEnum() # For __getattribute__ -class AdTypeEnum(object): +class AdTypeEnum(_CreateEnumTypeUponFirstAccess): + AdType = '''\ class AdType(enum.IntEnum): """ The possible types of an ad. @@ -1005,11 +1280,18 @@ class AdType(enum.IntEnum): APP_AD (int): The ad is an app ad. LEGACY_APP_INSTALL_AD (int): The ad is a legacy app install ad. RESPONSIVE_DISPLAY_AD (int): The ad is a responsive display ad. + LOCAL_AD (int): The ad is a local ad. HTML5_UPLOAD_AD (int): The ad is a display upload ad with the HTML5\_UPLOAD\_AD product type. DYNAMIC_HTML5_AD (int): The ad is a display upload ad with one of the DYNAMIC\_HTML5\_\* product types. APP_ENGAGEMENT_AD (int): The ad is an app engagement ad. SHOPPING_COMPARISON_LISTING_AD (int): The ad is a Shopping Comparison Listing ad. + VIDEO_BUMPER_AD (int): Video bumper ad. + VIDEO_NON_SKIPPABLE_IN_STREAM_AD (int): Video non-skippable in-stream ad. + VIDEO_OUTSTREAM_AD (int): Video outstream ad. + VIDEO_TRUEVIEW_DISCOVERY_AD (int): Video TrueView in-display ad. + VIDEO_TRUEVIEW_IN_STREAM_AD (int): Video TrueView in-stream ad. + VIDEO_RESPONSIVE_AD (int): Video responsive ad. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1028,13 +1310,23 @@ class AdType(enum.IntEnum): APP_AD = 17 LEGACY_APP_INSTALL_AD = 18 RESPONSIVE_DISPLAY_AD = 19 + LOCAL_AD = 20 HTML5_UPLOAD_AD = 21 DYNAMIC_HTML5_AD = 22 APP_ENGAGEMENT_AD = 23 SHOPPING_COMPARISON_LISTING_AD = 24 - - -class AdvertisingChannelSubTypeEnum(object): + VIDEO_BUMPER_AD = 25 + VIDEO_NON_SKIPPABLE_IN_STREAM_AD = 26 + VIDEO_OUTSTREAM_AD = 27 + VIDEO_TRUEVIEW_DISCOVERY_AD = 28 + VIDEO_TRUEVIEW_IN_STREAM_AD = 29 + VIDEO_RESPONSIVE_AD = 30 +''' +AdTypeEnum = AdTypeEnum() # For __getattribute__ + + +class AdvertisingChannelSubTypeEnum(_CreateEnumTypeUponFirstAccess): + AdvertisingChannelSubType = '''\ class AdvertisingChannelSubType(enum.IntEnum): """ Enum describing the different channel subtypes. @@ -1058,6 +1350,7 @@ class AdvertisingChannelSubType(enum.IntEnum): APP_CAMPAIGN_FOR_ENGAGEMENT (int): App Campaign for engagement, focused on driving re-engagement with the app across several of Google’s top properties including Search, YouTube, and the Google Display Network. + LOCAL_CAMPAIGN (int): Campaigns specialized for local advertising. SHOPPING_COMPARISON_LISTING_ADS (int): Shopping Comparison Listing campaigns. """ UNSPECIFIED = 0 @@ -1074,10 +1367,14 @@ class AdvertisingChannelSubType(enum.IntEnum): VIDEO_NON_SKIPPABLE = 11 APP_CAMPAIGN = 12 APP_CAMPAIGN_FOR_ENGAGEMENT = 13 + LOCAL_CAMPAIGN = 14 SHOPPING_COMPARISON_LISTING_ADS = 15 +''' +AdvertisingChannelSubTypeEnum = AdvertisingChannelSubTypeEnum() # For __getattribute__ -class AdvertisingChannelTypeEnum(object): +class AdvertisingChannelTypeEnum(_CreateEnumTypeUponFirstAccess): + AdvertisingChannelType = '''\ class AdvertisingChannelType(enum.IntEnum): """ Enum describing the various advertising channel types. @@ -1093,6 +1390,8 @@ class AdvertisingChannelType(enum.IntEnum): VIDEO (int): Video campaigns. MULTI_CHANNEL (int): App Campaigns, and App Campaigns for Engagement, that run across multiple channels. + LOCAL (int): Local ads campaigns. + SMART (int): Smart campaigns. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1102,9 +1401,14 @@ class AdvertisingChannelType(enum.IntEnum): HOTEL = 5 VIDEO = 6 MULTI_CHANNEL = 7 + LOCAL = 8 + SMART = 9 +''' +AdvertisingChannelTypeEnum = AdvertisingChannelTypeEnum() # For __getattribute__ -class AdxErrorEnum(object): +class AdxErrorEnum(_CreateEnumTypeUponFirstAccess): + AdxError = '''\ class AdxError(enum.IntEnum): """ Enum describing possible adx errors. @@ -1117,9 +1421,12 @@ class AdxError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 UNSUPPORTED_FEATURE = 2 +''' +AdxErrorEnum = AdxErrorEnum() # For __getattribute__ -class AffiliateLocationFeedRelationshipTypeEnum(object): +class AffiliateLocationFeedRelationshipTypeEnum(_CreateEnumTypeUponFirstAccess): + AffiliateLocationFeedRelationshipType = '''\ class AffiliateLocationFeedRelationshipType(enum.IntEnum): """ Possible values for a relationship type for an affiliate location feed. @@ -1132,9 +1439,12 @@ class AffiliateLocationFeedRelationshipType(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 GENERAL_RETAILER = 2 +''' +AffiliateLocationFeedRelationshipTypeEnum = AffiliateLocationFeedRelationshipTypeEnum() # For __getattribute__ -class AffiliateLocationPlaceholderFieldEnum(object): +class AffiliateLocationPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + AffiliateLocationPlaceholderField = '''\ class AffiliateLocationPlaceholderField(enum.IntEnum): """ Possible values for Affiliate Location placeholder fields. @@ -1167,9 +1477,12 @@ class AffiliateLocationPlaceholderField(enum.IntEnum): LANGUAGE_CODE = 10 CHAIN_ID = 11 CHAIN_NAME = 12 +''' +AffiliateLocationPlaceholderFieldEnum = AffiliateLocationPlaceholderFieldEnum() # For __getattribute__ -class AgeRangeTypeEnum(object): +class AgeRangeTypeEnum(_CreateEnumTypeUponFirstAccess): + AgeRangeType = '''\ class AgeRangeType(enum.IntEnum): """ The type of demographic age ranges (e.g. between 18 and 24 years old). @@ -1194,9 +1507,12 @@ class AgeRangeType(enum.IntEnum): AGE_RANGE_55_64 = 503005 AGE_RANGE_65_UP = 503006 AGE_RANGE_UNDETERMINED = 503999 +''' +AgeRangeTypeEnum = AgeRangeTypeEnum() # For __getattribute__ -class AppCampaignAppStoreEnum(object): +class AppCampaignAppStoreEnum(_CreateEnumTypeUponFirstAccess): + AppCampaignAppStore = '''\ class AppCampaignAppStore(enum.IntEnum): """ Enum describing app campaign app store. @@ -1211,9 +1527,12 @@ class AppCampaignAppStore(enum.IntEnum): UNKNOWN = 1 APPLE_APP_STORE = 2 GOOGLE_APP_STORE = 3 +''' +AppCampaignAppStoreEnum = AppCampaignAppStoreEnum() # For __getattribute__ -class AppCampaignBiddingStrategyGoalTypeEnum(object): +class AppCampaignBiddingStrategyGoalTypeEnum(_CreateEnumTypeUponFirstAccess): + AppCampaignBiddingStrategyGoalType = '''\ class AppCampaignBiddingStrategyGoalType(enum.IntEnum): """ Goal type of App campaign BiddingStrategy. @@ -1239,9 +1558,12 @@ class AppCampaignBiddingStrategyGoalType(enum.IntEnum): OPTIMIZE_IN_APP_CONVERSIONS_TARGET_INSTALL_COST = 3 OPTIMIZE_IN_APP_CONVERSIONS_TARGET_CONVERSION_COST = 4 OPTIMIZE_RETURN_ON_ADVERTISING_SPEND = 5 +''' +AppCampaignBiddingStrategyGoalTypeEnum = AppCampaignBiddingStrategyGoalTypeEnum() # For __getattribute__ -class AppPaymentModelTypeEnum(object): +class AppPaymentModelTypeEnum(_CreateEnumTypeUponFirstAccess): + AppPaymentModelType = '''\ class AppPaymentModelType(enum.IntEnum): """ Enum describing possible app payment models. @@ -1254,9 +1576,12 @@ class AppPaymentModelType(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 PAID = 30 +''' +AppPaymentModelTypeEnum = AppPaymentModelTypeEnum() # For __getattribute__ -class AppPlaceholderFieldEnum(object): +class AppPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + AppPlaceholderField = '''\ class AppPlaceholderField(enum.IntEnum): """ Possible values for App placeholder fields. @@ -1290,9 +1615,12 @@ class AppPlaceholderField(enum.IntEnum): FINAL_MOBILE_URLS = 7 TRACKING_URL = 8 FINAL_URL_SUFFIX = 9 +''' +AppPlaceholderFieldEnum = AppPlaceholderFieldEnum() # For __getattribute__ -class AppStoreEnum(object): +class AppStoreEnum(_CreateEnumTypeUponFirstAccess): + AppStore = '''\ class AppStore(enum.IntEnum): """ App store type in an app extension. @@ -1307,9 +1635,12 @@ class AppStore(enum.IntEnum): UNKNOWN = 1 APPLE_ITUNES = 2 GOOGLE_PLAY = 3 +''' +AppStoreEnum = AppStoreEnum() # For __getattribute__ -class AppUrlOperatingSystemTypeEnum(object): +class AppUrlOperatingSystemTypeEnum(_CreateEnumTypeUponFirstAccess): + AppUrlOperatingSystemType = '''\ class AppUrlOperatingSystemType(enum.IntEnum): """ Operating System @@ -1324,9 +1655,12 @@ class AppUrlOperatingSystemType(enum.IntEnum): UNKNOWN = 1 IOS = 2 ANDROID = 3 +''' +AppUrlOperatingSystemTypeEnum = AppUrlOperatingSystemTypeEnum() # For __getattribute__ -class AssetErrorEnum(object): +class AssetErrorEnum(_CreateEnumTypeUponFirstAccess): + AssetError = '''\ class AssetError(enum.IntEnum): """ Enum describing possible asset errors. @@ -1349,9 +1683,87 @@ class AssetError(enum.IntEnum): DUPLICATE_ASSET_NAME = 4 ASSET_DATA_IS_MISSING = 5 CANNOT_MODIFY_ASSET_NAME = 6 +''' +AssetErrorEnum = AssetErrorEnum() # For __getattribute__ + + +class AssetFieldTypeEnum(_CreateEnumTypeUponFirstAccess): + AssetFieldType = '''\ + class AssetFieldType(enum.IntEnum): + """ + Enum describing the possible placements of an asset. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + HEADLINE (int): The asset is linked for use as a headline. + DESCRIPTION (int): The asset is linked for use as a description. + MANDATORY_AD_TEXT (int): The asset is linked for use as mandatory ad text. + MARKETING_IMAGE (int): The asset is linked for use as a marketing image. + MEDIA_BUNDLE (int): The asset is linked for use as a media bundle. + YOUTUBE_VIDEO (int): The asset is linked for use as a YouTube video. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + HEADLINE = 2 + DESCRIPTION = 3 + MANDATORY_AD_TEXT = 4 + MARKETING_IMAGE = 5 + MEDIA_BUNDLE = 6 + YOUTUBE_VIDEO = 7 +''' +AssetFieldTypeEnum = AssetFieldTypeEnum() # For __getattribute__ + + +class AssetLinkErrorEnum(_CreateEnumTypeUponFirstAccess): + AssetLinkError = '''\ + class AssetLinkError(enum.IntEnum): + """ + Enum describing possible asset link errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + PINNING_UNSUPPORTED (int): Pinning is not supported for the given asset link field. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + PINNING_UNSUPPORTED = 2 +''' +AssetLinkErrorEnum = AssetLinkErrorEnum() # For __getattribute__ + + +class AssetPerformanceLabelEnum(_CreateEnumTypeUponFirstAccess): + AssetPerformanceLabel = '''\ + class AssetPerformanceLabel(enum.IntEnum): + """ + Enum describing the possible performance labels of an asset, usually + computed in the context of a linkage. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + PENDING (int): This asset does not yet have any performance informantion. This may be + because it is still under review. + LEARNING (int): The asset has started getting impressions but the stats are not + statistically significant enough to get an asset performance label. + LOW (int): Worst performing assets. + GOOD (int): Good performing assets. + BEST (int): Best performing assets. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + PENDING = 2 + LEARNING = 3 + LOW = 4 + GOOD = 5 + BEST = 6 +''' +AssetPerformanceLabelEnum = AssetPerformanceLabelEnum() # For __getattribute__ -class AssetTypeEnum(object): +class AssetTypeEnum(_CreateEnumTypeUponFirstAccess): + AssetType = '''\ class AssetType(enum.IntEnum): """ Enum describing possible types of asset. @@ -1363,6 +1775,7 @@ class AssetType(enum.IntEnum): MEDIA_BUNDLE (int): Media bundle asset. IMAGE (int): Image asset. TEXT (int): Text asset. + BOOK_ON_GOOGLE (int): Book on Google asset. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1370,9 +1783,13 @@ class AssetType(enum.IntEnum): MEDIA_BUNDLE = 3 IMAGE = 4 TEXT = 5 + BOOK_ON_GOOGLE = 7 +''' +AssetTypeEnum = AssetTypeEnum() # For __getattribute__ -class AttributionModelEnum(object): +class AttributionModelEnum(_CreateEnumTypeUponFirstAccess): + AttributionModel = '''\ class AttributionModel(enum.IntEnum): """ The attribution model that describes how to distribute credit for a @@ -1404,9 +1821,12 @@ class AttributionModel(enum.IntEnum): GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY = 104 GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED = 105 GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN = 106 +''' +AttributionModelEnum = AttributionModelEnum() # For __getattribute__ -class AuthenticationErrorEnum(object): +class AuthenticationErrorEnum(_CreateEnumTypeUponFirstAccess): + AuthenticationError = '''\ class AuthenticationError(enum.IntEnum): """ Enum describing possible authentication errors. @@ -1458,9 +1878,12 @@ class AuthenticationError(enum.IntEnum): USER_ID_INVALID = 22 TWO_STEP_VERIFICATION_NOT_ENROLLED = 23 ADVANCED_PROTECTION_NOT_ENROLLED = 24 +''' +AuthenticationErrorEnum = AuthenticationErrorEnum() # For __getattribute__ -class AuthorizationErrorEnum(object): +class AuthorizationErrorEnum(_CreateEnumTypeUponFirstAccess): + AuthorizationError = '''\ class AuthorizationError(enum.IntEnum): """ Enum describing possible authorization errors. @@ -1469,10 +1892,9 @@ class AuthorizationError(enum.IntEnum): UNSPECIFIED (int): Enum unspecified. UNKNOWN (int): The received error code is not known in this version. USER_PERMISSION_DENIED (int): User doesn't have permission to access customer. Note: If you're - accessing a client customer, the manager's customer id must be set in the - 'login-customer-id' header. See - https://developers.google.com/google-ads/api/docs/concepts/ - call-structure#login-customer-id + accessing a client customer, the manager's customer ID must be set in + the ``login-customer-id`` header. Learn more at + https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid DEVELOPER_TOKEN_NOT_WHITELISTED (int): The developer token is not whitelisted. DEVELOPER_TOKEN_PROHIBITED (int): The developer token is not allowed with the project sent in the request. PROJECT_DISABLED (int): The Google Cloud project sent in the request does not have permission to @@ -1486,6 +1908,9 @@ class AuthorizationError(enum.IntEnum): ads.google.com/aw/apicenter DEVELOPER_TOKEN_NOT_APPROVED (int): The developer token is not approved. Non-approved developer tokens can only be used with test accounts. + INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION (int): The login customer specified does not have access to the account + specified, so the request is invalid. + SERVICE_ACCESS_DENIED (int): The developer specified does not have access to the service. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1499,9 +1924,65 @@ class AuthorizationError(enum.IntEnum): CUSTOMER_NOT_ENABLED = 24 MISSING_TOS = 9 DEVELOPER_TOKEN_NOT_APPROVED = 10 + INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION = 11 + SERVICE_ACCESS_DENIED = 12 +''' +AuthorizationErrorEnum = AuthorizationErrorEnum() # For __getattribute__ + + +class BatchJobErrorEnum(_CreateEnumTypeUponFirstAccess): + BatchJobError = '''\ + class BatchJobError(enum.IntEnum): + """ + Enum describing possible request errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING (int): The batch job cannot add more operations or run after it has started + running. + EMPTY_OPERATIONS (int): The operations for an AddBatchJobOperations request were empty. + INVALID_SEQUENCE_TOKEN (int): The sequence token for an AddBatchJobOperations request was invalid. + RESULTS_NOT_READY (int): Batch job results can only be retrieved once the job is finished. + INVALID_PAGE_SIZE (int): The page size for ListBatchJobResults was invalid. + CAN_ONLY_REMOVE_PENDING_JOB (int): The batch job cannot be removed because it has started running. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2 + EMPTY_OPERATIONS = 3 + INVALID_SEQUENCE_TOKEN = 4 + RESULTS_NOT_READY = 5 + INVALID_PAGE_SIZE = 6 + CAN_ONLY_REMOVE_PENDING_JOB = 7 +''' +BatchJobErrorEnum = BatchJobErrorEnum() # For __getattribute__ -class BidModifierSourceEnum(object): +class BatchJobStatusEnum(_CreateEnumTypeUponFirstAccess): + BatchJobStatus = '''\ + class BatchJobStatus(enum.IntEnum): + """ + The batch job statuses. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + PENDING (int): The job is not currently running. + RUNNING (int): The job is running. + DONE (int): The job is done. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + PENDING = 2 + RUNNING = 3 + DONE = 4 +''' +BatchJobStatusEnum = BatchJobStatusEnum() # For __getattribute__ + + +class BidModifierSourceEnum(_CreateEnumTypeUponFirstAccess): + BidModifierSource = '''\ class BidModifierSource(enum.IntEnum): """ Enum describing possible bid modifier sources. @@ -1517,9 +1998,12 @@ class BidModifierSource(enum.IntEnum): UNKNOWN = 1 CAMPAIGN = 2 AD_GROUP = 3 +''' +BidModifierSourceEnum = BidModifierSourceEnum() # For __getattribute__ -class BiddingErrorEnum(object): +class BiddingErrorEnum(_CreateEnumTypeUponFirstAccess): + BiddingError = '''\ class BiddingError(enum.IntEnum): """ Enum describing possible bidding errors. @@ -1555,6 +2039,7 @@ class BiddingError(enum.IntEnum): NOT_COMPATIBLE_WITH_PAYMENT_MODE (int): The field is not compatible with the payment mode. NOT_COMPATIBLE_WITH_BUDGET_TYPE (int): The field is not compatible with the budget type. NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE (int): The field is not compatible with the bidding strategy type. + BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET (int): Bidding strategy type is incompatible with shared budget. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1581,9 +2066,13 @@ class BiddingError(enum.IntEnum): NOT_COMPATIBLE_WITH_PAYMENT_MODE = 34 NOT_COMPATIBLE_WITH_BUDGET_TYPE = 35 NOT_COMPATIBLE_WITH_BIDDING_STRATEGY_TYPE = 36 + BIDDING_STRATEGY_TYPE_INCOMPATIBLE_WITH_SHARED_BUDGET = 37 +''' +BiddingErrorEnum = BiddingErrorEnum() # For __getattribute__ -class BiddingSourceEnum(object): +class BiddingSourceEnum(_CreateEnumTypeUponFirstAccess): + BiddingSource = '''\ class BiddingSource(enum.IntEnum): """ Indicates where a bid or target is defined. For example, an ad group @@ -1602,9 +2091,12 @@ class BiddingSource(enum.IntEnum): CAMPAIGN_BIDDING_STRATEGY = 5 AD_GROUP = 6 AD_GROUP_CRITERION = 7 +''' +BiddingSourceEnum = BiddingSourceEnum() # For __getattribute__ -class BiddingStrategyErrorEnum(object): +class BiddingStrategyErrorEnum(_CreateEnumTypeUponFirstAccess): + BiddingStrategyError = '''\ class BiddingStrategyError(enum.IntEnum): """ Enum describing possible bidding strategy errors. @@ -1627,9 +2119,12 @@ class BiddingStrategyError(enum.IntEnum): CANNOT_REMOVE_ASSOCIATED_STRATEGY = 4 BIDDING_STRATEGY_NOT_SUPPORTED = 5 INCOMPATIBLE_BIDDING_STRATEGY_AND_BIDDING_STRATEGY_GOAL_TYPE = 6 +''' +BiddingStrategyErrorEnum = BiddingStrategyErrorEnum() # For __getattribute__ -class BiddingStrategyStatusEnum(object): +class BiddingStrategyStatusEnum(_CreateEnumTypeUponFirstAccess): + BiddingStrategyStatus = '''\ class BiddingStrategyStatus(enum.IntEnum): """ The possible statuses of a BiddingStrategy. @@ -1646,9 +2141,12 @@ class BiddingStrategyStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 4 +''' +BiddingStrategyStatusEnum = BiddingStrategyStatusEnum() # For __getattribute__ -class BiddingStrategyTypeEnum(object): +class BiddingStrategyTypeEnum(_CreateEnumTypeUponFirstAccess): + BiddingStrategyType = '''\ class BiddingStrategyType(enum.IntEnum): """ Enum describing possible bidding strategy types. @@ -1671,6 +2169,7 @@ class BiddingStrategyType(enum.IntEnum): revenue while spending your budget. PAGE_ONE_PROMOTED (int): Page-One Promoted bidding scheme, which sets max cpc bids to target impressions on page one or page one promoted slots on google.com. + This enum value is deprecated. PERCENT_CPC (int): Percent Cpc is bidding strategy where bids are a fraction of the advertised price for some good or service. TARGET_CPA (int): Target CPA is an automated bid strategy that sets bids @@ -1685,6 +2184,7 @@ class BiddingStrategyType(enum.IntEnum): TARGET_OUTRANK_SHARE (int): Target Outrank Share is an automated bidding strategy that sets bids based on the target fraction of auctions where the advertiser should outrank a specific competitor. + This enum value is deprecated. TARGET_ROAS (int): Target ROAS is an automated bidding strategy that helps you maximize revenue while averaging a specific target Return On Average Spend (ROAS). @@ -1708,9 +2208,12 @@ class BiddingStrategyType(enum.IntEnum): TARGET_OUTRANK_SHARE = 7 TARGET_ROAS = 8 TARGET_SPEND = 9 +''' +BiddingStrategyTypeEnum = BiddingStrategyTypeEnum() # For __getattribute__ -class BillingSetupErrorEnum(object): +class BillingSetupErrorEnum(_CreateEnumTypeUponFirstAccess): + BillingSetupError = '''\ class BillingSetupError(enum.IntEnum): """ Enum describing possible billing setup errors. @@ -1718,33 +2221,33 @@ class BillingSetupError(enum.IntEnum): Attributes: UNSPECIFIED (int): Enum unspecified. UNKNOWN (int): The received error code is not known in this version. - CANNOT_USE_EXISTING_AND_NEW_ACCOUNT (int): Cannot use both an existing Payments account and a new Payments account - when setting up billing. - CANNOT_REMOVE_STARTED_BILLING_SETUP (int): Cannot cancel an APPROVED billing setup whose start time has passed. - CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT (int): Cannot perform a Change of Bill-To (CBT) to the same Payments account. - BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS (int): Billing Setups can only be used by customers with ENABLED or DRAFT + CANNOT_USE_EXISTING_AND_NEW_ACCOUNT (int): Cannot specify both an existing payments account and a new payments + account when setting up billing. + CANNOT_REMOVE_STARTED_BILLING_SETUP (int): Cannot cancel an approved billing setup whose start time has passed. + CANNOT_CHANGE_BILLING_TO_SAME_PAYMENTS_ACCOUNT (int): Cannot perform a Change of Bill-To (CBT) to the same payments account. + BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_STATUS (int): Billing setups can only be used by customers with ENABLED or DRAFT status. - INVALID_PAYMENTS_ACCOUNT (int): Billing Setups must either include a correctly formatted existing - Payments account id, or a non-empty new Payments account name. + INVALID_PAYMENTS_ACCOUNT (int): Billing setups must either include a correctly formatted existing + payments account id, or a non-empty new payments account name. BILLING_SETUP_NOT_PERMITTED_FOR_CUSTOMER_CATEGORY (int): Only billable and third-party customers can create billing setups. - INVALID_START_TIME_TYPE (int): Billing Setup creations can only use NOW for start time type. - THIRD_PARTY_ALREADY_HAS_BILLING (int): Billing Setups can only be created for a third-party customer if they do + INVALID_START_TIME_TYPE (int): Billing setup creations can only use NOW for start time type. + THIRD_PARTY_ALREADY_HAS_BILLING (int): Billing setups can only be created for a third-party customer if they do not already have a setup. - BILLING_SETUP_IN_PROGRESS (int): Billing Setups cannot be created if there is already a pending billing in - progress, ie. a billing known to Payments. - NO_SIGNUP_PERMISSION (int): Billing Setups can only be created by customers who have permission to + BILLING_SETUP_IN_PROGRESS (int): Billing setups cannot be created if there is already a pending billing in + progress. + NO_SIGNUP_PERMISSION (int): Billing setups can only be created by customers who have permission to setup billings. Users can contact a representative for help setting up permissions. - CHANGE_OF_BILL_TO_IN_PROGRESS (int): Billing Setups cannot be created if there is already a future-approved + CHANGE_OF_BILL_TO_IN_PROGRESS (int): Billing setups cannot be created if there is already a future-approved billing. - PAYMENTS_PROFILE_NOT_FOUND (int): Billing Setup creation failed because Payments could not find the - requested Payments profile. - PAYMENTS_ACCOUNT_NOT_FOUND (int): Billing Setup creation failed because Payments could not find the - requested Payments account. - PAYMENTS_PROFILE_INELIGIBLE (int): Billing Setup creation failed because Payments considers requested - Payments profile ineligible. - PAYMENTS_ACCOUNT_INELIGIBLE (int): Billing Setup creation failed because Payments considers requested - Payments account ineligible. + PAYMENTS_PROFILE_NOT_FOUND (int): Requested payments profile not found. + PAYMENTS_ACCOUNT_NOT_FOUND (int): Requested payments account not found. + PAYMENTS_PROFILE_INELIGIBLE (int): Billing setup creation failed because the payments profile is ineligible. + PAYMENTS_ACCOUNT_INELIGIBLE (int): Billing setup creation failed because the payments account is ineligible. + CUSTOMER_NEEDS_INTERNAL_APPROVAL (int): Billing setup creation failed because the payments profile needs internal + approval. + PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH (int): Payments account has different currency code than the current customer + and hence cannot be used to setup billing. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -1763,9 +2266,14 @@ class BillingSetupError(enum.IntEnum): PAYMENTS_ACCOUNT_NOT_FOUND = 14 PAYMENTS_PROFILE_INELIGIBLE = 15 PAYMENTS_ACCOUNT_INELIGIBLE = 16 + CUSTOMER_NEEDS_INTERNAL_APPROVAL = 17 + PAYMENTS_ACCOUNT_INELIGIBLE_CURRENCY_CODE_MISMATCH = 19 +''' +BillingSetupErrorEnum = BillingSetupErrorEnum() # For __getattribute__ -class BillingSetupStatusEnum(object): +class BillingSetupStatusEnum(_CreateEnumTypeUponFirstAccess): + BillingSetupStatus = '''\ class BillingSetupStatus(enum.IntEnum): """ The possible statuses of a BillingSetup. @@ -1786,9 +2294,12 @@ class BillingSetupStatus(enum.IntEnum): APPROVED_HELD = 3 APPROVED = 4 CANCELLED = 5 +''' +BillingSetupStatusEnum = BillingSetupStatusEnum() # For __getattribute__ -class BrandSafetySuitabilityEnum(object): +class BrandSafetySuitabilityEnum(_CreateEnumTypeUponFirstAccess): + BrandSafetySuitability = '''\ class BrandSafetySuitability(enum.IntEnum): """ 3-Tier brand safety suitability control. @@ -1825,9 +2336,12 @@ class BrandSafetySuitability(enum.IntEnum): EXPANDED_INVENTORY = 2 STANDARD_INVENTORY = 3 LIMITED_INVENTORY = 4 +''' +BrandSafetySuitabilityEnum = BrandSafetySuitabilityEnum() # For __getattribute__ -class BudgetDeliveryMethodEnum(object): +class BudgetDeliveryMethodEnum(_CreateEnumTypeUponFirstAccess): + BudgetDeliveryMethod = '''\ class BudgetDeliveryMethod(enum.IntEnum): """ Possible delivery methods of a Budget. @@ -1844,9 +2358,12 @@ class BudgetDeliveryMethod(enum.IntEnum): UNKNOWN = 1 STANDARD = 2 ACCELERATED = 3 +''' +BudgetDeliveryMethodEnum = BudgetDeliveryMethodEnum() # For __getattribute__ -class BudgetPeriodEnum(object): +class BudgetPeriodEnum(_CreateEnumTypeUponFirstAccess): + BudgetPeriod = '''\ class BudgetPeriod(enum.IntEnum): """ Possible period of a Budget. @@ -1855,17 +2372,16 @@ class BudgetPeriod(enum.IntEnum): UNSPECIFIED (int): Not specified. UNKNOWN (int): Used for return value only. Represents value unknown in this version. DAILY (int): Daily budget. - CUSTOM (int): Custom budget. - FIXED_DAILY (int): Fixed daily budget. """ UNSPECIFIED = 0 UNKNOWN = 1 DAILY = 2 - CUSTOM = 3 - FIXED_DAILY = 4 +''' +BudgetPeriodEnum = BudgetPeriodEnum() # For __getattribute__ -class BudgetStatusEnum(object): +class BudgetStatusEnum(_CreateEnumTypeUponFirstAccess): + BudgetStatus = '''\ class BudgetStatus(enum.IntEnum): """ Possible statuses of a Budget. @@ -1880,9 +2396,12 @@ class BudgetStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +BudgetStatusEnum = BudgetStatusEnum() # For __getattribute__ -class BudgetTypeEnum(object): +class BudgetTypeEnum(_CreateEnumTypeUponFirstAccess): + BudgetType = '''\ class BudgetType(enum.IntEnum): """ Possible Budget types. @@ -1912,9 +2431,12 @@ class BudgetType(enum.IntEnum): STANDARD = 2 HOTEL_ADS_COMMISSION = 3 FIXED_CPA = 4 +''' +BudgetTypeEnum = BudgetTypeEnum() # For __getattribute__ -class CallConversionReportingStateEnum(object): +class CallConversionReportingStateEnum(_CreateEnumTypeUponFirstAccess): + CallConversionReportingState = '''\ class CallConversionReportingState(enum.IntEnum): """ Possible data types for a call conversion action state. @@ -1933,9 +2455,12 @@ class CallConversionReportingState(enum.IntEnum): DISABLED = 2 USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION = 3 USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION = 4 +''' +CallConversionReportingStateEnum = CallConversionReportingStateEnum() # For __getattribute__ -class CallPlaceholderFieldEnum(object): +class CallPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + CallPlaceholderField = '''\ class CallPlaceholderField(enum.IntEnum): """ Possible values for Call placeholder fields. @@ -1963,9 +2488,12 @@ class CallPlaceholderField(enum.IntEnum): TRACKED = 4 CONVERSION_TYPE_ID = 5 CONVERSION_REPORTING_STATE = 6 +''' +CallPlaceholderFieldEnum = CallPlaceholderFieldEnum() # For __getattribute__ -class CalloutPlaceholderFieldEnum(object): +class CalloutPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + CalloutPlaceholderField = '''\ class CalloutPlaceholderField(enum.IntEnum): """ Possible values for Callout placeholder fields. @@ -1978,9 +2506,12 @@ class CalloutPlaceholderField(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 CALLOUT_TEXT = 2 +''' +CalloutPlaceholderFieldEnum = CalloutPlaceholderFieldEnum() # For __getattribute__ -class CampaignBudgetErrorEnum(object): +class CampaignBudgetErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignBudgetError = '''\ class CampaignBudgetError(enum.IntEnum): """ Enum describing possible campaign budget errors. @@ -2008,6 +2539,7 @@ class CampaignBudgetError(enum.IntEnum): MONEY_AMOUNT_TOO_LARGE (int): A money amount was greater than the maximum allowed. NEGATIVE_MONEY_AMOUNT (int): A money amount was negative. NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT (int): A money amount was not a multiple of a minimum unit. + TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY (int): Total budget amount must be unset when BudgetPeriod is DAILY. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2026,9 +2558,13 @@ class CampaignBudgetError(enum.IntEnum): MONEY_AMOUNT_TOO_LARGE = 14 NEGATIVE_MONEY_AMOUNT = 15 NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT = 16 + TOTAL_BUDGET_AMOUNT_MUST_BE_UNSET_FOR_BUDGET_PERIOD_DAILY = 18 +''' +CampaignBudgetErrorEnum = CampaignBudgetErrorEnum() # For __getattribute__ -class CampaignCriterionErrorEnum(object): +class CampaignCriterionErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignCriterionError = '''\ class CampaignCriterionError(enum.IntEnum): """ Enum describing possible campaign criterion errors. @@ -2065,9 +2601,12 @@ class CampaignCriterionError(enum.IntEnum): SHOPPING_CAMPAIGN_SALES_COUNTRY_NOT_SUPPORTED_FOR_SALES_CHANNEL = 10 CANNOT_ADD_EXISTING_FIELD = 11 CANNOT_UPDATE_NEGATIVE_CRITERION = 12 +''' +CampaignCriterionErrorEnum = CampaignCriterionErrorEnum() # For __getattribute__ -class CampaignCriterionStatusEnum(object): +class CampaignCriterionStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignCriterionStatus = '''\ class CampaignCriterionStatus(enum.IntEnum): """ The possible statuses of a CampaignCriterion. @@ -2086,9 +2625,12 @@ class CampaignCriterionStatus(enum.IntEnum): ENABLED = 2 PAUSED = 3 REMOVED = 4 +''' +CampaignCriterionStatusEnum = CampaignCriterionStatusEnum() # For __getattribute__ -class CampaignDraftErrorEnum(object): +class CampaignDraftErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignDraftError = '''\ class CampaignDraftError(enum.IntEnum): """ Enum describing possible campaign draft errors. @@ -2124,9 +2666,12 @@ class CampaignDraftError(enum.IntEnum): INVALID_STATUS_TRANSITION = 9 MAX_NUMBER_OF_DRAFTS_PER_CAMPAIGN_REACHED = 10 LIST_ERRORS_FOR_PROMOTED_DRAFT_ONLY = 11 +''' +CampaignDraftErrorEnum = CampaignDraftErrorEnum() # For __getattribute__ -class CampaignDraftStatusEnum(object): +class CampaignDraftStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignDraftStatus = '''\ class CampaignDraftStatus(enum.IntEnum): """ Possible statuses of a campaign draft. @@ -2153,9 +2698,12 @@ class CampaignDraftStatus(enum.IntEnum): PROMOTING = 5 PROMOTED = 4 PROMOTE_FAILED = 6 +''' +CampaignDraftStatusEnum = CampaignDraftStatusEnum() # For __getattribute__ -class CampaignErrorEnum(object): +class CampaignErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignError = '''\ class CampaignError(enum.IntEnum): """ Enum describing possible campaign errors. @@ -2179,9 +2727,9 @@ class CampaignError(enum.IntEnum): INCOMPATIBLE_CAMPAIGN_FIELD (int): Two fields are in conflicting modes. INVALID_CAMPAIGN_NAME (int): Campaign name cannot be used. INVALID_AD_SERVING_OPTIMIZATION_STATUS (int): Given status is invalid. - INVALID_TRACKING_URL (int): Error in the campaign level tracking url. - CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING (int): Cannot set both tracking url template and tracking setting. An user has - to clear legacy tracking setting in order to add tracking url template. + INVALID_TRACKING_URL (int): Error in the campaign level tracking URL. + CANNOT_SET_BOTH_TRACKING_URL_TEMPLATE_AND_TRACKING_SETTING (int): Cannot set both tracking URL template and tracking setting. A user has + to clear legacy tracking setting in order to add tracking URL template. MAX_IMPRESSIONS_NOT_IN_RANGE (int): The maximum number of impressions for Frequency Cap should be an integer greater than 0. TIME_UNIT_NOT_SUPPORTED (int): Only the Day, Week and Month time units are supported. @@ -2195,8 +2743,6 @@ class CampaignError(enum.IntEnum): CAMPAIGN_LABEL_ALREADY_EXISTS (int): The label has already been attached to the campaign. MISSING_SHOPPING_SETTING (int): A ShoppingSetting was not found when creating a shopping campaign. INVALID_SHOPPING_SALES_COUNTRY (int): The country in shopping setting is not an allowed country. - MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING (int): A Campaign with channel sub type UNIVERSAL\_APP\_CAMPAIGN must have a - UniversalAppCampaignSetting specified. ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE (int): The requested channel type is not available according to the customer's account setting. INVALID_ADVERTISING_CHANNEL_SUB_TYPE (int): The AdvertisingChannelSubType is not a valid subtype of the primary @@ -2216,6 +2762,10 @@ class CampaignError(enum.IntEnum): specified campaign type. MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS (int): The merchant does not support the creation of campaigns for Shopping Comparison Listing Ads. + INSUFFICIENT_APP_INSTALLS_COUNT (int): The App campaign for engagement cannot be created because there aren't + enough installs. + SENSITIVE_CATEGORY_APP (int): The App campaign for engagement cannot be created because the app is + sensitive. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2244,7 +2794,6 @@ class CampaignError(enum.IntEnum): CAMPAIGN_LABEL_ALREADY_EXISTS = 25 MISSING_SHOPPING_SETTING = 26 INVALID_SHOPPING_SALES_COUNTRY = 27 - MISSING_UNIVERSAL_APP_CAMPAIGN_SETTING = 30 ADVERTISING_CHANNEL_TYPE_NOT_AVAILABLE_FOR_ACCOUNT_TYPE = 31 INVALID_ADVERTISING_CHANNEL_SUB_TYPE = 32 AT_LEAST_ONE_CONVERSION_MUST_BE_SELECTED = 33 @@ -2258,9 +2807,14 @@ class CampaignError(enum.IntEnum): APP_NOT_FOUND = 41 SHOPPING_ENABLE_LOCAL_NOT_SUPPORTED_FOR_CAMPAIGN_TYPE = 42 MERCHANT_NOT_ALLOWED_FOR_COMPARISON_LISTING_ADS = 43 + INSUFFICIENT_APP_INSTALLS_COUNT = 44 + SENSITIVE_CATEGORY_APP = 45 +''' +CampaignErrorEnum = CampaignErrorEnum() # For __getattribute__ -class CampaignExperimentErrorEnum(object): +class CampaignExperimentErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignExperimentError = '''\ class CampaignExperimentError(enum.IntEnum): """ Enum describing possible campaign experiment errors. @@ -2298,9 +2852,12 @@ class CampaignExperimentError(enum.IntEnum): EXPERIMENT_DURATIONS_MUST_NOT_OVERLAP = 9 EXPERIMENT_DURATION_MUST_BE_WITHIN_CAMPAIGN_DURATION = 10 CANNOT_MUTATE_EXPERIMENT_DUE_TO_STATUS = 11 +''' +CampaignExperimentErrorEnum = CampaignExperimentErrorEnum() # For __getattribute__ -class CampaignExperimentStatusEnum(object): +class CampaignExperimentStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignExperimentStatus = '''\ class CampaignExperimentStatus(enum.IntEnum): """ Possible statuses of a campaign experiment. @@ -2335,9 +2892,12 @@ class CampaignExperimentStatus(enum.IntEnum): PROMOTION_FAILED = 9 PROMOTED = 7 ENDED_MANUALLY = 10 +''' +CampaignExperimentStatusEnum = CampaignExperimentStatusEnum() # For __getattribute__ -class CampaignExperimentTrafficSplitTypeEnum(object): +class CampaignExperimentTrafficSplitTypeEnum(_CreateEnumTypeUponFirstAccess): + CampaignExperimentTrafficSplitType = '''\ class CampaignExperimentTrafficSplitType(enum.IntEnum): """ Enum of strategies for splitting traffic between base and experiment @@ -2355,9 +2915,12 @@ class CampaignExperimentTrafficSplitType(enum.IntEnum): UNKNOWN = 1 RANDOM_QUERY = 2 COOKIE = 3 +''' +CampaignExperimentTrafficSplitTypeEnum = CampaignExperimentTrafficSplitTypeEnum() # For __getattribute__ -class CampaignExperimentTypeEnum(object): +class CampaignExperimentTypeEnum(_CreateEnumTypeUponFirstAccess): + CampaignExperimentType = '''\ class CampaignExperimentType(enum.IntEnum): """ Indicates if this campaign is a normal campaign, @@ -2380,9 +2943,12 @@ class CampaignExperimentType(enum.IntEnum): BASE = 2 DRAFT = 3 EXPERIMENT = 4 +''' +CampaignExperimentTypeEnum = CampaignExperimentTypeEnum() # For __getattribute__ -class CampaignFeedErrorEnum(object): +class CampaignFeedErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignFeedError = '''\ class CampaignFeedError(enum.IntEnum): """ Enum describing possible campaign feed errors. @@ -2397,6 +2963,8 @@ class CampaignFeedError(enum.IntEnum): CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED (int): Cannot update removed campaign feed. INVALID_PLACEHOLDER_TYPE (int): Invalid placeholder type. MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE (int): Feed mapping for this placeholder type does not exist. + NO_EXISTING_LOCATION_CUSTOMER_FEED (int): Location CampaignFeeds cannot be created unless there is a location + CustomerFeed for the specified feed. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2406,9 +2974,13 @@ class CampaignFeedError(enum.IntEnum): CANNOT_MODIFY_REMOVED_CAMPAIGN_FEED = 6 INVALID_PLACEHOLDER_TYPE = 7 MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 8 + NO_EXISTING_LOCATION_CUSTOMER_FEED = 9 +''' +CampaignFeedErrorEnum = CampaignFeedErrorEnum() # For __getattribute__ -class CampaignServingStatusEnum(object): +class CampaignServingStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignServingStatus = '''\ class CampaignServingStatus(enum.IntEnum): """ Possible serving statuses of a campaign. @@ -2431,9 +3003,12 @@ class CampaignServingStatus(enum.IntEnum): ENDED = 4 PENDING = 5 SUSPENDED = 6 +''' +CampaignServingStatusEnum = CampaignServingStatusEnum() # For __getattribute__ -class CampaignSharedSetErrorEnum(object): +class CampaignSharedSetErrorEnum(_CreateEnumTypeUponFirstAccess): + CampaignSharedSetError = '''\ class CampaignSharedSetError(enum.IntEnum): """ Enum describing possible campaign shared set errors. @@ -2446,9 +3021,12 @@ class CampaignSharedSetError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 SHARED_SET_ACCESS_DENIED = 2 +''' +CampaignSharedSetErrorEnum = CampaignSharedSetErrorEnum() # For __getattribute__ -class CampaignSharedSetStatusEnum(object): +class CampaignSharedSetStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignSharedSetStatus = '''\ class CampaignSharedSetStatus(enum.IntEnum): """ Enum listing the possible campaign shared set statuses. @@ -2463,9 +3041,12 @@ class CampaignSharedSetStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +CampaignSharedSetStatusEnum = CampaignSharedSetStatusEnum() # For __getattribute__ -class CampaignStatusEnum(object): +class CampaignStatusEnum(_CreateEnumTypeUponFirstAccess): + CampaignStatus = '''\ class CampaignStatus(enum.IntEnum): """ Possible statuses of a campaign. @@ -2482,9 +3063,12 @@ class CampaignStatus(enum.IntEnum): ENABLED = 2 PAUSED = 3 REMOVED = 4 +''' +CampaignStatusEnum = CampaignStatusEnum() # For __getattribute__ -class ChangeStatusErrorEnum(object): +class ChangeStatusErrorEnum(_CreateEnumTypeUponFirstAccess): + ChangeStatusError = '''\ class ChangeStatusError(enum.IntEnum): """ Enum describing possible change status errors. @@ -2497,9 +3081,12 @@ class ChangeStatusError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 START_DATE_TOO_OLD = 3 +''' +ChangeStatusErrorEnum = ChangeStatusErrorEnum() # For __getattribute__ -class ChangeStatusOperationEnum(object): +class ChangeStatusOperationEnum(_CreateEnumTypeUponFirstAccess): + ChangeStatusOperation = '''\ class ChangeStatusOperation(enum.IntEnum): """ Status of the changed resource @@ -2517,9 +3104,12 @@ class ChangeStatusOperation(enum.IntEnum): ADDED = 2 CHANGED = 3 REMOVED = 4 +''' +ChangeStatusOperationEnum = ChangeStatusOperationEnum() # For __getattribute__ -class ChangeStatusResourceTypeEnum(object): +class ChangeStatusResourceTypeEnum(_CreateEnumTypeUponFirstAccess): + ChangeStatusResourceType = '''\ class ChangeStatusResourceType(enum.IntEnum): """ Enum listing the resource types support by the ChangeStatus resource. @@ -2551,9 +3141,12 @@ class ChangeStatusResourceType(enum.IntEnum): AD_GROUP_FEED = 11 CAMPAIGN_FEED = 12 AD_GROUP_BID_MODIFIER = 13 +''' +ChangeStatusResourceTypeEnum = ChangeStatusResourceTypeEnum() # For __getattribute__ -class ClickTypeEnum(object): +class ClickTypeEnum(_CreateEnumTypeUponFirstAccess): + ClickType = '''\ class ClickType(enum.IntEnum): """ Enumerates Google Ads click types. @@ -2670,9 +3263,12 @@ class ClickType(enum.IntEnum): PRICE_EXTENSION = 54 HOTEL_BOOK_ON_GOOGLE_ROOM_SELECTION = 55 SHOPPING_COMPARISON_LISTING = 56 +''' +ClickTypeEnum = ClickTypeEnum() # For __getattribute__ -class CollectionSizeErrorEnum(object): +class CollectionSizeErrorEnum(_CreateEnumTypeUponFirstAccess): + CollectionSizeError = '''\ class CollectionSizeError(enum.IntEnum): """ Enum describing possible collection size errors. @@ -2687,9 +3283,12 @@ class CollectionSizeError(enum.IntEnum): UNKNOWN = 1 TOO_FEW = 2 TOO_MANY = 3 +''' +CollectionSizeErrorEnum = CollectionSizeErrorEnum() # For __getattribute__ -class ContentLabelTypeEnum(object): +class ContentLabelTypeEnum(_CreateEnumTypeUponFirstAccess): + ContentLabelType = '''\ class ContentLabelType(enum.IntEnum): """ Enum listing the content label types supported by ContentLabel criterion. @@ -2700,7 +3299,6 @@ class ContentLabelType(enum.IntEnum): SEXUALLY_SUGGESTIVE (int): Sexually suggestive content. BELOW_THE_FOLD (int): Below the fold placement. PARKED_DOMAIN (int): Parked domain. - GAME (int): Game. JUVENILE (int): Juvenile, gross & bizarre content. PROFANITY (int): Profanity & rough language. TRAGEDY (int): Death & tragedy. @@ -2712,13 +3310,13 @@ class ContentLabelType(enum.IntEnum): VIDEO_NOT_YET_RATED (int): Content rating: not yet rated. EMBEDDED_VIDEO (int): Embedded video. LIVE_STREAMING_VIDEO (int): Live streaming video. + SOCIAL_ISSUES (int): Sensitive social issues. """ UNSPECIFIED = 0 UNKNOWN = 1 SEXUALLY_SUGGESTIVE = 2 BELOW_THE_FOLD = 3 PARKED_DOMAIN = 4 - GAME = 5 JUVENILE = 6 PROFANITY = 7 TRAGEDY = 8 @@ -2730,9 +3328,13 @@ class ContentLabelType(enum.IntEnum): VIDEO_NOT_YET_RATED = 14 EMBEDDED_VIDEO = 15 LIVE_STREAMING_VIDEO = 16 + SOCIAL_ISSUES = 17 +''' +ContentLabelTypeEnum = ContentLabelTypeEnum() # For __getattribute__ -class ContextErrorEnum(object): +class ContextErrorEnum(_CreateEnumTypeUponFirstAccess): + ContextError = '''\ class ContextError(enum.IntEnum): """ Enum describing possible context errors. @@ -2747,9 +3349,12 @@ class ContextError(enum.IntEnum): UNKNOWN = 1 OPERATION_NOT_PERMITTED_FOR_CONTEXT = 2 OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 3 +''' +ContextErrorEnum = ContextErrorEnum() # For __getattribute__ -class ConversionActionCategoryEnum(object): +class ConversionActionCategoryEnum(_CreateEnumTypeUponFirstAccess): + ConversionActionCategory = '''\ class ConversionActionCategory(enum.IntEnum): """ The category of conversions that are associated with a ConversionAction. @@ -2763,6 +3368,23 @@ class ConversionActionCategory(enum.IntEnum): SIGNUP (int): Signup user action. LEAD (int): Lead-generating action. DOWNLOAD (int): Software download action (as for an app). + ADD_TO_CART (int): The addition of items to a shopping cart or bag on an advertiser site. + BEGIN_CHECKOUT (int): When someone enters the checkout flow on an advertiser site. + SUBSCRIBE_PAID (int): The start of a paid subscription for a product or service. + PHONE_CALL_LEAD (int): A call to indicate interest in an advertiser's offering. + IMPORTED_LEAD (int): A lead conversion imported from an external source into Google Ads. + SUBMIT_LEAD_FORM (int): A submission of a form on an advertiser site indicating business + interest. + BOOK_APPOINTMENT (int): A booking of an appointment with an advertiser's business. + REQUEST_QUOTE (int): A quote or price estimate request. + GET_DIRECTIONS (int): A search for an advertiser's business location with intention to visit. + OUTBOUND_CLICK (int): A click to an advertiser's partner's site. + CONTACT (int): A call, SMS, email, chat or other type of contact to an advertiser. + ENGAGEMENT (int): A website engagement event such as long site time or a Google Analytics + (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal + imports. + STORE_VISIT (int): A visit to a physical store location. + STORE_SALE (int): A sale occurring in a physical store. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2772,9 +3394,26 @@ class ConversionActionCategory(enum.IntEnum): SIGNUP = 5 LEAD = 6 DOWNLOAD = 7 - - -class ConversionActionCountingTypeEnum(object): + ADD_TO_CART = 8 + BEGIN_CHECKOUT = 9 + SUBSCRIBE_PAID = 10 + PHONE_CALL_LEAD = 11 + IMPORTED_LEAD = 12 + SUBMIT_LEAD_FORM = 13 + BOOK_APPOINTMENT = 14 + REQUEST_QUOTE = 15 + GET_DIRECTIONS = 16 + OUTBOUND_CLICK = 17 + CONTACT = 18 + ENGAGEMENT = 19 + STORE_VISIT = 20 + STORE_SALE = 21 +''' +ConversionActionCategoryEnum = ConversionActionCategoryEnum() # For __getattribute__ + + +class ConversionActionCountingTypeEnum(_CreateEnumTypeUponFirstAccess): + ConversionActionCountingType = '''\ class ConversionActionCountingType(enum.IntEnum): """ Indicates how conversions for this action will be counted. For more @@ -2790,9 +3429,12 @@ class ConversionActionCountingType(enum.IntEnum): UNKNOWN = 1 ONE_PER_CLICK = 2 MANY_PER_CLICK = 3 +''' +ConversionActionCountingTypeEnum = ConversionActionCountingTypeEnum() # For __getattribute__ -class ConversionActionErrorEnum(object): +class ConversionActionErrorEnum(_CreateEnumTypeUponFirstAccess): + ConversionActionError = '''\ class ConversionActionError(enum.IntEnum): """ Enum describing possible conversion action errors. @@ -2815,6 +3457,8 @@ class ConversionActionError(enum.IntEnum): DATA_DRIVEN_MODEL_UNKNOWN (int): The attribution model cannot be set to DATA\_DRIVEN because the data-driven model is unavailable or the conversion action was newly added. + CREATION_NOT_SUPPORTED (int): Creation of this conversion action type isn't supported by Google + Ads API. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2826,9 +3470,13 @@ class ConversionActionError(enum.IntEnum): DATA_DRIVEN_MODEL_EXPIRED = 7 DATA_DRIVEN_MODEL_STALE = 8 DATA_DRIVEN_MODEL_UNKNOWN = 9 + CREATION_NOT_SUPPORTED = 10 +''' +ConversionActionErrorEnum = ConversionActionErrorEnum() # For __getattribute__ -class ConversionActionStatusEnum(object): +class ConversionActionStatusEnum(_CreateEnumTypeUponFirstAccess): + ConversionActionStatus = '''\ class ConversionActionStatus(enum.IntEnum): """ Possible statuses of a conversion action. @@ -2846,9 +3494,12 @@ class ConversionActionStatus(enum.IntEnum): ENABLED = 2 REMOVED = 3 HIDDEN = 4 +''' +ConversionActionStatusEnum = ConversionActionStatusEnum() # For __getattribute__ -class ConversionActionTypeEnum(object): +class ConversionActionTypeEnum(_CreateEnumTypeUponFirstAccess): + ConversionActionType = '''\ class ConversionActionType(enum.IntEnum): """ Possible types of a conversion action. @@ -2869,6 +3520,27 @@ class ConversionActionType(enum.IntEnum): WEBPAGE (int): Conversions that occur on a webpage. WEBSITE_CALL (int): Conversions that occur when a user calls a dynamically-generated phone number from an advertiser's website. + STORE_SALES_DIRECT_UPLOAD (int): Store Sales conversion based on first-party or third-party merchant + data uploads. + Only whitelisted customers can use store sales direct upload types. + STORE_SALES (int): Store Sales conversion based on first-party or third-party merchant + data uploads and/or from in-store purchases using cards from payment + networks. + Only whitelisted customers can use store sales types. + FIREBASE_ANDROID_FIRST_OPEN (int): Android app first open conversions tracked via Firebase. + FIREBASE_ANDROID_IN_APP_PURCHASE (int): Android app in app purchase conversions tracked via Firebase. + FIREBASE_ANDROID_CUSTOM (int): Android app custom conversions tracked via Firebase. + FIREBASE_IOS_FIRST_OPEN (int): iOS app first open conversions tracked via Firebase. + FIREBASE_IOS_IN_APP_PURCHASE (int): iOS app in app purchase conversions tracked via Firebase. + FIREBASE_IOS_CUSTOM (int): iOS app custom conversions tracked via Firebase. + THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN (int): Android app first open conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE (int): Android app in app purchase conversions tracked via Third Party App + Analytics. + THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM (int): Android app custom conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN (int): iOS app first open conversions tracked via Third Party App Analytics. + THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE (int): iOS app in app purchase conversions tracked via Third Party App + Analytics. + THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM (int): iOS app custom conversions tracked via Third Party App Analytics. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2880,9 +3552,26 @@ class ConversionActionType(enum.IntEnum): UPLOAD_CLICKS = 7 WEBPAGE = 8 WEBSITE_CALL = 9 - - -class ConversionAdjustmentTypeEnum(object): + STORE_SALES_DIRECT_UPLOAD = 10 + STORE_SALES = 11 + FIREBASE_ANDROID_FIRST_OPEN = 12 + FIREBASE_ANDROID_IN_APP_PURCHASE = 13 + FIREBASE_ANDROID_CUSTOM = 14 + FIREBASE_IOS_FIRST_OPEN = 15 + FIREBASE_IOS_IN_APP_PURCHASE = 16 + FIREBASE_IOS_CUSTOM = 17 + THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN = 18 + THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE = 19 + THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM = 20 + THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN = 21 + THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE = 22 + THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM = 23 +''' +ConversionActionTypeEnum = ConversionActionTypeEnum() # For __getattribute__ + + +class ConversionAdjustmentTypeEnum(_CreateEnumTypeUponFirstAccess): + ConversionAdjustmentType = '''\ class ConversionAdjustmentType(enum.IntEnum): """ The different actions advertisers can take to adjust the conversions that @@ -2899,9 +3588,12 @@ class ConversionAdjustmentType(enum.IntEnum): UNKNOWN = 1 RETRACTION = 2 RESTATEMENT = 3 +''' +ConversionAdjustmentTypeEnum = ConversionAdjustmentTypeEnum() # For __getattribute__ -class ConversionAdjustmentUploadErrorEnum(object): +class ConversionAdjustmentUploadErrorEnum(_CreateEnumTypeUponFirstAccess): + ConversionAdjustmentUploadError = '''\ class ConversionAdjustmentUploadError(enum.IntEnum): """ Enum describing possible conversion adjustment upload errors. @@ -2926,6 +3618,8 @@ class ConversionAdjustmentUploadError(enum.IntEnum): TOO_RECENT_CONVERSION (int): The conversion was created too recently. CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE (int): Restatements cannot be reported for a conversion action that always uses the default value. + TOO_MANY_ADJUSTMENTS_IN_REQUEST (int): The request contained more than 2000 adjustments. + TOO_MANY_ADJUSTMENTS (int): The conversion has been adjusted too many times. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -2938,9 +3632,14 @@ class ConversionAdjustmentUploadError(enum.IntEnum): MORE_RECENT_RESTATEMENT_FOUND = 8 TOO_RECENT_CONVERSION = 9 CANNOT_RESTATE_CONVERSION_ACTION_THAT_ALWAYS_USES_DEFAULT_CONVERSION_VALUE = 10 + TOO_MANY_ADJUSTMENTS_IN_REQUEST = 11 + TOO_MANY_ADJUSTMENTS = 12 +''' +ConversionAdjustmentUploadErrorEnum = ConversionAdjustmentUploadErrorEnum() # For __getattribute__ -class ConversionAttributionEventTypeEnum(object): +class ConversionAttributionEventTypeEnum(_CreateEnumTypeUponFirstAccess): + ConversionAttributionEventType = '''\ class ConversionAttributionEventType(enum.IntEnum): """ The event type of conversions that are attributed to. @@ -2955,9 +3654,12 @@ class ConversionAttributionEventType(enum.IntEnum): UNKNOWN = 1 IMPRESSION = 2 INTERACTION = 3 +''' +ConversionAttributionEventTypeEnum = ConversionAttributionEventTypeEnum() # For __getattribute__ -class ConversionLagBucketEnum(object): +class ConversionLagBucketEnum(_CreateEnumTypeUponFirstAccess): + ConversionLagBucket = '''\ class ConversionLagBucket(enum.IntEnum): """ Enum representing the number of days between impression and conversion. @@ -3023,9 +3725,12 @@ class ConversionLagBucket(enum.IntEnum): THIRTY_TO_FORTY_FIVE_DAYS = 18 FORTY_FIVE_TO_SIXTY_DAYS = 19 SIXTY_TO_NINETY_DAYS = 20 +''' +ConversionLagBucketEnum = ConversionLagBucketEnum() # For __getattribute__ -class ConversionOrAdjustmentLagBucketEnum(object): +class ConversionOrAdjustmentLagBucketEnum(_CreateEnumTypeUponFirstAccess): + ConversionOrAdjustmentLagBucket = '''\ class ConversionOrAdjustmentLagBucket(enum.IntEnum): """ Enum representing the number of days between the impression and the @@ -3158,9 +3863,12 @@ class ConversionOrAdjustmentLagBucket(enum.IntEnum): ADJUSTMENT_NINETY_TO_ONE_HUNDRED_AND_FORTY_FIVE_DAYS = 40 CONVERSION_UNKNOWN = 41 ADJUSTMENT_UNKNOWN = 42 +''' +ConversionOrAdjustmentLagBucketEnum = ConversionOrAdjustmentLagBucketEnum() # For __getattribute__ -class ConversionUploadErrorEnum(object): +class ConversionUploadErrorEnum(_CreateEnumTypeUponFirstAccess): + ConversionUploadError = '''\ class ConversionUploadError(enum.IntEnum): """ Enum describing possible conversion upload errors. @@ -3176,7 +3884,7 @@ class ConversionUploadError(enum.IntEnum): imported or occurred outside of the click through lookback window for the specified conversion action. TOO_RECENT_GCLID (int): The click associated with the given gclid occurred too recently. Please - try uploading again after 24 hours have passed since the click occurred. + try uploading again after 6 hours have passed since the click occurred. GCLID_NOT_FOUND (int): The click associated with the given gclid could not be found in the system. This can happen if Google Click IDs are collected for non Google Ads clicks. @@ -3201,7 +3909,7 @@ class ConversionUploadError(enum.IntEnum): already exists in our system. DUPLICATE_ORDER_ID (int): The request contained two or more conversions with the same order id and conversion action combination. - TOO_RECENT_CALL (int): The call occurred too recently. Please try uploading again after 24 hours + TOO_RECENT_CALL (int): The call occurred too recently. Please try uploading again after 6 hours have passed since the call occurred. EXPIRED_CALL (int): The click that initiated the call is too old for this conversion to be imported. @@ -3237,9 +3945,12 @@ class ConversionUploadError(enum.IntEnum): CONVERSION_PRECEDES_CALL = 20 CONVERSION_TRACKING_NOT_ENABLED_AT_CALL_TIME = 21 UNPARSEABLE_CALLERS_PHONE_NUMBER = 22 +''' +ConversionUploadErrorEnum = ConversionUploadErrorEnum() # For __getattribute__ -class CountryCodeErrorEnum(object): +class CountryCodeErrorEnum(_CreateEnumTypeUponFirstAccess): + CountryCodeError = '''\ class CountryCodeError(enum.IntEnum): """ Enum describing country code errors. @@ -3252,9 +3963,12 @@ class CountryCodeError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_COUNTRY_CODE = 2 +''' +CountryCodeErrorEnum = CountryCodeErrorEnum() # For __getattribute__ -class CriterionCategoryChannelAvailabilityModeEnum(object): +class CriterionCategoryChannelAvailabilityModeEnum(_CreateEnumTypeUponFirstAccess): + CriterionCategoryChannelAvailabilityMode = '''\ class CriterionCategoryChannelAvailabilityMode(enum.IntEnum): """ Enum containing the possible CriterionCategoryChannelAvailabilityMode. @@ -3273,9 +3987,12 @@ class CriterionCategoryChannelAvailabilityMode(enum.IntEnum): ALL_CHANNELS = 2 CHANNEL_TYPE_AND_ALL_SUBTYPES = 3 CHANNEL_TYPE_AND_SUBSET_SUBTYPES = 4 +''' +CriterionCategoryChannelAvailabilityModeEnum = CriterionCategoryChannelAvailabilityModeEnum() # For __getattribute__ -class CriterionCategoryLocaleAvailabilityModeEnum(object): +class CriterionCategoryLocaleAvailabilityModeEnum(_CreateEnumTypeUponFirstAccess): + CriterionCategoryLocaleAvailabilityMode = '''\ class CriterionCategoryLocaleAvailabilityMode(enum.IntEnum): """ Enum containing the possible CriterionCategoryLocaleAvailabilityMode. @@ -3297,9 +4014,12 @@ class CriterionCategoryLocaleAvailabilityMode(enum.IntEnum): COUNTRY_AND_ALL_LANGUAGES = 3 LANGUAGE_AND_ALL_COUNTRIES = 4 COUNTRY_AND_LANGUAGE = 5 +''' +CriterionCategoryLocaleAvailabilityModeEnum = CriterionCategoryLocaleAvailabilityModeEnum() # For __getattribute__ -class CriterionErrorEnum(object): +class CriterionErrorEnum(_CreateEnumTypeUponFirstAccess): + CriterionError = '''\ class CriterionError(enum.IntEnum): """ Enum describing possible criterion errors. @@ -3333,11 +4053,6 @@ class CriterionError(enum.IntEnum): CANNOT_EXCLUDE_CRITERIA_TYPE (int): Criteria type can not be excluded by the customer, like AOL account type cannot target site type criteria. CANNOT_ADD_CRITERIA_TYPE (int): Criteria type can not be targeted. - INVALID_PRODUCT_FILTER (int): Product filter in the product criteria has invalid characters. Operand - and the argument in the filter can not have "==" or "&+". - PRODUCT_FILTER_TOO_LONG (int): Product filter in the product criteria is translated to a string as - operand1==argument1&+operand2==argument2, maximum allowed length for the - string is 255 chars. CANNOT_EXCLUDE_SIMILAR_USER_LIST (int): Not allowed to exclude similar user list. CANNOT_ADD_CLOSED_USER_LIST (int): Not allowed to target a closed user list. CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS (int): Not allowed to add display only UserLists to search only campaigns. @@ -3392,23 +4107,6 @@ class CriterionError(enum.IntEnum): CANNOT_EXCLUDE_CRITERION (int): The Criterion is not allowed to be excluded. CANNOT_REMOVE_CRITERION (int): The criterion is not allowed to be removed. For example, we cannot remove any of the device criterion. - PRODUCT_SCOPE_TOO_LONG (int): The combined length of product dimension values of the product scope - criterion is too long. - PRODUCT_SCOPE_TOO_MANY_DIMENSIONS (int): Product scope contains too many dimensions. - PRODUCT_PARTITION_TOO_LONG (int): The combined length of product dimension values of the product partition - criterion is too long. - PRODUCT_PARTITION_TOO_MANY_DIMENSIONS (int): Product partition contains too many dimensions. - INVALID_PRODUCT_DIMENSION (int): The product dimension is invalid (e.g. dimension contains illegal value, - dimension type is represented with wrong class, etc). Product dimension - value can not contain "==" or "&+". - INVALID_PRODUCT_DIMENSION_TYPE (int): Product dimension type is either invalid for campaigns of this type or - cannot be used in the current context. BIDDING\_CATEGORY\_Lx and - PRODUCT\_TYPE\_Lx product dimensions must be used in ascending order of - their levels: L1, L2, L3, L4, L5... The levels must be specified - sequentially and start from L1. Furthermore, an "others" product - partition cannot be subdivided with a dimension of the same type but of - a higher level ("others" BIDDING\_CATEGORY\_L3 can be subdivided with - BRAND but not with BIDDING\_CATEGORY\_L4). INVALID_PRODUCT_BIDDING_CATEGORY (int): Bidding categories do not form a valid path in the Shopping bidding category taxonomy. MISSING_SHOPPING_SETTING (int): ShoppingSetting must be added to the campaign before ProductScope @@ -3438,6 +4136,40 @@ class CriterionError(enum.IntEnum): WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION (int): Only one URL-EQUALS webpage condition is allowed in a webpage criterion and it cannot be combined with other conditions. WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP (int): A webpage criterion cannot be added to a non-DSA ad group. + CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS (int): Cannot add positive user list criteria in Smart Display campaigns. + LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES (int): Listing scope contains too many dimension types. + LISTING_SCOPE_TOO_MANY_IN_OPERATORS (int): Listing scope has too many IN operators. + LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED (int): Listing scope contains IN operator on an unsupported dimension type. + DUPLICATE_LISTING_DIMENSION_TYPE (int): There are dimensions with duplicate dimension type. + DUPLICATE_LISTING_DIMENSION_VALUE (int): There are dimensions with duplicate dimension value. + CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION (int): Listing group SUBDIVISION nodes cannot have bids. + INVALID_LISTING_GROUP_HIERARCHY (int): Ad group is invalid due to the listing groups it contains. + LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN (int): Listing group unit cannot have children. + LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE (int): Subdivided listing groups must have an "others" case. + LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS (int): Dimension type of listing group must be the same as that of its siblings. + LISTING_GROUP_ALREADY_EXISTS (int): Listing group cannot be added to the ad group because it already exists. + LISTING_GROUP_DOES_NOT_EXIST (int): Listing group referenced in the operation was not found in the ad group. + LISTING_GROUP_CANNOT_BE_REMOVED (int): Recursive removal failed because listing group subdivision is being + created or modified in this request. + INVALID_LISTING_GROUP_TYPE (int): Listing group type is not allowed for specified ad group criterion type. + LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID (int): Listing group in an ADD operation specifies a non temporary criterion id. + LISTING_SCOPE_TOO_LONG (int): The combined length of dimension values of the Listing scope criterion + is too long. + LISTING_SCOPE_TOO_MANY_DIMENSIONS (int): Listing scope contains too many dimensions. + LISTING_GROUP_TOO_LONG (int): The combined length of dimension values of the Listing group criterion is + too long. + LISTING_GROUP_TREE_TOO_DEEP (int): Listing group tree is too deep. + INVALID_LISTING_DIMENSION (int): Listing dimension is invalid (e.g. dimension contains illegal value, + dimension type is represented with wrong class, etc). Listing dimension + value can not contain "==" or "&+". + INVALID_LISTING_DIMENSION_TYPE (int): Listing dimension type is either invalid for campaigns of this type or + cannot be used in the current context. BIDDING\_CATEGORY\_Lx and + PRODUCT\_TYPE\_Lx dimensions must be used in ascending order of their + levels: L1, L2, L3, L4, L5... The levels must be specified sequentially + and start from L1. Furthermore, an "others" Listing group cannot be + subdivided with a dimension of the same type but of a higher level + ("others" BIDDING\_CATEGORY\_L3 can be subdivided with BRAND but not + with BIDDING\_CATEGORY\_L4). """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -3463,8 +4195,6 @@ class CriterionError(enum.IntEnum): YOUTUBE_URL_UNSUPPORTED = 21 CANNOT_EXCLUDE_CRITERIA_TYPE = 22 CANNOT_ADD_CRITERIA_TYPE = 23 - INVALID_PRODUCT_FILTER = 24 - PRODUCT_FILTER_TOO_LONG = 25 CANNOT_EXCLUDE_SIMILAR_USER_LIST = 26 CANNOT_ADD_CLOSED_USER_LIST = 27 CANNOT_ADD_DISPLAY_ONLY_LISTS_TO_SEARCH_ONLY_CAMPAIGNS = 28 @@ -3511,12 +4241,6 @@ class CriterionError(enum.IntEnum): CRITERIA_TYPE_INVALID_FOR_BIDDING_STRATEGY = 67 CANNOT_EXCLUDE_CRITERION = 68 CANNOT_REMOVE_CRITERION = 69 - PRODUCT_SCOPE_TOO_LONG = 70 - PRODUCT_SCOPE_TOO_MANY_DIMENSIONS = 71 - PRODUCT_PARTITION_TOO_LONG = 72 - PRODUCT_PARTITION_TOO_MANY_DIMENSIONS = 73 - INVALID_PRODUCT_DIMENSION = 74 - INVALID_PRODUCT_DIMENSION_TYPE = 75 INVALID_PRODUCT_BIDDING_CATEGORY = 76 MISSING_SHOPPING_SETTING = 77 INVALID_MATCHING_FUNCTION = 78 @@ -3538,9 +4262,34 @@ class CriterionError(enum.IntEnum): WEBPAGE_CONDITION_URL_VALUE_TRACK_VALUE_NOT_SUPPORTED = 93 WEBPAGE_CRITERION_URL_EQUALS_CAN_HAVE_ONLY_ONE_CONDITION = 94 WEBPAGE_CRITERION_NOT_SUPPORTED_ON_NON_DSA_AD_GROUP = 95 - - -class CriterionSystemServingStatusEnum(object): + CANNOT_TARGET_USER_LIST_FOR_SMART_DISPLAY_CAMPAIGNS = 99 + LISTING_SCOPE_TOO_MANY_DIMENSION_TYPES = 100 + LISTING_SCOPE_TOO_MANY_IN_OPERATORS = 101 + LISTING_SCOPE_IN_OPERATOR_NOT_SUPPORTED = 102 + DUPLICATE_LISTING_DIMENSION_TYPE = 103 + DUPLICATE_LISTING_DIMENSION_VALUE = 104 + CANNOT_SET_BIDS_ON_LISTING_GROUP_SUBDIVISION = 105 + INVALID_LISTING_GROUP_HIERARCHY = 106 + LISTING_GROUP_UNIT_CANNOT_HAVE_CHILDREN = 107 + LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE = 108 + LISTING_GROUP_REQUIRES_SAME_DIMENSION_TYPE_AS_SIBLINGS = 109 + LISTING_GROUP_ALREADY_EXISTS = 110 + LISTING_GROUP_DOES_NOT_EXIST = 111 + LISTING_GROUP_CANNOT_BE_REMOVED = 112 + INVALID_LISTING_GROUP_TYPE = 113 + LISTING_GROUP_ADD_MAY_ONLY_USE_TEMP_ID = 114 + LISTING_SCOPE_TOO_LONG = 115 + LISTING_SCOPE_TOO_MANY_DIMENSIONS = 116 + LISTING_GROUP_TOO_LONG = 117 + LISTING_GROUP_TREE_TOO_DEEP = 118 + INVALID_LISTING_DIMENSION = 119 + INVALID_LISTING_DIMENSION_TYPE = 120 +''' +CriterionErrorEnum = CriterionErrorEnum() # For __getattribute__ + + +class CriterionSystemServingStatusEnum(_CreateEnumTypeUponFirstAccess): + CriterionSystemServingStatus = '''\ class CriterionSystemServingStatus(enum.IntEnum): """ Enumerates criterion system serving statuses. @@ -3555,9 +4304,12 @@ class CriterionSystemServingStatus(enum.IntEnum): UNKNOWN = 1 ELIGIBLE = 2 RARELY_SERVED = 3 +''' +CriterionSystemServingStatusEnum = CriterionSystemServingStatusEnum() # For __getattribute__ -class CriterionTypeEnum(object): +class CriterionTypeEnum(_CreateEnumTypeUponFirstAccess): + CriterionType = '''\ class CriterionType(enum.IntEnum): """ Enum describing possible criterion types. @@ -3628,9 +4380,30 @@ class CriterionType(enum.IntEnum): CUSTOM_AFFINITY = 29 CUSTOM_INTENT = 30 LOCATION_GROUP = 31 +''' +CriterionTypeEnum = CriterionTypeEnum() # For __getattribute__ + + +class CurrencyCodeErrorEnum(_CreateEnumTypeUponFirstAccess): + CurrencyCodeError = '''\ + class CurrencyCodeError(enum.IntEnum): + """ + Enum describing possible currency code errors. + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + UNSUPPORTED (int): The currency code is not supported. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + UNSUPPORTED = 2 +''' +CurrencyCodeErrorEnum = CurrencyCodeErrorEnum() # For __getattribute__ -class CustomInterestErrorEnum(object): + +class CustomInterestErrorEnum(_CreateEnumTypeUponFirstAccess): + CustomInterestError = '''\ class CustomInterestError(enum.IntEnum): """ Enum describing possible custom interest errors. @@ -3656,9 +4429,12 @@ class CustomInterestError(enum.IntEnum): INVALID_CUSTOM_INTEREST_MEMBER_TYPE = 6 CANNOT_REMOVE_WHILE_IN_USE = 7 CANNOT_CHANGE_TYPE = 8 +''' +CustomInterestErrorEnum = CustomInterestErrorEnum() # For __getattribute__ -class CustomInterestMemberTypeEnum(object): +class CustomInterestMemberTypeEnum(_CreateEnumTypeUponFirstAccess): + CustomInterestMemberType = '''\ class CustomInterestMemberType(enum.IntEnum): """ Enum containing possible custom interest member types. @@ -3673,9 +4449,12 @@ class CustomInterestMemberType(enum.IntEnum): UNKNOWN = 1 KEYWORD = 2 URL = 3 +''' +CustomInterestMemberTypeEnum = CustomInterestMemberTypeEnum() # For __getattribute__ -class CustomInterestStatusEnum(object): +class CustomInterestStatusEnum(_CreateEnumTypeUponFirstAccess): + CustomInterestStatus = '''\ class CustomInterestStatus(enum.IntEnum): """ Enum containing possible custom interest types. @@ -3691,9 +4470,12 @@ class CustomInterestStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +CustomInterestStatusEnum = CustomInterestStatusEnum() # For __getattribute__ -class CustomInterestTypeEnum(object): +class CustomInterestTypeEnum(_CreateEnumTypeUponFirstAccess): + CustomInterestType = '''\ class CustomInterestType(enum.IntEnum): """ Enum containing possible custom interest types. @@ -3708,9 +4490,12 @@ class CustomInterestType(enum.IntEnum): UNKNOWN = 1 CUSTOM_AFFINITY = 2 CUSTOM_INTENT = 3 +''' +CustomInterestTypeEnum = CustomInterestTypeEnum() # For __getattribute__ -class CustomPlaceholderFieldEnum(object): +class CustomPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + CustomPlaceholderField = '''\ class CustomPlaceholderField(enum.IntEnum): """ Possible values for Custom placeholder fields. @@ -3782,9 +4567,12 @@ class CustomPlaceholderField(enum.IntEnum): SIMILAR_IDS = 19 IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 +''' +CustomPlaceholderFieldEnum = CustomPlaceholderFieldEnum() # For __getattribute__ -class CustomerClientLinkErrorEnum(object): +class CustomerClientLinkErrorEnum(_CreateEnumTypeUponFirstAccess): + CustomerClientLinkError = '''\ class CustomerClientLinkError(enum.IntEnum): """ Enum describing possible CustomerClientLink errors. @@ -3799,6 +4587,7 @@ class CustomerClientLinkError(enum.IntEnum): CLIENT_HAS_TOO_MANY_INVITATIONS (int): Invitor has the maximum pending invitations. CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS (int): Attempt to change hidden status of a link that is not active. CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER (int): Parent manager account has the maximum number of linked accounts. + CLIENT_HAS_TOO_MANY_MANAGERS (int): Client has too many managers. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -3809,13 +4598,16 @@ class CustomerClientLinkError(enum.IntEnum): CLIENT_HAS_TOO_MANY_INVITATIONS = 6 CANNOT_HIDE_OR_UNHIDE_MANAGER_ACCOUNTS = 7 CUSTOMER_HAS_TOO_MANY_ACCOUNTS_AT_MANAGER = 8 + CLIENT_HAS_TOO_MANY_MANAGERS = 9 +''' +CustomerClientLinkErrorEnum = CustomerClientLinkErrorEnum() # For __getattribute__ -class CustomerErrorEnum(object): +class CustomerErrorEnum(_CreateEnumTypeUponFirstAccess): + CustomerError = '''\ class CustomerError(enum.IntEnum): """ Set of errors that are related to requests dealing with Customer. - Next id: 26 Attributes: UNSPECIFIED (int): Enum unspecified. @@ -3829,9 +4621,12 @@ class CustomerError(enum.IntEnum): UNKNOWN = 1 STATUS_CHANGE_DISALLOWED = 2 ACCOUNT_NOT_SET_UP = 3 +''' +CustomerErrorEnum = CustomerErrorEnum() # For __getattribute__ -class CustomerFeedErrorEnum(object): +class CustomerFeedErrorEnum(_CreateEnumTypeUponFirstAccess): + CustomerFeedError = '''\ class CustomerFeedError(enum.IntEnum): """ Enum describing possible customer feed errors. @@ -3857,9 +4652,12 @@ class CustomerFeedError(enum.IntEnum): INVALID_PLACEHOLDER_TYPE = 6 MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE = 7 PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED = 8 +''' +CustomerFeedErrorEnum = CustomerFeedErrorEnum() # For __getattribute__ -class CustomerManagerLinkErrorEnum(object): +class CustomerManagerLinkErrorEnum(_CreateEnumTypeUponFirstAccess): + CustomerManagerLinkError = '''\ class CustomerManagerLinkError(enum.IntEnum): """ Enum describing possible CustomerManagerLink errors. @@ -3878,6 +4676,8 @@ class CustomerManagerLinkError(enum.IntEnum): be changed. DUPLICATE_CHILD_FOUND (int): Attempt to link a child to a parent that contains or will contain duplicate children. + TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS (int): The authorized customer is a test account. It can add no more than the + allowed number of accounts """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -3889,9 +4689,13 @@ class CustomerManagerLinkError(enum.IntEnum): CANNOT_CHANGE_ROLE_BY_NON_ACCOUNT_OWNER = 7 CANNOT_CHANGE_ROLE_FOR_NON_ACTIVE_LINK_ACCOUNT = 8 DUPLICATE_CHILD_FOUND = 9 + TEST_ACCOUNT_LINKS_TOO_MANY_CHILD_ACCOUNTS = 10 +''' +CustomerManagerLinkErrorEnum = CustomerManagerLinkErrorEnum() # For __getattribute__ -class CustomerMatchUploadKeyTypeEnum(object): +class CustomerMatchUploadKeyTypeEnum(_CreateEnumTypeUponFirstAccess): + CustomerMatchUploadKeyType = '''\ class CustomerMatchUploadKeyType(enum.IntEnum): """ Enum describing possible customer match upload key types. @@ -3910,9 +4714,12 @@ class CustomerMatchUploadKeyType(enum.IntEnum): CONTACT_INFO = 2 CRM_ID = 3 MOBILE_ADVERTISING_ID = 4 +''' +CustomerMatchUploadKeyTypeEnum = CustomerMatchUploadKeyTypeEnum() # For __getattribute__ -class CustomerPayPerConversionEligibilityFailureReasonEnum(object): +class CustomerPayPerConversionEligibilityFailureReasonEnum(_CreateEnumTypeUponFirstAccess): + CustomerPayPerConversionEligibilityFailureReason = '''\ class CustomerPayPerConversionEligibilityFailureReason(enum.IntEnum): """ Enum describing possible reasons a customer is not eligible to use @@ -3939,9 +4746,12 @@ class CustomerPayPerConversionEligibilityFailureReason(enum.IntEnum): AVERAGE_DAILY_SPEND_TOO_HIGH = 6 ANALYSIS_NOT_COMPLETE = 7 OTHER = 8 +''' +CustomerPayPerConversionEligibilityFailureReasonEnum = CustomerPayPerConversionEligibilityFailureReasonEnum() # For __getattribute__ -class DataDrivenModelStatusEnum(object): +class DataDrivenModelStatusEnum(_CreateEnumTypeUponFirstAccess): + DataDrivenModelStatus = '''\ class DataDrivenModelStatus(enum.IntEnum): """ Enumerates data driven model statuses. @@ -3966,9 +4776,12 @@ class DataDrivenModelStatus(enum.IntEnum): STALE = 3 EXPIRED = 4 NEVER_GENERATED = 5 +''' +DataDrivenModelStatusEnum = DataDrivenModelStatusEnum() # For __getattribute__ -class DatabaseErrorEnum(object): +class DatabaseErrorEnum(_CreateEnumTypeUponFirstAccess): + DatabaseError = '''\ class DatabaseError(enum.IntEnum): """ Enum describing possible database errors. @@ -3978,13 +4791,22 @@ class DatabaseError(enum.IntEnum): UNKNOWN (int): The received error code is not known in this version. CONCURRENT_MODIFICATION (int): Multiple requests were attempting to modify the same resource at once. Please retry the request. + DATA_CONSTRAINT_VIOLATION (int): The request conflicted with existing data. This error will usually be + replaced with a more specific error if the request is retried. + REQUEST_TOO_LARGE (int): The data written is too large. Please split the request into smaller + requests. """ UNSPECIFIED = 0 UNKNOWN = 1 CONCURRENT_MODIFICATION = 2 + DATA_CONSTRAINT_VIOLATION = 3 + REQUEST_TOO_LARGE = 4 +''' +DatabaseErrorEnum = DatabaseErrorEnum() # For __getattribute__ -class DateErrorEnum(object): +class DateErrorEnum(_CreateEnumTypeUponFirstAccess): + DateError = '''\ class DateError(enum.IntEnum): """ Enum describing possible date errors. @@ -4015,9 +4837,12 @@ class DateError(enum.IntEnum): LATER_THAN_MAXIMUM_DATE = 8 DATE_RANGE_MINIMUM_DATE_LATER_THAN_MAXIMUM_DATE = 9 DATE_RANGE_MINIMUM_AND_MAXIMUM_DATES_BOTH_NULL = 10 +''' +DateErrorEnum = DateErrorEnum() # For __getattribute__ -class DateRangeErrorEnum(object): +class DateRangeErrorEnum(_CreateEnumTypeUponFirstAccess): + DateRangeError = '''\ class DateRangeError(enum.IntEnum): """ Enum describing possible date range errors. @@ -4038,9 +4863,12 @@ class DateRangeError(enum.IntEnum): CANNOT_SET_DATE_TO_PAST = 4 AFTER_MAXIMUM_ALLOWABLE_DATE = 5 CANNOT_MODIFY_START_DATE_IF_ALREADY_STARTED = 6 +''' +DateRangeErrorEnum = DateRangeErrorEnum() # For __getattribute__ -class DayOfWeekEnum(object): +class DayOfWeekEnum(_CreateEnumTypeUponFirstAccess): + DayOfWeek = '''\ class DayOfWeek(enum.IntEnum): """ Enumerates days of the week, e.g., "Monday". @@ -4065,9 +4893,12 @@ class DayOfWeek(enum.IntEnum): FRIDAY = 6 SATURDAY = 7 SUNDAY = 8 +''' +DayOfWeekEnum = DayOfWeekEnum() # For __getattribute__ -class DeviceEnum(object): +class DeviceEnum(_CreateEnumTypeUponFirstAccess): + Device = '''\ class Device(enum.IntEnum): """ Enumerates Google Ads devices available for targeting. @@ -4088,9 +4919,12 @@ class Device(enum.IntEnum): DESKTOP = 4 CONNECTED_TV = 6 OTHER = 5 +''' +DeviceEnum = DeviceEnum() # For __getattribute__ -class DisplayAdFormatSettingEnum(object): +class DisplayAdFormatSettingEnum(_CreateEnumTypeUponFirstAccess): + DisplayAdFormatSetting = '''\ class DisplayAdFormatSetting(enum.IntEnum): """ Enumerates display ad format settings. @@ -4108,9 +4942,12 @@ class DisplayAdFormatSetting(enum.IntEnum): ALL_FORMATS = 2 NON_NATIVE = 3 NATIVE = 4 +''' +DisplayAdFormatSettingEnum = DisplayAdFormatSettingEnum() # For __getattribute__ -class DisplayUploadProductTypeEnum(object): +class DisplayUploadProductTypeEnum(_CreateEnumTypeUponFirstAccess): + DisplayUploadProductType = '''\ class DisplayUploadProductType(enum.IntEnum): """ Enumerates display upload product types. @@ -4160,9 +4997,83 @@ class DisplayUploadProductType(enum.IntEnum): DYNAMIC_HTML5_CUSTOM_AD = 9 DYNAMIC_HTML5_TRAVEL_AD = 10 DYNAMIC_HTML5_HOTEL_AD = 11 - - -class DistinctErrorEnum(object): +''' +DisplayUploadProductTypeEnum = DisplayUploadProductTypeEnum() # For __getattribute__ + + +class DistanceBucketEnum(_CreateEnumTypeUponFirstAccess): + DistanceBucket = '''\ + class DistanceBucket(enum.IntEnum): + """ + The distance bucket for a user’s distance from an advertiser’s location + extension. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + WITHIN_700M (int): User was within 700m of the location. + WITHIN_1KM (int): User was within 1KM of the location. + WITHIN_5KM (int): User was within 5KM of the location. + WITHIN_10KM (int): User was within 10KM of the location. + WITHIN_15KM (int): User was within 15KM of the location. + WITHIN_20KM (int): User was within 20KM of the location. + WITHIN_25KM (int): User was within 25KM of the location. + WITHIN_30KM (int): User was within 30KM of the location. + WITHIN_35KM (int): User was within 35KM of the location. + WITHIN_40KM (int): User was within 40KM of the location. + WITHIN_45KM (int): User was within 45KM of the location. + WITHIN_50KM (int): User was within 50KM of the location. + WITHIN_55KM (int): User was within 55KM of the location. + WITHIN_60KM (int): User was within 60KM of the location. + WITHIN_65KM (int): User was within 65KM of the location. + BEYOND_65KM (int): User was beyond 65KM of the location. + WITHIN_0_7MILES (int): User was within 0.7 miles of the location. + WITHIN_1MILE (int): User was within 1 mile of the location. + WITHIN_5MILES (int): User was within 5 miles of the location. + WITHIN_10MILES (int): User was within 10 miles of the location. + WITHIN_15MILES (int): User was within 15 miles of the location. + WITHIN_20MILES (int): User was within 20 miles of the location. + WITHIN_25MILES (int): User was within 25 miles of the location. + WITHIN_30MILES (int): User was within 30 miles of the location. + WITHIN_35MILES (int): User was within 35 miles of the location. + WITHIN_40MILES (int): User was within 40 miles of the location. + BEYOND_40MILES (int): User was beyond 40 miles of the location. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + WITHIN_700M = 2 + WITHIN_1KM = 3 + WITHIN_5KM = 4 + WITHIN_10KM = 5 + WITHIN_15KM = 6 + WITHIN_20KM = 7 + WITHIN_25KM = 8 + WITHIN_30KM = 9 + WITHIN_35KM = 10 + WITHIN_40KM = 11 + WITHIN_45KM = 12 + WITHIN_50KM = 13 + WITHIN_55KM = 14 + WITHIN_60KM = 15 + WITHIN_65KM = 16 + BEYOND_65KM = 17 + WITHIN_0_7MILES = 18 + WITHIN_1MILE = 19 + WITHIN_5MILES = 20 + WITHIN_10MILES = 21 + WITHIN_15MILES = 22 + WITHIN_20MILES = 23 + WITHIN_25MILES = 24 + WITHIN_30MILES = 25 + WITHIN_35MILES = 26 + WITHIN_40MILES = 27 + BEYOND_40MILES = 28 +''' +DistanceBucketEnum = DistanceBucketEnum() # For __getattribute__ + + +class DistinctErrorEnum(_CreateEnumTypeUponFirstAccess): + DistinctError = '''\ class DistinctError(enum.IntEnum): """ Enum describing possible distinct errors. @@ -4177,9 +5088,12 @@ class DistinctError(enum.IntEnum): UNKNOWN = 1 DUPLICATE_ELEMENT = 2 DUPLICATE_TYPE = 3 +''' +DistinctErrorEnum = DistinctErrorEnum() # For __getattribute__ -class DsaPageFeedCriterionFieldEnum(object): +class DsaPageFeedCriterionFieldEnum(_CreateEnumTypeUponFirstAccess): + DsaPageFeedCriterionField = '''\ class DsaPageFeedCriterionField(enum.IntEnum): """ Possible values for Dynamic Search Ad Page Feed criterion fields. @@ -4195,9 +5109,12 @@ class DsaPageFeedCriterionField(enum.IntEnum): UNKNOWN = 1 PAGE_URL = 2 LABEL = 3 +''' +DsaPageFeedCriterionFieldEnum = DsaPageFeedCriterionFieldEnum() # For __getattribute__ -class EducationPlaceholderFieldEnum(object): +class EducationPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + EducationPlaceholderField = '''\ class EducationPlaceholderField(enum.IntEnum): """ Possible values for Education placeholder fields. @@ -4255,9 +5172,12 @@ class EducationPlaceholderField(enum.IntEnum): SIMILAR_PROGRAM_IDS = 16 IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 +''' +EducationPlaceholderFieldEnum = EducationPlaceholderFieldEnum() # For __getattribute__ -class EnumErrorEnum(object): +class EnumErrorEnum(_CreateEnumTypeUponFirstAccess): + EnumError = '''\ class EnumError(enum.IntEnum): """ Enum describing possible enum errors. @@ -4270,9 +5190,12 @@ class EnumError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 ENUM_VALUE_NOT_PERMITTED = 3 +''' +EnumErrorEnum = EnumErrorEnum() # For __getattribute__ -class ExtensionFeedItemErrorEnum(object): +class ExtensionFeedItemErrorEnum(_CreateEnumTypeUponFirstAccess): + ExtensionFeedItemError = '''\ class ExtensionFeedItemError(enum.IntEnum): """ Enum describing possible extension feed item errors. @@ -4338,6 +5261,8 @@ class ExtensionFeedItemError(enum.IntEnum): INVALID_PRICE_FORMAT (int): Input price is not in a valid format. PROMOTION_INVALID_TIME (int): The promotion time is invalid. TOO_MANY_DECIMAL_PLACES_SPECIFIED (int): This field has too many decimal places specified. + CONCRETE_EXTENSION_TYPE_REQUIRED (int): Concrete sub type of ExtensionFeedItem is required for this operation. + SCHEDULE_END_NOT_AFTER_START (int): Feed item schedule end time must be after start time. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -4384,9 +5309,14 @@ class ExtensionFeedItemError(enum.IntEnum): INVALID_PRICE_FORMAT = 42 PROMOTION_INVALID_TIME = 43 TOO_MANY_DECIMAL_PLACES_SPECIFIED = 44 + CONCRETE_EXTENSION_TYPE_REQUIRED = 45 + SCHEDULE_END_NOT_AFTER_START = 46 +''' +ExtensionFeedItemErrorEnum = ExtensionFeedItemErrorEnum() # For __getattribute__ -class ExtensionSettingDeviceEnum(object): +class ExtensionSettingDeviceEnum(_CreateEnumTypeUponFirstAccess): + ExtensionSettingDevice = '''\ class ExtensionSettingDevice(enum.IntEnum): """ Possbile device types for an extension setting. @@ -4403,9 +5333,12 @@ class ExtensionSettingDevice(enum.IntEnum): UNKNOWN = 1 MOBILE = 2 DESKTOP = 3 +''' +ExtensionSettingDeviceEnum = ExtensionSettingDeviceEnum() # For __getattribute__ -class ExtensionSettingErrorEnum(object): +class ExtensionSettingErrorEnum(_CreateEnumTypeUponFirstAccess): + ExtensionSettingError = '''\ class ExtensionSettingError(enum.IntEnum): """ Enum describing possible extension setting errors. @@ -4565,9 +5498,12 @@ class ExtensionSettingError(enum.IntEnum): UNSUPPORTED_LANGUAGE = 65 CUSTOMER_CONSENT_FOR_CALL_RECORDING_REQUIRED = 66 EXTENSION_SETTING_UPDATE_IS_A_NOOP = 67 +''' +ExtensionSettingErrorEnum = ExtensionSettingErrorEnum() # For __getattribute__ -class ExtensionTypeEnum(object): +class ExtensionTypeEnum(_CreateEnumTypeUponFirstAccess): + ExtensionType = '''\ class ExtensionType(enum.IntEnum): """ Possible data types for an extension in an extension setting. @@ -4582,11 +5518,11 @@ class ExtensionType(enum.IntEnum): MESSAGE (int): Message. PRICE (int): Price. PROMOTION (int): Promotion. - REVIEW (int): Review. SITELINK (int): Sitelink. STRUCTURED_SNIPPET (int): Structured snippet. LOCATION (int): Location. AFFILIATE_LOCATION (int): Affiliate location. + HOTEL_CALLOUT (int): Hotel callout """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -4597,14 +5533,17 @@ class ExtensionType(enum.IntEnum): MESSAGE = 6 PRICE = 7 PROMOTION = 8 - REVIEW = 9 SITELINK = 10 STRUCTURED_SNIPPET = 11 LOCATION = 12 AFFILIATE_LOCATION = 13 + HOTEL_CALLOUT = 15 +''' +ExtensionTypeEnum = ExtensionTypeEnum() # For __getattribute__ -class ExternalConversionSourceEnum(object): +class ExternalConversionSourceEnum(_CreateEnumTypeUponFirstAccess): + ExternalConversionSource = '''\ class ExternalConversionSource(enum.IntEnum): """ The external conversion source that is associated with a ConversionAction. @@ -4655,8 +5594,11 @@ class ExternalConversionSource(enum.IntEnum): THIRD_PARTY_APP_ANALYTICS (int): Conversion that comes from a linked third-party app analytics event; Displayed in Google Ads UI as 'Third-party app analytics'. GOOGLE_ATTRIBUTION (int): Conversion that is controlled by Google Attribution. - STORE_SALES_DIRECT (int): Store Sales conversion based on first-party or third-party merchant data - uploads. Displayed in Google Ads UI as 'Store sales (direct)'. + STORE_SALES_DIRECT_UPLOAD (int): Store Sales conversion based on first-party or third-party merchant data + uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. + STORE_SALES (int): Store Sales conversion based on first-party or third-party merchant + data uploads and/or from in-store purchases using cards from payment + networks. Displayed in Google Ads UI as 'Store sales'. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -4680,10 +5622,14 @@ class ExternalConversionSource(enum.IntEnum): GOOGLE_PLAY = 19 THIRD_PARTY_APP_ANALYTICS = 20 GOOGLE_ATTRIBUTION = 21 - STORE_SALES_DIRECT = 22 + STORE_SALES_DIRECT_UPLOAD = 23 + STORE_SALES = 24 +''' +ExternalConversionSourceEnum = ExternalConversionSourceEnum() # For __getattribute__ -class FeedAttributeOperation(object): +class FeedAttributeOperation(_CreateEnumTypeUponFirstAccess): + Operator = '''\ class Operator(enum.IntEnum): """ The operator. @@ -4696,9 +5642,12 @@ class Operator(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 ADD = 2 +''' +FeedAttributeOperation = FeedAttributeOperation() # For __getattribute__ -class FeedAttributeReferenceErrorEnum(object): +class FeedAttributeReferenceErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedAttributeReferenceError = '''\ class FeedAttributeReferenceError(enum.IntEnum): """ Enum describing possible feed attribute reference errors. @@ -4715,9 +5664,12 @@ class FeedAttributeReferenceError(enum.IntEnum): CANNOT_REFERENCE_REMOVED_FEED = 2 INVALID_FEED_NAME = 3 INVALID_FEED_ATTRIBUTE_NAME = 4 +''' +FeedAttributeReferenceErrorEnum = FeedAttributeReferenceErrorEnum() # For __getattribute__ -class FeedAttributeTypeEnum(object): +class FeedAttributeTypeEnum(_CreateEnumTypeUponFirstAccess): + FeedAttributeType = '''\ class FeedAttributeType(enum.IntEnum): """ Possible data types for a feed attribute. @@ -4754,9 +5706,12 @@ class FeedAttributeType(enum.IntEnum): URL_LIST = 12 DATE_TIME_LIST = 13 PRICE = 14 +''' +FeedAttributeTypeEnum = FeedAttributeTypeEnum() # For __getattribute__ -class FeedErrorEnum(object): +class FeedErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedError = '''\ class FeedError(enum.IntEnum): """ Enum describing possible feed errors. @@ -4785,6 +5740,8 @@ class FeedError(enum.IntEnum): BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT (int): Business account cannot access Google My Business account. INVALID_AFFILIATE_CHAIN_ID (int): Invalid chain ID provided for affiliate location feed. DUPLICATE_SYSTEM_FEED (int): There is already a feed with the given system feed generation data. + GMB_ACCESS_ERROR (int): An error occurred accessing GMB account. + CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS (int): A customer cannot have both LOCATION and AFFILIATE\_LOCATION feeds. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -4808,9 +5765,14 @@ class FeedError(enum.IntEnum): BUSINESS_ACCOUNT_CANNOT_ACCESS_LOCATION_ACCOUNT = 19 INVALID_AFFILIATE_CHAIN_ID = 20 DUPLICATE_SYSTEM_FEED = 21 + GMB_ACCESS_ERROR = 22 + CANNOT_HAVE_LOCATION_AND_AFFILIATE_LOCATION_FEEDS = 23 +''' +FeedErrorEnum = FeedErrorEnum() # For __getattribute__ -class FeedItemErrorEnum(object): +class FeedItemErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedItemError = '''\ class FeedItemError(enum.IntEnum): """ Enum describing possible feed item errors. @@ -4839,9 +5801,12 @@ class FeedItemError(enum.IntEnum): KEY_ATTRIBUTES_NOT_UNIQUE = 8 CANNOT_MODIFY_KEY_ATTRIBUTE_VALUE = 9 SIZE_TOO_LARGE_FOR_MULTI_VALUE_ATTRIBUTE = 10 +''' +FeedItemErrorEnum = FeedItemErrorEnum() # For __getattribute__ -class FeedItemQualityApprovalStatusEnum(object): +class FeedItemQualityApprovalStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedItemQualityApprovalStatus = '''\ class FeedItemQualityApprovalStatus(enum.IntEnum): """ The possible quality evaluation approval statuses of a feed item. @@ -4857,9 +5822,12 @@ class FeedItemQualityApprovalStatus(enum.IntEnum): UNKNOWN = 1 APPROVED = 2 DISAPPROVED = 3 +''' +FeedItemQualityApprovalStatusEnum = FeedItemQualityApprovalStatusEnum() # For __getattribute__ -class FeedItemQualityDisapprovalReasonEnum(object): +class FeedItemQualityDisapprovalReasonEnum(_CreateEnumTypeUponFirstAccess): + FeedItemQualityDisapprovalReason = '''\ class FeedItemQualityDisapprovalReason(enum.IntEnum): """ The possible quality evaluation disapproval reasons of a feed item. @@ -4906,9 +5874,12 @@ class FeedItemQualityDisapprovalReason(enum.IntEnum): STRUCTURED_SNIPPETS_REPEATED_VALUES = 17 STRUCTURED_SNIPPETS_EDITORIAL_GUIDELINES = 18 STRUCTURED_SNIPPETS_HAS_PROMOTIONAL_TEXT = 19 +''' +FeedItemQualityDisapprovalReasonEnum = FeedItemQualityDisapprovalReasonEnum() # For __getattribute__ -class FeedItemStatusEnum(object): +class FeedItemStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedItemStatus = '''\ class FeedItemStatus(enum.IntEnum): """ Possible statuses of a feed item. @@ -4923,9 +5894,12 @@ class FeedItemStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +FeedItemStatusEnum = FeedItemStatusEnum() # For __getattribute__ -class FeedItemTargetDeviceEnum(object): +class FeedItemTargetDeviceEnum(_CreateEnumTypeUponFirstAccess): + FeedItemTargetDevice = '''\ class FeedItemTargetDevice(enum.IntEnum): """ Possible data types for a feed item target device. @@ -4938,9 +5912,12 @@ class FeedItemTargetDevice(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 MOBILE = 2 +''' +FeedItemTargetDeviceEnum = FeedItemTargetDeviceEnum() # For __getattribute__ -class FeedItemTargetErrorEnum(object): +class FeedItemTargetErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedItemTargetError = '''\ class FeedItemTargetError(enum.IntEnum): """ Enum describing possible feed item target errors. @@ -4956,6 +5933,8 @@ class FeedItemTargetError(enum.IntEnum): TOO_MANY_SCHEDULES_PER_DAY (int): Too many AdSchedules are enabled for the feed item for the given day. CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS (int): A feed item may either have an enabled campaign target or an enabled ad group target. + DUPLICATE_AD_SCHEDULE (int): Duplicate ad schedules aren't allowed. + DUPLICATE_KEYWORD (int): Duplicate keywords aren't allowed. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -4965,9 +5944,34 @@ class FeedItemTargetError(enum.IntEnum): TARGET_LIMIT_EXCEEDED_FOR_GIVEN_TYPE = 5 TOO_MANY_SCHEDULES_PER_DAY = 6 CANNOT_HAVE_ENABLED_CAMPAIGN_AND_ENABLED_AD_GROUP_TARGETS = 7 + DUPLICATE_AD_SCHEDULE = 8 + DUPLICATE_KEYWORD = 9 +''' +FeedItemTargetErrorEnum = FeedItemTargetErrorEnum() # For __getattribute__ + + +class FeedItemTargetStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedItemTargetStatus = '''\ + class FeedItemTargetStatus(enum.IntEnum): + """ + Possible statuses of a feed item target. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + ENABLED (int): Feed item target is enabled. + REMOVED (int): Feed item target has been removed. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + ENABLED = 2 + REMOVED = 3 +''' +FeedItemTargetStatusEnum = FeedItemTargetStatusEnum() # For __getattribute__ -class FeedItemTargetTypeEnum(object): +class FeedItemTargetTypeEnum(_CreateEnumTypeUponFirstAccess): + FeedItemTargetType = '''\ class FeedItemTargetType(enum.IntEnum): """ Possible type of a feed item target. @@ -4984,9 +5988,12 @@ class FeedItemTargetType(enum.IntEnum): CAMPAIGN = 2 AD_GROUP = 3 CRITERION = 4 +''' +FeedItemTargetTypeEnum = FeedItemTargetTypeEnum() # For __getattribute__ -class FeedItemValidationErrorEnum(object): +class FeedItemValidationErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedItemValidationError = '''\ class FeedItemValidationError(enum.IntEnum): """ The possible validation errors of a feed item. @@ -5107,6 +6114,8 @@ class FeedItemValidationError(enum.IntEnum): INVALID_IMAGE_URL (int): Invalid image url. MISSING_LATITUDE_VALUE (int): Latitude value is missing. MISSING_LONGITUDE_VALUE (int): Longitude value is missing. + ADDRESS_NOT_FOUND (int): Unable to find address. + ADDRESS_NOT_TARGETABLE (int): Cannot target provided address. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -5205,9 +6214,14 @@ class FeedItemValidationError(enum.IntEnum): INVALID_IMAGE_URL = 94 MISSING_LATITUDE_VALUE = 95 MISSING_LONGITUDE_VALUE = 96 + ADDRESS_NOT_FOUND = 97 + ADDRESS_NOT_TARGETABLE = 98 +''' +FeedItemValidationErrorEnum = FeedItemValidationErrorEnum() # For __getattribute__ -class FeedItemValidationStatusEnum(object): +class FeedItemValidationStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedItemValidationStatus = '''\ class FeedItemValidationStatus(enum.IntEnum): """ The possible validation statuses of a feed item. @@ -5224,9 +6238,12 @@ class FeedItemValidationStatus(enum.IntEnum): PENDING = 2 INVALID = 3 VALID = 4 +''' +FeedItemValidationStatusEnum = FeedItemValidationStatusEnum() # For __getattribute__ -class FeedLinkStatusEnum(object): +class FeedLinkStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedLinkStatus = '''\ class FeedLinkStatus(enum.IntEnum): """ Possible statuses of a feed link. @@ -5241,9 +6258,12 @@ class FeedLinkStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +FeedLinkStatusEnum = FeedLinkStatusEnum() # For __getattribute__ -class FeedMappingCriterionTypeEnum(object): +class FeedMappingCriterionTypeEnum(_CreateEnumTypeUponFirstAccess): + FeedMappingCriterionType = '''\ class FeedMappingCriterionType(enum.IntEnum): """ Possible placeholder types for a feed mapping. @@ -5258,9 +6278,12 @@ class FeedMappingCriterionType(enum.IntEnum): UNKNOWN = 1 LOCATION_EXTENSION_TARGETING = 4 DSA_PAGE_FEED = 3 +''' +FeedMappingCriterionTypeEnum = FeedMappingCriterionTypeEnum() # For __getattribute__ -class FeedMappingErrorEnum(object): +class FeedMappingErrorEnum(_CreateEnumTypeUponFirstAccess): + FeedMappingError = '''\ class FeedMappingError(enum.IntEnum): """ Enum describing possible feed item errors. @@ -5289,6 +6312,7 @@ class FeedMappingError(enum.IntEnum): INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED (int): The given placeholder type can only be mapped to system generated feeds. INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE (int): The given placeholder type cannot be mapped to a system generated feed with the given type. + ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD (int): The "field" oneof was not set in an AttributeFieldMapping. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -5308,9 +6332,13 @@ class FeedMappingError(enum.IntEnum): CANNOT_MODIFY_MAPPINGS_FOR_TYPED_FEED = 16 INVALID_PLACEHOLDER_TYPE_FOR_NON_SYSTEM_GENERATED_FEED = 17 INVALID_PLACEHOLDER_TYPE_FOR_SYSTEM_GENERATED_FEED_TYPE = 18 + ATTRIBUTE_FIELD_MAPPING_MISSING_FIELD = 19 +''' +FeedMappingErrorEnum = FeedMappingErrorEnum() # For __getattribute__ -class FeedMappingStatusEnum(object): +class FeedMappingStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedMappingStatus = '''\ class FeedMappingStatus(enum.IntEnum): """ Possible statuses of a feed mapping. @@ -5325,9 +6353,12 @@ class FeedMappingStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +FeedMappingStatusEnum = FeedMappingStatusEnum() # For __getattribute__ -class FeedOriginEnum(object): +class FeedOriginEnum(_CreateEnumTypeUponFirstAccess): + FeedOrigin = '''\ class FeedOrigin(enum.IntEnum): """ Possible values for a feed origin. @@ -5345,9 +6376,12 @@ class FeedOrigin(enum.IntEnum): UNKNOWN = 1 USER = 2 GOOGLE = 3 +''' +FeedOriginEnum = FeedOriginEnum() # For __getattribute__ -class FeedStatusEnum(object): +class FeedStatusEnum(_CreateEnumTypeUponFirstAccess): + FeedStatus = '''\ class FeedStatus(enum.IntEnum): """ Possible statuses of a feed. @@ -5362,9 +6396,12 @@ class FeedStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +FeedStatusEnum = FeedStatusEnum() # For __getattribute__ -class FieldErrorEnum(object): +class FieldErrorEnum(_CreateEnumTypeUponFirstAccess): + FieldError = '''\ class FieldError(enum.IntEnum): """ Enum describing possible field errors. @@ -5389,9 +6426,12 @@ class FieldError(enum.IntEnum): REQUIRED_NONEMPTY_LIST = 6 FIELD_CANNOT_BE_CLEARED = 7 BLACKLISTED_VALUE = 8 +''' +FieldErrorEnum = FieldErrorEnum() # For __getattribute__ -class FieldMaskErrorEnum(object): +class FieldMaskErrorEnum(_CreateEnumTypeUponFirstAccess): + FieldMaskError = '''\ class FieldMaskError(enum.IntEnum): """ Enum describing possible field mask errors. @@ -5412,9 +6452,12 @@ class FieldMaskError(enum.IntEnum): FIELD_MASK_NOT_ALLOWED = 4 FIELD_NOT_FOUND = 2 FIELD_HAS_SUBFIELDS = 3 +''' +FieldMaskErrorEnum = FieldMaskErrorEnum() # For __getattribute__ -class FlightPlaceholderFieldEnum(object): +class FlightPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + FlightPlaceholderField = '''\ class FlightPlaceholderField(enum.IntEnum): """ Possible values for Flight placeholder fields. @@ -5479,9 +6522,12 @@ class FlightPlaceholderField(enum.IntEnum): SIMILAR_DESTINATION_IDS = 16 IOS_APP_LINK = 17 IOS_APP_STORE_ID = 18 +''' +FlightPlaceholderFieldEnum = FlightPlaceholderFieldEnum() # For __getattribute__ -class FrequencyCapEventTypeEnum(object): +class FrequencyCapEventTypeEnum(_CreateEnumTypeUponFirstAccess): + FrequencyCapEventType = '''\ class FrequencyCapEventType(enum.IntEnum): """ The type of event that the cap applies to (e.g. impression). @@ -5496,9 +6542,12 @@ class FrequencyCapEventType(enum.IntEnum): UNKNOWN = 1 IMPRESSION = 2 VIDEO_VIEW = 3 +''' +FrequencyCapEventTypeEnum = FrequencyCapEventTypeEnum() # For __getattribute__ -class FrequencyCapLevelEnum(object): +class FrequencyCapLevelEnum(_CreateEnumTypeUponFirstAccess): + FrequencyCapLevel = '''\ class FrequencyCapLevel(enum.IntEnum): """ The level on which the cap is to be applied (e.g ad group ad, ad group). @@ -5516,9 +6565,12 @@ class FrequencyCapLevel(enum.IntEnum): AD_GROUP_AD = 2 AD_GROUP = 3 CAMPAIGN = 4 +''' +FrequencyCapLevelEnum = FrequencyCapLevelEnum() # For __getattribute__ -class FrequencyCapTimeUnitEnum(object): +class FrequencyCapTimeUnitEnum(_CreateEnumTypeUponFirstAccess): + FrequencyCapTimeUnit = '''\ class FrequencyCapTimeUnit(enum.IntEnum): """ Unit of time the cap is defined at (e.g. day, week). @@ -5535,9 +6587,12 @@ class FrequencyCapTimeUnit(enum.IntEnum): DAY = 2 WEEK = 3 MONTH = 4 +''' +FrequencyCapTimeUnitEnum = FrequencyCapTimeUnitEnum() # For __getattribute__ -class FunctionErrorEnum(object): +class FunctionErrorEnum(_CreateEnumTypeUponFirstAccess): + FunctionError = '''\ class FunctionError(enum.IntEnum): """ Enum describing possible function errors. @@ -5581,9 +6636,12 @@ class FunctionError(enum.IntEnum): MULTIPLE_FEED_IDS_NOT_SUPPORTED = 15 INVALID_FUNCTION_FOR_FEED_WITH_FIXED_SCHEMA = 16 INVALID_ATTRIBUTE_NAME = 17 +''' +FunctionErrorEnum = FunctionErrorEnum() # For __getattribute__ -class FunctionParsingErrorEnum(object): +class FunctionParsingErrorEnum(_CreateEnumTypeUponFirstAccess): + FunctionParsingError = '''\ class FunctionParsingError(enum.IntEnum): """ Enum describing possible function parsing errors. @@ -5616,9 +6674,12 @@ class FunctionParsingError(enum.IntEnum): FEED_ATTRIBUTE_OPERAND_ARGUMENT_NOT_INTEGER = 10 NO_OPERANDS = 11 TOO_MANY_OPERANDS = 12 +''' +FunctionParsingErrorEnum = FunctionParsingErrorEnum() # For __getattribute__ -class GenderTypeEnum(object): +class GenderTypeEnum(_CreateEnumTypeUponFirstAccess): + GenderType = '''\ class GenderType(enum.IntEnum): """ The type of demographic genders (e.g. female). @@ -5635,9 +6696,12 @@ class GenderType(enum.IntEnum): MALE = 10 FEMALE = 11 UNDETERMINED = 20 +''' +GenderTypeEnum = GenderTypeEnum() # For __getattribute__ -class GeoTargetConstantStatusEnum(object): +class GeoTargetConstantStatusEnum(_CreateEnumTypeUponFirstAccess): + GeoTargetConstantStatus = '''\ class GeoTargetConstantStatus(enum.IntEnum): """ The possible statuses of a geo target constant. @@ -5654,9 +6718,12 @@ class GeoTargetConstantStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVAL_PLANNED = 3 +''' +GeoTargetConstantStatusEnum = GeoTargetConstantStatusEnum() # For __getattribute__ -class GeoTargetConstantSuggestionErrorEnum(object): +class GeoTargetConstantSuggestionErrorEnum(_CreateEnumTypeUponFirstAccess): + GeoTargetConstantSuggestionError = '''\ class GeoTargetConstantSuggestionError(enum.IntEnum): """ Enum describing possible geo target constant suggestion errors. @@ -5677,9 +6744,12 @@ class GeoTargetConstantSuggestionError(enum.IntEnum): LOCATION_NAME_LIMIT = 3 INVALID_COUNTRY_CODE = 4 REQUEST_PARAMETERS_UNSET = 5 +''' +GeoTargetConstantSuggestionErrorEnum = GeoTargetConstantSuggestionErrorEnum() # For __getattribute__ -class GeoTargetingRestrictionEnum(object): +class GeoTargetingRestrictionEnum(_CreateEnumTypeUponFirstAccess): + GeoTargetingRestriction = '''\ class GeoTargetingRestriction(enum.IntEnum): """ A restriction used to determine if the request context's @@ -5694,9 +6764,12 @@ class GeoTargetingRestriction(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 LOCATION_OF_PRESENCE = 2 +''' +GeoTargetingRestrictionEnum = GeoTargetingRestrictionEnum() # For __getattribute__ -class GeoTargetingTypeEnum(object): +class GeoTargetingTypeEnum(_CreateEnumTypeUponFirstAccess): + GeoTargetingType = '''\ class GeoTargetingType(enum.IntEnum): """ The possible geo targeting types. @@ -5711,9 +6784,12 @@ class GeoTargetingType(enum.IntEnum): UNKNOWN = 1 AREA_OF_INTEREST = 2 LOCATION_OF_PRESENCE = 3 +''' +GeoTargetingTypeEnum = GeoTargetingTypeEnum() # For __getattribute__ -class GoogleAdsFieldCategoryEnum(object): +class GoogleAdsFieldCategoryEnum(_CreateEnumTypeUponFirstAccess): + GoogleAdsFieldCategory = '''\ class GoogleAdsFieldCategory(enum.IntEnum): """ The category of the artifact. @@ -5736,9 +6812,12 @@ class GoogleAdsFieldCategory(enum.IntEnum): ATTRIBUTE = 3 SEGMENT = 5 METRIC = 6 +''' +GoogleAdsFieldCategoryEnum = GoogleAdsFieldCategoryEnum() # For __getattribute__ -class GoogleAdsFieldDataTypeEnum(object): +class GoogleAdsFieldDataTypeEnum(_CreateEnumTypeUponFirstAccess): + GoogleAdsFieldDataType = '''\ class GoogleAdsFieldDataType(enum.IntEnum): """ These are the various types a GoogleAdsService artifact may take on. @@ -5796,9 +6875,12 @@ class GoogleAdsFieldDataType(enum.IntEnum): RESOURCE_NAME = 10 STRING = 11 UINT64 = 12 +''' +GoogleAdsFieldDataTypeEnum = GoogleAdsFieldDataTypeEnum() # For __getattribute__ -class HeaderErrorEnum(object): +class HeaderErrorEnum(_CreateEnumTypeUponFirstAccess): + HeaderError = '''\ class HeaderError(enum.IntEnum): """ Enum describing possible header errors. @@ -5807,13 +6889,18 @@ class HeaderError(enum.IntEnum): UNSPECIFIED (int): Enum unspecified. UNKNOWN (int): The received error code is not known in this version. INVALID_LOGIN_CUSTOMER_ID (int): The login customer id could not be validated. + INVALID_LINKED_CUSTOMER_ID (int): The linked customer id could not be validated. """ UNSPECIFIED = 0 UNKNOWN = 1 INVALID_LOGIN_CUSTOMER_ID = 3 + INVALID_LINKED_CUSTOMER_ID = 7 +''' +HeaderErrorEnum = HeaderErrorEnum() # For __getattribute__ -class HotelDateSelectionTypeEnum(object): +class HotelDateSelectionTypeEnum(_CreateEnumTypeUponFirstAccess): + HotelDateSelectionType = '''\ class HotelDateSelectionType(enum.IntEnum): """ Enum describing possible hotel date selection types. @@ -5828,9 +6915,12 @@ class HotelDateSelectionType(enum.IntEnum): UNKNOWN = 1 DEFAULT_SELECTION = 50 USER_SELECTED = 51 +''' +HotelDateSelectionTypeEnum = HotelDateSelectionTypeEnum() # For __getattribute__ -class HotelPlaceholderFieldEnum(object): +class HotelPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + HotelPlaceholderField = '''\ class HotelPlaceholderField(enum.IntEnum): """ Possible values for Hotel placeholder fields. @@ -5898,9 +6988,34 @@ class HotelPlaceholderField(enum.IntEnum): SIMILAR_PROPERTY_IDS = 19 IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 +''' +HotelPlaceholderFieldEnum = HotelPlaceholderFieldEnum() # For __getattribute__ + +class HotelPriceBucketEnum(_CreateEnumTypeUponFirstAccess): + HotelPriceBucket = '''\ + class HotelPriceBucket(enum.IntEnum): + """ + Enum describing possible hotel price buckets. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): The value is unknown in this version. + LOWEST_TIED (int): Tied for lowest price. Partner is within a small variance of the lowest + price. + NOT_LOWEST (int): Not lowest price. Partner is not within a small variance of the lowest + price. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + LOWEST_TIED = 3 + NOT_LOWEST = 4 +''' +HotelPriceBucketEnum = HotelPriceBucketEnum() # For __getattribute__ -class HotelRateTypeEnum(object): + +class HotelRateTypeEnum(_CreateEnumTypeUponFirstAccess): + HotelRateType = '''\ class HotelRateType(enum.IntEnum): """ Enum describing possible hotel rate types. @@ -5912,9 +7027,9 @@ class HotelRateType(enum.IntEnum): PUBLIC_RATE (int): Rates available to everyone. QUALIFIED_RATE (int): A membership program rate is available and satisfies basic requirements like having a public rate available. UI treatment will strikethrough the - public rate and indicate that a discount is available to the user. See + public rate and indicate that a discount is available to the user. For + more on Qualified Rates, visit https://developers.google.com/hotels/hotel-ads/dev-guide/qualified-rates - for more information. PRIVATE_RATE (int): Rates available to users that satisfy some eligibility criteria. e.g. all signed-in users, 20% of mobile users, all mobile users in Canada, etc. @@ -5925,9 +7040,12 @@ class HotelRateType(enum.IntEnum): PUBLIC_RATE = 3 QUALIFIED_RATE = 4 PRIVATE_RATE = 5 +''' +HotelRateTypeEnum = HotelRateTypeEnum() # For __getattribute__ -class IdErrorEnum(object): +class IdErrorEnum(_CreateEnumTypeUponFirstAccess): + IdError = '''\ class IdError(enum.IntEnum): """ Enum describing possible id errors. @@ -5940,9 +7058,12 @@ class IdError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 NOT_FOUND = 2 +''' +IdErrorEnum = IdErrorEnum() # For __getattribute__ -class ImageErrorEnum(object): +class ImageErrorEnum(_CreateEnumTypeUponFirstAccess): + ImageError = '''\ class ImageError(enum.IntEnum): """ Enum describing possible image errors. @@ -5988,6 +7109,10 @@ class ImageError(enum.IntEnum): IMAGE_TOO_SMALL (int): Image is too small. INVALID_INPUT (int): Input was invalid. PROBLEM_READING_FILE (int): There was a problem reading the image file. + IMAGE_CONSTRAINTS_VIOLATED (int): Image constraints are violated, but details like + ASPECT\_RATIO\_NOT\_ALLOWED can't be provided. This happens when asset + spec contains more than one constraint and different criteria of + different constraints are violated. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -6028,9 +7153,13 @@ class ImageError(enum.IntEnum): IMAGE_TOO_SMALL = 36 INVALID_INPUT = 37 PROBLEM_READING_FILE = 38 + IMAGE_CONSTRAINTS_VIOLATED = 39 +''' +ImageErrorEnum = ImageErrorEnum() # For __getattribute__ -class IncomeRangeTypeEnum(object): +class IncomeRangeTypeEnum(_CreateEnumTypeUponFirstAccess): + IncomeRangeType = '''\ class IncomeRangeType(enum.IntEnum): """ The type of demographic income ranges (e.g. between 0% to 50%). @@ -6055,9 +7184,12 @@ class IncomeRangeType(enum.IntEnum): INCOME_RANGE_80_90 = 510005 INCOME_RANGE_90_UP = 510006 INCOME_RANGE_UNDETERMINED = 510000 +''' +IncomeRangeTypeEnum = IncomeRangeTypeEnum() # For __getattribute__ -class InteractionEventTypeEnum(object): +class InteractionEventTypeEnum(_CreateEnumTypeUponFirstAccess): + InteractionEventType = '''\ class InteractionEventType(enum.IntEnum): """ Enum describing possible types of payable and free interactions. @@ -6082,9 +7214,12 @@ class InteractionEventType(enum.IntEnum): ENGAGEMENT = 3 VIDEO_VIEW = 4 NONE = 5 +''' +InteractionEventTypeEnum = InteractionEventTypeEnum() # For __getattribute__ -class InteractionTypeEnum(object): +class InteractionTypeEnum(_CreateEnumTypeUponFirstAccess): + InteractionType = '''\ class InteractionType(enum.IntEnum): """ Enum describing possible interaction types. @@ -6097,9 +7232,12 @@ class InteractionType(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 CALLS = 8000 +''' +InteractionTypeEnum = InteractionTypeEnum() # For __getattribute__ -class InternalErrorEnum(object): +class InternalErrorEnum(_CreateEnumTypeUponFirstAccess): + InternalError = '''\ class InternalError(enum.IntEnum): """ Enum describing possible internal errors. @@ -6108,19 +7246,64 @@ class InternalError(enum.IntEnum): UNSPECIFIED (int): Enum unspecified. UNKNOWN (int): The received error code is not known in this version. INTERNAL_ERROR (int): Google Ads API encountered unexpected internal error. - ERROR_CODE_NOT_PUBLISHED (int): The intended error code doesn't exist in any API version. This will be - fixed by adding a new error code as soon as possible. + ERROR_CODE_NOT_PUBLISHED (int): The intended error code doesn't exist in specified API version. It will + be released in a future API version. TRANSIENT_ERROR (int): Google Ads API encountered an unexpected transient error. The user should retry their request in these cases. + DEADLINE_EXCEEDED (int): The request took longer than a deadline. """ UNSPECIFIED = 0 UNKNOWN = 1 INTERNAL_ERROR = 2 ERROR_CODE_NOT_PUBLISHED = 3 TRANSIENT_ERROR = 4 + DEADLINE_EXCEEDED = 5 +''' +InternalErrorEnum = InternalErrorEnum() # For __getattribute__ + + +class InvoiceErrorEnum(_CreateEnumTypeUponFirstAccess): + InvoiceError = '''\ + class InvoiceError(enum.IntEnum): + """ + Enum describing possible invoice errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + YEAR_MONTH_TOO_OLD (int): Cannot request invoices issued before 2019-01-01. + NOT_INVOICED_CUSTOMER (int): Cannot request invoices for customer who doesn't receive invoices. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + YEAR_MONTH_TOO_OLD = 2 + NOT_INVOICED_CUSTOMER = 3 +''' +InvoiceErrorEnum = InvoiceErrorEnum() # For __getattribute__ + + +class InvoiceTypeEnum(_CreateEnumTypeUponFirstAccess): + InvoiceType = '''\ + class InvoiceType(enum.IntEnum): + """ + The possible type of invoices. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + CREDIT_MEMO (int): An invoice with a negative amount. The account receives a credit. + INVOICE (int): An invoice with a positive amount. The account owes a balance. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + CREDIT_MEMO = 2 + INVOICE = 3 +''' +InvoiceTypeEnum = InvoiceTypeEnum() # For __getattribute__ -class JobPlaceholderFieldEnum(object): +class JobPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + JobPlaceholderField = '''\ class JobPlaceholderField(enum.IntEnum): """ Possible values for Job placeholder fields. @@ -6181,9 +7364,12 @@ class JobPlaceholderField(enum.IntEnum): SIMILAR_JOB_IDS = 17 IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 +''' +JobPlaceholderFieldEnum = JobPlaceholderFieldEnum() # For __getattribute__ -class KeywordMatchTypeEnum(object): +class KeywordMatchTypeEnum(_CreateEnumTypeUponFirstAccess): + KeywordMatchType = '''\ class KeywordMatchType(enum.IntEnum): """ Possible Keyword match types. @@ -6200,9 +7386,12 @@ class KeywordMatchType(enum.IntEnum): EXACT = 2 PHRASE = 3 BROAD = 4 +''' +KeywordMatchTypeEnum = KeywordMatchTypeEnum() # For __getattribute__ -class KeywordPlanAdGroupErrorEnum(object): +class KeywordPlanAdGroupErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanAdGroupError = '''\ class KeywordPlanAdGroupError(enum.IntEnum): """ Enum describing possible errors from applying a keyword plan ad group. @@ -6219,9 +7408,44 @@ class KeywordPlanAdGroupError(enum.IntEnum): UNKNOWN = 1 INVALID_NAME = 2 DUPLICATE_NAME = 3 +''' +KeywordPlanAdGroupErrorEnum = KeywordPlanAdGroupErrorEnum() # For __getattribute__ + + +class KeywordPlanAdGroupKeywordErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanAdGroupKeywordError = '''\ + class KeywordPlanAdGroupKeywordError(enum.IntEnum): + """ + Enum describing possible errors from applying a keyword plan ad group + keyword or keyword plan campaign keyword. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + INVALID_KEYWORD_MATCH_TYPE (int): A keyword or negative keyword has invalid match type. + DUPLICATE_KEYWORD (int): A keyword or negative keyword with same text and match type already + exists. + KEYWORD_TEXT_TOO_LONG (int): Keyword or negative keyword text exceeds the allowed limit. + KEYWORD_HAS_INVALID_CHARS (int): Keyword or negative keyword text has invalid characters or symbols. + KEYWORD_HAS_TOO_MANY_WORDS (int): Keyword or negative keyword text has too many words. + INVALID_KEYWORD_TEXT (int): Keyword or negative keyword has invalid text. + NEGATIVE_KEYWORD_HAS_CPC_BID (int): Cpc Bid set for negative keyword. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INVALID_KEYWORD_MATCH_TYPE = 2 + DUPLICATE_KEYWORD = 3 + KEYWORD_TEXT_TOO_LONG = 4 + KEYWORD_HAS_INVALID_CHARS = 5 + KEYWORD_HAS_TOO_MANY_WORDS = 6 + INVALID_KEYWORD_TEXT = 7 + NEGATIVE_KEYWORD_HAS_CPC_BID = 8 +''' +KeywordPlanAdGroupKeywordErrorEnum = KeywordPlanAdGroupKeywordErrorEnum() # For __getattribute__ -class KeywordPlanCampaignErrorEnum(object): +class KeywordPlanCampaignErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanCampaignError = '''\ class KeywordPlanCampaignError(enum.IntEnum): """ Enum describing possible errors from applying a keyword plan campaign. @@ -6244,9 +7468,31 @@ class KeywordPlanCampaignError(enum.IntEnum): INVALID_GEOS = 4 DUPLICATE_NAME = 5 MAX_GEOS_EXCEEDED = 6 +''' +KeywordPlanCampaignErrorEnum = KeywordPlanCampaignErrorEnum() # For __getattribute__ + + +class KeywordPlanCampaignKeywordErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanCampaignKeywordError = '''\ + class KeywordPlanCampaignKeywordError(enum.IntEnum): + """ + Enum describing possible errors from applying a keyword plan campaign + keyword. + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + CAMPAIGN_KEYWORD_IS_POSITIVE (int): Keyword plan campaign keyword is positive. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + CAMPAIGN_KEYWORD_IS_POSITIVE = 8 +''' +KeywordPlanCampaignKeywordErrorEnum = KeywordPlanCampaignKeywordErrorEnum() # For __getattribute__ -class KeywordPlanCompetitionLevelEnum(object): + +class KeywordPlanCompetitionLevelEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanCompetitionLevel = '''\ class KeywordPlanCompetitionLevel(enum.IntEnum): """ Competition level of a keyword. @@ -6254,18 +7500,21 @@ class KeywordPlanCompetitionLevel(enum.IntEnum): Attributes: UNSPECIFIED (int): Not specified. UNKNOWN (int): The value is unknown in this version. - LOW (int): Low competition. - MEDIUM (int): Medium competition. - HIGH (int): High competition. + LOW (int): Low competition. The Competition Index range for this is [0, 33]. + MEDIUM (int): Medium competition. The Competition Index range for this is [34, 66]. + HIGH (int): High competition. The Competition Index range for this is [67, 100]. """ UNSPECIFIED = 0 UNKNOWN = 1 LOW = 2 MEDIUM = 3 HIGH = 4 +''' +KeywordPlanCompetitionLevelEnum = KeywordPlanCompetitionLevelEnum() # For __getattribute__ -class KeywordPlanErrorEnum(object): +class KeywordPlanErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanError = '''\ class KeywordPlanError(enum.IntEnum): """ Enum describing possible errors from applying a keyword plan. @@ -6305,9 +7554,12 @@ class KeywordPlanError(enum.IntEnum): MISSING_FORECAST_PERIOD = 14 INVALID_FORECAST_DATE_RANGE = 15 INVALID_NAME = 16 +''' +KeywordPlanErrorEnum = KeywordPlanErrorEnum() # For __getattribute__ -class KeywordPlanForecastIntervalEnum(object): +class KeywordPlanForecastIntervalEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanForecastInterval = '''\ class KeywordPlanForecastInterval(enum.IntEnum): """ Forecast intervals. @@ -6327,9 +7579,12 @@ class KeywordPlanForecastInterval(enum.IntEnum): NEXT_WEEK = 3 NEXT_MONTH = 4 NEXT_QUARTER = 5 +''' +KeywordPlanForecastIntervalEnum = KeywordPlanForecastIntervalEnum() # For __getattribute__ -class KeywordPlanIdeaErrorEnum(object): +class KeywordPlanIdeaErrorEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanIdeaError = '''\ class KeywordPlanIdeaError(enum.IntEnum): """ Enum describing possible errors from KeywordPlanIdeaService. @@ -6344,69 +7599,35 @@ class KeywordPlanIdeaError(enum.IntEnum): UNKNOWN = 1 URL_CRAWL_ERROR = 2 INVALID_VALUE = 3 +''' +KeywordPlanIdeaErrorEnum = KeywordPlanIdeaErrorEnum() # For __getattribute__ -class KeywordPlanKeywordErrorEnum(object): - class KeywordPlanKeywordError(enum.IntEnum): +class KeywordPlanNetworkEnum(_CreateEnumTypeUponFirstAccess): + KeywordPlanNetwork = '''\ + class KeywordPlanNetwork(enum.IntEnum): """ - Enum describing possible errors from applying a keyword plan keyword. + Enumerates keyword plan forecastable network types. Attributes: - UNSPECIFIED (int): Enum unspecified. - UNKNOWN (int): The received error code is not known in this version. - INVALID_KEYWORD_MATCH_TYPE (int): A keyword or negative keyword has invalid match type. - DUPLICATE_KEYWORD (int): A keyword or negative keyword with same text and match type already - exists. - KEYWORD_TEXT_TOO_LONG (int): Keyword or negative keyword text exceeds the allowed limit. - KEYWORD_HAS_INVALID_CHARS (int): Keyword or negative keyword text has invalid characters or symbols. - KEYWORD_HAS_TOO_MANY_WORDS (int): Keyword or negative keyword text has too many words. - INVALID_KEYWORD_TEXT (int): Keyword or negative keyword has invalid text. + UNSPECIFIED (int): Not specified. + UNKNOWN (int): The value is unknown in this version. + GOOGLE_SEARCH (int): Google Search. + GOOGLE_SEARCH_AND_PARTNERS (int): Google Search + Search partners. """ UNSPECIFIED = 0 UNKNOWN = 1 - INVALID_KEYWORD_MATCH_TYPE = 2 - DUPLICATE_KEYWORD = 3 - KEYWORD_TEXT_TOO_LONG = 4 - KEYWORD_HAS_INVALID_CHARS = 5 - KEYWORD_HAS_TOO_MANY_WORDS = 6 - INVALID_KEYWORD_TEXT = 7 + GOOGLE_SEARCH = 2 + GOOGLE_SEARCH_AND_PARTNERS = 3 +''' +KeywordPlanNetworkEnum = KeywordPlanNetworkEnum() # For __getattribute__ -class KeywordPlanNegativeKeywordErrorEnum(object): - class KeywordPlanNegativeKeywordError(enum.IntEnum): +class LabelErrorEnum(_CreateEnumTypeUponFirstAccess): + LabelError = '''\ + class LabelError(enum.IntEnum): """ - Enum describing possible errors from applying a keyword plan negative - keyword. - - Attributes: - UNSPECIFIED (int): Enum unspecified. - UNKNOWN (int): The received error code is not known in this version. - """ - UNSPECIFIED = 0 - UNKNOWN = 1 - - -class KeywordPlanNetworkEnum(object): - class KeywordPlanNetwork(enum.IntEnum): - """ - Enumerates keyword plan forecastable network types. - - Attributes: - UNSPECIFIED (int): Not specified. - UNKNOWN (int): The value is unknown in this version. - GOOGLE_SEARCH (int): Google Search. - GOOGLE_SEARCH_AND_PARTNERS (int): Google Search + Search partners. - """ - UNSPECIFIED = 0 - UNKNOWN = 1 - GOOGLE_SEARCH = 2 - GOOGLE_SEARCH_AND_PARTNERS = 3 - - -class LabelErrorEnum(object): - class LabelError(enum.IntEnum): - """ - Enum describing possible label errors. + Enum describing possible label errors. Attributes: UNSPECIFIED (int): Enum unspecified. @@ -6434,9 +7655,12 @@ class LabelError(enum.IntEnum): INVALID_LABEL_NAME = 8 CANNOT_ATTACH_LABEL_TO_DRAFT = 9 CANNOT_ATTACH_NON_MANAGER_LABEL_TO_CUSTOMER = 10 +''' +LabelErrorEnum = LabelErrorEnum() # For __getattribute__ -class LabelStatusEnum(object): +class LabelStatusEnum(_CreateEnumTypeUponFirstAccess): + LabelStatus = '''\ class LabelStatus(enum.IntEnum): """ Possible statuses of a label. @@ -6451,9 +7675,12 @@ class LabelStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +LabelStatusEnum = LabelStatusEnum() # For __getattribute__ -class LanguageCodeErrorEnum(object): +class LanguageCodeErrorEnum(_CreateEnumTypeUponFirstAccess): + LanguageCodeError = '''\ class LanguageCodeError(enum.IntEnum): """ Enum describing language code errors. @@ -6468,9 +7695,12 @@ class LanguageCodeError(enum.IntEnum): UNKNOWN = 1 LANGUAGE_CODE_NOT_FOUND = 2 INVALID_LANGUAGE_CODE = 3 +''' +LanguageCodeErrorEnum = LanguageCodeErrorEnum() # For __getattribute__ -class LegacyAppInstallAdAppStoreEnum(object): +class LegacyAppInstallAdAppStoreEnum(_CreateEnumTypeUponFirstAccess): + LegacyAppInstallAdAppStore = '''\ class LegacyAppInstallAdAppStore(enum.IntEnum): """ App store type in a legacy app install ad. @@ -6491,49 +7721,51 @@ class LegacyAppInstallAdAppStore(enum.IntEnum): WINDOWS_STORE = 4 WINDOWS_PHONE_STORE = 5 CN_APP_STORE = 6 +''' +LegacyAppInstallAdAppStoreEnum = LegacyAppInstallAdAppStoreEnum() # For __getattribute__ -class ListOperationErrorEnum(object): - class ListOperationError(enum.IntEnum): +class LinkedAccountTypeEnum(_CreateEnumTypeUponFirstAccess): + LinkedAccountType = '''\ + class LinkedAccountType(enum.IntEnum): """ - Enum describing possible list operation errors. + Describes the possible link types between a Google Ads customer + and another account. Attributes: - UNSPECIFIED (int): Enum unspecified. - UNKNOWN (int): The received error code is not known in this version. - REQUIRED_FIELD_MISSING (int): Field required in value is missing. - DUPLICATE_VALUES (int): Duplicate or identical value is sent in multiple list operations. + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + THIRD_PARTY_APP_ANALYTICS (int): A link to provide third party app analytics data. """ UNSPECIFIED = 0 UNKNOWN = 1 - REQUIRED_FIELD_MISSING = 7 - DUPLICATE_VALUES = 8 + THIRD_PARTY_APP_ANALYTICS = 2 +''' +LinkedAccountTypeEnum = LinkedAccountTypeEnum() # For __getattribute__ -class ListingCustomAttributeIndexEnum(object): - class ListingCustomAttributeIndex(enum.IntEnum): +class ListOperationErrorEnum(_CreateEnumTypeUponFirstAccess): + ListOperationError = '''\ + class ListOperationError(enum.IntEnum): """ - The index of the listing custom attribute. + Enum describing possible list operation errors. Attributes: - UNSPECIFIED (int): Not specified. - UNKNOWN (int): Used for return value only. Represents value unknown in this version. - INDEX0 (int): First listing custom attribute. - INDEX1 (int): Second listing custom attribute. - INDEX2 (int): Third listing custom attribute. - INDEX3 (int): Fourth listing custom attribute. - INDEX4 (int): Fifth listing custom attribute. + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + REQUIRED_FIELD_MISSING (int): Field required in value is missing. + DUPLICATE_VALUES (int): Duplicate or identical value is sent in multiple list operations. """ UNSPECIFIED = 0 UNKNOWN = 1 - INDEX0 = 7 - INDEX1 = 8 - INDEX2 = 9 - INDEX3 = 10 - INDEX4 = 11 + REQUIRED_FIELD_MISSING = 7 + DUPLICATE_VALUES = 8 +''' +ListOperationErrorEnum = ListOperationErrorEnum() # For __getattribute__ -class ListingGroupTypeEnum(object): +class ListingGroupTypeEnum(_CreateEnumTypeUponFirstAccess): + ListingGroupType = '''\ class ListingGroupType(enum.IntEnum): """ The type of the listing group. @@ -6550,9 +7782,12 @@ class ListingGroupType(enum.IntEnum): UNKNOWN = 1 SUBDIVISION = 2 UNIT = 3 +''' +ListingGroupTypeEnum = ListingGroupTypeEnum() # For __getattribute__ -class LocalPlaceholderFieldEnum(object): +class LocalPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + LocalPlaceholderField = '''\ class LocalPlaceholderField(enum.IntEnum): """ Possible values for Local placeholder fields. @@ -6616,9 +7851,12 @@ class LocalPlaceholderField(enum.IntEnum): SIMILAR_DEAL_IDS = 18 IOS_APP_LINK = 19 IOS_APP_STORE_ID = 20 +''' +LocalPlaceholderFieldEnum = LocalPlaceholderFieldEnum() # For __getattribute__ -class LocationExtensionTargetingCriterionFieldEnum(object): +class LocationExtensionTargetingCriterionFieldEnum(_CreateEnumTypeUponFirstAccess): + LocationExtensionTargetingCriterionField = '''\ class LocationExtensionTargetingCriterionField(enum.IntEnum): """ Possible values for Location Extension Targeting criterion fields. @@ -6641,9 +7879,12 @@ class LocationExtensionTargetingCriterionField(enum.IntEnum): PROVINCE = 5 POSTAL_CODE = 6 COUNTRY_CODE = 7 +''' +LocationExtensionTargetingCriterionFieldEnum = LocationExtensionTargetingCriterionFieldEnum() # For __getattribute__ -class LocationGroupRadiusUnitsEnum(object): +class LocationGroupRadiusUnitsEnum(_CreateEnumTypeUponFirstAccess): + LocationGroupRadiusUnits = '''\ class LocationGroupRadiusUnits(enum.IntEnum): """ The unit of radius distance in location group (e.g. MILES) @@ -6658,9 +7899,12 @@ class LocationGroupRadiusUnits(enum.IntEnum): UNKNOWN = 1 METERS = 2 MILES = 3 +''' +LocationGroupRadiusUnitsEnum = LocationGroupRadiusUnitsEnum() # For __getattribute__ -class LocationPlaceholderFieldEnum(object): +class LocationPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + LocationPlaceholderField = '''\ class LocationPlaceholderField(enum.IntEnum): """ Possible values for Location placeholder fields. @@ -6687,9 +7931,33 @@ class LocationPlaceholderField(enum.IntEnum): POSTAL_CODE = 7 COUNTRY_CODE = 8 PHONE_NUMBER = 9 +''' +LocationPlaceholderFieldEnum = LocationPlaceholderFieldEnum() # For __getattribute__ + + +class LocationSourceTypeEnum(_CreateEnumTypeUponFirstAccess): + LocationSourceType = '''\ + class LocationSourceType(enum.IntEnum): + """ + The possible types of a location source. + + Attributes: + UNSPECIFIED (int): No value has been specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + GOOGLE_MY_BUSINESS (int): Locations associated with the customer's linked Google My Business + account. + AFFILIATE (int): Affiliate (chain) store locations. For example, Best Buy store locations. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + GOOGLE_MY_BUSINESS = 2 + AFFILIATE = 3 +''' +LocationSourceTypeEnum = LocationSourceTypeEnum() # For __getattribute__ -class ManagerLinkErrorEnum(object): +class ManagerLinkErrorEnum(_CreateEnumTypeUponFirstAccess): + ManagerLinkError = '''\ class ManagerLinkError(enum.IntEnum): """ Enum describing possible ManagerLink errors. @@ -6712,6 +7980,10 @@ class ManagerLinkError(enum.IntEnum): NON_OWNER_USER_CANNOT_MODIFY_LINK (int): The account is not authorized owner. SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS (int): Your manager account is suspended, and you are no longer allowed to link to clients. + CLIENT_OUTSIDE_TREE (int): You are not allowed to move a client to a manager that is not under your + current hierarchy. + INVALID_STATUS_CHANGE (int): The changed status for mutate link is invalid. + INVALID_CHANGE (int): The change for mutate link is invalid. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -6729,9 +8001,15 @@ class ManagerLinkError(enum.IntEnum): TOO_MANY_ACCOUNTS_AT_MANAGER = 13 NON_OWNER_USER_CANNOT_MODIFY_LINK = 14 SUSPENDED_ACCOUNT_CANNOT_ADD_CLIENTS = 15 + CLIENT_OUTSIDE_TREE = 16 + INVALID_STATUS_CHANGE = 17 + INVALID_CHANGE = 18 +''' +ManagerLinkErrorEnum = ManagerLinkErrorEnum() # For __getattribute__ -class ManagerLinkStatusEnum(object): +class ManagerLinkStatusEnum(_CreateEnumTypeUponFirstAccess): + ManagerLinkStatus = '''\ class ManagerLinkStatus(enum.IntEnum): """ Possible statuses of a link. @@ -6754,9 +8032,12 @@ class ManagerLinkStatus(enum.IntEnum): PENDING = 4 REFUSED = 5 CANCELED = 6 +''' +ManagerLinkStatusEnum = ManagerLinkStatusEnum() # For __getattribute__ -class MatchingFunctionContextTypeEnum(object): +class MatchingFunctionContextTypeEnum(_CreateEnumTypeUponFirstAccess): + MatchingFunctionContextType = '''\ class MatchingFunctionContextType(enum.IntEnum): """ Possible context types for an operand in a matching function. @@ -6771,9 +8052,12 @@ class MatchingFunctionContextType(enum.IntEnum): UNKNOWN = 1 FEED_ITEM_ID = 2 DEVICE_NAME = 3 +''' +MatchingFunctionContextTypeEnum = MatchingFunctionContextTypeEnum() # For __getattribute__ -class MatchingFunctionOperatorEnum(object): +class MatchingFunctionOperatorEnum(_CreateEnumTypeUponFirstAccess): + MatchingFunctionOperator = '''\ class MatchingFunctionOperator(enum.IntEnum): """ Possible operators in a matching function. @@ -6800,9 +8084,12 @@ class MatchingFunctionOperator(enum.IntEnum): EQUALS = 4 AND = 5 CONTAINS_ANY = 6 +''' +MatchingFunctionOperatorEnum = MatchingFunctionOperatorEnum() # For __getattribute__ -class MediaBundleErrorEnum(object): +class MediaBundleErrorEnum(_CreateEnumTypeUponFirstAccess): + MediaBundleError = '''\ class MediaBundleError(enum.IntEnum): """ Enum describing possible media bundle errors. @@ -6857,9 +8144,12 @@ class MediaBundleError(enum.IntEnum): UNSUPPORTED_HTML5_FEATURE = 22 URL_IN_MEDIA_BUNDLE_NOT_SSL_COMPLIANT = 23 CUSTOM_EXIT_NOT_ALLOWED = 24 +''' +MediaBundleErrorEnum = MediaBundleErrorEnum() # For __getattribute__ -class MediaFileErrorEnum(object): +class MediaFileErrorEnum(_CreateEnumTypeUponFirstAccess): + MediaFileError = '''\ class MediaFileError(enum.IntEnum): """ Enum describing possible media file errors. @@ -6916,9 +8206,12 @@ class MediaFileError(enum.IntEnum): YOU_TUBE_SERVICE_UNAVAILABLE = 22 YOU_TUBE_VIDEO_HAS_NON_POSITIVE_DURATION = 23 YOU_TUBE_VIDEO_NOT_FOUND = 24 +''' +MediaFileErrorEnum = MediaFileErrorEnum() # For __getattribute__ -class MediaTypeEnum(object): +class MediaTypeEnum(_CreateEnumTypeUponFirstAccess): + MediaType = '''\ class MediaType(enum.IntEnum): """ The type of media. @@ -6943,9 +8236,12 @@ class MediaType(enum.IntEnum): AUDIO = 5 VIDEO = 6 DYNAMIC_IMAGE = 7 +''' +MediaTypeEnum = MediaTypeEnum() # For __getattribute__ -class MediaUploadErrorEnum(object): +class MediaUploadErrorEnum(_CreateEnumTypeUponFirstAccess): + MediaUploadError = '''\ class MediaUploadError(enum.IntEnum): """ Enum describing possible media uploading errors. @@ -6957,6 +8253,9 @@ class MediaUploadError(enum.IntEnum): UNPARSEABLE_IMAGE (int): Image data is unparseable. ANIMATED_IMAGE_NOT_ALLOWED (int): Animated images are not allowed. FORMAT_NOT_ALLOWED (int): The image or media bundle format is not allowed. + EXTERNAL_URL_NOT_ALLOWED (int): Cannot reference URL external to the media bundle. + INVALID_URL_REFERENCE (int): HTML5 ad is trying to reference an asset not in .ZIP file. + MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY (int): The media bundle contains no primary entry. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -6964,9 +8263,15 @@ class MediaUploadError(enum.IntEnum): UNPARSEABLE_IMAGE = 3 ANIMATED_IMAGE_NOT_ALLOWED = 4 FORMAT_NOT_ALLOWED = 5 + EXTERNAL_URL_NOT_ALLOWED = 6 + INVALID_URL_REFERENCE = 7 + MISSING_PRIMARY_MEDIA_BUNDLE_ENTRY = 8 +''' +MediaUploadErrorEnum = MediaUploadErrorEnum() # For __getattribute__ -class MerchantCenterLinkStatusEnum(object): +class MerchantCenterLinkStatusEnum(_CreateEnumTypeUponFirstAccess): + MerchantCenterLinkStatus = '''\ class MerchantCenterLinkStatus(enum.IntEnum): """ Describes the possible statuses for a link between a Google Ads customer @@ -6983,9 +8288,12 @@ class MerchantCenterLinkStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 PENDING = 3 +''' +MerchantCenterLinkStatusEnum = MerchantCenterLinkStatusEnum() # For __getattribute__ -class MessagePlaceholderFieldEnum(object): +class MessagePlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + MessagePlaceholderField = '''\ class MessagePlaceholderField(enum.IntEnum): """ Possible values for Message placeholder fields. @@ -7008,9 +8316,12 @@ class MessagePlaceholderField(enum.IntEnum): PHONE_NUMBER = 4 MESSAGE_EXTENSION_TEXT = 5 MESSAGE_TEXT = 6 +''' +MessagePlaceholderFieldEnum = MessagePlaceholderFieldEnum() # For __getattribute__ -class MimeTypeEnum(object): +class MimeTypeEnum(_CreateEnumTypeUponFirstAccess): + MimeType = '''\ class MimeType(enum.IntEnum): """ The mime type @@ -7047,9 +8358,12 @@ class MimeType(enum.IntEnum): AUDIO_WAV = 11 AUDIO_MP3 = 12 HTML5_AD_ZIP = 13 +''' +MimeTypeEnum = MimeTypeEnum() # For __getattribute__ -class MinuteOfHourEnum(object): +class MinuteOfHourEnum(_CreateEnumTypeUponFirstAccess): + MinuteOfHour = '''\ class MinuteOfHour(enum.IntEnum): """ Enumerates of quarter-hours. E.g. "FIFTEEN" @@ -7068,9 +8382,32 @@ class MinuteOfHour(enum.IntEnum): FIFTEEN = 3 THIRTY = 4 FORTY_FIVE = 5 +''' +MinuteOfHourEnum = MinuteOfHourEnum() # For __getattribute__ + + +class MobileAppVendorEnum(_CreateEnumTypeUponFirstAccess): + MobileAppVendor = '''\ + class MobileAppVendor(enum.IntEnum): + """ + The type of mobile app vendor + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + APPLE_APP_STORE (int): Mobile app vendor for Apple app store. + GOOGLE_APP_STORE (int): Mobile app vendor for Google app store. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + APPLE_APP_STORE = 2 + GOOGLE_APP_STORE = 3 +''' +MobileAppVendorEnum = MobileAppVendorEnum() # For __getattribute__ -class MobileDeviceTypeEnum(object): +class MobileDeviceTypeEnum(_CreateEnumTypeUponFirstAccess): + MobileDeviceType = '''\ class MobileDeviceType(enum.IntEnum): """ The type of mobile device. @@ -7085,9 +8422,12 @@ class MobileDeviceType(enum.IntEnum): UNKNOWN = 1 MOBILE = 2 TABLET = 3 +''' +MobileDeviceTypeEnum = MobileDeviceTypeEnum() # For __getattribute__ -class MonthOfYearEnum(object): +class MonthOfYearEnum(_CreateEnumTypeUponFirstAccess): + MonthOfYear = '''\ class MonthOfYear(enum.IntEnum): """ Enumerates months of the year, e.g., "January". @@ -7122,9 +8462,12 @@ class MonthOfYear(enum.IntEnum): OCTOBER = 11 NOVEMBER = 12 DECEMBER = 13 +''' +MonthOfYearEnum = MonthOfYearEnum() # For __getattribute__ -class MultiplierErrorEnum(object): +class MultiplierErrorEnum(_CreateEnumTypeUponFirstAccess): + MultiplierError = '''\ class MultiplierError(enum.IntEnum): """ Enum describing possible multiplier errors. @@ -7160,9 +8503,12 @@ class MultiplierError(enum.IntEnum): MULTIPLIER_CAUSES_BID_TO_EXCEED_MAX_ALLOWED_BID = 11 BID_LESS_THAN_MIN_ALLOWED_BID_WITH_MULTIPLIER = 12 MULTIPLIER_AND_BIDDING_STRATEGY_TYPE_MISMATCH = 13 +''' +MultiplierErrorEnum = MultiplierErrorEnum() # For __getattribute__ -class MutateErrorEnum(object): +class MutateErrorEnum(_CreateEnumTypeUponFirstAccess): + MutateError = '''\ class MutateError(enum.IntEnum): """ Enum describing possible mutate errors. @@ -7177,6 +8523,8 @@ class MutateError(enum.IntEnum): MUTATE_NOT_ALLOWED (int): Mutates are not allowed for the requested resource. RESOURCE_NOT_IN_GOOGLE_ADS (int): The resource isn't in Google Ads. It belongs to another ads system. RESOURCE_ALREADY_EXISTS (int): The resource being created already exists. + RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY (int): This resource cannot be used with "validate\_only". + RESOURCE_READ_ONLY (int): Attempt to write to read-only fields. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -7186,52 +8534,14 @@ class MutateError(enum.IntEnum): MUTATE_NOT_ALLOWED = 9 RESOURCE_NOT_IN_GOOGLE_ADS = 10 RESOURCE_ALREADY_EXISTS = 11 + RESOURCE_DOES_NOT_SUPPORT_VALIDATE_ONLY = 12 + RESOURCE_READ_ONLY = 13 +''' +MutateErrorEnum = MutateErrorEnum() # For __getattribute__ -class MutateJobErrorEnum(object): - class MutateJobError(enum.IntEnum): - """ - Enum describing possible request errors. - - Attributes: - UNSPECIFIED (int): Enum unspecified. - UNKNOWN (int): The received error code is not known in this version. - CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING (int): The mutate job cannot add more operations or run after it has started - running. - EMPTY_OPERATIONS (int): The operations for an AddMutateJobOperations request were empty. - INVALID_SEQUENCE_TOKEN (int): The sequence token for an AddMutateJobOperations request was invalid. - RESULTS_NOT_READY (int): Mutate Job Results can only be retrieved once the job is finished. - INVALID_PAGE_SIZE (int): The page size for ListMutateJobResults was invalid. - """ - UNSPECIFIED = 0 - UNKNOWN = 1 - CANNOT_MODIFY_JOB_AFTER_JOB_STARTS_RUNNING = 2 - EMPTY_OPERATIONS = 3 - INVALID_SEQUENCE_TOKEN = 4 - RESULTS_NOT_READY = 5 - INVALID_PAGE_SIZE = 6 - - -class MutateJobStatusEnum(object): - class MutateJobStatus(enum.IntEnum): - """ - The mutate job statuses. - - Attributes: - UNSPECIFIED (int): Not specified. - UNKNOWN (int): Used for return value only. Represents value unknown in this version. - PENDING (int): The job is not currently running. - RUNNING (int): The job is running. - DONE (int): The job is done. - """ - UNSPECIFIED = 0 - UNKNOWN = 1 - PENDING = 2 - RUNNING = 3 - DONE = 4 - - -class NegativeGeoTargetTypeEnum(object): +class NegativeGeoTargetTypeEnum(_CreateEnumTypeUponFirstAccess): + NegativeGeoTargetType = '''\ class NegativeGeoTargetType(enum.IntEnum): """ The possible negative geo target types. @@ -7239,18 +8549,21 @@ class NegativeGeoTargetType(enum.IntEnum): Attributes: UNSPECIFIED (int): Not specified. UNKNOWN (int): The value is unknown in this version. - DONT_CARE (int): Specifies that a user is excluded from seeing the ad if they + PRESENCE_OR_INTEREST (int): Specifies that a user is excluded from seeing the ad if they are in, or show interest in, advertiser's excluded locations. - LOCATION_OF_PRESENCE (int): Specifies that a user is excluded from seeing the ad if they + PRESENCE (int): Specifies that a user is excluded from seeing the ad if they are in advertiser's excluded locations. """ UNSPECIFIED = 0 UNKNOWN = 1 - DONT_CARE = 2 - LOCATION_OF_PRESENCE = 3 + PRESENCE_OR_INTEREST = 4 + PRESENCE = 5 +''' +NegativeGeoTargetTypeEnum = NegativeGeoTargetTypeEnum() # For __getattribute__ -class NewResourceCreationErrorEnum(object): +class NewResourceCreationErrorEnum(_CreateEnumTypeUponFirstAccess): + NewResourceCreationError = '''\ class NewResourceCreationError(enum.IntEnum): """ Enum describing possible new resource creation errors. @@ -7268,9 +8581,12 @@ class NewResourceCreationError(enum.IntEnum): CANNOT_SET_ID_FOR_CREATE = 2 DUPLICATE_TEMP_IDS = 3 TEMP_ID_RESOURCE_HAD_ERRORS = 4 +''' +NewResourceCreationErrorEnum = NewResourceCreationErrorEnum() # For __getattribute__ -class NotEmptyErrorEnum(object): +class NotEmptyErrorEnum(_CreateEnumTypeUponFirstAccess): + NotEmptyError = '''\ class NotEmptyError(enum.IntEnum): """ Enum describing possible not empty errors. @@ -7283,9 +8599,12 @@ class NotEmptyError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 EMPTY_LIST = 2 +''' +NotEmptyErrorEnum = NotEmptyErrorEnum() # For __getattribute__ -class NotWhitelistedErrorEnum(object): +class NotWhitelistedErrorEnum(_CreateEnumTypeUponFirstAccess): + NotWhitelistedError = '''\ class NotWhitelistedError(enum.IntEnum): """ Enum describing possible not whitelisted errors. @@ -7298,9 +8617,12 @@ class NotWhitelistedError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 CUSTOMER_NOT_WHITELISTED_FOR_THIS_FEATURE = 2 +''' +NotWhitelistedErrorEnum = NotWhitelistedErrorEnum() # For __getattribute__ -class NullErrorEnum(object): +class NullErrorEnum(_CreateEnumTypeUponFirstAccess): + NullError = '''\ class NullError(enum.IntEnum): """ Enum describing possible null errors. @@ -7313,9 +8635,154 @@ class NullError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 NULL_CONTENT = 2 +''' +NullErrorEnum = NullErrorEnum() # For __getattribute__ + +class OfflineUserDataJobErrorEnum(_CreateEnumTypeUponFirstAccess): + OfflineUserDataJobError = '''\ + class OfflineUserDataJobError(enum.IntEnum): + """ + Enum describing possible request errors. -class OperatingSystemVersionOperatorTypeEnum(object): + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + INVALID_USER_LIST_ID (int): The user list ID provided for the job is invalid. + INVALID_USER_LIST_TYPE (int): Type of the user list is not applicable for the job. + NOT_WHITELISTED_FOR_USER_ID (int): Customer is not whitelisted for using user ID in upload data. + INCOMPATIBLE_UPLOAD_KEY_TYPE (int): Upload data is not compatible with the upload key type of the associated + user list. + MISSING_USER_IDENTIFIER (int): The user identifier is missing valid data. + INVALID_MOBILE_ID_FORMAT (int): The mobile ID is malformed. + TOO_MANY_USER_IDENTIFIERS (int): Request is exceeding the maximum number of user identifiers allowed. + NOT_WHITELISTED_FOR_STORE_SALES_DIRECT (int): Customer is not whitelisted for store sales direct data. + NOT_WHITELISTED_FOR_UNIFIED_STORE_SALES (int): Customer is not whitelisted for unified store sales data. + INVALID_PARTNER_ID (int): The partner ID in store sales direct metadata is invalid. + INVALID_ENCODING (int): The data in user identifier should not be encoded. + INVALID_COUNTRY_CODE (int): The country code is invalid. + INCOMPATIBLE_USER_IDENTIFIER (int): Incompatible user identifier when using third\_party\_user\_id for store + sales direct first party data or not using third\_party\_user\_id for + store sales third party data. + FUTURE_TRANSACTION_TIME (int): A transaction time in the future is not allowed. + INVALID_CONVERSION_ACTION (int): The conversion\_action specified in transaction\_attributes is used to + report conversions to a conversion action configured in Google Ads. This + error indicates there is no such conversion action in the account. + MOBILE_ID_NOT_SUPPORTED (int): Mobile ID is not supported for store sales direct data. + INVALID_OPERATION_ORDER (int): When a remove-all operation is provided, it has to be the first operation + of the operation list. + CONFLICTING_OPERATION (int): Mixing creation and removal of offline data in the same job is not + allowed. + EXTERNAL_UPDATE_ID_ALREADY_EXISTS (int): The external update ID already exists. + JOB_ALREADY_STARTED (int): Once the upload job is started, new operations cannot be added. + REMOVE_NOT_SUPPORTED (int): Remove operation is not allowed for store sales direct updates. + REMOVE_ALL_NOT_SUPPORTED (int): Remove-all is not supported for store sales direct updates. + INVALID_SHA256_FORMAT (int): The SHA256 encoded value is malformed. + CUSTOM_KEY_DISABLED (int): The custom key specified is not enabled for the unified store sales + upload. + CUSTOM_KEY_NOT_PREDEFINED (int): The custom key specified is not predefined through the Google Ads UI. + CUSTOM_KEY_NOT_SET (int): The custom key specified is not set in the upload. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INVALID_USER_LIST_ID = 3 + INVALID_USER_LIST_TYPE = 4 + NOT_WHITELISTED_FOR_USER_ID = 5 + INCOMPATIBLE_UPLOAD_KEY_TYPE = 6 + MISSING_USER_IDENTIFIER = 7 + INVALID_MOBILE_ID_FORMAT = 8 + TOO_MANY_USER_IDENTIFIERS = 9 + NOT_WHITELISTED_FOR_STORE_SALES_DIRECT = 10 + NOT_WHITELISTED_FOR_UNIFIED_STORE_SALES = 28 + INVALID_PARTNER_ID = 11 + INVALID_ENCODING = 12 + INVALID_COUNTRY_CODE = 13 + INCOMPATIBLE_USER_IDENTIFIER = 14 + FUTURE_TRANSACTION_TIME = 15 + INVALID_CONVERSION_ACTION = 16 + MOBILE_ID_NOT_SUPPORTED = 17 + INVALID_OPERATION_ORDER = 18 + CONFLICTING_OPERATION = 19 + EXTERNAL_UPDATE_ID_ALREADY_EXISTS = 21 + JOB_ALREADY_STARTED = 22 + REMOVE_NOT_SUPPORTED = 23 + REMOVE_ALL_NOT_SUPPORTED = 24 + INVALID_SHA256_FORMAT = 25 + CUSTOM_KEY_DISABLED = 26 + CUSTOM_KEY_NOT_PREDEFINED = 27 + CUSTOM_KEY_NOT_SET = 29 +''' +OfflineUserDataJobErrorEnum = OfflineUserDataJobErrorEnum() # For __getattribute__ + + +class OfflineUserDataJobFailureReasonEnum(_CreateEnumTypeUponFirstAccess): + OfflineUserDataJobFailureReason = '''\ + class OfflineUserDataJobFailureReason(enum.IntEnum): + """ + The failure reason of an offline user data job. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + INSUFFICIENT_MATCHED_TRANSACTIONS (int): The matched transactions are insufficient. + INSUFFICIENT_TRANSACTIONS (int): The uploaded transactions are insufficient. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INSUFFICIENT_MATCHED_TRANSACTIONS = 2 + INSUFFICIENT_TRANSACTIONS = 3 +''' +OfflineUserDataJobFailureReasonEnum = OfflineUserDataJobFailureReasonEnum() # For __getattribute__ + + +class OfflineUserDataJobStatusEnum(_CreateEnumTypeUponFirstAccess): + OfflineUserDataJobStatus = '''\ + class OfflineUserDataJobStatus(enum.IntEnum): + """ + The status of an offline user data job. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + PENDING (int): The job has been successfully created and pending for uploading. + RUNNING (int): Upload(s) have been accepted and data is being processed. + SUCCESS (int): Uploaded data has been successfully processed. + FAILED (int): Uploaded data has failed to be processed. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + PENDING = 2 + RUNNING = 3 + SUCCESS = 4 + FAILED = 5 +''' +OfflineUserDataJobStatusEnum = OfflineUserDataJobStatusEnum() # For __getattribute__ + + +class OfflineUserDataJobTypeEnum(_CreateEnumTypeUponFirstAccess): + OfflineUserDataJobType = '''\ + class OfflineUserDataJobType(enum.IntEnum): + """ + The type of an offline user data job. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + STORE_SALES_UPLOAD_FIRST_PARTY (int): Store Sales Direct data for self service. + STORE_SALES_UPLOAD_THIRD_PARTY (int): Store Sales Direct data for third party. + CUSTOMER_MATCH_USER_LIST (int): Customer Match user list data. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + STORE_SALES_UPLOAD_FIRST_PARTY = 2 + STORE_SALES_UPLOAD_THIRD_PARTY = 3 + CUSTOMER_MATCH_USER_LIST = 4 +''' +OfflineUserDataJobTypeEnum = OfflineUserDataJobTypeEnum() # For __getattribute__ + + +class OperatingSystemVersionOperatorTypeEnum(_CreateEnumTypeUponFirstAccess): + OperatingSystemVersionOperatorType = '''\ class OperatingSystemVersionOperatorType(enum.IntEnum): """ The type of operating system version. @@ -7330,9 +8797,12 @@ class OperatingSystemVersionOperatorType(enum.IntEnum): UNKNOWN = 1 EQUALS_TO = 2 GREATER_THAN_EQUALS_TO = 4 +''' +OperatingSystemVersionOperatorTypeEnum = OperatingSystemVersionOperatorTypeEnum() # For __getattribute__ -class OperationAccessDeniedErrorEnum(object): +class OperationAccessDeniedErrorEnum(_CreateEnumTypeUponFirstAccess): + OperationAccessDeniedError = '''\ class OperationAccessDeniedError(enum.IntEnum): """ Enum describing possible operation access denied errors. @@ -7363,9 +8833,12 @@ class OperationAccessDeniedError(enum.IntEnum): OPERATION_NOT_PERMITTED_FOR_REMOVED_RESOURCE = 9 OPERATION_NOT_PERMITTED_FOR_AD_GROUP_TYPE = 10 MUTATE_NOT_PERMITTED_FOR_CUSTOMER = 11 +''' +OperationAccessDeniedErrorEnum = OperationAccessDeniedErrorEnum() # For __getattribute__ -class OperatorErrorEnum(object): +class OperatorErrorEnum(_CreateEnumTypeUponFirstAccess): + OperatorError = '''\ class OperatorError(enum.IntEnum): """ Enum describing possible operator errors. @@ -7378,26 +8851,35 @@ class OperatorError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 OPERATOR_NOT_SUPPORTED = 2 +''' +OperatorErrorEnum = OperatorErrorEnum() # For __getattribute__ -class PageOnePromotedStrategyGoalEnum(object): - class PageOnePromotedStrategyGoal(enum.IntEnum): +class OptimizationGoalTypeEnum(_CreateEnumTypeUponFirstAccess): + OptimizationGoalType = '''\ + class OptimizationGoalType(enum.IntEnum): """ - Enum describing possible strategy goals. + The type of optimization goal Attributes: UNSPECIFIED (int): Not specified. - UNKNOWN (int): Used for return value only. Represents value unknown in this version. - FIRST_PAGE (int): First page on google.com. - FIRST_PAGE_PROMOTED (int): Top slots of the first page on google.com. + UNKNOWN (int): Used as a return value only. Represents value unknown in this version. + CALL_CLICKS (int): Optimize for call clicks. Call click conversions are times people + selected 'Call' to contact a store after viewing an ad. + DRIVING_DIRECTIONS (int): Optimize for driving directions. Driving directions conversions are + times people selected 'Get directions' to navigate to a store after + viewing an ad. """ UNSPECIFIED = 0 UNKNOWN = 1 - FIRST_PAGE = 2 - FIRST_PAGE_PROMOTED = 3 + CALL_CLICKS = 2 + DRIVING_DIRECTIONS = 3 +''' +OptimizationGoalTypeEnum = OptimizationGoalTypeEnum() # For __getattribute__ -class ParentalStatusTypeEnum(object): +class ParentalStatusTypeEnum(_CreateEnumTypeUponFirstAccess): + ParentalStatusType = '''\ class ParentalStatusType(enum.IntEnum): """ The type of parental statuses (e.g. not a parent). @@ -7414,9 +8896,12 @@ class ParentalStatusType(enum.IntEnum): PARENT = 300 NOT_A_PARENT = 301 UNDETERMINED = 302 +''' +ParentalStatusTypeEnum = ParentalStatusTypeEnum() # For __getattribute__ -class PartialFailureErrorEnum(object): +class PartialFailureErrorEnum(_CreateEnumTypeUponFirstAccess): + PartialFailureError = '''\ class PartialFailureError(enum.IntEnum): """ Enum describing possible partial failure errors. @@ -7430,9 +8915,12 @@ class PartialFailureError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 PARTIAL_FAILURE_MODE_REQUIRED = 2 +''' +PartialFailureErrorEnum = PartialFailureErrorEnum() # For __getattribute__ -class PaymentModeEnum(object): +class PaymentModeEnum(_CreateEnumTypeUponFirstAccess): + PaymentMode = '''\ class PaymentMode(enum.IntEnum): """ Enum describing possible payment modes. @@ -7450,15 +8938,40 @@ class PaymentMode(enum.IntEnum): BiddingStrategyType.TARGET\_CPA, and BudgetType.FIXED\_CPA. The customer must also be eligible for this mode. See Customer.eligibility\_failure\_reasons for details. + GUEST_STAY (int): Pay per guest stay value. This mode is only supported by campaigns with + AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + BudgetType.STANDARD. """ UNSPECIFIED = 0 UNKNOWN = 1 CLICKS = 4 CONVERSION_VALUE = 5 CONVERSIONS = 6 + GUEST_STAY = 7 +''' +PaymentModeEnum = PaymentModeEnum() # For __getattribute__ + + +class PaymentsAccountErrorEnum(_CreateEnumTypeUponFirstAccess): + PaymentsAccountError = '''\ + class PaymentsAccountError(enum.IntEnum): + """ + Enum describing possible errors in payments account service. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + NOT_SUPPORTED_FOR_MANAGER_CUSTOMER (int): Manager customers are not supported for payments account service. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + NOT_SUPPORTED_FOR_MANAGER_CUSTOMER = 2 +''' +PaymentsAccountErrorEnum = PaymentsAccountErrorEnum() # For __getattribute__ -class PlaceholderTypeEnum(object): +class PlaceholderTypeEnum(_CreateEnumTypeUponFirstAccess): + PlaceholderType = '''\ class PlaceholderType(enum.IntEnum): """ Possible placeholder types for a feed mapping. @@ -7527,9 +9040,12 @@ class PlaceholderType(enum.IntEnum): DYNAMIC_TRAVEL = 18 DYNAMIC_LOCAL = 19 DYNAMIC_JOB = 20 +''' +PlaceholderTypeEnum = PlaceholderTypeEnum() # For __getattribute__ -class PlacementTypeEnum(object): +class PlacementTypeEnum(_CreateEnumTypeUponFirstAccess): + PlacementType = '''\ class PlacementType(enum.IntEnum): """ Possible placement types for a feed mapping. @@ -7550,9 +9066,12 @@ class PlacementType(enum.IntEnum): MOBILE_APPLICATION = 4 YOUTUBE_VIDEO = 5 YOUTUBE_CHANNEL = 6 +''' +PlacementTypeEnum = PlacementTypeEnum() # For __getattribute__ -class PolicyApprovalStatusEnum(object): +class PolicyApprovalStatusEnum(_CreateEnumTypeUponFirstAccess): + PolicyApprovalStatus = '''\ class PolicyApprovalStatus(enum.IntEnum): """ The possible policy approval statuses. When there are several approval @@ -7577,9 +9096,12 @@ class PolicyApprovalStatus(enum.IntEnum): APPROVED_LIMITED = 3 APPROVED = 4 AREA_OF_INTEREST_ONLY = 5 +''' +PolicyApprovalStatusEnum = PolicyApprovalStatusEnum() # For __getattribute__ -class PolicyFindingErrorEnum(object): +class PolicyFindingErrorEnum(_CreateEnumTypeUponFirstAccess): + PolicyFindingError = '''\ class PolicyFindingError(enum.IntEnum): """ Enum describing possible policy finding errors. @@ -7595,9 +9117,12 @@ class PolicyFindingError(enum.IntEnum): UNKNOWN = 1 POLICY_FINDING = 2 POLICY_TOPIC_NOT_FOUND = 3 +''' +PolicyFindingErrorEnum = PolicyFindingErrorEnum() # For __getattribute__ -class PolicyReviewStatusEnum(object): +class PolicyReviewStatusEnum(_CreateEnumTypeUponFirstAccess): + PolicyReviewStatus = '''\ class PolicyReviewStatus(enum.IntEnum): """ The possible policy review statuses. @@ -7611,15 +9136,21 @@ class PolicyReviewStatus(enum.IntEnum): REVIEWED (int): Primary review complete. Other reviews may be continuing. UNDER_APPEAL (int): The resource has been resubmitted for approval or its policy decision has been appealed. + ELIGIBLE_MAY_SERVE (int): The resource is eligible and may be serving but could still undergo + further review. """ UNSPECIFIED = 0 UNKNOWN = 1 REVIEW_IN_PROGRESS = 2 REVIEWED = 3 UNDER_APPEAL = 4 + ELIGIBLE_MAY_SERVE = 5 +''' +PolicyReviewStatusEnum = PolicyReviewStatusEnum() # For __getattribute__ -class PolicyTopicEntryTypeEnum(object): +class PolicyTopicEntryTypeEnum(_CreateEnumTypeUponFirstAccess): + PolicyTopicEntryType = '''\ class PolicyTopicEntryType(enum.IntEnum): """ The possible policy topic entry types. @@ -7646,9 +9177,12 @@ class PolicyTopicEntryType(enum.IntEnum): DESCRIPTIVE = 5 BROADENING = 6 AREA_OF_INTEREST_ONLY = 7 +''' +PolicyTopicEntryTypeEnum = PolicyTopicEntryTypeEnum() # For __getattribute__ -class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(object): +class PolicyTopicEvidenceDestinationMismatchUrlTypeEnum(_CreateEnumTypeUponFirstAccess): + PolicyTopicEvidenceDestinationMismatchUrlType = '''\ class PolicyTopicEvidenceDestinationMismatchUrlType(enum.IntEnum): """ The possible policy topic evidence destination mismatch url types. @@ -7671,9 +9205,12 @@ class PolicyTopicEvidenceDestinationMismatchUrlType(enum.IntEnum): FINAL_MOBILE_URL = 4 TRACKING_URL = 5 MOBILE_TRACKING_URL = 6 +''' +PolicyTopicEvidenceDestinationMismatchUrlTypeEnum = PolicyTopicEvidenceDestinationMismatchUrlTypeEnum() # For __getattribute__ -class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(object): +class PolicyTopicEvidenceDestinationNotWorkingDeviceEnum(_CreateEnumTypeUponFirstAccess): + PolicyTopicEvidenceDestinationNotWorkingDevice = '''\ class PolicyTopicEvidenceDestinationNotWorkingDevice(enum.IntEnum): """ The possible policy topic evidence destination not working devices. @@ -7692,9 +9229,36 @@ class PolicyTopicEvidenceDestinationNotWorkingDevice(enum.IntEnum): DESKTOP = 2 ANDROID = 3 IOS = 4 +''' +PolicyTopicEvidenceDestinationNotWorkingDeviceEnum = PolicyTopicEvidenceDestinationNotWorkingDeviceEnum() # For __getattribute__ -class PolicyValidationParameterErrorEnum(object): +class PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum(_CreateEnumTypeUponFirstAccess): + PolicyTopicEvidenceDestinationNotWorkingDnsErrorType = '''\ + class PolicyTopicEvidenceDestinationNotWorkingDnsErrorType(enum.IntEnum): + """ + The possible policy topic evidence destination not working DNS error types. + + Attributes: + UNSPECIFIED (int): No value has been specified. + UNKNOWN (int): The received value is not known in this version. + + This is a response-only value. + HOSTNAME_NOT_FOUND (int): Host name not found in DNS when fetching landing page. + GOOGLE_CRAWLER_DNS_ISSUE (int): Google internal crawler issue when communicating with DNS. This error + doesn't mean the landing page doesn't work. Google will recrawl the + landing page. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + HOSTNAME_NOT_FOUND = 2 + GOOGLE_CRAWLER_DNS_ISSUE = 3 +''' +PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum = PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum() # For __getattribute__ + + +class PolicyValidationParameterErrorEnum(_CreateEnumTypeUponFirstAccess): + PolicyValidationParameterError = '''\ class PolicyValidationParameterError(enum.IntEnum): """ Enum describing possible policy validation parameter errors. @@ -7712,9 +9276,12 @@ class PolicyValidationParameterError(enum.IntEnum): UNSUPPORTED_AD_TYPE_FOR_IGNORABLE_POLICY_TOPICS = 2 UNSUPPORTED_AD_TYPE_FOR_EXEMPT_POLICY_VIOLATION_KEYS = 3 CANNOT_SET_BOTH_IGNORABLE_POLICY_TOPICS_AND_EXEMPT_POLICY_VIOLATION_KEYS = 4 +''' +PolicyValidationParameterErrorEnum = PolicyValidationParameterErrorEnum() # For __getattribute__ -class PolicyViolationErrorEnum(object): +class PolicyViolationErrorEnum(_CreateEnumTypeUponFirstAccess): + PolicyViolationError = '''\ class PolicyViolationError(enum.IntEnum): """ Enum describing possible policy violation errors. @@ -7727,9 +9294,12 @@ class PolicyViolationError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 POLICY_ERROR = 2 +''' +PolicyViolationErrorEnum = PolicyViolationErrorEnum() # For __getattribute__ -class PositiveGeoTargetTypeEnum(object): +class PositiveGeoTargetTypeEnum(_CreateEnumTypeUponFirstAccess): + PositiveGeoTargetType = '''\ class PositiveGeoTargetType(enum.IntEnum): """ The possible positive geo target types. @@ -7737,21 +9307,24 @@ class PositiveGeoTargetType(enum.IntEnum): Attributes: UNSPECIFIED (int): Not specified. UNKNOWN (int): The value is unknown in this version. - DONT_CARE (int): Specifies that an ad is triggered if the user is in, + PRESENCE_OR_INTEREST (int): Specifies that an ad is triggered if the user is in, or shows interest in, advertiser's targeted locations. - AREA_OF_INTEREST (int): Specifies that an ad is triggered if the user + SEARCH_INTEREST (int): Specifies that an ad is triggered if the user searches for advertiser's targeted locations. - LOCATION_OF_PRESENCE (int): Specifies that an ad is triggered if the user is in + PRESENCE (int): Specifies that an ad is triggered if the user is in or regularly in advertiser's targeted locations. """ UNSPECIFIED = 0 UNKNOWN = 1 - DONT_CARE = 2 - AREA_OF_INTEREST = 3 - LOCATION_OF_PRESENCE = 4 + PRESENCE_OR_INTEREST = 5 + SEARCH_INTEREST = 6 + PRESENCE = 7 +''' +PositiveGeoTargetTypeEnum = PositiveGeoTargetTypeEnum() # For __getattribute__ -class PreferredContentTypeEnum(object): +class PreferredContentTypeEnum(_CreateEnumTypeUponFirstAccess): + PreferredContentType = '''\ class PreferredContentType(enum.IntEnum): """ Enumerates preferred content criterion type. @@ -7764,9 +9337,12 @@ class PreferredContentType(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 YOUTUBE_TOP_CONTENT = 400 +''' +PreferredContentTypeEnum = PreferredContentTypeEnum() # For __getattribute__ -class PriceExtensionPriceQualifierEnum(object): +class PriceExtensionPriceQualifierEnum(_CreateEnumTypeUponFirstAccess): + PriceExtensionPriceQualifier = '''\ class PriceExtensionPriceQualifier(enum.IntEnum): """ Enums of price extension price qualifier. @@ -7783,9 +9359,12 @@ class PriceExtensionPriceQualifier(enum.IntEnum): FROM = 2 UP_TO = 3 AVERAGE = 4 +''' +PriceExtensionPriceQualifierEnum = PriceExtensionPriceQualifierEnum() # For __getattribute__ -class PriceExtensionPriceUnitEnum(object): +class PriceExtensionPriceUnitEnum(_CreateEnumTypeUponFirstAccess): + PriceExtensionPriceUnit = '''\ class PriceExtensionPriceUnit(enum.IntEnum): """ Price extension price unit. @@ -7808,9 +9387,12 @@ class PriceExtensionPriceUnit(enum.IntEnum): PER_MONTH = 5 PER_YEAR = 6 PER_NIGHT = 7 +''' +PriceExtensionPriceUnitEnum = PriceExtensionPriceUnitEnum() # For __getattribute__ -class PriceExtensionTypeEnum(object): +class PriceExtensionTypeEnum(_CreateEnumTypeUponFirstAccess): + PriceExtensionType = '''\ class PriceExtensionType(enum.IntEnum): """ Price extension type. @@ -7839,9 +9421,12 @@ class PriceExtensionType(enum.IntEnum): SERVICES = 8 SERVICE_CATEGORIES = 9 SERVICE_TIERS = 10 +''' +PriceExtensionTypeEnum = PriceExtensionTypeEnum() # For __getattribute__ -class PricePlaceholderFieldEnum(object): +class PricePlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + PricePlaceholderField = '''\ class PricePlaceholderField(enum.IntEnum): """ Possible values for Price placeholder fields. @@ -7995,9 +9580,12 @@ class PricePlaceholderField(enum.IntEnum): ITEM_8_UNIT = 803 ITEM_8_FINAL_URLS = 804 ITEM_8_FINAL_MOBILE_URLS = 805 +''' +PricePlaceholderFieldEnum = PricePlaceholderFieldEnum() # For __getattribute__ -class ProductBiddingCategoryLevelEnum(object): +class ProductBiddingCategoryLevelEnum(_CreateEnumTypeUponFirstAccess): + ProductBiddingCategoryLevel = '''\ class ProductBiddingCategoryLevel(enum.IntEnum): """ Enum describing the level of the product bidding category. @@ -8018,9 +9606,12 @@ class ProductBiddingCategoryLevel(enum.IntEnum): LEVEL3 = 4 LEVEL4 = 5 LEVEL5 = 6 +''' +ProductBiddingCategoryLevelEnum = ProductBiddingCategoryLevelEnum() # For __getattribute__ -class ProductBiddingCategoryStatusEnum(object): +class ProductBiddingCategoryStatusEnum(_CreateEnumTypeUponFirstAccess): + ProductBiddingCategoryStatus = '''\ class ProductBiddingCategoryStatus(enum.IntEnum): """ Enum describing the status of the product bidding category. @@ -8035,9 +9626,12 @@ class ProductBiddingCategoryStatus(enum.IntEnum): UNKNOWN = 1 ACTIVE = 2 OBSOLETE = 3 +''' +ProductBiddingCategoryStatusEnum = ProductBiddingCategoryStatusEnum() # For __getattribute__ -class ProductChannelEnum(object): +class ProductChannelEnum(_CreateEnumTypeUponFirstAccess): + ProductChannel = '''\ class ProductChannel(enum.IntEnum): """ Enum describing the locality of a product offer. @@ -8052,9 +9646,12 @@ class ProductChannel(enum.IntEnum): UNKNOWN = 1 ONLINE = 2 LOCAL = 3 +''' +ProductChannelEnum = ProductChannelEnum() # For __getattribute__ -class ProductChannelExclusivityEnum(object): +class ProductChannelExclusivityEnum(_CreateEnumTypeUponFirstAccess): + ProductChannelExclusivity = '''\ class ProductChannelExclusivity(enum.IntEnum): """ Enum describing the availability of a product offer. @@ -8071,9 +9668,12 @@ class ProductChannelExclusivity(enum.IntEnum): UNKNOWN = 1 SINGLE_CHANNEL = 2 MULTI_CHANNEL = 3 +''' +ProductChannelExclusivityEnum = ProductChannelExclusivityEnum() # For __getattribute__ -class ProductConditionEnum(object): +class ProductConditionEnum(_CreateEnumTypeUponFirstAccess): + ProductCondition = '''\ class ProductCondition(enum.IntEnum): """ Enum describing the condition of a product offer. @@ -8090,9 +9690,38 @@ class ProductCondition(enum.IntEnum): NEW = 3 REFURBISHED = 4 USED = 5 +''' +ProductConditionEnum = ProductConditionEnum() # For __getattribute__ -class ProductTypeLevelEnum(object): +class ProductCustomAttributeIndexEnum(_CreateEnumTypeUponFirstAccess): + ProductCustomAttributeIndex = '''\ + class ProductCustomAttributeIndex(enum.IntEnum): + """ + The index of the product custom attribute. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + INDEX0 (int): First product custom attribute. + INDEX1 (int): Second product custom attribute. + INDEX2 (int): Third product custom attribute. + INDEX3 (int): Fourth product custom attribute. + INDEX4 (int): Fifth product custom attribute. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INDEX0 = 7 + INDEX1 = 8 + INDEX2 = 9 + INDEX3 = 10 + INDEX4 = 11 +''' +ProductCustomAttributeIndexEnum = ProductCustomAttributeIndexEnum() # For __getattribute__ + + +class ProductTypeLevelEnum(_CreateEnumTypeUponFirstAccess): + ProductTypeLevel = '''\ class ProductTypeLevel(enum.IntEnum): """ Enum describing the level of the type of a product offer. @@ -8113,9 +9742,12 @@ class ProductTypeLevel(enum.IntEnum): LEVEL3 = 9 LEVEL4 = 10 LEVEL5 = 11 +''' +ProductTypeLevelEnum = ProductTypeLevelEnum() # For __getattribute__ -class PromotionExtensionDiscountModifierEnum(object): +class PromotionExtensionDiscountModifierEnum(_CreateEnumTypeUponFirstAccess): + PromotionExtensionDiscountModifier = '''\ class PromotionExtensionDiscountModifier(enum.IntEnum): """ A promotion extension discount modifier. @@ -8128,9 +9760,12 @@ class PromotionExtensionDiscountModifier(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 UP_TO = 2 +''' +PromotionExtensionDiscountModifierEnum = PromotionExtensionDiscountModifierEnum() # For __getattribute__ -class PromotionExtensionOccasionEnum(object): +class PromotionExtensionOccasionEnum(_CreateEnumTypeUponFirstAccess): + PromotionExtensionOccasion = '''\ class PromotionExtensionOccasion(enum.IntEnum): """ A promotion extension occasion. @@ -8215,9 +9850,12 @@ class PromotionExtensionOccasion(enum.IntEnum): NAVRATRI = 36 SONGKRAN = 37 YEAR_END_GIFT = 38 +''' +PromotionExtensionOccasionEnum = PromotionExtensionOccasionEnum() # For __getattribute__ -class PromotionPlaceholderFieldEnum(object): +class PromotionPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + PromotionPlaceholderField = '''\ class PromotionPlaceholderField(enum.IntEnum): """ Possible values for Promotion placeholder fields. @@ -8266,9 +9904,12 @@ class PromotionPlaceholderField(enum.IntEnum): TRACKING_URL = 13 LANGUAGE = 14 FINAL_URL_SUFFIX = 15 +''' +PromotionPlaceholderFieldEnum = PromotionPlaceholderFieldEnum() # For __getattribute__ -class ProximityRadiusUnitsEnum(object): +class ProximityRadiusUnitsEnum(_CreateEnumTypeUponFirstAccess): + ProximityRadiusUnits = '''\ class ProximityRadiusUnits(enum.IntEnum): """ The unit of radius distance in proximity (e.g. MILES) @@ -8283,9 +9924,12 @@ class ProximityRadiusUnits(enum.IntEnum): UNKNOWN = 1 MILES = 2 KILOMETERS = 3 +''' +ProximityRadiusUnitsEnum = ProximityRadiusUnitsEnum() # For __getattribute__ -class QualityScoreBucketEnum(object): +class QualityScoreBucketEnum(_CreateEnumTypeUponFirstAccess): + QualityScoreBucket = '''\ class QualityScoreBucket(enum.IntEnum): """ Enum listing the possible quality score buckets. @@ -8302,9 +9946,12 @@ class QualityScoreBucket(enum.IntEnum): BELOW_AVERAGE = 2 AVERAGE = 3 ABOVE_AVERAGE = 4 +''' +QualityScoreBucketEnum = QualityScoreBucketEnum() # For __getattribute__ -class QueryErrorEnum(object): +class QueryErrorEnum(_CreateEnumTypeUponFirstAccess): + QueryError = '''\ class QueryError(enum.IntEnum): """ Enum describing possible query errors. @@ -8326,6 +9973,8 @@ class QueryError(enum.IntEnum): BAD_VALUE (int): Value is invalid. DATE_RANGE_TOO_WIDE (int): Date filters fail to restrict date to a range smaller than 31 days. Applicable if the query is segmented by date. + DATE_RANGE_TOO_NARROW (int): Filters on date/week/month/quarter have a start date after + end date. EXPECTED_AND (int): Expected AND between values with BETWEEN operator. EXPECTED_BY (int): Expecting ORDER BY to have BY. EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE (int): There was no dimension field selected. @@ -8394,6 +10043,7 @@ class QueryError(enum.IntEnum): BAD_SYMBOL = 2 BAD_VALUE = 4 DATE_RANGE_TOO_WIDE = 36 + DATE_RANGE_TOO_NARROW = 60 EXPECTED_AND = 30 EXPECTED_BY = 14 EXPECTED_DIMENSION_FIELD_IN_SELECT_CLAUSE = 37 @@ -8433,9 +10083,12 @@ class QueryError(enum.IntEnum): UNRECOGNIZED_FIELD = 32 UNEXPECTED_INPUT = 11 REQUESTED_METRICS_FOR_MANAGER = 59 +''' +QueryErrorEnum = QueryErrorEnum() # For __getattribute__ -class QuotaErrorEnum(object): +class QuotaErrorEnum(_CreateEnumTypeUponFirstAccess): + QuotaError = '''\ class QuotaError(enum.IntEnum): """ Enum describing possible quota errors. @@ -8452,9 +10105,12 @@ class QuotaError(enum.IntEnum): RESOURCE_EXHAUSTED = 2 ACCESS_PROHIBITED = 3 RESOURCE_TEMPORARILY_EXHAUSTED = 4 +''' +QuotaErrorEnum = QuotaErrorEnum() # For __getattribute__ -class RangeErrorEnum(object): +class RangeErrorEnum(_CreateEnumTypeUponFirstAccess): + RangeError = '''\ class RangeError(enum.IntEnum): """ Enum describing possible range errors. @@ -8469,9 +10125,141 @@ class RangeError(enum.IntEnum): UNKNOWN = 1 TOO_LOW = 2 TOO_HIGH = 3 +''' +RangeErrorEnum = RangeErrorEnum() # For __getattribute__ + + +class ReachPlanAdLengthEnum(_CreateEnumTypeUponFirstAccess): + ReachPlanAdLength = '''\ + class ReachPlanAdLength(enum.IntEnum): + """ + Possible ad length values. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): The value is unknown in this version. + SIX_SECONDS (int): 6 seconds long ad. + FIFTEEN_OR_TWENTY_SECONDS (int): 15 or 20 seconds long ad. + TWENTY_SECONDS_OR_MORE (int): More than 20 seconds long ad. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + SIX_SECONDS = 2 + FIFTEEN_OR_TWENTY_SECONDS = 3 + TWENTY_SECONDS_OR_MORE = 4 +''' +ReachPlanAdLengthEnum = ReachPlanAdLengthEnum() # For __getattribute__ + + +class ReachPlanAgeRangeEnum(_CreateEnumTypeUponFirstAccess): + ReachPlanAgeRange = '''\ + class ReachPlanAgeRange(enum.IntEnum): + """ + Possible plannable age range values. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): The value is unknown in this version. + AGE_RANGE_18_24 (int): Between 18 and 24 years old. + AGE_RANGE_18_34 (int): Between 18 and 34 years old. + AGE_RANGE_18_44 (int): Between 18 and 44 years old. + AGE_RANGE_18_49 (int): Between 18 and 49 years old. + AGE_RANGE_18_54 (int): Between 18 and 54 years old. + AGE_RANGE_18_64 (int): Between 18 and 64 years old. + AGE_RANGE_18_65_UP (int): Between 18 and 65+ years old. + AGE_RANGE_21_34 (int): Between 21 and 34 years old. + AGE_RANGE_25_34 (int): Between 25 and 34 years old. + AGE_RANGE_25_44 (int): Between 25 and 44 years old. + AGE_RANGE_25_49 (int): Between 25 and 49 years old. + AGE_RANGE_25_54 (int): Between 25 and 54 years old. + AGE_RANGE_25_64 (int): Between 25 and 64 years old. + AGE_RANGE_25_65_UP (int): Between 25 and 65+ years old. + AGE_RANGE_35_44 (int): Between 35 and 44 years old. + AGE_RANGE_35_49 (int): Between 35 and 49 years old. + AGE_RANGE_35_54 (int): Between 35 and 54 years old. + AGE_RANGE_35_64 (int): Between 35 and 64 years old. + AGE_RANGE_35_65_UP (int): Between 35 and 65+ years old. + AGE_RANGE_45_54 (int): Between 45 and 54 years old. + AGE_RANGE_45_64 (int): Between 45 and 64 years old. + AGE_RANGE_45_65_UP (int): Between 45 and 65+ years old. + AGE_RANGE_50_65_UP (int): Between 50 and 65+ years old. + AGE_RANGE_55_64 (int): Between 55 and 64 years old. + AGE_RANGE_55_65_UP (int): Between 55 and 65+ years old. + AGE_RANGE_65_UP (int): 65 years old and beyond. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + AGE_RANGE_18_24 = 503001 + AGE_RANGE_18_34 = 2 + AGE_RANGE_18_44 = 3 + AGE_RANGE_18_49 = 4 + AGE_RANGE_18_54 = 5 + AGE_RANGE_18_64 = 6 + AGE_RANGE_18_65_UP = 7 + AGE_RANGE_21_34 = 8 + AGE_RANGE_25_34 = 503002 + AGE_RANGE_25_44 = 9 + AGE_RANGE_25_49 = 10 + AGE_RANGE_25_54 = 11 + AGE_RANGE_25_64 = 12 + AGE_RANGE_25_65_UP = 13 + AGE_RANGE_35_44 = 503003 + AGE_RANGE_35_49 = 14 + AGE_RANGE_35_54 = 15 + AGE_RANGE_35_64 = 16 + AGE_RANGE_35_65_UP = 17 + AGE_RANGE_45_54 = 503004 + AGE_RANGE_45_64 = 18 + AGE_RANGE_45_65_UP = 19 + AGE_RANGE_50_65_UP = 20 + AGE_RANGE_55_64 = 503005 + AGE_RANGE_55_65_UP = 21 + AGE_RANGE_65_UP = 503006 +''' +ReachPlanAgeRangeEnum = ReachPlanAgeRangeEnum() # For __getattribute__ + + +class ReachPlanErrorEnum(_CreateEnumTypeUponFirstAccess): + ReachPlanError = '''\ + class ReachPlanError(enum.IntEnum): + """ + Enum describing possible errors from ReachPlanService. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 +''' +ReachPlanErrorEnum = ReachPlanErrorEnum() # For __getattribute__ + + +class ReachPlanNetworkEnum(_CreateEnumTypeUponFirstAccess): + ReachPlanNetwork = '''\ + class ReachPlanNetwork(enum.IntEnum): + """ + Possible plannable network values. + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Used as a return value only. Represents value unknown in this version. + YOUTUBE (int): YouTube network. + GOOGLE_VIDEO_PARTNERS (int): Google Video Partners (GVP) network. + YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS (int): A combination of the YouTube network and the Google Video Partners + network. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + YOUTUBE = 2 + GOOGLE_VIDEO_PARTNERS = 3 + YOUTUBE_AND_GOOGLE_VIDEO_PARTNERS = 4 +''' +ReachPlanNetworkEnum = ReachPlanNetworkEnum() # For __getattribute__ -class RealEstatePlaceholderFieldEnum(object): + +class RealEstatePlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + RealEstatePlaceholderField = '''\ class RealEstatePlaceholderField(enum.IntEnum): """ Possible values for Real Estate placeholder fields. @@ -8532,9 +10320,12 @@ class RealEstatePlaceholderField(enum.IntEnum): SIMILAR_LISTING_IDS = 17 IOS_APP_LINK = 18 IOS_APP_STORE_ID = 19 +''' +RealEstatePlaceholderFieldEnum = RealEstatePlaceholderFieldEnum() # For __getattribute__ -class RecommendationErrorEnum(object): +class RecommendationErrorEnum(_CreateEnumTypeUponFirstAccess): + RecommendationError = '''\ class RecommendationError(enum.IntEnum): """ Enum describing possible errors from applying a recommendation. @@ -8577,9 +10368,12 @@ class RecommendationError(enum.IntEnum): DUPLICATE_RESOURCE_NAME = 13 RECOMMENDATION_ALREADY_DISMISSED = 14 INVALID_APPLY_REQUEST = 15 +''' +RecommendationErrorEnum = RecommendationErrorEnum() # For __getattribute__ -class RecommendationTypeEnum(object): +class RecommendationTypeEnum(_CreateEnumTypeUponFirstAccess): + RecommendationType = '''\ class RecommendationType(enum.IntEnum): """ Types of recommendations. @@ -8624,9 +10418,12 @@ class RecommendationType(enum.IntEnum): CALL_EXTENSION = 13 KEYWORD_MATCH_TYPE = 14 MOVE_UNUSED_BUDGET = 15 +''' +RecommendationTypeEnum = RecommendationTypeEnum() # For __getattribute__ -class RegionCodeErrorEnum(object): +class RegionCodeErrorEnum(_CreateEnumTypeUponFirstAccess): + RegionCodeError = '''\ class RegionCodeError(enum.IntEnum): """ Enum describing possible region code errors. @@ -8639,9 +10436,12 @@ class RegionCodeError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 INVALID_REGION_CODE = 2 +''' +RegionCodeErrorEnum = RegionCodeErrorEnum() # For __getattribute__ -class RequestErrorEnum(object): +class RequestErrorEnum(_CreateEnumTypeUponFirstAccess): + RequestError = '''\ class RequestError(enum.IntEnum): """ Enum describing possible request errors. @@ -8670,6 +10470,13 @@ class RequestError(enum.IntEnum): DEVELOPER_TOKEN_PARAMETER_MISSING (int): The developer-token parameter is required for all requests. LOGIN_CUSTOMER_ID_PARAMETER_MISSING (int): The login-customer-id parameter is required for this request. VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN (int): page\_token is set in the validate only request + CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS (int): return\_summary\_row cannot be enabled if request did not select any + metrics field. + CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS (int): return\_summary\_row should not be enabled for validate only requests. + INCONSISTENT_RETURN_SUMMARY_ROW_VALUE (int): return\_summary\_row parameter value should be the same between requests + with page\_token field set and their original request. + TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED (int): The total results count cannot be returned if it was not requested in the + original request. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -8691,9 +10498,16 @@ class RequestError(enum.IntEnum): DEVELOPER_TOKEN_PARAMETER_MISSING = 19 LOGIN_CUSTOMER_ID_PARAMETER_MISSING = 20 VALIDATE_ONLY_REQUEST_HAS_PAGE_TOKEN = 21 + CANNOT_RETURN_SUMMARY_ROW_FOR_REQUEST_WITHOUT_METRICS = 29 + CANNOT_RETURN_SUMMARY_ROW_FOR_VALIDATE_ONLY_REQUESTS = 30 + INCONSISTENT_RETURN_SUMMARY_ROW_VALUE = 31 + TOTAL_RESULTS_COUNT_NOT_ORIGINALLY_REQUESTED = 32 +''' +RequestErrorEnum = RequestErrorEnum() # For __getattribute__ -class ResourceAccessDeniedErrorEnum(object): +class ResourceAccessDeniedErrorEnum(_CreateEnumTypeUponFirstAccess): + ResourceAccessDeniedError = '''\ class ResourceAccessDeniedError(enum.IntEnum): """ Enum describing possible resource access denied errors. @@ -8706,9 +10520,12 @@ class ResourceAccessDeniedError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 WRITE_ACCESS_DENIED = 3 +''' +ResourceAccessDeniedErrorEnum = ResourceAccessDeniedErrorEnum() # For __getattribute__ -class ResourceCountLimitExceededErrorEnum(object): +class ResourceCountLimitExceededErrorEnum(_CreateEnumTypeUponFirstAccess): + ResourceCountLimitExceededError = '''\ class ResourceCountLimitExceededError(enum.IntEnum): """ Enum describing possible resource count limit exceeded errors. @@ -8744,6 +10561,9 @@ class ResourceCountLimitExceededError(enum.IntEnum): MATCHING_FUNCTION_LIMIT (int): Exceeds a limit related to a matching function. RESPONSE_ROW_LIMIT_EXCEEDED (int): The response for this request would exceed the maximum number of rows that can be returned. + RESOURCE_LIMIT (int): This request would exceed a limit on the number of allowed resources. + The details of which type of limit was exceeded will eventually be + returned in ErrorDetails. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -8755,9 +10575,13 @@ class ResourceCountLimitExceededError(enum.IntEnum): SHARED_SET_LIMIT = 7 MATCHING_FUNCTION_LIMIT = 8 RESPONSE_ROW_LIMIT_EXCEEDED = 9 + RESOURCE_LIMIT = 10 +''' +ResourceCountLimitExceededErrorEnum = ResourceCountLimitExceededErrorEnum() # For __getattribute__ -class SearchEngineResultsPageTypeEnum(object): +class SearchEngineResultsPageTypeEnum(_CreateEnumTypeUponFirstAccess): + SearchEngineResultsPageType = '''\ class SearchEngineResultsPageType(enum.IntEnum): """ The type of the search engine results page. @@ -8775,9 +10599,12 @@ class SearchEngineResultsPageType(enum.IntEnum): ADS_ONLY = 2 ORGANIC_ONLY = 3 ADS_AND_ORGANIC = 4 +''' +SearchEngineResultsPageTypeEnum = SearchEngineResultsPageTypeEnum() # For __getattribute__ -class SearchTermMatchTypeEnum(object): +class SearchTermMatchTypeEnum(_CreateEnumTypeUponFirstAccess): + SearchTermMatchType = '''\ class SearchTermMatchType(enum.IntEnum): """ Possible match types for a keyword triggering an ad, including variants. @@ -8798,9 +10625,12 @@ class SearchTermMatchType(enum.IntEnum): PHRASE = 4 NEAR_EXACT = 5 NEAR_PHRASE = 6 +''' +SearchTermMatchTypeEnum = SearchTermMatchTypeEnum() # For __getattribute__ -class SearchTermTargetingStatusEnum(object): +class SearchTermTargetingStatusEnum(_CreateEnumTypeUponFirstAccess): + SearchTermTargetingStatus = '''\ class SearchTermTargetingStatus(enum.IntEnum): """ Indicates whether the search term is one of your targeted or excluded @@ -8820,9 +10650,12 @@ class SearchTermTargetingStatus(enum.IntEnum): EXCLUDED = 3 ADDED_EXCLUDED = 4 NONE = 5 +''' +SearchTermTargetingStatusEnum = SearchTermTargetingStatusEnum() # For __getattribute__ -class ServedAssetFieldTypeEnum(object): +class ServedAssetFieldTypeEnum(_CreateEnumTypeUponFirstAccess): + ServedAssetFieldType = '''\ class ServedAssetFieldType(enum.IntEnum): """ The possible asset field types. @@ -8845,9 +10678,12 @@ class ServedAssetFieldType(enum.IntEnum): HEADLINE_3 = 4 DESCRIPTION_1 = 5 DESCRIPTION_2 = 6 +''' +ServedAssetFieldTypeEnum = ServedAssetFieldTypeEnum() # For __getattribute__ -class SettingErrorEnum(object): +class SettingErrorEnum(_CreateEnumTypeUponFirstAccess): + SettingError = '''\ class SettingError(enum.IntEnum): """ Enum describing possible setting errors. @@ -8873,15 +10709,7 @@ class SettingError(enum.IntEnum): DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE (int): The supplied DynamicSearchAdsSetting contains an invalid language code. TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN (int): TargetingSettings in search campaigns should not have CriterionTypeGroup.PLACEMENT set to targetAll. - UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION (int): Duplicate description in universal app setting description field. - UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG (int): Description line width is too long in universal app setting description - field. - UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED (int): Universal app setting appId field cannot be modified for COMPLETE - campaigns. - TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN (int): YoutubeVideoMediaIds in universal app setting cannot exceed size limit. - TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN (int): ImageMediaIds in universal app setting cannot exceed size limit. - MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN (int): Media is incompatible for universal app campaign. - TOO_MANY_EXCLAMATION_MARKS (int): Too many exclamation marks in universal app campaign ad text ideas. + SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN (int): The setting value is not compatible with the campaign type. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -8895,16 +10723,13 @@ class SettingError(enum.IntEnum): DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_SUBDOMAIN_NAME = 10 DYNAMIC_SEARCH_ADS_SETTING_CONTAINS_INVALID_LANGUAGE_CODE = 11 TARGET_ALL_IS_NOT_ALLOWED_FOR_PLACEMENT_IN_SEARCH_CAMPAIGN = 12 - UNIVERSAL_APP_CAMPAIGN_SETTING_DUPLICATE_DESCRIPTION = 13 - UNIVERSAL_APP_CAMPAIGN_SETTING_DESCRIPTION_LINE_WIDTH_TOO_LONG = 14 - UNIVERSAL_APP_CAMPAIGN_SETTING_APP_ID_CANNOT_BE_MODIFIED = 15 - TOO_MANY_YOUTUBE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN = 16 - TOO_MANY_IMAGE_MEDIA_IDS_IN_UNIVERSAL_APP_CAMPAIGN = 17 - MEDIA_INCOMPATIBLE_FOR_UNIVERSAL_APP_CAMPAIGN = 18 - TOO_MANY_EXCLAMATION_MARKS = 19 + SETTING_VALUE_NOT_COMPATIBLE_WITH_CAMPAIGN = 20 +''' +SettingErrorEnum = SettingErrorEnum() # For __getattribute__ -class SharedCriterionErrorEnum(object): +class SharedCriterionErrorEnum(_CreateEnumTypeUponFirstAccess): + SharedCriterionError = '''\ class SharedCriterionError(enum.IntEnum): """ Enum describing possible shared criterion errors. @@ -8917,9 +10742,12 @@ class SharedCriterionError(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 CRITERION_TYPE_NOT_ALLOWED_FOR_SHARED_SET_TYPE = 2 +''' +SharedCriterionErrorEnum = SharedCriterionErrorEnum() # For __getattribute__ -class SharedSetErrorEnum(object): +class SharedSetErrorEnum(_CreateEnumTypeUponFirstAccess): + SharedSetError = '''\ class SharedSetError(enum.IntEnum): """ Enum describing possible shared set errors. @@ -8938,9 +10766,12 @@ class SharedSetError(enum.IntEnum): DUPLICATE_NAME = 3 SHARED_SET_REMOVED = 4 SHARED_SET_IN_USE = 5 +''' +SharedSetErrorEnum = SharedSetErrorEnum() # For __getattribute__ -class SharedSetStatusEnum(object): +class SharedSetStatusEnum(_CreateEnumTypeUponFirstAccess): + SharedSetStatus = '''\ class SharedSetStatus(enum.IntEnum): """ Enum listing the possible shared set statuses. @@ -8955,9 +10786,12 @@ class SharedSetStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 REMOVED = 3 +''' +SharedSetStatusEnum = SharedSetStatusEnum() # For __getattribute__ -class SharedSetTypeEnum(object): +class SharedSetTypeEnum(_CreateEnumTypeUponFirstAccess): + SharedSetType = '''\ class SharedSetType(enum.IntEnum): """ Enum listing the possible shared set types. @@ -8972,9 +10806,12 @@ class SharedSetType(enum.IntEnum): UNKNOWN = 1 NEGATIVE_KEYWORDS = 2 NEGATIVE_PLACEMENTS = 3 +''' +SharedSetTypeEnum = SharedSetTypeEnum() # For __getattribute__ -class SimulationModificationMethodEnum(object): +class SimulationModificationMethodEnum(_CreateEnumTypeUponFirstAccess): + SimulationModificationMethod = '''\ class SimulationModificationMethod(enum.IntEnum): """ Enum describing the method by which a simulation modifies a field. @@ -8992,9 +10829,12 @@ class SimulationModificationMethod(enum.IntEnum): UNKNOWN = 1 UNIFORM = 2 DEFAULT = 3 +''' +SimulationModificationMethodEnum = SimulationModificationMethodEnum() # For __getattribute__ -class SimulationTypeEnum(object): +class SimulationTypeEnum(_CreateEnumTypeUponFirstAccess): + SimulationType = '''\ class SimulationType(enum.IntEnum): """ Enum describing the field a simulation modifies. @@ -9006,6 +10846,7 @@ class SimulationType(enum.IntEnum): CPV_BID (int): The simulation is for a cpv bid. TARGET_CPA (int): The simulation is for a cpa target. BID_MODIFIER (int): The simulation is for a bid modifier. + TARGET_ROAS (int): The simulation is for a ROAS target. """ UNSPECIFIED = 0 UNKNOWN = 1 @@ -9013,9 +10854,13 @@ class SimulationType(enum.IntEnum): CPV_BID = 3 TARGET_CPA = 4 BID_MODIFIER = 5 + TARGET_ROAS = 6 +''' +SimulationTypeEnum = SimulationTypeEnum() # For __getattribute__ -class SitelinkPlaceholderFieldEnum(object): +class SitelinkPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + SitelinkPlaceholderField = '''\ class SitelinkPlaceholderField(enum.IntEnum): """ Possible values for Sitelink placeholder fields. @@ -9044,9 +10889,12 @@ class SitelinkPlaceholderField(enum.IntEnum): FINAL_MOBILE_URLS = 6 TRACKING_URL = 7 FINAL_URL_SUFFIX = 8 +''' +SitelinkPlaceholderFieldEnum = SitelinkPlaceholderFieldEnum() # For __getattribute__ -class SizeLimitErrorEnum(object): +class SizeLimitErrorEnum(_CreateEnumTypeUponFirstAccess): + SizeLimitError = '''\ class SizeLimitError(enum.IntEnum): """ Enum describing possible size limit errors. @@ -9061,9 +10909,12 @@ class SizeLimitError(enum.IntEnum): UNKNOWN = 1 REQUEST_SIZE_LIMIT_EXCEEDED = 2 RESPONSE_SIZE_LIMIT_EXCEEDED = 3 +''' +SizeLimitErrorEnum = SizeLimitErrorEnum() # For __getattribute__ -class SlotEnum(object): +class SlotEnum(_CreateEnumTypeUponFirstAccess): + Slot = '''\ class Slot(enum.IntEnum): """ Enumerates possible positions of the Ad. @@ -9088,9 +10939,12 @@ class Slot(enum.IntEnum): SEARCH_PARTNER_TOP = 6 SEARCH_PARTNER_OTHER = 7 MIXED = 8 +''' +SlotEnum = SlotEnum() # For __getattribute__ -class SpendingLimitTypeEnum(object): +class SpendingLimitTypeEnum(_CreateEnumTypeUponFirstAccess): + SpendingLimitType = '''\ class SpendingLimitType(enum.IntEnum): """ The possible spending limit types used by certain resources as an @@ -9104,9 +10958,12 @@ class SpendingLimitType(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 INFINITE = 2 +''' +SpendingLimitTypeEnum = SpendingLimitTypeEnum() # For __getattribute__ -class StringFormatErrorEnum(object): +class StringFormatErrorEnum(_CreateEnumTypeUponFirstAccess): + StringFormatError = '''\ class StringFormatError(enum.IntEnum): """ Enum describing possible string format errors. @@ -9121,9 +10978,12 @@ class StringFormatError(enum.IntEnum): UNKNOWN = 1 ILLEGAL_CHARS = 2 INVALID_FORMAT = 3 +''' +StringFormatErrorEnum = StringFormatErrorEnum() # For __getattribute__ -class StringLengthErrorEnum(object): +class StringLengthErrorEnum(_CreateEnumTypeUponFirstAccess): + StringLengthError = '''\ class StringLengthError(enum.IntEnum): """ Enum describing possible string length errors. @@ -9131,16 +10991,22 @@ class StringLengthError(enum.IntEnum): Attributes: UNSPECIFIED (int): Enum unspecified. UNKNOWN (int): The received error code is not known in this version. + EMPTY (int): The specified field should have a least one non-whitespace character in + it. TOO_SHORT (int): Too short. TOO_LONG (int): Too long. """ UNSPECIFIED = 0 UNKNOWN = 1 + EMPTY = 4 TOO_SHORT = 2 TOO_LONG = 3 +''' +StringLengthErrorEnum = StringLengthErrorEnum() # For __getattribute__ -class StructuredSnippetPlaceholderFieldEnum(object): +class StructuredSnippetPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + StructuredSnippetPlaceholderField = '''\ class StructuredSnippetPlaceholderField(enum.IntEnum): """ Possible values for Structured Snippet placeholder fields. @@ -9149,10 +11015,9 @@ class StructuredSnippetPlaceholderField(enum.IntEnum): UNSPECIFIED (int): Not specified. UNKNOWN (int): Used for return value only. Represents value unknown in this version. HEADER (int): Data Type: STRING. The category of snippet of your products/services. - Must match one of the predefined structured snippets headers exactly. - See - https://developers.google.com/adwords/api - /docs/appendix/structured-snippet-headers + Must match exactly one of the predefined structured snippets headers. + For a list, visit + https://developers.google.com/adwords/api/docs/appendix/structured-snippet-headers SNIPPETS (int): Data Type: STRING\_LIST. Text values that describe your products/services. All text must be family safe. Special or non-ASCII characters are not permitted. A snippet can be at most 25 characters. @@ -9161,9 +11026,35 @@ class StructuredSnippetPlaceholderField(enum.IntEnum): UNKNOWN = 1 HEADER = 2 SNIPPETS = 3 +''' +StructuredSnippetPlaceholderFieldEnum = StructuredSnippetPlaceholderFieldEnum() # For __getattribute__ + +class SummaryRowSettingEnum(_CreateEnumTypeUponFirstAccess): + SummaryRowSetting = '''\ + class SummaryRowSetting(enum.IntEnum): + """ + Enum describing return summary row settings. + + Attributes: + UNSPECIFIED (int): Not specified. + UNKNOWN (int): Represent unknown values of return summary row. + NO_SUMMARY_ROW (int): Do not return summary row. + SUMMARY_ROW_WITH_RESULTS (int): Return summary row along with results. The summary row will be returned + in the last batch alone (last batch will contain no results). + SUMMARY_ROW_ONLY (int): Return summary row only and return no results. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + NO_SUMMARY_ROW = 2 + SUMMARY_ROW_WITH_RESULTS = 3 + SUMMARY_ROW_ONLY = 4 +''' +SummaryRowSettingEnum = SummaryRowSettingEnum() # For __getattribute__ -class SystemManagedResourceSourceEnum(object): + +class SystemManagedResourceSourceEnum(_CreateEnumTypeUponFirstAccess): + SystemManagedResourceSource = '''\ class SystemManagedResourceSource(enum.IntEnum): """ Enum listing the possible system managed entity sources. @@ -9176,9 +11067,12 @@ class SystemManagedResourceSource(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 AD_VARIATIONS = 2 +''' +SystemManagedResourceSourceEnum = SystemManagedResourceSourceEnum() # For __getattribute__ -class TargetCpaOptInRecommendationGoalEnum(object): +class TargetCpaOptInRecommendationGoalEnum(_CreateEnumTypeUponFirstAccess): + TargetCpaOptInRecommendationGoal = '''\ class TargetCpaOptInRecommendationGoal(enum.IntEnum): """ Goal of TargetCpaOptIn recommendation. @@ -9198,9 +11092,12 @@ class TargetCpaOptInRecommendationGoal(enum.IntEnum): SAME_CONVERSIONS = 3 SAME_CPA = 4 CLOSEST_CPA = 5 +''' +TargetCpaOptInRecommendationGoalEnum = TargetCpaOptInRecommendationGoalEnum() # For __getattribute__ -class TargetImpressionShareLocationEnum(object): +class TargetImpressionShareLocationEnum(_CreateEnumTypeUponFirstAccess): + TargetImpressionShareLocation = '''\ class TargetImpressionShareLocation(enum.IntEnum): """ Enum describing possible goals. @@ -9217,9 +11114,32 @@ class TargetImpressionShareLocation(enum.IntEnum): ANYWHERE_ON_PAGE = 2 TOP_OF_PAGE = 3 ABSOLUTE_TOP_OF_PAGE = 4 +''' +TargetImpressionShareLocationEnum = TargetImpressionShareLocationEnum() # For __getattribute__ + + +class TargetRestrictionOperation(_CreateEnumTypeUponFirstAccess): + Operator = '''\ + class Operator(enum.IntEnum): + """ + The operator. + + Attributes: + UNSPECIFIED (int): Unspecified. + UNKNOWN (int): Used for return value only. Represents value unknown in this version. + ADD (int): Add the restriction to the existing restrictions. + REMOVE (int): Remove the restriction from the existing restrictions. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + ADD = 2 + REMOVE = 3 +''' +TargetRestrictionOperation = TargetRestrictionOperation() # For __getattribute__ -class TargetingDimensionEnum(object): +class TargetingDimensionEnum(_CreateEnumTypeUponFirstAccess): + TargetingDimension = '''\ class TargetingDimension(enum.IntEnum): """ Enum describing possible targeting dimensions. @@ -9252,9 +11172,12 @@ class TargetingDimension(enum.IntEnum): PLACEMENT = 7 PARENTAL_STATUS = 8 INCOME_RANGE = 9 +''' +TargetingDimensionEnum = TargetingDimensionEnum() # For __getattribute__ -class TimeTypeEnum(object): +class TimeTypeEnum(_CreateEnumTypeUponFirstAccess): + TimeType = '''\ class TimeType(enum.IntEnum): """ The possible time types used by certain resources as an alternative to @@ -9270,9 +11193,30 @@ class TimeType(enum.IntEnum): UNKNOWN = 1 NOW = 2 FOREVER = 3 +''' +TimeTypeEnum = TimeTypeEnum() # For __getattribute__ -class TrackingCodePageFormatEnum(object): +class TimeZoneErrorEnum(_CreateEnumTypeUponFirstAccess): + TimeZoneError = '''\ + class TimeZoneError(enum.IntEnum): + """ + Enum describing possible currency code errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + INVALID_TIME_ZONE (int): Time zone is not valid. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + INVALID_TIME_ZONE = 5 +''' +TimeZoneErrorEnum = TimeZoneErrorEnum() # For __getattribute__ + + +class TrackingCodePageFormatEnum(_CreateEnumTypeUponFirstAccess): + TrackingCodePageFormat = '''\ class TrackingCodePageFormat(enum.IntEnum): """ The format of the web page where the tracking tag and snippet will be @@ -9288,9 +11232,12 @@ class TrackingCodePageFormat(enum.IntEnum): UNKNOWN = 1 HTML = 2 AMP = 3 +''' +TrackingCodePageFormatEnum = TrackingCodePageFormatEnum() # For __getattribute__ -class TrackingCodeTypeEnum(object): +class TrackingCodeTypeEnum(_CreateEnumTypeUponFirstAccess): + TrackingCodeType = '''\ class TrackingCodeType(enum.IntEnum): """ The type of the generated tag snippets for tracking conversions. @@ -9304,15 +11251,21 @@ class TrackingCodeType(enum.IntEnum): button element on the page. CLICK_TO_CALL (int): For embedding on a mobile webpage. The snippet contains a JavaScript function which fires the tag. + WEBSITE_CALL (int): The snippet that is used to replace the phone number on your website with + a Google forwarding number for call tracking purposes. """ UNSPECIFIED = 0 UNKNOWN = 1 WEBPAGE = 2 WEBPAGE_ONCLICK = 3 CLICK_TO_CALL = 4 + WEBSITE_CALL = 5 +''' +TrackingCodeTypeEnum = TrackingCodeTypeEnum() # For __getattribute__ -class TravelPlaceholderFieldEnum(object): +class TravelPlaceholderFieldEnum(_CreateEnumTypeUponFirstAccess): + TravelPlaceholderField = '''\ class TravelPlaceholderField(enum.IntEnum): """ Possible values for Travel placeholder fields. @@ -9383,9 +11336,12 @@ class TravelPlaceholderField(enum.IntEnum): SIMILAR_DESTINATION_IDS = 19 IOS_APP_LINK = 20 IOS_APP_STORE_ID = 21 +''' +TravelPlaceholderFieldEnum = TravelPlaceholderFieldEnum() # For __getattribute__ -class UrlFieldErrorEnum(object): +class UrlFieldErrorEnum(_CreateEnumTypeUponFirstAccess): + UrlFieldError = '''\ class UrlFieldError(enum.IntEnum): """ Enum describing possible url field errors. @@ -9515,9 +11471,34 @@ class UrlFieldError(enum.IntEnum): MALFORMED_URL = 55 MISSING_HOST = 56 NULL_CUSTOM_PARAMETER_VALUE = 57 +''' +UrlFieldErrorEnum = UrlFieldErrorEnum() # For __getattribute__ + + +class UserDataErrorEnum(_CreateEnumTypeUponFirstAccess): + UserDataError = '''\ + class UserDataError(enum.IntEnum): + """ + Enum describing possible request errors. + + Attributes: + UNSPECIFIED (int): Enum unspecified. + UNKNOWN (int): The received error code is not known in this version. + OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED (int): Customer is not allowed to perform operations related to Customer Match. + TOO_MANY_USER_IDENTIFIERS (int): Maximum number of user identifiers allowed for each mutate is 100. + USER_LIST_NOT_APPLICABLE (int): Current user list is not applicable for the given customer. + """ + UNSPECIFIED = 0 + UNKNOWN = 1 + OPERATIONS_FOR_CUSTOMER_MATCH_NOT_ALLOWED = 2 + TOO_MANY_USER_IDENTIFIERS = 3 + USER_LIST_NOT_APPLICABLE = 4 +''' +UserDataErrorEnum = UserDataErrorEnum() # For __getattribute__ -class UserInterestTaxonomyTypeEnum(object): +class UserInterestTaxonomyTypeEnum(_CreateEnumTypeUponFirstAccess): + UserInterestTaxonomyType = '''\ class UserInterestTaxonomyType(enum.IntEnum): """ Enum containing the possible UserInterestTaxonomyTypes. @@ -9538,9 +11519,12 @@ class UserInterestTaxonomyType(enum.IntEnum): MOBILE_APP_INSTALL_USER = 4 VERTICAL_GEO = 5 NEW_SMART_PHONE_USER = 6 +''' +UserInterestTaxonomyTypeEnum = UserInterestTaxonomyTypeEnum() # For __getattribute__ -class UserListAccessStatusEnum(object): +class UserListAccessStatusEnum(_CreateEnumTypeUponFirstAccess): + UserListAccessStatus = '''\ class UserListAccessStatus(enum.IntEnum): """ Enum containing possible user list access statuses. @@ -9555,9 +11539,12 @@ class UserListAccessStatus(enum.IntEnum): UNKNOWN = 1 ENABLED = 2 DISABLED = 3 +''' +UserListAccessStatusEnum = UserListAccessStatusEnum() # For __getattribute__ -class UserListClosingReasonEnum(object): +class UserListClosingReasonEnum(_CreateEnumTypeUponFirstAccess): + UserListClosingReason = '''\ class UserListClosingReason(enum.IntEnum): """ Enum describing possible user list closing reasons. @@ -9570,9 +11557,12 @@ class UserListClosingReason(enum.IntEnum): UNSPECIFIED = 0 UNKNOWN = 1 UNUSED = 2 +''' +UserListClosingReasonEnum = UserListClosingReasonEnum() # For __getattribute__ -class UserListCombinedRuleOperatorEnum(object): +class UserListCombinedRuleOperatorEnum(_CreateEnumTypeUponFirstAccess): + UserListCombinedRuleOperator = '''\ class UserListCombinedRuleOperator(enum.IntEnum): """ Enum describing possible user list combined rule operators. @@ -9587,9 +11577,12 @@ class UserListCombinedRuleOperator(enum.IntEnum): UNKNOWN = 1 AND = 2 AND_NOT = 3 +''' +UserListCombinedRuleOperatorEnum = UserListCombinedRuleOperatorEnum() # For __getattribute__ -class UserListCrmDataSourceTypeEnum(object): +class UserListCrmDataSourceTypeEnum(_CreateEnumTypeUponFirstAccess): + UserListCrmDataSourceType = '''\ class UserListCrmDataSourceType(enum.IntEnum): """ Enum describing possible user list crm data source type. @@ -9606,9 +11599,12 @@ class UserListCrmDataSourceType(enum.IntEnum): FIRST_PARTY = 2 THIRD_PARTY_CREDIT_BUREAU = 3 THIRD_PARTY_VOTER_FILE = 4 +''' +UserListCrmDataSourceTypeEnum = UserListCrmDataSourceTypeEnum() # For __getattribute__ -class UserListDateRuleItemOperatorEnum(object): +class UserListDateRuleItemOperatorEnum(_CreateEnumTypeUponFirstAccess): + UserListDateRuleItemOperator = '''\ class UserListDateRuleItemOperator(enum.IntEnum): """ Enum describing possible user list date rule item operators. @@ -9627,9 +11623,12 @@ class UserListDateRuleItemOperator(enum.IntEnum): NOT_EQUALS = 3 BEFORE = 4 AFTER = 5 +''' +UserListDateRuleItemOperatorEnum = UserListDateRuleItemOperatorEnum() # For __getattribute__ -class UserListErrorEnum(object): +class UserListErrorEnum(_CreateEnumTypeUponFirstAccess): + UserListError = '''\ class UserListError(enum.IntEnum): """ Enum describing possible user list errors. @@ -9699,9 +11698,12 @@ class UserListError(enum.IntEnum): RULE_TYPE_IS_NOT_SUPPORTED = 34 CAN_NOT_ADD_A_SIMILAR_USERLIST_AS_LOGICAL_LIST_OPERAND = 35 CAN_NOT_MIX_CRM_BASED_IN_LOGICAL_LIST_WITH_OTHER_LISTS = 36 +''' +UserListErrorEnum = UserListErrorEnum() # For __getattribute__ -class UserListLogicalRuleOperatorEnum(object): +class UserListLogicalRuleOperatorEnum(_CreateEnumTypeUponFirstAccess): + UserListLogicalRuleOperator = '''\ class UserListLogicalRuleOperator(enum.IntEnum): """ Enum describing possible user list logical rule operators. @@ -9718,9 +11720,12 @@ class UserListLogicalRuleOperator(enum.IntEnum): ALL = 2 ANY = 3 NONE = 4 +''' +UserListLogicalRuleOperatorEnum = UserListLogicalRuleOperatorEnum() # For __getattribute__ -class UserListMembershipStatusEnum(object): +class UserListMembershipStatusEnum(_CreateEnumTypeUponFirstAccess): + UserListMembershipStatus = '''\ class UserListMembershipStatus(enum.IntEnum): """ Enum containing possible user list membership statuses. @@ -9735,9 +11740,12 @@ class UserListMembershipStatus(enum.IntEnum): UNKNOWN = 1 OPEN = 2 CLOSED = 3 +''' +UserListMembershipStatusEnum = UserListMembershipStatusEnum() # For __getattribute__ -class UserListNumberRuleItemOperatorEnum(object): +class UserListNumberRuleItemOperatorEnum(_CreateEnumTypeUponFirstAccess): + UserListNumberRuleItemOperator = '''\ class UserListNumberRuleItemOperator(enum.IntEnum): """ Enum describing possible user list number rule item operators. @@ -9760,9 +11768,12 @@ class UserListNumberRuleItemOperator(enum.IntEnum): NOT_EQUALS = 5 LESS_THAN = 6 LESS_THAN_OR_EQUAL = 7 +''' +UserListNumberRuleItemOperatorEnum = UserListNumberRuleItemOperatorEnum() # For __getattribute__ -class UserListPrepopulationStatusEnum(object): +class UserListPrepopulationStatusEnum(_CreateEnumTypeUponFirstAccess): + UserListPrepopulationStatus = '''\ class UserListPrepopulationStatus(enum.IntEnum): """ Enum describing possible user list prepopulation status. @@ -9779,9 +11790,12 @@ class UserListPrepopulationStatus(enum.IntEnum): REQUESTED = 2 FINISHED = 3 FAILED = 4 +''' +UserListPrepopulationStatusEnum = UserListPrepopulationStatusEnum() # For __getattribute__ -class UserListRuleTypeEnum(object): +class UserListRuleTypeEnum(_CreateEnumTypeUponFirstAccess): + UserListRuleType = '''\ class UserListRuleType(enum.IntEnum): """ Enum describing possible user list rule types. @@ -9796,9 +11810,12 @@ class UserListRuleType(enum.IntEnum): UNKNOWN = 1 AND_OF_ORS = 2 OR_OF_ANDS = 3 +''' +UserListRuleTypeEnum = UserListRuleTypeEnum() # For __getattribute__ -class UserListSizeRangeEnum(object): +class UserListSizeRangeEnum(_CreateEnumTypeUponFirstAccess): + UserListSizeRange = '''\ class UserListSizeRange(enum.IntEnum): """ Enum containing possible user list size ranges. @@ -9841,9 +11858,12 @@ class UserListSizeRange(enum.IntEnum): TWENTY_MILLION_TO_THIRTY_MILLION = 15 THIRTY_MILLION_TO_FIFTY_MILLION = 16 OVER_FIFTY_MILLION = 17 +''' +UserListSizeRangeEnum = UserListSizeRangeEnum() # For __getattribute__ -class UserListStringRuleItemOperatorEnum(object): +class UserListStringRuleItemOperatorEnum(_CreateEnumTypeUponFirstAccess): + UserListStringRuleItemOperator = '''\ class UserListStringRuleItemOperator(enum.IntEnum): """ Enum describing possible user list string rule item operators. @@ -9870,9 +11890,12 @@ class UserListStringRuleItemOperator(enum.IntEnum): NOT_CONTAINS = 7 NOT_STARTS_WITH = 8 NOT_ENDS_WITH = 9 +''' +UserListStringRuleItemOperatorEnum = UserListStringRuleItemOperatorEnum() # For __getattribute__ -class UserListTypeEnum(object): +class UserListTypeEnum(_CreateEnumTypeUponFirstAccess): + UserListType = '''\ class UserListType(enum.IntEnum): """ Enum containing possible user list types. @@ -9896,9 +11919,12 @@ class UserListType(enum.IntEnum): RULE_BASED = 5 SIMILAR = 6 CRM_BASED = 7 +''' +UserListTypeEnum = UserListTypeEnum() # For __getattribute__ -class VanityPharmaDisplayUrlModeEnum(object): +class VanityPharmaDisplayUrlModeEnum(_CreateEnumTypeUponFirstAccess): + VanityPharmaDisplayUrlMode = '''\ class VanityPharmaDisplayUrlMode(enum.IntEnum): """ Enum describing possible display modes for vanity pharma URLs. @@ -9913,9 +11939,12 @@ class VanityPharmaDisplayUrlMode(enum.IntEnum): UNKNOWN = 1 MANUFACTURER_WEBSITE_URL = 2 WEBSITE_DESCRIPTION = 3 +''' +VanityPharmaDisplayUrlModeEnum = VanityPharmaDisplayUrlModeEnum() # For __getattribute__ -class VanityPharmaTextEnum(object): +class VanityPharmaTextEnum(_CreateEnumTypeUponFirstAccess): + VanityPharmaText = '''\ class VanityPharmaText(enum.IntEnum): """ Enum describing possible text. @@ -9956,9 +11985,12 @@ class VanityPharmaText(enum.IntEnum): PRESCRIPTION_CONTRACEPTION_WEBSITE_ES = 11 PRESCRIPTION_VACCINE_WEBSITE_EN = 12 PRESCRIPTION_VACCINE_WEBSITE_ES = 13 +''' +VanityPharmaTextEnum = VanityPharmaTextEnum() # For __getattribute__ -class WebpageConditionOperandEnum(object): +class WebpageConditionOperandEnum(_CreateEnumTypeUponFirstAccess): + WebpageConditionOperand = '''\ class WebpageConditionOperand(enum.IntEnum): """ The webpage condition operand in webpage criterion. @@ -9979,9 +12011,12 @@ class WebpageConditionOperand(enum.IntEnum): PAGE_TITLE = 4 PAGE_CONTENT = 5 CUSTOM_LABEL = 6 +''' +WebpageConditionOperandEnum = WebpageConditionOperandEnum() # For __getattribute__ -class WebpageConditionOperatorEnum(object): +class WebpageConditionOperatorEnum(_CreateEnumTypeUponFirstAccess): + WebpageConditionOperator = '''\ class WebpageConditionOperator(enum.IntEnum): """ The webpage condition operator in webpage criterion. @@ -9996,9 +12031,12 @@ class WebpageConditionOperator(enum.IntEnum): UNKNOWN = 1 EQUALS = 2 CONTAINS = 3 +''' +WebpageConditionOperatorEnum = WebpageConditionOperatorEnum() # For __getattribute__ -class YoutubeVideoRegistrationErrorEnum(object): +class YoutubeVideoRegistrationErrorEnum(_CreateEnumTypeUponFirstAccess): + YoutubeVideoRegistrationError = '''\ class YoutubeVideoRegistrationError(enum.IntEnum): """ Enum describing YouTube video registration errors. @@ -10008,8 +12046,12 @@ class YoutubeVideoRegistrationError(enum.IntEnum): UNKNOWN (int): The received error code is not known in this version. VIDEO_NOT_FOUND (int): Video to be registered wasn't found. VIDEO_NOT_ACCESSIBLE (int): Video to be registered is not accessible (e.g. private). + VIDEO_NOT_ELIGIBLE (int): Video to be registered is not eligible (e.g. mature content). """ UNSPECIFIED = 0 UNKNOWN = 1 VIDEO_NOT_FOUND = 2 VIDEO_NOT_ACCESSIBLE = 3 + VIDEO_NOT_ELIGIBLE = 4 +''' +YoutubeVideoRegistrationErrorEnum = YoutubeVideoRegistrationErrorEnum() # For __getattribute__ diff --git a/google/ads/google_ads/v1/services/expanded_landing_page_view_service_client.py b/google/ads/google_ads/v4/services/expanded_landing_page_view_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/expanded_landing_page_view_service_client.py rename to google/ads/google_ads/v4/services/expanded_landing_page_view_service_client.py index b81df53b4..68c448ad0 100644 --- a/google/ads/google_ads/v1/services/expanded_landing_page_view_service_client.py +++ b/google/ads/google_ads/v4/services/expanded_landing_page_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ExpandedLandingPageViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ExpandedLandingPageViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import expanded_landing_page_view_service_client_config -from google.ads.google_ads.v1.services.transports import expanded_landing_page_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import expanded_landing_page_view_service_pb2 +from google.ads.google_ads.v4.services import expanded_landing_page_view_service_client_config +from google.ads.google_ads.v4.services.transports import expanded_landing_page_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import expanded_landing_page_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ExpandedLandingPageViewServiceClient(object): @@ -41,7 +46,8 @@ class ExpandedLandingPageViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ExpandedLandingPageViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ExpandedLandingPageViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def expanded_landing_page_view_path(cls, customer, - expanded_landing_page_view): + def expanded_landing_page_view_path(cls, customer, expanded_landing_page_view): """Return a fully-qualified expanded_landing_page_view string.""" return google.api_core.path_template.expand( 'customers/{customer}/expandedLandingPageViews/{expanded_landing_page_view}', @@ -74,12 +80,8 @@ def expanded_landing_page_view_path(cls, customer, expanded_landing_page_view=expanded_landing_page_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = expanded_landing_page_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - expanded_landing_page_view_service_grpc_transport. - ExpandedLandingPageViewServiceGrpcTransport, + default_class=expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = expanded_landing_page_view_service_grpc_transport.ExpandedLandingPageViewServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_expanded_landing_page_view( Returns the requested expanded landing page view in full detail. Args: - resource_name (str): The resource name of the expanded landing page view to fetch. + resource_name (str): Required. The resource name of the expanded landing page view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_expanded_landing_page_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ExpandedLandingPageView` instance. + A :class:`~google.ads.googleads_v4.types.ExpandedLandingPageView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,17 +202,25 @@ def get_expanded_landing_page_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_expanded_landing_page_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_expanded_landing_page_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_expanded_landing_page_view, - default_retry=self. - _method_configs['GetExpandedLandingPageView'].retry, - default_timeout=self. - _method_configs['GetExpandedLandingPageView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_expanded_landing_page_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_expanded_landing_page_view, + default_retry=self._method_configs['GetExpandedLandingPageView'].retry, + default_timeout=self._method_configs['GetExpandedLandingPageView'].timeout, + client_info=self._client_info, + ) request = expanded_landing_page_view_service_pb2.GetExpandedLandingPageViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_expanded_landing_page_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_expanded_landing_page_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/expanded_landing_page_view_service_client_config.py b/google/ads/google_ads/v4/services/expanded_landing_page_view_service_client_config.py new file mode 100644 index 000000000..b7806702d --- /dev/null +++ b/google/ads/google_ads/v4/services/expanded_landing_page_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ExpandedLandingPageViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetExpandedLandingPageView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/extension_feed_item_service_client.py b/google/ads/google_ads/v4/services/extension_feed_item_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/extension_feed_item_service_client.py rename to google/ads/google_ads/v4/services/extension_feed_item_service_client.py index 55b4d0d1a..950678957 100644 --- a/google/ads/google_ads/v1/services/extension_feed_item_service_client.py +++ b/google/ads/google_ads/v4/services/extension_feed_item_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ExtensionFeedItemService API.""" + +"""Accesses the google.ads.googleads.v4.services ExtensionFeedItemService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import extension_feed_item_service_client_config -from google.ads.google_ads.v1.services.transports import extension_feed_item_service_grpc_transport -from google.ads.google_ads.v1.proto.services import extension_feed_item_service_pb2 +from google.ads.google_ads.v4.services import extension_feed_item_service_client_config +from google.ads.google_ads.v4.services.transports import extension_feed_item_service_grpc_transport +from google.ads.google_ads.v4.proto.services import extension_feed_item_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ExtensionFeedItemServiceClient(object): @@ -41,7 +46,8 @@ class ExtensionFeedItemServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ExtensionFeedItemService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ExtensionFeedItemService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def extension_feed_item_path(cls, customer, extension_feed_item): """Return a fully-qualified extension_feed_item string.""" @@ -73,12 +80,8 @@ def extension_feed_item_path(cls, customer, extension_feed_item): extension_feed_item=extension_feed_item, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = extension_feed_item_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=extension_feed_item_service_grpc_transport. - ExtensionFeedItemServiceGrpcTransport, + default_class=extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = extension_feed_item_service_grpc_transport.ExtensionFeedItemServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_extension_feed_item( Returns the requested extension feed item in full detail. Args: - resource_name (str): The resource name of the extension feed item to fetch. + resource_name (str): Required. The resource name of the extension feed item to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_extension_feed_item( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ExtensionFeedItem` instance. + A :class:`~google.ads.googleads_v4.types.ExtensionFeedItem` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,25 +202,34 @@ def get_extension_feed_item( """ # Wrap the transport method to add retry and timeout logic. if 'get_extension_feed_item' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_extension_feed_item'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_extension_feed_item, - default_retry=self._method_configs['GetExtensionFeedItem']. - retry, - default_timeout=self. - _method_configs['GetExtensionFeedItem'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_extension_feed_item'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_extension_feed_item, + default_retry=self._method_configs['GetExtensionFeedItem'].retry, + default_timeout=self._method_configs['GetExtensionFeedItem'].timeout, + client_info=self._client_info, + ) request = extension_feed_item_service_pb2.GetExtensionFeedItemRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_extension_feed_item']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_extension_feed_item'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_extension_feed_items( self, customer_id, operations, + partial_failure=None, validate_only=None, retry=google.api_core.gapic_v1.method.DEFAULT, timeout=google.api_core.gapic_v1.method.DEFAULT, @@ -229,12 +239,16 @@ def mutate_extension_feed_items( statuses are returned. Args: - customer_id (str): The ID of the customer whose extension feed items are being + customer_id (str): Required. The ID of the customer whose extension feed items are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.ExtensionFeedItemOperation]]): The list of operations to perform on individual extension feed items. + operations (list[Union[dict, ~google.ads.googleads_v4.types.ExtensionFeedItemOperation]]): Required. The list of operations to perform on individual extension feed items. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.ExtensionFeedItemOperation` + message :class:`~google.ads.googleads_v4.types.ExtensionFeedItemOperation` + partial_failure (bool): If true, successful operations will be carried out and invalid + operations will return errors. If false, all operations will be carried + out in one transaction if and only if they are all valid. + Default is false. validate_only (bool): If true, the request is validated but not executed. Only errors are returned, not results. retry (Optional[google.api_core.retry.Retry]): A retry object used @@ -247,7 +261,7 @@ def mutate_extension_feed_items( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateExtensionFeedItemsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateExtensionFeedItemsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,20 +272,28 @@ def mutate_extension_feed_items( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_extension_feed_items' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_extension_feed_items'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_extension_feed_items, - default_retry=self. - _method_configs['MutateExtensionFeedItems'].retry, - default_timeout=self. - _method_configs['MutateExtensionFeedItems'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_extension_feed_items'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_extension_feed_items, + default_retry=self._method_configs['MutateExtensionFeedItems'].retry, + default_timeout=self._method_configs['MutateExtensionFeedItems'].timeout, + client_info=self._client_info, + ) request = extension_feed_item_service_pb2.MutateExtensionFeedItemsRequest( customer_id=customer_id, operations=operations, + partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_extension_feed_items']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_extension_feed_items'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/extension_feed_item_service_client_config.py b/google/ads/google_ads/v4/services/extension_feed_item_service_client_config.py new file mode 100644 index 000000000..bcfa3ccec --- /dev/null +++ b/google/ads/google_ads/v4/services/extension_feed_item_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ExtensionFeedItemService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetExtensionFeedItem": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateExtensionFeedItems": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/feed_item_service_client.py b/google/ads/google_ads/v4/services/feed_item_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/feed_item_service_client.py rename to google/ads/google_ads/v4/services/feed_item_service_client.py index 5311ec2a6..43a0f0cca 100644 --- a/google/ads/google_ads/v1/services/feed_item_service_client.py +++ b/google/ads/google_ads/v4/services/feed_item_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services FeedItemService API.""" + +"""Accesses the google.ads.googleads.v4.services FeedItemService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import feed_item_service_client_config -from google.ads.google_ads.v1.services.transports import feed_item_service_grpc_transport -from google.ads.google_ads.v1.proto.services import feed_item_service_pb2 +from google.ads.google_ads.v4.services import feed_item_service_client_config +from google.ads.google_ads.v4.services.transports import feed_item_service_grpc_transport +from google.ads.google_ads.v4.proto.services import feed_item_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class FeedItemServiceClient(object): @@ -41,7 +46,8 @@ class FeedItemServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.FeedItemService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.FeedItemService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def feed_item_path(cls, customer, feed_item): """Return a fully-qualified feed_item string.""" @@ -73,12 +80,8 @@ def feed_item_path(cls, customer, feed_item): feed_item=feed_item, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = feed_item_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=feed_item_service_grpc_transport. - FeedItemServiceGrpcTransport, + default_class=feed_item_service_grpc_transport.FeedItemServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = feed_item_service_grpc_transport.FeedItemServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_feed_item(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_feed_item( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested feed item in full detail. Args: - resource_name (str): The resource name of the feed item to fetch. + resource_name (str): Required. The resource name of the feed item to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_feed_item(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.FeedItem` instance. + A :class:`~google.ads.googleads_v4.types.FeedItem` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,48 @@ def get_feed_item(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_feed_item' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_feed_item'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_feed_item, - default_retry=self._method_configs['GetFeedItem'].retry, - default_timeout=self._method_configs['GetFeedItem']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_feed_item'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_feed_item, + default_retry=self._method_configs['GetFeedItem'].retry, + default_timeout=self._method_configs['GetFeedItem'].timeout, + client_info=self._client_info, + ) request = feed_item_service_pb2.GetFeedItemRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_feed_item']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_feed_items(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_feed_item'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_feed_items( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes feed items. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose feed items are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.FeedItemOperation]]): The list of operations to perform on individual feed items. + customer_id (str): Required. The ID of the customer whose feed items are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.FeedItemOperation]]): Required. The list of operations to perform on individual feed items. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.FeedItemOperation` + message :class:`~google.ads.googleads_v4.types.FeedItemOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +260,7 @@ def mutate_feed_items(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateFeedItemsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateFeedItemsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +271,12 @@ def mutate_feed_items(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_feed_items' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_feed_items'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_feed_items, - default_retry=self._method_configs['MutateFeedItems']. - retry, - default_timeout=self._method_configs['MutateFeedItems']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_feed_items'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_feed_items, + default_retry=self._method_configs['MutateFeedItems'].retry, + default_timeout=self._method_configs['MutateFeedItems'].timeout, + client_info=self._client_info, + ) request = feed_item_service_pb2.MutateFeedItemsRequest( customer_id=customer_id, @@ -275,5 +284,15 @@ def mutate_feed_items(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_feed_items']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_feed_items'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/feed_item_service_client_config.py b/google/ads/google_ads/v4/services/feed_item_service_client_config.py new file mode 100644 index 000000000..9b6868645 --- /dev/null +++ b/google/ads/google_ads/v4/services/feed_item_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.FeedItemService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetFeedItem": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateFeedItems": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/feed_item_target_service_client.py b/google/ads/google_ads/v4/services/feed_item_target_service_client.py similarity index 72% rename from google/ads/google_ads/v1/services/feed_item_target_service_client.py rename to google/ads/google_ads/v4/services/feed_item_target_service_client.py index cf6eb21ae..eb5e6fbd6 100644 --- a/google/ads/google_ads/v1/services/feed_item_target_service_client.py +++ b/google/ads/google_ads/v4/services/feed_item_target_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services FeedItemTargetService API.""" + +"""Accesses the google.ads.googleads.v4.services FeedItemTargetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import feed_item_target_service_client_config -from google.ads.google_ads.v1.services.transports import feed_item_target_service_grpc_transport -from google.ads.google_ads.v1.proto.services import feed_item_target_service_pb2 +from google.ads.google_ads.v4.services import feed_item_target_service_client_config +from google.ads.google_ads.v4.services.transports import feed_item_target_service_grpc_transport +from google.ads.google_ads.v4.proto.services import feed_item_target_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class FeedItemTargetServiceClient(object): @@ -41,7 +46,8 @@ class FeedItemTargetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.FeedItemTargetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.FeedItemTargetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def feed_item_target_path(cls, customer, feed_item_target): """Return a fully-qualified feed_item_target string.""" @@ -73,12 +80,8 @@ def feed_item_target_path(cls, customer, feed_item_target): feed_item_target=feed_item_target, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = feed_item_target_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=feed_item_target_service_grpc_transport. - FeedItemTargetServiceGrpcTransport, + default_class=feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = feed_item_target_service_grpc_transport.FeedItemTargetServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_feed_item_target(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_feed_item_target( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested feed item targets in full detail. Args: - resource_name (str): The resource name of the feed item targets to fetch. + resource_name (str): Required. The resource name of the feed item targets to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_feed_item_target(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.FeedItemTarget` instance. + A :class:`~google.ads.googleads_v4.types.FeedItemTarget` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_feed_item_target(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_feed_item_target' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_feed_item_target'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_feed_item_target, - default_retry=self._method_configs['GetFeedItemTarget']. - retry, - default_timeout=self._method_configs['GetFeedItemTarget']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_feed_item_target'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_feed_item_target, + default_retry=self._method_configs['GetFeedItemTarget'].retry, + default_timeout=self._method_configs['GetFeedItemTarget'].timeout, + client_info=self._client_info, + ) request = feed_item_target_service_pb2.GetFeedItemTargetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_feed_item_target']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_feed_item_target'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_feed_item_targets( self, @@ -226,11 +236,11 @@ def mutate_feed_item_targets( Creates or removes feed item targets. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose feed item targets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.FeedItemTargetOperation]]): The list of operations to perform on individual feed item targets. + customer_id (str): Required. The ID of the customer whose feed item targets are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.FeedItemTargetOperation]]): Required. The list of operations to perform on individual feed item targets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.FeedItemTargetOperation` + message :class:`~google.ads.googleads_v4.types.FeedItemTargetOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -241,7 +251,7 @@ def mutate_feed_item_targets( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateFeedItemTargetsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateFeedItemTargetsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -252,19 +262,26 @@ def mutate_feed_item_targets( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_feed_item_targets' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_feed_item_targets'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_feed_item_targets, - default_retry=self. - _method_configs['MutateFeedItemTargets'].retry, - default_timeout=self. - _method_configs['MutateFeedItemTargets'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_feed_item_targets'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_feed_item_targets, + default_retry=self._method_configs['MutateFeedItemTargets'].retry, + default_timeout=self._method_configs['MutateFeedItemTargets'].timeout, + client_info=self._client_info, + ) request = feed_item_target_service_pb2.MutateFeedItemTargetsRequest( customer_id=customer_id, operations=operations, ) - return self._inner_api_calls['mutate_feed_item_targets']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_feed_item_targets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/feed_item_target_service_client_config.py b/google/ads/google_ads/v4/services/feed_item_target_service_client_config.py new file mode 100644 index 000000000..cfc9ae4b2 --- /dev/null +++ b/google/ads/google_ads/v4/services/feed_item_target_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.FeedItemTargetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetFeedItemTarget": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateFeedItemTargets": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/feed_mapping_service_client.py b/google/ads/google_ads/v4/services/feed_mapping_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/feed_mapping_service_client.py rename to google/ads/google_ads/v4/services/feed_mapping_service_client.py index db167566a..4d1f2471e 100644 --- a/google/ads/google_ads/v1/services/feed_mapping_service_client.py +++ b/google/ads/google_ads/v4/services/feed_mapping_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services FeedMappingService API.""" + +"""Accesses the google.ads.googleads.v4.services FeedMappingService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import feed_mapping_service_client_config -from google.ads.google_ads.v1.services.transports import feed_mapping_service_grpc_transport -from google.ads.google_ads.v1.proto.services import feed_mapping_service_pb2 +from google.ads.google_ads.v4.services import feed_mapping_service_client_config +from google.ads.google_ads.v4.services.transports import feed_mapping_service_grpc_transport +from google.ads.google_ads.v4.proto.services import feed_mapping_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class FeedMappingServiceClient(object): @@ -41,7 +46,8 @@ class FeedMappingServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.FeedMappingService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.FeedMappingService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def feed_mapping_path(cls, customer, feed_mapping): """Return a fully-qualified feed_mapping string.""" @@ -73,12 +80,8 @@ def feed_mapping_path(cls, customer, feed_mapping): feed_mapping=feed_mapping, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = feed_mapping_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=feed_mapping_service_grpc_transport. - FeedMappingServiceGrpcTransport, + default_class=feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = feed_mapping_service_grpc_transport.FeedMappingServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_feed_mapping(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_feed_mapping( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested feed mapping in full detail. Args: - resource_name (str): The resource name of the feed mapping to fetch. + resource_name (str): Required. The resource name of the feed mapping to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_feed_mapping(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.FeedMapping` instance. + A :class:`~google.ads.googleads_v4.types.FeedMapping` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,48 @@ def get_feed_mapping(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_feed_mapping' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_feed_mapping'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_feed_mapping, - default_retry=self._method_configs['GetFeedMapping'].retry, - default_timeout=self._method_configs['GetFeedMapping']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_feed_mapping'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_feed_mapping, + default_retry=self._method_configs['GetFeedMapping'].retry, + default_timeout=self._method_configs['GetFeedMapping'].timeout, + client_info=self._client_info, + ) request = feed_mapping_service_pb2.GetFeedMappingRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_feed_mapping']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_feed_mappings(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_feed_mapping'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_feed_mappings( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates or removes feed mappings. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose feed mappings are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.FeedMappingOperation]]): The list of operations to perform on individual feed mappings. + customer_id (str): Required. The ID of the customer whose feed mappings are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.FeedMappingOperation]]): Required. The list of operations to perform on individual feed mappings. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.FeedMappingOperation` + message :class:`~google.ads.googleads_v4.types.FeedMappingOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +260,7 @@ def mutate_feed_mappings(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateFeedMappingsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateFeedMappingsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +271,12 @@ def mutate_feed_mappings(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_feed_mappings' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_feed_mappings'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_feed_mappings, - default_retry=self._method_configs['MutateFeedMappings']. - retry, - default_timeout=self._method_configs['MutateFeedMappings']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_feed_mappings'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_feed_mappings, + default_retry=self._method_configs['MutateFeedMappings'].retry, + default_timeout=self._method_configs['MutateFeedMappings'].timeout, + client_info=self._client_info, + ) request = feed_mapping_service_pb2.MutateFeedMappingsRequest( customer_id=customer_id, @@ -275,5 +284,15 @@ def mutate_feed_mappings(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_feed_mappings']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_feed_mappings'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/feed_mapping_service_client_config.py b/google/ads/google_ads/v4/services/feed_mapping_service_client_config.py new file mode 100644 index 000000000..cefa19df6 --- /dev/null +++ b/google/ads/google_ads/v4/services/feed_mapping_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.FeedMappingService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetFeedMapping": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateFeedMappings": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/feed_placeholder_view_service_client.py b/google/ads/google_ads/v4/services/feed_placeholder_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/feed_placeholder_view_service_client.py rename to google/ads/google_ads/v4/services/feed_placeholder_view_service_client.py index 54e93d30d..bbee27bd1 100644 --- a/google/ads/google_ads/v1/services/feed_placeholder_view_service_client.py +++ b/google/ads/google_ads/v4/services/feed_placeholder_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services FeedPlaceholderViewService API.""" + +"""Accesses the google.ads.googleads.v4.services FeedPlaceholderViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import feed_placeholder_view_service_client_config -from google.ads.google_ads.v1.services.transports import feed_placeholder_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import feed_placeholder_view_service_pb2 +from google.ads.google_ads.v4.services import feed_placeholder_view_service_client_config +from google.ads.google_ads.v4.services.transports import feed_placeholder_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import feed_placeholder_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class FeedPlaceholderViewServiceClient(object): @@ -41,7 +46,8 @@ class FeedPlaceholderViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.FeedPlaceholderViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.FeedPlaceholderViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def feed_placeholder_view_path(cls, customer, feed_placeholder_view): """Return a fully-qualified feed_placeholder_view string.""" @@ -73,12 +80,8 @@ def feed_placeholder_view_path(cls, customer, feed_placeholder_view): feed_placeholder_view=feed_placeholder_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = feed_placeholder_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=feed_placeholder_view_service_grpc_transport. - FeedPlaceholderViewServiceGrpcTransport, + default_class=feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = feed_placeholder_view_service_grpc_transport.FeedPlaceholderViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_feed_placeholder_view( Returns the requested feed placeholder view in full detail. Args: - resource_name (str): The resource name of the feed placeholder view to fetch. + resource_name (str): Required. The resource name of the feed placeholder view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_feed_placeholder_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.FeedPlaceholderView` instance. + A :class:`~google.ads.googleads_v4.types.FeedPlaceholderView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_feed_placeholder_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_feed_placeholder_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_feed_placeholder_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_feed_placeholder_view, - default_retry=self. - _method_configs['GetFeedPlaceholderView'].retry, - default_timeout=self. - _method_configs['GetFeedPlaceholderView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_feed_placeholder_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_feed_placeholder_view, + default_retry=self._method_configs['GetFeedPlaceholderView'].retry, + default_timeout=self._method_configs['GetFeedPlaceholderView'].timeout, + client_info=self._client_info, + ) request = feed_placeholder_view_service_pb2.GetFeedPlaceholderViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_feed_placeholder_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_feed_placeholder_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/feed_placeholder_view_service_client_config.py b/google/ads/google_ads/v4/services/feed_placeholder_view_service_client_config.py new file mode 100644 index 000000000..269960ad4 --- /dev/null +++ b/google/ads/google_ads/v4/services/feed_placeholder_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.FeedPlaceholderViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetFeedPlaceholderView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/feed_service_client.py b/google/ads/google_ads/v4/services/feed_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/feed_service_client.py rename to google/ads/google_ads/v4/services/feed_service_client.py index 154b57591..0030085a0 100644 --- a/google/ads/google_ads/v1/services/feed_service_client.py +++ b/google/ads/google_ads/v4/services/feed_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services FeedService API.""" + +"""Accesses the google.ads.googleads.v4.services FeedService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import feed_service_client_config -from google.ads.google_ads.v1.services.transports import feed_service_grpc_transport -from google.ads.google_ads.v1.proto.services import feed_service_pb2 +from google.ads.google_ads.v4.services import feed_service_client_config +from google.ads.google_ads.v4.services.transports import feed_service_grpc_transport +from google.ads.google_ads.v4.proto.services import feed_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class FeedServiceClient(object): @@ -41,7 +46,8 @@ class FeedServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.FeedService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.FeedService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def feed_path(cls, customer, feed): """Return a fully-qualified feed string.""" @@ -73,12 +80,8 @@ def feed_path(cls, customer, feed): feed=feed, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = feed_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=feed_service_grpc_transport. - FeedServiceGrpcTransport, + default_class=feed_service_grpc_transport.FeedServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = feed_service_grpc_transport.FeedServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_feed(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_feed( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested feed in full detail. Args: - resource_name (str): The resource name of the feed to fetch. + resource_name (str): Required. The resource name of the feed to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_feed(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Feed` instance. + A :class:`~google.ads.googleads_v4.types.Feed` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,48 @@ def get_feed(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_feed' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_feed'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_feed, - default_retry=self._method_configs['GetFeed'].retry, - default_timeout=self._method_configs['GetFeed'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_feed'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_feed, + default_retry=self._method_configs['GetFeed'].retry, + default_timeout=self._method_configs['GetFeed'].timeout, + client_info=self._client_info, + ) request = feed_service_pb2.GetFeedRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_feed']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_feeds(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_feed'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_feeds( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes feeds. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose feeds are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.FeedOperation]]): The list of operations to perform on individual feeds. + customer_id (str): Required. The ID of the customer whose feeds are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.FeedOperation]]): Required. The list of operations to perform on individual feeds. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.FeedOperation` + message :class:`~google.ads.googleads_v4.types.FeedOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +260,7 @@ def mutate_feeds(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateFeedsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateFeedsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,14 +271,12 @@ def mutate_feeds(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_feeds' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_feeds'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_feeds, - default_retry=self._method_configs['MutateFeeds'].retry, - default_timeout=self._method_configs['MutateFeeds']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_feeds'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_feeds, + default_retry=self._method_configs['MutateFeeds'].retry, + default_timeout=self._method_configs['MutateFeeds'].timeout, + client_info=self._client_info, + ) request = feed_service_pb2.MutateFeedsRequest( customer_id=customer_id, @@ -273,5 +284,15 @@ def mutate_feeds(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_feeds']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_feeds'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/feed_service_client_config.py b/google/ads/google_ads/v4/services/feed_service_client_config.py new file mode 100644 index 000000000..2716e61ef --- /dev/null +++ b/google/ads/google_ads/v4/services/feed_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.FeedService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetFeed": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateFeeds": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/gender_view_service_client.py b/google/ads/google_ads/v4/services/gender_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/gender_view_service_client.py rename to google/ads/google_ads/v4/services/gender_view_service_client.py index ea467f063..ff720616e 100644 --- a/google/ads/google_ads/v1/services/gender_view_service_client.py +++ b/google/ads/google_ads/v4/services/gender_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GenderViewService API.""" + +"""Accesses the google.ads.googleads.v4.services GenderViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import gender_view_service_client_config -from google.ads.google_ads.v1.services.transports import gender_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import gender_view_service_pb2 +from google.ads.google_ads.v4.services import gender_view_service_client_config +from google.ads.google_ads.v4.services.transports import gender_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import gender_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GenderViewServiceClient(object): @@ -41,7 +46,8 @@ class GenderViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GenderViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GenderViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def gender_view_path(cls, customer, gender_view): """Return a fully-qualified gender_view string.""" @@ -73,12 +80,8 @@ def gender_view_path(cls, customer, gender_view): gender_view=gender_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = gender_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=gender_view_service_grpc_transport. - GenderViewServiceGrpcTransport, + default_class=gender_view_service_grpc_transport.GenderViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = gender_view_service_grpc_transport.GenderViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_gender_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_gender_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested gender view in full detail. Args: - resource_name (str): The resource name of the gender view to fetch. + resource_name (str): Required. The resource name of the gender view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_gender_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GenderView` instance. + A :class:`~google.ads.googleads_v4.types.GenderView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,16 +202,25 @@ def get_gender_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_gender_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_gender_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_gender_view, - default_retry=self._method_configs['GetGenderView'].retry, - default_timeout=self._method_configs['GetGenderView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_gender_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_gender_view, + default_retry=self._method_configs['GetGenderView'].retry, + default_timeout=self._method_configs['GetGenderView'].timeout, + client_info=self._client_info, + ) request = gender_view_service_pb2.GetGenderViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_gender_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_gender_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/gender_view_service_client_config.py b/google/ads/google_ads/v4/services/gender_view_service_client_config.py new file mode 100644 index 000000000..f10205625 --- /dev/null +++ b/google/ads/google_ads/v4/services/gender_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GenderViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetGenderView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/geo_target_constant_service_client.py b/google/ads/google_ads/v4/services/geo_target_constant_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/geo_target_constant_service_client.py rename to google/ads/google_ads/v4/services/geo_target_constant_service_client.py index 0628bfeeb..be4fe7f11 100644 --- a/google/ads/google_ads/v1/services/geo_target_constant_service_client.py +++ b/google/ads/google_ads/v4/services/geo_target_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GeoTargetConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services GeoTargetConstantService API.""" import pkg_resources import warnings @@ -22,16 +23,20 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template import google.api_core.protobuf_helpers -from google.ads.google_ads.v1.services import geo_target_constant_service_client_config -from google.ads.google_ads.v1.services.transports import geo_target_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import geo_target_constant_service_pb2 +from google.ads.google_ads.v4.services import geo_target_constant_service_client_config +from google.ads.google_ads.v4.services.transports import geo_target_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import geo_target_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GeoTargetConstantServiceClient(object): @@ -42,7 +47,8 @@ class GeoTargetConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GeoTargetConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GeoTargetConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -65,6 +71,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def geo_target_constant_path(cls, geo_target_constant): """Return a fully-qualified geo_target_constant string.""" @@ -73,12 +80,8 @@ def geo_target_constant_path(cls, geo_target_constant): geo_target_constant=geo_target_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = geo_target_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=geo_target_constant_service_grpc_transport. - GeoTargetConstantServiceGrpcTransport, + default_class=geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = geo_target_constant_service_grpc_transport.GeoTargetConstantServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_geo_target_constant( Returns the requested geo target constant in full detail. Args: - resource_name (str): The resource name of the geo target constant to fetch. + resource_name (str): Required. The resource name of the geo target constant to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_geo_target_constant( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GeoTargetConstant` instance. + A :class:`~google.ads.googleads_v4.types.GeoTargetConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_geo_target_constant( """ # Wrap the transport method to add retry and timeout logic. if 'get_geo_target_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_geo_target_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_geo_target_constant, - default_retry=self._method_configs['GetGeoTargetConstant']. - retry, - default_timeout=self. - _method_configs['GetGeoTargetConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_geo_target_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_geo_target_constant, + default_retry=self._method_configs['GetGeoTargetConstant'].retry, + default_timeout=self._method_configs['GetGeoTargetConstant'].timeout, + client_info=self._client_info, + ) request = geo_target_constant_service_pb2.GetGeoTargetConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_geo_target_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_geo_target_constant'](request, retry=retry, timeout=timeout, metadata=metadata) def suggest_geo_target_constants( self, @@ -229,24 +238,24 @@ def suggest_geo_target_constants( Returns GeoTargetConstant suggestions by location name or by resource name. Args: - locale (Union[dict, ~google.ads.googleads_v1.types.StringValue]): If possible, returned geo targets are translated using this locale. If not, + locale (Union[dict, ~google.ads.googleads_v4.types.StringValue]): If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.StringValue` - country_code (Union[dict, ~google.ads.googleads_v1.types.StringValue]): Returned geo targets are restricted to this country code. + message :class:`~google.ads.googleads_v4.types.StringValue` + country_code (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Returned geo targets are restricted to this country code. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.StringValue` - location_names (Union[dict, ~google.ads.googleads_v1.types.LocationNames]): The location names to search by. At most 25 names can be set. + message :class:`~google.ads.googleads_v4.types.StringValue` + location_names (Union[dict, ~google.ads.googleads_v4.types.LocationNames]): The location names to search by. At most 25 names can be set. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.LocationNames` - geo_targets (Union[dict, ~google.ads.googleads_v1.types.GeoTargets]): The geo target constant resource names to filter by. + message :class:`~google.ads.googleads_v4.types.LocationNames` + geo_targets (Union[dict, ~google.ads.googleads_v4.types.GeoTargets]): The geo target constant resource names to filter by. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.GeoTargets` + message :class:`~google.ads.googleads_v4.types.GeoTargets` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -257,7 +266,7 @@ def suggest_geo_target_constants( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.SuggestGeoTargetConstantsResponse` instance. + A :class:`~google.ads.googleads_v4.types.SuggestGeoTargetConstantsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -268,15 +277,12 @@ def suggest_geo_target_constants( """ # Wrap the transport method to add retry and timeout logic. if 'suggest_geo_target_constants' not in self._inner_api_calls: - self._inner_api_calls[ - 'suggest_geo_target_constants'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.suggest_geo_target_constants, - default_retry=self. - _method_configs['SuggestGeoTargetConstants'].retry, - default_timeout=self. - _method_configs['SuggestGeoTargetConstants'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['suggest_geo_target_constants'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.suggest_geo_target_constants, + default_retry=self._method_configs['SuggestGeoTargetConstants'].retry, + default_timeout=self._method_configs['SuggestGeoTargetConstants'].timeout, + client_info=self._client_info, + ) # Sanity check: We have some fields which are mutually exclusive; # raise ValueError if more than one is sent. @@ -291,5 +297,4 @@ def suggest_geo_target_constants( location_names=location_names, geo_targets=geo_targets, ) - return self._inner_api_calls['suggest_geo_target_constants']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['suggest_geo_target_constants'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/geo_target_constant_service_client_config.py b/google/ads/google_ads/v4/services/geo_target_constant_service_client_config.py new file mode 100644 index 000000000..ab086f807 --- /dev/null +++ b/google/ads/google_ads/v4/services/geo_target_constant_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GeoTargetConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetGeoTargetConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "SuggestGeoTargetConstants": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/geographic_view_service_client.py b/google/ads/google_ads/v4/services/geographic_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/geographic_view_service_client.py rename to google/ads/google_ads/v4/services/geographic_view_service_client.py index 3430150a7..ea674fdda 100644 --- a/google/ads/google_ads/v1/services/geographic_view_service_client.py +++ b/google/ads/google_ads/v4/services/geographic_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GeographicViewService API.""" + +"""Accesses the google.ads.googleads.v4.services GeographicViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import geographic_view_service_client_config -from google.ads.google_ads.v1.services.transports import geographic_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import geographic_view_service_pb2 +from google.ads.google_ads.v4.services import geographic_view_service_client_config +from google.ads.google_ads.v4.services.transports import geographic_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import geographic_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GeographicViewServiceClient(object): @@ -41,7 +46,8 @@ class GeographicViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GeographicViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GeographicViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def geographic_view_path(cls, customer, geographic_view): """Return a fully-qualified geographic_view string.""" @@ -73,12 +80,8 @@ def geographic_view_path(cls, customer, geographic_view): geographic_view=geographic_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = geographic_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=geographic_view_service_grpc_transport. - GeographicViewServiceGrpcTransport, + default_class=geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = geographic_view_service_grpc_transport.GeographicViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_geographic_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_geographic_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested geographic view in full detail. Args: - resource_name (str): The resource name of the geographic view to fetch. + resource_name (str): Required. The resource name of the geographic view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_geographic_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GeographicView` instance. + A :class:`~google.ads.googleads_v4.types.GeographicView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_geographic_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_geographic_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_geographic_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_geographic_view, - default_retry=self._method_configs['GetGeographicView']. - retry, - default_timeout=self._method_configs['GetGeographicView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_geographic_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_geographic_view, + default_retry=self._method_configs['GetGeographicView'].retry, + default_timeout=self._method_configs['GetGeographicView'].timeout, + client_info=self._client_info, + ) request = geographic_view_service_pb2.GetGeographicViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_geographic_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_geographic_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/geographic_view_service_client_config.py b/google/ads/google_ads/v4/services/geographic_view_service_client_config.py new file mode 100644 index 000000000..b3334ba4b --- /dev/null +++ b/google/ads/google_ads/v4/services/geographic_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GeographicViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetGeographicView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/google_ads_field_service_client.py b/google/ads/google_ads/v4/services/google_ads_field_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/google_ads_field_service_client.py rename to google/ads/google_ads/v4/services/google_ads_field_service_client.py index 9493b0740..845be6143 100644 --- a/google/ads/google_ads/v1/services/google_ads_field_service_client.py +++ b/google/ads/google_ads/v4/services/google_ads_field_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GoogleAdsFieldService API.""" + +"""Accesses the google.ads.googleads.v4.services GoogleAdsFieldService API.""" import functools import pkg_resources @@ -23,16 +24,20 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.page_iterator import google.api_core.path_template -from google.ads.google_ads.v1.services import google_ads_field_service_client_config -from google.ads.google_ads.v1.services.transports import google_ads_field_service_grpc_transport -from google.ads.google_ads.v1.proto.services import google_ads_field_service_pb2 +from google.ads.google_ads.v4.services import google_ads_field_service_client_config +from google.ads.google_ads.v4.services.transports import google_ads_field_service_grpc_transport +from google.ads.google_ads.v4.proto.services import google_ads_field_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GoogleAdsFieldServiceClient(object): @@ -43,7 +48,8 @@ class GoogleAdsFieldServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GoogleAdsFieldService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GoogleAdsFieldService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -66,6 +72,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def google_ads_field_path(cls, google_ads_field): """Return a fully-qualified google_ads_field string.""" @@ -74,12 +81,8 @@ def google_ads_field_path(cls, google_ads_field): google_ads_field=google_ads_field, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +115,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = google_ads_field_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,14 +132,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=google_ads_field_service_grpc_transport. - GoogleAdsFieldServiceGrpcTransport, + default_class=google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = google_ads_field_service_grpc_transport.GoogleAdsFieldServiceGrpcTransport( @@ -151,7 +150,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -161,7 +161,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -170,16 +171,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_google_ads_field(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_google_ads_field( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns just the requested field. Args: - resource_name (str): The resource name of the field to get. + resource_name (str): Required. The resource name of the field to get. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +192,7 @@ def get_google_ads_field(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GoogleAdsField` instance. + A :class:`~google.ads.googleads_v4.types.GoogleAdsField` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +203,28 @@ def get_google_ads_field(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_google_ads_field' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_google_ads_field'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_google_ads_field, - default_retry=self._method_configs['GetGoogleAdsField']. - retry, - default_timeout=self._method_configs['GetGoogleAdsField']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_google_ads_field'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_google_ads_field, + default_retry=self._method_configs['GetGoogleAdsField'].retry, + default_timeout=self._method_configs['GetGoogleAdsField'].timeout, + client_info=self._client_info, + ) request = google_ads_field_service_pb2.GetGoogleAdsFieldRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_google_ads_field']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_google_ads_field'](request, retry=retry, timeout=timeout, metadata=metadata) def search_google_ads_fields( self, @@ -227,7 +237,7 @@ def search_google_ads_fields( Returns all fields that match the search query. Args: - query (str): The query string. + query (str): Required. The query string. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page @@ -244,7 +254,7 @@ def search_google_ads_fields( Returns: A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v1.types.GoogleAdsField` instances. + is an iterable of :class:`~google.ads.googleads_v4.types.GoogleAdsField` instances. This object can also be configured to iterate over the pages of the response through the `options` parameter. @@ -257,15 +267,12 @@ def search_google_ads_fields( """ # Wrap the transport method to add retry and timeout logic. if 'search_google_ads_fields' not in self._inner_api_calls: - self._inner_api_calls[ - 'search_google_ads_fields'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.search_google_ads_fields, - default_retry=self. - _method_configs['SearchGoogleAdsFields'].retry, - default_timeout=self. - _method_configs['SearchGoogleAdsFields'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['search_google_ads_fields'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.search_google_ads_fields, + default_retry=self._method_configs['SearchGoogleAdsFields'].retry, + default_timeout=self._method_configs['SearchGoogleAdsFields'].timeout, + client_info=self._client_info, + ) request = google_ads_field_service_pb2.SearchGoogleAdsFieldsRequest( query=query, @@ -273,11 +280,7 @@ def search_google_ads_fields( ) iterator = google.api_core.page_iterator.GRPCIterator( client=None, - method=functools.partial( - self._inner_api_calls['search_google_ads_fields'], - retry=retry, - timeout=timeout, - metadata=metadata), + method=functools.partial(self._inner_api_calls['search_google_ads_fields'], retry=retry, timeout=timeout, metadata=metadata), request=request, items_field='results', request_token_field='page_token', diff --git a/google/ads/google_ads/v4/services/google_ads_field_service_client_config.py b/google/ads/google_ads/v4/services/google_ads_field_service_client_config.py new file mode 100644 index 000000000..ead477a32 --- /dev/null +++ b/google/ads/google_ads/v4/services/google_ads_field_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GoogleAdsFieldService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetGoogleAdsField": { + "timeout_millis": 600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "SearchGoogleAdsFields": { + "timeout_millis": 600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/google_ads_service_client.py b/google/ads/google_ads/v4/services/google_ads_service_client.py similarity index 58% rename from google/ads/google_ads/v1/services/google_ads_service_client.py rename to google/ads/google_ads/v4/services/google_ads_service_client.py index 30d4ff1b1..c3acb46f8 100644 --- a/google/ads/google_ads/v1/services/google_ads_service_client.py +++ b/google/ads/google_ads/v4/services/google_ads_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GoogleAdsService API.""" + +"""Accesses the google.ads.googleads.v4.services GoogleAdsService API.""" import functools import pkg_resources @@ -23,15 +24,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.page_iterator -from google.ads.google_ads.v1.services import google_ads_service_client_config -from google.ads.google_ads.v1.services.transports import google_ads_service_grpc_transport -from google.ads.google_ads.v1.proto.services import google_ads_service_pb2 +from google.ads.google_ads.v4.services import google_ads_service_client_config +from google.ads.google_ads.v4.services.transports import google_ads_service_grpc_transport +from google.ads.google_ads.v4.proto.services import google_ads_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GoogleAdsServiceClient(object): @@ -42,7 +47,8 @@ class GoogleAdsServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GoogleAdsService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GoogleAdsService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -65,12 +71,8 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -103,19 +105,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = google_ads_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -124,14 +122,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=google_ads_service_grpc_transport. - GoogleAdsServiceGrpcTransport, + default_class=google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = google_ads_service_grpc_transport.GoogleAdsServiceGrpcTransport( @@ -142,7 +140,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -152,7 +151,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -161,26 +161,35 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def search(self, - customer_id, - query, - page_size=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def search( + self, + customer_id, + query, + page_size=None, + validate_only=None, + return_total_results_count=None, + summary_row_setting=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns all rows that match the search query. Args: - customer_id (str): The ID of the customer being queried. - query (str): The query string. + customer_id (str): Required. The ID of the customer being queried. + query (str): Required. The query string. page_size (int): The maximum number of resources contained in the underlying API response. If page streaming is performed per- resource, this parameter does not affect the return value. If page streaming is performed per-page, this determines the maximum number of resources in a page. validate_only (bool): If true, the request is validated but not executed. + return_total_results_count (bool): If true, the total number of results that match the query ignoring the + LIMIT clause will be included in the response. + Default is false. + summary_row_setting (~google.ads.googleads_v4.types.SummaryRowSetting): Determines whether a summary row will be returned. By default, summary row + is not returned. If requested, the summary row will be sent in a response + by itself after all other query results are returned. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +201,7 @@ def search(self, Returns: A :class:`~google.gax.PageIterator` instance. By default, this - is an iterable of :class:`~google.ads.googleads_v1.types.GoogleAdsRow` instances. + is an iterable of :class:`~google.ads.googleads_v4.types.GoogleAdsRow` instances. This object can also be configured to iterate over the pages of the response through the `options` parameter. @@ -205,27 +214,35 @@ def search(self, """ # Wrap the transport method to add retry and timeout logic. if 'search' not in self._inner_api_calls: - self._inner_api_calls[ - 'search'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.search, - default_retry=self._method_configs['Search'].retry, - default_timeout=self._method_configs['Search'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['search'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.search, + default_retry=self._method_configs['Search'].retry, + default_timeout=self._method_configs['Search'].timeout, + client_info=self._client_info, + ) request = google_ads_service_pb2.SearchGoogleAdsRequest( customer_id=customer_id, query=query, page_size=page_size, validate_only=validate_only, + return_total_results_count=return_total_results_count, + summary_row_setting=summary_row_setting, ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + iterator = google.api_core.page_iterator.GRPCIterator( client=None, - method=functools.partial( - self._inner_api_calls['search'], - retry=retry, - timeout=timeout, - metadata=metadata), + method=functools.partial(self._inner_api_calls['search'], retry=retry, timeout=timeout, metadata=metadata), request=request, items_field='results', request_token_field='page_token', @@ -233,14 +250,78 @@ def search(self, ) return iterator - def mutate(self, - customer_id, - mutate_operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def search_stream( + self, + customer_id, + query, + summary_row_setting=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns all rows that match the search stream query. + + Args: + customer_id (str): Required. The ID of the customer being queried. + query (str): Required. The query string. + summary_row_setting (~google.ads.googleads_v4.types.SummaryRowSetting): Determines whether a summary row will be returned. By default, summary row + is not returned. If requested, the summary row will be sent in a response + by itself after all other query results are returned. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + Iterable[~google.ads.googleads_v4.types.SearchGoogleAdsStreamResponse]. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'search_stream' not in self._inner_api_calls: + self._inner_api_calls['search_stream'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.search_stream, + default_retry=self._method_configs['SearchStream'].retry, + default_timeout=self._method_configs['SearchStream'].timeout, + client_info=self._client_info, + ) + + request = google_ads_service_pb2.SearchGoogleAdsStreamRequest( + customer_id=customer_id, + query=query, + summary_row_setting=summary_row_setting, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['search_stream'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate( + self, + customer_id, + mutate_operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes resources. This method supports atomic transactions with multiple types of resources. For example, you can @@ -248,9 +329,11 @@ def mutate(self, thousands of mutates atomically. This method is essentially a wrapper around a series of mutate methods. - The only features it offers over calling those methods directly are: - - Atomic transactions - Temp resource names (described below) - Somewhat - reduced latency over making a series of mutate calls. + The only features it offers over calling those methods directly are: + + - Atomic transactions + - Temp resource names (described below) + - Somewhat reduced latency over making a series of mutate calls Note: Only resources that support atomic transactions are included, so this method can't replace all calls to individual services. @@ -266,20 +349,23 @@ def mutate(self, Temp resource names are a special type of resource name used to create a resource and reference that resource in the same request. For example, - if a campaign budget is created with 'resource\_name' equal to - 'customers/123/campaignBudgets/-1', that resource name can be reused in - the 'Campaign.budget' field in the same request. That way, the two + if a campaign budget is created with ``resource_name`` equal to + ``customers/123/campaignBudgets/-1``, that resource name can be reused + in the ``Campaign.budget`` field in the same request. That way, the two resources are created and linked atomically. To create a temp resource name, put a negative number in the part of the name that the server would normally allocate. - Note: - Resources must be created with a temp name before the name can - be reused. For example, the previous CampaignBudget+Campaign example - would fail if the mutate order was reversed. - Temp names are not - remembered across requests. - There's no limit to the number of temp - names in a request. - Each temp name must use a unique negative number, - even if the resource types differ. + Note: + + - Resources must be created with a temp name before the name can be + reused. For example, the previous CampaignBudget+Campaign example + would fail if the mutate order was reversed. + - Temp names are not remembered across requests. + - There's no limit to the number of temp names in a request. + - Each temp name must use a unique negative number, even if the + resource types differ. ## Latency @@ -291,11 +377,11 @@ def mutate(self, like 4 calls. Args: - customer_id (str): The ID of the customer whose resources are being modified. - mutate_operations (list[Union[dict, ~google.ads.googleads_v1.types.MutateOperation]]): The list of operations to perform on individual resources. + customer_id (str): Required. The ID of the customer whose resources are being modified. + mutate_operations (list[Union[dict, ~google.ads.googleads_v4.types.MutateOperation]]): Required. The list of operations to perform on individual resources. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.MutateOperation` + message :class:`~google.ads.googleads_v4.types.MutateOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -312,7 +398,7 @@ def mutate(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateGoogleAdsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateGoogleAdsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -323,13 +409,12 @@ def mutate(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate, - default_retry=self._method_configs['Mutate'].retry, - default_timeout=self._method_configs['Mutate'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate, + default_retry=self._method_configs['Mutate'].retry, + default_timeout=self._method_configs['Mutate'].timeout, + client_info=self._client_info, + ) request = google_ads_service_pb2.MutateGoogleAdsRequest( customer_id=customer_id, @@ -337,5 +422,15 @@ def mutate(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/google_ads_service_client_config.py b/google/ads/google_ads/v4/services/google_ads_service_client_config.py new file mode 100644 index 000000000..aa3e61b29 --- /dev/null +++ b/google/ads/google_ads/v4/services/google_ads_service_client_config.py @@ -0,0 +1,41 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GoogleAdsService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "Search": { + "timeout_millis": 3600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "SearchStream": { + "timeout_millis": 3600000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "Mutate": { + "timeout_millis": 600000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/group_placement_view_service_client.py b/google/ads/google_ads/v4/services/group_placement_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/group_placement_view_service_client.py rename to google/ads/google_ads/v4/services/group_placement_view_service_client.py index 868d5eece..f4fc6dce1 100644 --- a/google/ads/google_ads/v1/services/group_placement_view_service_client.py +++ b/google/ads/google_ads/v4/services/group_placement_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services GroupPlacementViewService API.""" + +"""Accesses the google.ads.googleads.v4.services GroupPlacementViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import group_placement_view_service_client_config -from google.ads.google_ads.v1.services.transports import group_placement_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import group_placement_view_service_pb2 +from google.ads.google_ads.v4.services import group_placement_view_service_client_config +from google.ads.google_ads.v4.services.transports import group_placement_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import group_placement_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class GroupPlacementViewServiceClient(object): @@ -41,7 +46,8 @@ class GroupPlacementViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.GroupPlacementViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.GroupPlacementViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def group_placement_view_path(cls, customer, group_placement_view): """Return a fully-qualified group_placement_view string.""" @@ -73,12 +80,8 @@ def group_placement_view_path(cls, customer, group_placement_view): group_placement_view=group_placement_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = group_placement_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=group_placement_view_service_grpc_transport. - GroupPlacementViewServiceGrpcTransport, + default_class=group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = group_placement_view_service_grpc_transport.GroupPlacementViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_group_placement_view( Returns the requested Group Placement view in full detail. Args: - resource_name (str): The resource name of the Group Placement view to fetch. + resource_name (str): Required. The resource name of the Group Placement view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_group_placement_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GroupPlacementView` instance. + A :class:`~google.ads.googleads_v4.types.GroupPlacementView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_group_placement_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_group_placement_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_group_placement_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_group_placement_view, - default_retry=self. - _method_configs['GetGroupPlacementView'].retry, - default_timeout=self. - _method_configs['GetGroupPlacementView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_group_placement_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_group_placement_view, + default_retry=self._method_configs['GetGroupPlacementView'].retry, + default_timeout=self._method_configs['GetGroupPlacementView'].timeout, + client_info=self._client_info, + ) request = group_placement_view_service_pb2.GetGroupPlacementViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_group_placement_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_group_placement_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/group_placement_view_service_client_config.py b/google/ads/google_ads/v4/services/group_placement_view_service_client_config.py new file mode 100644 index 000000000..c7f44234f --- /dev/null +++ b/google/ads/google_ads/v4/services/group_placement_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.GroupPlacementViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetGroupPlacementView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/hotel_group_view_service_client.py b/google/ads/google_ads/v4/services/hotel_group_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/hotel_group_view_service_client.py rename to google/ads/google_ads/v4/services/hotel_group_view_service_client.py index e8f2ea235..aebd3307d 100644 --- a/google/ads/google_ads/v1/services/hotel_group_view_service_client.py +++ b/google/ads/google_ads/v4/services/hotel_group_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services HotelGroupViewService API.""" + +"""Accesses the google.ads.googleads.v4.services HotelGroupViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import hotel_group_view_service_client_config -from google.ads.google_ads.v1.services.transports import hotel_group_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import hotel_group_view_service_pb2 +from google.ads.google_ads.v4.services import hotel_group_view_service_client_config +from google.ads.google_ads.v4.services.transports import hotel_group_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import hotel_group_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class HotelGroupViewServiceClient(object): @@ -41,7 +46,8 @@ class HotelGroupViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.HotelGroupViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.HotelGroupViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def hotel_group_view_path(cls, customer, hotel_group_view): """Return a fully-qualified hotel_group_view string.""" @@ -73,12 +80,8 @@ def hotel_group_view_path(cls, customer, hotel_group_view): hotel_group_view=hotel_group_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = hotel_group_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=hotel_group_view_service_grpc_transport. - HotelGroupViewServiceGrpcTransport, + default_class=hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = hotel_group_view_service_grpc_transport.HotelGroupViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_hotel_group_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_hotel_group_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested Hotel Group View in full detail. Args: - resource_name (str): Resource name of the Hotel Group View to fetch. + resource_name (str): Required. Resource name of the Hotel Group View to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_hotel_group_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.HotelGroupView` instance. + A :class:`~google.ads.googleads_v4.types.HotelGroupView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_hotel_group_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_hotel_group_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_hotel_group_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_hotel_group_view, - default_retry=self._method_configs['GetHotelGroupView']. - retry, - default_timeout=self._method_configs['GetHotelGroupView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_hotel_group_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_hotel_group_view, + default_retry=self._method_configs['GetHotelGroupView'].retry, + default_timeout=self._method_configs['GetHotelGroupView'].timeout, + client_info=self._client_info, + ) request = hotel_group_view_service_pb2.GetHotelGroupViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_hotel_group_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_hotel_group_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/hotel_group_view_service_client_config.py b/google/ads/google_ads/v4/services/hotel_group_view_service_client_config.py new file mode 100644 index 000000000..7398495cb --- /dev/null +++ b/google/ads/google_ads/v4/services/hotel_group_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.HotelGroupViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetHotelGroupView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/hotel_performance_view_service_client.py b/google/ads/google_ads/v4/services/hotel_performance_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/hotel_performance_view_service_client.py rename to google/ads/google_ads/v4/services/hotel_performance_view_service_client.py index 1a62551a1..d89576d59 100644 --- a/google/ads/google_ads/v1/services/hotel_performance_view_service_client.py +++ b/google/ads/google_ads/v4/services/hotel_performance_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services HotelPerformanceViewService API.""" + +"""Accesses the google.ads.googleads.v4.services HotelPerformanceViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import hotel_performance_view_service_client_config -from google.ads.google_ads.v1.services.transports import hotel_performance_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import hotel_performance_view_service_pb2 +from google.ads.google_ads.v4.services import hotel_performance_view_service_client_config +from google.ads.google_ads.v4.services.transports import hotel_performance_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import hotel_performance_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class HotelPerformanceViewServiceClient(object): @@ -41,7 +46,8 @@ class HotelPerformanceViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.HotelPerformanceViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.HotelPerformanceViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def hotel_performance_view_path(cls, customer): """Return a fully-qualified hotel_performance_view string.""" @@ -72,12 +79,8 @@ def hotel_performance_view_path(cls, customer): customer=customer, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = hotel_performance_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=hotel_performance_view_service_grpc_transport - .HotelPerformanceViewServiceGrpcTransport, + default_class=hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = hotel_performance_view_service_grpc_transport.HotelPerformanceViewServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -178,7 +179,7 @@ def get_hotel_performance_view( Returns the requested Hotel Performance View in full detail. Args: - resource_name (str): Resource name of the Hotel Performance View to fetch. + resource_name (str): Required. Resource name of the Hotel Performance View to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +190,7 @@ def get_hotel_performance_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.HotelPerformanceView` instance. + A :class:`~google.ads.googleads_v4.types.HotelPerformanceView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +201,25 @@ def get_hotel_performance_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_hotel_performance_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_hotel_performance_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_hotel_performance_view, - default_retry=self. - _method_configs['GetHotelPerformanceView'].retry, - default_timeout=self. - _method_configs['GetHotelPerformanceView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_hotel_performance_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_hotel_performance_view, + default_retry=self._method_configs['GetHotelPerformanceView'].retry, + default_timeout=self._method_configs['GetHotelPerformanceView'].timeout, + client_info=self._client_info, + ) request = hotel_performance_view_service_pb2.GetHotelPerformanceViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_hotel_performance_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_hotel_performance_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/hotel_performance_view_service_client_config.py b/google/ads/google_ads/v4/services/hotel_performance_view_service_client_config.py new file mode 100644 index 000000000..de953afee --- /dev/null +++ b/google/ads/google_ads/v4/services/hotel_performance_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.HotelPerformanceViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetHotelPerformanceView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/income_range_view_service_client.py b/google/ads/google_ads/v4/services/income_range_view_service_client.py new file mode 100644 index 000000000..c49d6854b --- /dev/null +++ b/google/ads/google_ads/v4/services/income_range_view_service_client.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services IncomeRangeViewService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import income_range_view_service_client_config +from google.ads.google_ads.v4.services.transports import income_range_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import income_range_view_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class IncomeRangeViewServiceClient(object): + """Service to manage income range views.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.IncomeRangeViewService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + IncomeRangeViewServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def income_range_view_path(cls, customer, income_range_view): + """Return a fully-qualified income_range_view string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/incomeRangeViews/{income_range_view}', + customer=customer, + income_range_view=income_range_view, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.IncomeRangeViewServiceGrpcTransport, + Callable[[~.Credentials, type], ~.IncomeRangeViewServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = income_range_view_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=income_range_view_service_grpc_transport.IncomeRangeViewServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = income_range_view_service_grpc_transport.IncomeRangeViewServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_income_range_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested income range view in full detail. + + Args: + resource_name (str): Required. The resource name of the income range view to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.IncomeRangeView` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_income_range_view' not in self._inner_api_calls: + self._inner_api_calls['get_income_range_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_income_range_view, + default_retry=self._method_configs['GetIncomeRangeView'].retry, + default_timeout=self._method_configs['GetIncomeRangeView'].timeout, + client_info=self._client_info, + ) + + request = income_range_view_service_pb2.GetIncomeRangeViewRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_income_range_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/income_range_view_service_client_config.py b/google/ads/google_ads/v4/services/income_range_view_service_client_config.py new file mode 100644 index 000000000..2dc8f59d7 --- /dev/null +++ b/google/ads/google_ads/v4/services/income_range_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.IncomeRangeViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetIncomeRangeView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/invoice_service_client.py b/google/ads/google_ads/v4/services/invoice_service_client.py new file mode 100644 index 000000000..f474b3b86 --- /dev/null +++ b/google/ads/google_ads/v4/services/invoice_service_client.py @@ -0,0 +1,227 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services InvoiceService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.services import invoice_service_client_config +from google.ads.google_ads.v4.services.transports import invoice_service_grpc_transport +from google.ads.google_ads.v4.proto.services import invoice_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class InvoiceServiceClient(object): + """A service to fetch invoices issued for a billing setup during a given month.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.InvoiceService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + InvoiceServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.InvoiceServiceGrpcTransport, + Callable[[~.Credentials, type], ~.InvoiceServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = invoice_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=invoice_service_grpc_transport.InvoiceServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = invoice_service_grpc_transport.InvoiceServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def list_invoices( + self, + customer_id, + billing_setup, + issue_year, + issue_month, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns all invoices associated with a billing setup, for a given month. + + Args: + customer_id (str): Required. The ID of the customer to fetch invoices for. + billing_setup (str): Required. The billing setup resource name of the requested invoices. + + ``customers/{customer_id}/billingSetups/{billing_setup_id}`` + issue_year (str): Required. The issue year to retrieve invoices, in yyyy format. Only + invoices issued in 2019 or later can be retrieved. + issue_month (~google.ads.googleads_v4.types.MonthOfYear): Required. The issue month to retrieve invoices. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.ListInvoicesResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'list_invoices' not in self._inner_api_calls: + self._inner_api_calls['list_invoices'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_invoices, + default_retry=self._method_configs['ListInvoices'].retry, + default_timeout=self._method_configs['ListInvoices'].timeout, + client_info=self._client_info, + ) + + request = invoice_service_pb2.ListInvoicesRequest( + customer_id=customer_id, + billing_setup=billing_setup, + issue_year=issue_year, + issue_month=issue_month, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['list_invoices'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/invoice_service_client_config.py b/google/ads/google_ads/v4/services/invoice_service_client_config.py new file mode 100644 index 000000000..9d107253d --- /dev/null +++ b/google/ads/google_ads/v4/services/invoice_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.InvoiceService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "ListInvoices": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client.py new file mode 100644 index 000000000..ece8dbccd --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client.py @@ -0,0 +1,306 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services KeywordPlanAdGroupKeywordService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import keyword_plan_ad_group_keyword_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_ad_group_keyword_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_keyword_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class KeywordPlanAdGroupKeywordServiceClient(object): + """ + Service to manage Keyword Plan ad group keywords. KeywordPlanAdGroup is + required to add ad group keywords. Positive and negative keywords are + supported. A maximum of 10,000 positive keywords are allowed per keyword + plan. A maximum of 1,000 negative keywords are allower per keyword plan. This + includes campaign negative keywords and ad group negative keywords. + """ + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + KeywordPlanAdGroupKeywordServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def keyword_plan_ad_group_keyword_path(cls, customer, keyword_plan_ad_group_keyword): + """Return a fully-qualified keyword_plan_ad_group_keyword string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword}', + customer=customer, + keyword_plan_ad_group_keyword=keyword_plan_ad_group_keyword, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.KeywordPlanAdGroupKeywordServiceGrpcTransport, + Callable[[~.Credentials, type], ~.KeywordPlanAdGroupKeywordServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = keyword_plan_ad_group_keyword_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=keyword_plan_ad_group_keyword_service_grpc_transport.KeywordPlanAdGroupKeywordServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = keyword_plan_ad_group_keyword_service_grpc_transport.KeywordPlanAdGroupKeywordServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_keyword_plan_ad_group_keyword( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested Keyword Plan ad group keyword in full detail. + + Args: + resource_name (str): Required. The resource name of the ad group keyword to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.KeywordPlanAdGroupKeyword` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_keyword_plan_ad_group_keyword' not in self._inner_api_calls: + self._inner_api_calls['get_keyword_plan_ad_group_keyword'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_plan_ad_group_keyword, + default_retry=self._method_configs['GetKeywordPlanAdGroupKeyword'].retry, + default_timeout=self._method_configs['GetKeywordPlanAdGroupKeyword'].timeout, + client_info=self._client_info, + ) + + request = keyword_plan_ad_group_keyword_service_pb2.GetKeywordPlanAdGroupKeywordRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_keyword_plan_ad_group_keyword'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_keyword_plan_ad_group_keywords( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Creates, updates, or removes Keyword Plan ad group keywords. Operation + statuses are returned. + + Args: + customer_id (str): Required. The ID of the customer whose Keyword Plan ad group keywords are being + modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.KeywordPlanAdGroupKeywordOperation]]): Required. The list of operations to perform on individual Keyword Plan ad group + keywords. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.KeywordPlanAdGroupKeywordOperation` + partial_failure (bool): If true, successful operations will be carried out and invalid + operations will return errors. If false, all operations will be carried + out in one transaction if and only if they are all valid. + Default is false. + validate_only (bool): If true, the request is validated but not executed. Only errors are + returned, not results. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.MutateKeywordPlanAdGroupKeywordsResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'mutate_keyword_plan_ad_group_keywords' not in self._inner_api_calls: + self._inner_api_calls['mutate_keyword_plan_ad_group_keywords'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_keyword_plan_ad_group_keywords, + default_retry=self._method_configs['MutateKeywordPlanAdGroupKeywords'].retry, + default_timeout=self._method_configs['MutateKeywordPlanAdGroupKeywords'].timeout, + client_info=self._client_info, + ) + + request = keyword_plan_ad_group_keyword_service_pb2.MutateKeywordPlanAdGroupKeywordsRequest( + customer_id=customer_id, + operations=operations, + partial_failure=partial_failure, + validate_only=validate_only, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_keyword_plan_ad_group_keywords'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client_config.py new file mode 100644 index 000000000..8364a26a3 --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_ad_group_keyword_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanAdGroupKeywordService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordPlanAdGroupKeyword": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateKeywordPlanAdGroupKeywords": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.py rename to google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client.py index 911e141ad..3cf3a74ae 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_ad_group_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanAdGroupService API.""" + +"""Accesses the google.ads.googleads.v4.services KeywordPlanAdGroupService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_plan_ad_group_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_ad_group_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_ad_group_service_pb2 +from google.ads.google_ads.v4.services import keyword_plan_ad_group_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_ad_group_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class KeywordPlanAdGroupServiceClient(object): @@ -41,7 +46,8 @@ class KeywordPlanAdGroupServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanAdGroupService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanAdGroupService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def keyword_plan_ad_group_path(cls, customer, keyword_plan_ad_group): """Return a fully-qualified keyword_plan_ad_group string.""" @@ -73,12 +80,8 @@ def keyword_plan_ad_group_path(cls, customer, keyword_plan_ad_group): keyword_plan_ad_group=keyword_plan_ad_group, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = keyword_plan_ad_group_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_plan_ad_group_service_grpc_transport. - KeywordPlanAdGroupServiceGrpcTransport, + default_class=keyword_plan_ad_group_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = keyword_plan_ad_group_service_grpc_transport.KeywordPlanAdGroupServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_keyword_plan_ad_group( Returns the requested Keyword Plan ad group in full detail. Args: - resource_name (str): The resource name of the Keyword Plan ad group to fetch. + resource_name (str): Required. The resource name of the Keyword Plan ad group to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_keyword_plan_ad_group( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordPlanAdGroup` instance. + A :class:`~google.ads.googleads_v4.types.KeywordPlanAdGroup` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_keyword_plan_ad_group( """ # Wrap the transport method to add retry and timeout logic. if 'get_keyword_plan_ad_group' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_plan_ad_group'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_plan_ad_group, - default_retry=self. - _method_configs['GetKeywordPlanAdGroup'].retry, - default_timeout=self. - _method_configs['GetKeywordPlanAdGroup'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_keyword_plan_ad_group'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_plan_ad_group, + default_retry=self._method_configs['GetKeywordPlanAdGroup'].retry, + default_timeout=self._method_configs['GetKeywordPlanAdGroup'].timeout, + client_info=self._client_info, + ) request = keyword_plan_ad_group_service_pb2.GetKeywordPlanAdGroupRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_plan_ad_group']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_keyword_plan_ad_group'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_keyword_plan_ad_groups( self, @@ -230,11 +239,11 @@ def mutate_keyword_plan_ad_groups( returned. Args: - customer_id (str): The ID of the customer whose Keyword Plan ad groups are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.KeywordPlanAdGroupOperation]]): The list of operations to perform on individual Keyword Plan ad groups. + customer_id (str): Required. The ID of the customer whose Keyword Plan ad groups are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.KeywordPlanAdGroupOperation]]): Required. The list of operations to perform on individual Keyword Plan ad groups. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordPlanAdGroupOperation` + message :class:`~google.ads.googleads_v4.types.KeywordPlanAdGroupOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +260,7 @@ def mutate_keyword_plan_ad_groups( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateKeywordPlanAdGroupsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateKeywordPlanAdGroupsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -262,15 +271,12 @@ def mutate_keyword_plan_ad_groups( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_keyword_plan_ad_groups' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_keyword_plan_ad_groups'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_keyword_plan_ad_groups, - default_retry=self. - _method_configs['MutateKeywordPlanAdGroups'].retry, - default_timeout=self. - _method_configs['MutateKeywordPlanAdGroups'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_keyword_plan_ad_groups'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_keyword_plan_ad_groups, + default_retry=self._method_configs['MutateKeywordPlanAdGroups'].retry, + default_timeout=self._method_configs['MutateKeywordPlanAdGroups'].timeout, + client_info=self._client_info, + ) request = keyword_plan_ad_group_service_pb2.MutateKeywordPlanAdGroupsRequest( customer_id=customer_id, @@ -278,5 +284,15 @@ def mutate_keyword_plan_ad_groups( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_keyword_plan_ad_groups']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_keyword_plan_ad_groups'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client_config.py new file mode 100644 index 000000000..bdc57c3f3 --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_ad_group_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanAdGroupService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordPlanAdGroup": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateKeywordPlanAdGroups": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client.py similarity index 62% rename from google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.py rename to google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client.py index a78759491..38b53f420 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_negative_keyword_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanNegativeKeywordService API.""" + +"""Accesses the google.ads.googleads.v4.services KeywordPlanCampaignKeywordService API.""" import pkg_resources import warnings @@ -22,26 +23,36 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_plan_negative_keyword_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_negative_keyword_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_negative_keyword_service_pb2 +from google.ads.google_ads.v4.services import keyword_plan_campaign_keyword_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_campaign_keyword_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_keyword_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version -class KeywordPlanNegativeKeywordServiceClient(object): - """Service to manage Keyword Plan negative keywords.""" +class KeywordPlanCampaignKeywordServiceClient(object): + """ + Service to manage Keyword Plan campaign keywords. KeywordPlanCampaign is + required to add the campaign keywords. Only negative keywords are supported. + A maximum of 1000 negative keywords are allowed per plan. This includes both + campaign negative keywords and ad group negative keywords. + """ SERVICE_ADDRESS = 'googleads.googleapis.com:443' """The default address of the service.""" # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanNegativeKeywordService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -55,7 +66,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): kwargs: Additional arguments to pass to the constructor. Returns: - KeywordPlanNegativeKeywordServiceClient: The constructed client. + KeywordPlanCampaignKeywordServiceClient: The constructed client. """ credentials = service_account.Credentials.from_service_account_file( filename) @@ -64,27 +75,23 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def keyword_plan_negative_keyword_path(cls, customer, - keyword_plan_negative_keyword): - """Return a fully-qualified keyword_plan_negative_keyword string.""" + def keyword_plan_campaign_keyword_path(cls, customer, keyword_plan_campaign_keyword): + """Return a fully-qualified keyword_plan_campaign_keyword string.""" return google.api_core.path_template.expand( - 'customers/{customer}/keywordPlanNegativeKeywords/{keyword_plan_negative_keyword}', + 'customers/{customer}/keywordPlanCampaignKeywords/{keyword_plan_campaign_keyword}', customer=customer, - keyword_plan_negative_keyword=keyword_plan_negative_keyword, + keyword_plan_campaign_keyword=keyword_plan_campaign_keyword, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: - transport (Union[~.KeywordPlanNegativeKeywordServiceGrpcTransport, - Callable[[~.Credentials, type], ~.KeywordPlanNegativeKeywordServiceGrpcTransport]): A transport + transport (Union[~.KeywordPlanCampaignKeywordServiceGrpcTransport, + Callable[[~.Credentials, type], ~.KeywordPlanCampaignKeywordServiceGrpcTransport]): A transport instance, responsible for actually making the API calls. The default transport uses the gRPC protocol. This argument may also be a callable which returns a @@ -112,19 +119,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: - client_config = keyword_plan_negative_keyword_service_client_config.config + client_config = keyword_plan_campaign_keyword_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,18 +136,17 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - keyword_plan_negative_keyword_service_grpc_transport. - KeywordPlanNegativeKeywordServiceGrpcTransport, + default_class=keyword_plan_campaign_keyword_service_grpc_transport.KeywordPlanCampaignKeywordServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: - self.transport = keyword_plan_negative_keyword_service_grpc_transport.KeywordPlanNegativeKeywordServiceGrpcTransport( + self.transport = keyword_plan_campaign_keyword_service_grpc_transport.KeywordPlanCampaignKeywordServiceGrpcTransport( address=self.SERVICE_ADDRESS, channel=channel, credentials=credentials, @@ -152,7 +154,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +165,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -171,7 +175,7 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_keyword_plan_negative_keyword( + def get_keyword_plan_campaign_keyword( self, resource_name, retry=google.api_core.gapic_v1.method.DEFAULT, @@ -181,7 +185,7 @@ def get_keyword_plan_negative_keyword( Returns the requested plan in full detail. Args: - resource_name (str): The resource name of the plan to fetch. + resource_name (str): Required. The resource name of the plan to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +196,7 @@ def get_keyword_plan_negative_keyword( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordPlanNegativeKeyword` instance. + A :class:`~google.ads.googleads_v4.types.KeywordPlanCampaignKeyword` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -202,23 +206,31 @@ def get_keyword_plan_negative_keyword( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'get_keyword_plan_negative_keyword' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_plan_negative_keyword'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_plan_negative_keyword, - default_retry=self. - _method_configs['GetKeywordPlanNegativeKeyword'].retry, - default_timeout=self. - _method_configs['GetKeywordPlanNegativeKeyword'].timeout, - client_info=self._client_info, - ) + if 'get_keyword_plan_campaign_keyword' not in self._inner_api_calls: + self._inner_api_calls['get_keyword_plan_campaign_keyword'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_plan_campaign_keyword, + default_retry=self._method_configs['GetKeywordPlanCampaignKeyword'].retry, + default_timeout=self._method_configs['GetKeywordPlanCampaignKeyword'].timeout, + client_info=self._client_info, + ) + + request = keyword_plan_campaign_keyword_service_pb2.GetKeywordPlanCampaignKeywordRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) - request = keyword_plan_negative_keyword_service_pb2.GetKeywordPlanNegativeKeywordRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_plan_negative_keyword']( - request, retry=retry, timeout=timeout, metadata=metadata) + return self._inner_api_calls['get_keyword_plan_campaign_keyword'](request, retry=retry, timeout=timeout, metadata=metadata) - def mutate_keyword_plan_negative_keywords( + def mutate_keyword_plan_campaign_keywords( self, customer_id, operations, @@ -228,16 +240,16 @@ def mutate_keyword_plan_negative_keywords( timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Creates, updates, or removes Keyword Plan negative keywords. Operation + Creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose negative keywords are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.KeywordPlanNegativeKeywordOperation]]): The list of operations to perform on individual Keyword Plan negative + customer_id (str): Required. The ID of the customer whose campaign keywords are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.KeywordPlanCampaignKeywordOperation]]): Required. The list of operations to perform on individual Keyword Plan campaign keywords. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordPlanNegativeKeywordOperation` + message :class:`~google.ads.googleads_v4.types.KeywordPlanCampaignKeywordOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -254,7 +266,7 @@ def mutate_keyword_plan_negative_keywords( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateKeywordPlanNegativeKeywordsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateKeywordPlanCampaignKeywordsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -264,22 +276,29 @@ def mutate_keyword_plan_negative_keywords( ValueError: If the parameters are invalid. """ # Wrap the transport method to add retry and timeout logic. - if 'mutate_keyword_plan_negative_keywords' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_keyword_plan_negative_keywords'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_keyword_plan_negative_keywords, - default_retry=self. - _method_configs['MutateKeywordPlanNegativeKeywords'].retry, - default_timeout=self._method_configs[ - 'MutateKeywordPlanNegativeKeywords'].timeout, - client_info=self._client_info, - ) + if 'mutate_keyword_plan_campaign_keywords' not in self._inner_api_calls: + self._inner_api_calls['mutate_keyword_plan_campaign_keywords'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_keyword_plan_campaign_keywords, + default_retry=self._method_configs['MutateKeywordPlanCampaignKeywords'].retry, + default_timeout=self._method_configs['MutateKeywordPlanCampaignKeywords'].timeout, + client_info=self._client_info, + ) - request = keyword_plan_negative_keyword_service_pb2.MutateKeywordPlanNegativeKeywordsRequest( + request = keyword_plan_campaign_keyword_service_pb2.MutateKeywordPlanCampaignKeywordsRequest( customer_id=customer_id, operations=operations, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_keyword_plan_negative_keywords']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_keyword_plan_campaign_keywords'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client_config.py new file mode 100644 index 000000000..0f5323413 --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_campaign_keyword_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanCampaignKeywordService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordPlanCampaignKeyword": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateKeywordPlanCampaignKeywords": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_campaign_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.py rename to google/ads/google_ads/v4/services/keyword_plan_campaign_service_client.py index 4746f440d..b3e41df39 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_campaign_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_plan_campaign_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanCampaignService API.""" + +"""Accesses the google.ads.googleads.v4.services KeywordPlanCampaignService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_plan_campaign_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_campaign_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_campaign_service_pb2 +from google.ads.google_ads.v4.services import keyword_plan_campaign_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_campaign_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class KeywordPlanCampaignServiceClient(object): @@ -41,7 +46,8 @@ class KeywordPlanCampaignServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanCampaignService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanCampaignService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def keyword_plan_campaign_path(cls, customer, keyword_plan_campaign): """Return a fully-qualified keyword_plan_campaign string.""" @@ -73,12 +80,8 @@ def keyword_plan_campaign_path(cls, customer, keyword_plan_campaign): keyword_plan_campaign=keyword_plan_campaign, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = keyword_plan_campaign_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_plan_campaign_service_grpc_transport. - KeywordPlanCampaignServiceGrpcTransport, + default_class=keyword_plan_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = keyword_plan_campaign_service_grpc_transport.KeywordPlanCampaignServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_keyword_plan_campaign( Returns the requested Keyword Plan campaign in full detail. Args: - resource_name (str): The resource name of the Keyword Plan campaign to fetch. + resource_name (str): Required. The resource name of the Keyword Plan campaign to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_keyword_plan_campaign( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordPlanCampaign` instance. + A :class:`~google.ads.googleads_v4.types.KeywordPlanCampaign` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,20 +202,28 @@ def get_keyword_plan_campaign( """ # Wrap the transport method to add retry and timeout logic. if 'get_keyword_plan_campaign' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_plan_campaign'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_plan_campaign, - default_retry=self. - _method_configs['GetKeywordPlanCampaign'].retry, - default_timeout=self. - _method_configs['GetKeywordPlanCampaign'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_keyword_plan_campaign'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_plan_campaign, + default_retry=self._method_configs['GetKeywordPlanCampaign'].retry, + default_timeout=self._method_configs['GetKeywordPlanCampaign'].timeout, + client_info=self._client_info, + ) request = keyword_plan_campaign_service_pb2.GetKeywordPlanCampaignRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_plan_campaign']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_keyword_plan_campaign'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_keyword_plan_campaigns( self, @@ -230,11 +239,11 @@ def mutate_keyword_plan_campaigns( returned. Args: - customer_id (str): The ID of the customer whose Keyword Plan campaigns are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.KeywordPlanCampaignOperation]]): The list of operations to perform on individual Keyword Plan campaigns. + customer_id (str): Required. The ID of the customer whose Keyword Plan campaigns are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.KeywordPlanCampaignOperation]]): Required. The list of operations to perform on individual Keyword Plan campaigns. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordPlanCampaignOperation` + message :class:`~google.ads.googleads_v4.types.KeywordPlanCampaignOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -251,7 +260,7 @@ def mutate_keyword_plan_campaigns( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateKeywordPlanCampaignsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateKeywordPlanCampaignsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -262,15 +271,12 @@ def mutate_keyword_plan_campaigns( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_keyword_plan_campaigns' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_keyword_plan_campaigns'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_keyword_plan_campaigns, - default_retry=self. - _method_configs['MutateKeywordPlanCampaigns'].retry, - default_timeout=self. - _method_configs['MutateKeywordPlanCampaigns'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_keyword_plan_campaigns'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_keyword_plan_campaigns, + default_retry=self._method_configs['MutateKeywordPlanCampaigns'].retry, + default_timeout=self._method_configs['MutateKeywordPlanCampaigns'].timeout, + client_info=self._client_info, + ) request = keyword_plan_campaign_service_pb2.MutateKeywordPlanCampaignsRequest( customer_id=customer_id, @@ -278,5 +284,15 @@ def mutate_keyword_plan_campaigns( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_keyword_plan_campaigns']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_keyword_plan_campaigns'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_plan_campaign_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_campaign_service_client_config.py new file mode 100644 index 000000000..45a286633 --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_campaign_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanCampaignService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordPlanCampaign": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateKeywordPlanCampaigns": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_idea_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_idea_service_client.py similarity index 64% rename from google/ads/google_ads/v1/services/keyword_plan_idea_service_client.py rename to google/ads/google_ads/v4/services/keyword_plan_idea_service_client.py index adf711d0b..47bfc9b02 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_idea_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_plan_idea_service_client.py @@ -13,8 +13,10 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanIdeaService API.""" +"""Accesses the google.ads.googleads.v4.services KeywordPlanIdeaService API.""" + +import functools import pkg_resources import warnings @@ -22,15 +24,20 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers +import google.api_core.page_iterator import google.api_core.protobuf_helpers -from google.ads.google_ads.v1.services import keyword_plan_idea_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_idea_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_idea_service_pb2 +from google.ads.google_ads.v4.services import keyword_plan_idea_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_idea_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_idea_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class KeywordPlanIdeaServiceClient(object): @@ -41,7 +48,8 @@ class KeywordPlanIdeaServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanIdeaService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanIdeaService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,12 +72,8 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -102,19 +106,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = keyword_plan_idea_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -123,14 +123,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_plan_idea_service_grpc_transport. - KeywordPlanIdeaServiceGrpcTransport, + default_class=keyword_plan_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = keyword_plan_idea_service_grpc_transport.KeywordPlanIdeaServiceGrpcTransport( @@ -141,7 +141,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -151,7 +152,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -160,46 +162,61 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def generate_keyword_ideas(self, - customer_id, - language, - geo_target_constants, - keyword_plan_network, - keyword_and_url_seed=None, - keyword_seed=None, - url_seed=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def generate_keyword_ideas( + self, + customer_id, + language, + geo_target_constants, + include_adult_keywords, + keyword_plan_network, + page_size=None, + keyword_and_url_seed=None, + keyword_seed=None, + url_seed=None, + site_seed=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns a list of keyword ideas. Args: customer_id (str): The ID of the customer with the recommendation. - language (Union[dict, ~google.ads.googleads_v1.types.StringValue]): The resource name of the language to target. + language (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Required. The resource name of the language to target. Required If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.StringValue` - geo_target_constants (list[Union[dict, ~google.ads.googleads_v1.types.StringValue]]): The resource names of the location to target. + message :class:`~google.ads.googleads_v4.types.StringValue` + geo_target_constants (list[Union[dict, ~google.ads.googleads_v4.types.StringValue]]): The resource names of the location to target. Max 10 If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.StringValue` - keyword_plan_network (~google.ads.googleads_v1.types.KeywordPlanNetwork): Targeting network. - keyword_and_url_seed (Union[dict, ~google.ads.googleads_v1.types.KeywordAndUrlSeed]): A Keyword and a specific Url to generate ideas from + message :class:`~google.ads.googleads_v4.types.StringValue` + include_adult_keywords (bool): If true, adult keywords will be included in response. + The default value is false. + keyword_plan_network (~google.ads.googleads_v4.types.KeywordPlanNetwork): Targeting network. + page_size (int): The maximum number of resources contained in the + underlying API response. If page streaming is performed per- + resource, this parameter does not affect the return value. If page + streaming is performed per-page, this determines the maximum number + of resources in a page. + keyword_and_url_seed (Union[dict, ~google.ads.googleads_v4.types.KeywordAndUrlSeed]): A Keyword and a specific Url to generate ideas from e.g. cars, www.example.com/cars. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordAndUrlSeed` - keyword_seed (Union[dict, ~google.ads.googleads_v1.types.KeywordSeed]): A Keyword or phrase to generate ideas from, e.g. cars. + message :class:`~google.ads.googleads_v4.types.KeywordAndUrlSeed` + keyword_seed (Union[dict, ~google.ads.googleads_v4.types.KeywordSeed]): A Keyword or phrase to generate ideas from, e.g. cars. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordSeed` - url_seed (Union[dict, ~google.ads.googleads_v1.types.UrlSeed]): A specific url to generate ideas from, e.g. www.example.com/cars. + message :class:`~google.ads.googleads_v4.types.KeywordSeed` + url_seed (Union[dict, ~google.ads.googleads_v4.types.UrlSeed]): A specific url to generate ideas from, e.g. www.example.com/cars. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.UrlSeed` + message :class:`~google.ads.googleads_v4.types.UrlSeed` + site_seed (Union[dict, ~google.ads.googleads_v4.types.SiteSeed]): The site to generate ideas from, e.g. www.example.com. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.SiteSeed` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -210,7 +227,10 @@ def generate_keyword_ideas(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GenerateKeywordIdeaResponse` instance. + A :class:`~google.gax.PageIterator` instance. By default, this + is an iterable of :class:`~google.ads.googleads_v4.types.GenerateKeywordIdeaResult` instances. + This object can also be configured to iterate over the pages + of the response through the `options` parameter. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -221,15 +241,12 @@ def generate_keyword_ideas(self, """ # Wrap the transport method to add retry and timeout logic. if 'generate_keyword_ideas' not in self._inner_api_calls: - self._inner_api_calls[ - 'generate_keyword_ideas'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.generate_keyword_ideas, - default_retry=self._method_configs['GenerateKeywordIdeas']. - retry, - default_timeout=self. - _method_configs['GenerateKeywordIdeas'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['generate_keyword_ideas'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_keyword_ideas, + default_retry=self._method_configs['GenerateKeywordIdeas'].retry, + default_timeout=self._method_configs['GenerateKeywordIdeas'].timeout, + client_info=self._client_info, + ) # Sanity check: We have some fields which are mutually exclusive; # raise ValueError if more than one is sent. @@ -237,16 +254,38 @@ def generate_keyword_ideas(self, keyword_and_url_seed=keyword_and_url_seed, keyword_seed=keyword_seed, url_seed=url_seed, + site_seed=site_seed, ) request = keyword_plan_idea_service_pb2.GenerateKeywordIdeasRequest( customer_id=customer_id, language=language, geo_target_constants=geo_target_constants, + include_adult_keywords=include_adult_keywords, keyword_plan_network=keyword_plan_network, + page_size=page_size, keyword_and_url_seed=keyword_and_url_seed, keyword_seed=keyword_seed, url_seed=url_seed, + site_seed=site_seed, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + iterator = google.api_core.page_iterator.GRPCIterator( + client=None, + method=functools.partial(self._inner_api_calls['generate_keyword_ideas'], retry=retry, timeout=timeout, metadata=metadata), + request=request, + items_field='results', + request_token_field='page_token', + response_token_field='next_page_token', ) - return self._inner_api_calls['generate_keyword_ideas']( - request, retry=retry, timeout=timeout, metadata=metadata) + return iterator diff --git a/google/ads/google_ads/v4/services/keyword_plan_idea_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_idea_service_client_config.py new file mode 100644 index 000000000..eccf9f37d --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_idea_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanIdeaService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GenerateKeywordIdeas": { + "timeout_millis": 600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_plan_service_client.py b/google/ads/google_ads/v4/services/keyword_plan_service_client.py similarity index 58% rename from google/ads/google_ads/v1/services/keyword_plan_service_client.py rename to google/ads/google_ads/v4/services/keyword_plan_service_client.py index 52b0b1992..c5b63f371 100644 --- a/google/ads/google_ads/v1/services/keyword_plan_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_plan_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordPlanService API.""" + +"""Accesses the google.ads.googleads.v4.services KeywordPlanService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_plan_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_plan_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_plan_service_pb2 +from google.ads.google_ads.v4.services import keyword_plan_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_plan_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_plan_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class KeywordPlanServiceClient(object): @@ -41,7 +46,8 @@ class KeywordPlanServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordPlanService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordPlanService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def keyword_plan_path(cls, customer, keyword_plan): """Return a fully-qualified keyword_plan string.""" @@ -73,12 +80,8 @@ def keyword_plan_path(cls, customer, keyword_plan): keyword_plan=keyword_plan, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = keyword_plan_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_plan_service_grpc_transport. - KeywordPlanServiceGrpcTransport, + default_class=keyword_plan_service_grpc_transport.KeywordPlanServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = keyword_plan_service_grpc_transport.KeywordPlanServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_keyword_plan(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_keyword_plan( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested plan in full detail. Args: - resource_name (str): The resource name of the plan to fetch. + resource_name (str): Required. The resource name of the plan to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_keyword_plan(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordPlan` instance. + A :class:`~google.ads.googleads_v4.types.KeywordPlan` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,48 @@ def get_keyword_plan(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_keyword_plan' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_plan'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_plan, - default_retry=self._method_configs['GetKeywordPlan'].retry, - default_timeout=self._method_configs['GetKeywordPlan']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_keyword_plan'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_plan, + default_retry=self._method_configs['GetKeywordPlan'].retry, + default_timeout=self._method_configs['GetKeywordPlan'].timeout, + client_info=self._client_info, + ) request = keyword_plan_service_pb2.GetKeywordPlanRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_plan']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_keyword_plans(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_keyword_plan'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_keyword_plans( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes keyword plans. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose keyword plans are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.KeywordPlanOperation]]): The list of operations to perform on individual keyword plans. + customer_id (str): Required. The ID of the customer whose keyword plans are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.KeywordPlanOperation]]): Required. The list of operations to perform on individual keyword plans. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.KeywordPlanOperation` + message :class:`~google.ads.googleads_v4.types.KeywordPlanOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +260,7 @@ def mutate_keyword_plans(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateKeywordPlansResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateKeywordPlansResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +271,12 @@ def mutate_keyword_plans(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_keyword_plans' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_keyword_plans'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_keyword_plans, - default_retry=self._method_configs['MutateKeywordPlans']. - retry, - default_timeout=self._method_configs['MutateKeywordPlans']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_keyword_plans'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_keyword_plans, + default_retry=self._method_configs['MutateKeywordPlans'].retry, + default_timeout=self._method_configs['MutateKeywordPlans'].timeout, + client_info=self._client_info, + ) request = keyword_plan_service_pb2.MutateKeywordPlansRequest( customer_id=customer_id, @@ -275,8 +284,79 @@ def mutate_keyword_plans(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_keyword_plans']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_keyword_plans'](request, retry=retry, timeout=timeout, metadata=metadata) + + def generate_forecast_curve( + self, + keyword_plan, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested Keyword Plan forecast curve. Only the bidding + strategy is considered for generating forecast curve. The bidding + strategy value (eg: max\_cpc\_bid\_micros in maximize cpc bidding + strategy) specified in the plan is ignored. + + To generate a forecast at a value specified in the plan, use + KeywordPlanService.GenerateForecastMetrics. + + Args: + keyword_plan (str): Required. The resource name of the keyword plan to be forecasted. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.GenerateForecastCurveResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'generate_forecast_curve' not in self._inner_api_calls: + self._inner_api_calls['generate_forecast_curve'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_forecast_curve, + default_retry=self._method_configs['GenerateForecastCurve'].retry, + default_timeout=self._method_configs['GenerateForecastCurve'].timeout, + client_info=self._client_info, + ) + + request = keyword_plan_service_pb2.GenerateForecastCurveRequest( + keyword_plan=keyword_plan, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('keyword_plan', keyword_plan)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['generate_forecast_curve'](request, retry=retry, timeout=timeout, metadata=metadata) def generate_forecast_metrics( self, @@ -288,7 +368,7 @@ def generate_forecast_metrics( Returns the requested Keyword Plan forecasts. Args: - keyword_plan (str): The resource name of the keyword plan to be forecasted. + keyword_plan (str): Required. The resource name of the keyword plan to be forecasted. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -299,7 +379,7 @@ def generate_forecast_metrics( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GenerateForecastMetricsResponse` instance. + A :class:`~google.ads.googleads_v4.types.GenerateForecastMetricsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -310,20 +390,28 @@ def generate_forecast_metrics( """ # Wrap the transport method to add retry and timeout logic. if 'generate_forecast_metrics' not in self._inner_api_calls: - self._inner_api_calls[ - 'generate_forecast_metrics'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.generate_forecast_metrics, - default_retry=self. - _method_configs['GenerateForecastMetrics'].retry, - default_timeout=self. - _method_configs['GenerateForecastMetrics'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['generate_forecast_metrics'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_forecast_metrics, + default_retry=self._method_configs['GenerateForecastMetrics'].retry, + default_timeout=self._method_configs['GenerateForecastMetrics'].timeout, + client_info=self._client_info, + ) request = keyword_plan_service_pb2.GenerateForecastMetricsRequest( - keyword_plan=keyword_plan, ) - return self._inner_api_calls['generate_forecast_metrics']( - request, retry=retry, timeout=timeout, metadata=metadata) + keyword_plan=keyword_plan, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('keyword_plan', keyword_plan)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['generate_forecast_metrics'](request, retry=retry, timeout=timeout, metadata=metadata) def generate_historical_metrics( self, @@ -335,7 +423,7 @@ def generate_historical_metrics( Returns the requested Keyword Plan historical metrics. Args: - keyword_plan (str): The resource name of the keyword plan of which historical metrics are + keyword_plan (str): Required. The resource name of the keyword plan of which historical metrics are requested. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not @@ -347,7 +435,7 @@ def generate_historical_metrics( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.GenerateHistoricalMetricsResponse` instance. + A :class:`~google.ads.googleads_v4.types.GenerateHistoricalMetricsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -358,17 +446,25 @@ def generate_historical_metrics( """ # Wrap the transport method to add retry and timeout logic. if 'generate_historical_metrics' not in self._inner_api_calls: - self._inner_api_calls[ - 'generate_historical_metrics'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.generate_historical_metrics, - default_retry=self. - _method_configs['GenerateHistoricalMetrics'].retry, - default_timeout=self. - _method_configs['GenerateHistoricalMetrics'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['generate_historical_metrics'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_historical_metrics, + default_retry=self._method_configs['GenerateHistoricalMetrics'].retry, + default_timeout=self._method_configs['GenerateHistoricalMetrics'].timeout, + client_info=self._client_info, + ) request = keyword_plan_service_pb2.GenerateHistoricalMetricsRequest( - keyword_plan=keyword_plan, ) - return self._inner_api_calls['generate_historical_metrics']( - request, retry=retry, timeout=timeout, metadata=metadata) + keyword_plan=keyword_plan, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('keyword_plan', keyword_plan)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['generate_historical_metrics'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_plan_service_client_config.py b/google/ads/google_ads/v4/services/keyword_plan_service_client_config.py new file mode 100644 index 000000000..3803daede --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_plan_service_client_config.py @@ -0,0 +1,51 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordPlanService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordPlan": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateKeywordPlans": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GenerateForecastCurve": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GenerateForecastMetrics": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "GenerateHistoricalMetrics": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/keyword_view_service_client.py b/google/ads/google_ads/v4/services/keyword_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/keyword_view_service_client.py rename to google/ads/google_ads/v4/services/keyword_view_service_client.py index 78f9b2f16..94de41a76 100644 --- a/google/ads/google_ads/v1/services/keyword_view_service_client.py +++ b/google/ads/google_ads/v4/services/keyword_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services KeywordViewService API.""" + +"""Accesses the google.ads.googleads.v4.services KeywordViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import keyword_view_service_client_config -from google.ads.google_ads.v1.services.transports import keyword_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import keyword_view_service_pb2 +from google.ads.google_ads.v4.services import keyword_view_service_client_config +from google.ads.google_ads.v4.services.transports import keyword_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import keyword_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class KeywordViewServiceClient(object): @@ -41,7 +46,8 @@ class KeywordViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.KeywordViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.KeywordViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def keyword_view_path(cls, customer, keyword_view): """Return a fully-qualified keyword_view string.""" @@ -73,12 +80,8 @@ def keyword_view_path(cls, customer, keyword_view): keyword_view=keyword_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = keyword_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=keyword_view_service_grpc_transport. - KeywordViewServiceGrpcTransport, + default_class=keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = keyword_view_service_grpc_transport.KeywordViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_keyword_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_keyword_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested keyword view in full detail. Args: - resource_name (str): The resource name of the keyword view to fetch. + resource_name (str): Required. The resource name of the keyword view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_keyword_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.KeywordView` instance. + A :class:`~google.ads.googleads_v4.types.KeywordView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,16 +202,25 @@ def get_keyword_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_keyword_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_keyword_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_keyword_view, - default_retry=self._method_configs['GetKeywordView'].retry, - default_timeout=self._method_configs['GetKeywordView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_keyword_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_keyword_view, + default_retry=self._method_configs['GetKeywordView'].retry, + default_timeout=self._method_configs['GetKeywordView'].timeout, + client_info=self._client_info, + ) request = keyword_view_service_pb2.GetKeywordViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_keyword_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_keyword_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/keyword_view_service_client_config.py b/google/ads/google_ads/v4/services/keyword_view_service_client_config.py new file mode 100644 index 000000000..3c7de4c25 --- /dev/null +++ b/google/ads/google_ads/v4/services/keyword_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.KeywordViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetKeywordView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/label_service_client.py b/google/ads/google_ads/v4/services/label_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/label_service_client.py rename to google/ads/google_ads/v4/services/label_service_client.py index 807fa5f3b..ddb7ac66e 100644 --- a/google/ads/google_ads/v1/services/label_service_client.py +++ b/google/ads/google_ads/v4/services/label_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services LabelService API.""" + +"""Accesses the google.ads.googleads.v4.services LabelService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import label_service_client_config -from google.ads.google_ads.v1.services.transports import label_service_grpc_transport -from google.ads.google_ads.v1.proto.services import label_service_pb2 +from google.ads.google_ads.v4.services import label_service_client_config +from google.ads.google_ads.v4.services.transports import label_service_grpc_transport +from google.ads.google_ads.v4.proto.services import label_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class LabelServiceClient(object): @@ -41,7 +46,8 @@ class LabelServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.LabelService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.LabelService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def label_path(cls, customer, label): """Return a fully-qualified label string.""" @@ -73,12 +80,8 @@ def label_path(cls, customer, label): label=label, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = label_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=label_service_grpc_transport. - LabelServiceGrpcTransport, + default_class=label_service_grpc_transport.LabelServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = label_service_grpc_transport.LabelServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_label(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_label( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested label in full detail. Args: - resource_name (str): The resource name of the label to fetch. + resource_name (str): Required. The resource name of the label to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_label(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Label` instance. + A :class:`~google.ads.googleads_v4.types.Label` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,36 +202,47 @@ def get_label(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_label' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_label'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_label, - default_retry=self._method_configs['GetLabel'].retry, - default_timeout=self._method_configs['GetLabel'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_label'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_label, + default_retry=self._method_configs['GetLabel'].retry, + default_timeout=self._method_configs['GetLabel'].timeout, + client_info=self._client_info, + ) request = label_service_pb2.GetLabelRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_label']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_labels(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_label'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_labels( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes labels. Operation statuses are returned. Args: - customer_id (str): ID of the customer whose labels are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.LabelOperation]]): The list of operations to perform on labels. + customer_id (str): Required. ID of the customer whose labels are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.LabelOperation]]): Required. The list of operations to perform on labels. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.LabelOperation` + message :class:`~google.ads.googleads_v4.types.LabelOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -246,7 +259,7 @@ def mutate_labels(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateLabelsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateLabelsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -257,14 +270,12 @@ def mutate_labels(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_labels' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_labels'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_labels, - default_retry=self._method_configs['MutateLabels'].retry, - default_timeout=self._method_configs['MutateLabels']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_labels'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_labels, + default_retry=self._method_configs['MutateLabels'].retry, + default_timeout=self._method_configs['MutateLabels'].timeout, + client_info=self._client_info, + ) request = label_service_pb2.MutateLabelsRequest( customer_id=customer_id, @@ -272,5 +283,15 @@ def mutate_labels(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_labels']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_labels'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/label_service_client_config.py b/google/ads/google_ads/v4/services/label_service_client_config.py new file mode 100644 index 000000000..852373c5e --- /dev/null +++ b/google/ads/google_ads/v4/services/label_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.LabelService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetLabel": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateLabels": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/landing_page_view_service_client.py b/google/ads/google_ads/v4/services/landing_page_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/landing_page_view_service_client.py rename to google/ads/google_ads/v4/services/landing_page_view_service_client.py index 919a3072f..2b2532e41 100644 --- a/google/ads/google_ads/v1/services/landing_page_view_service_client.py +++ b/google/ads/google_ads/v4/services/landing_page_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services LandingPageViewService API.""" + +"""Accesses the google.ads.googleads.v4.services LandingPageViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import landing_page_view_service_client_config -from google.ads.google_ads.v1.services.transports import landing_page_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import landing_page_view_service_pb2 +from google.ads.google_ads.v4.services import landing_page_view_service_client_config +from google.ads.google_ads.v4.services.transports import landing_page_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import landing_page_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class LandingPageViewServiceClient(object): @@ -41,7 +46,8 @@ class LandingPageViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.LandingPageViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.LandingPageViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def landing_page_view_path(cls, customer, landing_page_view): """Return a fully-qualified landing_page_view string.""" @@ -73,12 +80,8 @@ def landing_page_view_path(cls, customer, landing_page_view): landing_page_view=landing_page_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = landing_page_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=landing_page_view_service_grpc_transport. - LandingPageViewServiceGrpcTransport, + default_class=landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = landing_page_view_service_grpc_transport.LandingPageViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_landing_page_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_landing_page_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested landing page view in full detail. Args: - resource_name (str): The resource name of the landing page view to fetch. + resource_name (str): Required. The resource name of the landing page view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_landing_page_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.LandingPageView` instance. + A :class:`~google.ads.googleads_v4.types.LandingPageView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_landing_page_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_landing_page_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_landing_page_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_landing_page_view, - default_retry=self._method_configs['GetLandingPageView']. - retry, - default_timeout=self._method_configs['GetLandingPageView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_landing_page_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_landing_page_view, + default_retry=self._method_configs['GetLandingPageView'].retry, + default_timeout=self._method_configs['GetLandingPageView'].timeout, + client_info=self._client_info, + ) request = landing_page_view_service_pb2.GetLandingPageViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_landing_page_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_landing_page_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/landing_page_view_service_client_config.py b/google/ads/google_ads/v4/services/landing_page_view_service_client_config.py new file mode 100644 index 000000000..8b4b60a61 --- /dev/null +++ b/google/ads/google_ads/v4/services/landing_page_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.LandingPageViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetLandingPageView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/language_constant_service_client.py b/google/ads/google_ads/v4/services/language_constant_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/language_constant_service_client.py rename to google/ads/google_ads/v4/services/language_constant_service_client.py index 42388805d..d5a7bc0ff 100644 --- a/google/ads/google_ads/v1/services/language_constant_service_client.py +++ b/google/ads/google_ads/v4/services/language_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services LanguageConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services LanguageConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import language_constant_service_client_config -from google.ads.google_ads.v1.services.transports import language_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import language_constant_service_pb2 +from google.ads.google_ads.v4.services import language_constant_service_client_config +from google.ads.google_ads.v4.services.transports import language_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import language_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class LanguageConstantServiceClient(object): @@ -41,7 +46,8 @@ class LanguageConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.LanguageConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.LanguageConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def language_constant_path(cls, language_constant): """Return a fully-qualified language_constant string.""" @@ -72,12 +79,8 @@ def language_constant_path(cls, language_constant): language_constant=language_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = language_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=language_constant_service_grpc_transport. - LanguageConstantServiceGrpcTransport, + default_class=language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = language_constant_service_grpc_transport.LanguageConstantServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -168,16 +169,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_language_constant(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_language_constant( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested language constant. Args: - resource_name (str): Resource name of the language constant to fetch. + resource_name (str): Required. Resource name of the language constant to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -188,7 +190,7 @@ def get_language_constant(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.LanguageConstant` instance. + A :class:`~google.ads.googleads_v4.types.LanguageConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -199,17 +201,25 @@ def get_language_constant(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_language_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_language_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_language_constant, - default_retry=self._method_configs['GetLanguageConstant']. - retry, - default_timeout=self. - _method_configs['GetLanguageConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_language_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_language_constant, + default_retry=self._method_configs['GetLanguageConstant'].retry, + default_timeout=self._method_configs['GetLanguageConstant'].timeout, + client_info=self._client_info, + ) request = language_constant_service_pb2.GetLanguageConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_language_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_language_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/language_constant_service_client_config.py b/google/ads/google_ads/v4/services/language_constant_service_client_config.py new file mode 100644 index 000000000..e83b92e02 --- /dev/null +++ b/google/ads/google_ads/v4/services/language_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.LanguageConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetLanguageConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/location_view_service_client.py b/google/ads/google_ads/v4/services/location_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/location_view_service_client.py rename to google/ads/google_ads/v4/services/location_view_service_client.py index 42ce44b17..c5b85da49 100644 --- a/google/ads/google_ads/v1/services/location_view_service_client.py +++ b/google/ads/google_ads/v4/services/location_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services LocationViewService API.""" + +"""Accesses the google.ads.googleads.v4.services LocationViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import location_view_service_client_config -from google.ads.google_ads.v1.services.transports import location_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import location_view_service_pb2 +from google.ads.google_ads.v4.services import location_view_service_client_config +from google.ads.google_ads.v4.services.transports import location_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import location_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class LocationViewServiceClient(object): @@ -41,7 +46,8 @@ class LocationViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.LocationViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.LocationViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def location_view_path(cls, customer, location_view): """Return a fully-qualified location_view string.""" @@ -73,12 +80,8 @@ def location_view_path(cls, customer, location_view): location_view=location_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = location_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=location_view_service_grpc_transport. - LocationViewServiceGrpcTransport, + default_class=location_view_service_grpc_transport.LocationViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = location_view_service_grpc_transport.LocationViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_location_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_location_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested location view in full detail. Args: - resource_name (str): The resource name of the location view to fetch. + resource_name (str): Required. The resource name of the location view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_location_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.LocationView` instance. + A :class:`~google.ads.googleads_v4.types.LocationView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_location_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_location_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_location_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_location_view, - default_retry=self._method_configs['GetLocationView']. - retry, - default_timeout=self._method_configs['GetLocationView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_location_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_location_view, + default_retry=self._method_configs['GetLocationView'].retry, + default_timeout=self._method_configs['GetLocationView'].timeout, + client_info=self._client_info, + ) request = location_view_service_pb2.GetLocationViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_location_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_location_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/location_view_service_client_config.py b/google/ads/google_ads/v4/services/location_view_service_client_config.py new file mode 100644 index 000000000..85597cf37 --- /dev/null +++ b/google/ads/google_ads/v4/services/location_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.LocationViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetLocationView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/managed_placement_view_service_client.py b/google/ads/google_ads/v4/services/managed_placement_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/managed_placement_view_service_client.py rename to google/ads/google_ads/v4/services/managed_placement_view_service_client.py index ed1a93008..e883d725d 100644 --- a/google/ads/google_ads/v1/services/managed_placement_view_service_client.py +++ b/google/ads/google_ads/v4/services/managed_placement_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ManagedPlacementViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ManagedPlacementViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import managed_placement_view_service_client_config -from google.ads.google_ads.v1.services.transports import managed_placement_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import managed_placement_view_service_pb2 +from google.ads.google_ads.v4.services import managed_placement_view_service_client_config +from google.ads.google_ads.v4.services.transports import managed_placement_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import managed_placement_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ManagedPlacementViewServiceClient(object): @@ -41,7 +46,8 @@ class ManagedPlacementViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ManagedPlacementViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ManagedPlacementViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def managed_placement_view_path(cls, customer, managed_placement_view): """Return a fully-qualified managed_placement_view string.""" @@ -73,12 +80,8 @@ def managed_placement_view_path(cls, customer, managed_placement_view): managed_placement_view=managed_placement_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = managed_placement_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=managed_placement_view_service_grpc_transport - .ManagedPlacementViewServiceGrpcTransport, + default_class=managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = managed_placement_view_service_grpc_transport.ManagedPlacementViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_managed_placement_view( Returns the requested Managed Placement view in full detail. Args: - resource_name (str): The resource name of the Managed Placement View to fetch. + resource_name (str): Required. The resource name of the Managed Placement View to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_managed_placement_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ManagedPlacementView` instance. + A :class:`~google.ads.googleads_v4.types.ManagedPlacementView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_managed_placement_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_managed_placement_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_managed_placement_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_managed_placement_view, - default_retry=self. - _method_configs['GetManagedPlacementView'].retry, - default_timeout=self. - _method_configs['GetManagedPlacementView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_managed_placement_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_managed_placement_view, + default_retry=self._method_configs['GetManagedPlacementView'].retry, + default_timeout=self._method_configs['GetManagedPlacementView'].timeout, + client_info=self._client_info, + ) request = managed_placement_view_service_pb2.GetManagedPlacementViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_managed_placement_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_managed_placement_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/managed_placement_view_service_client_config.py b/google/ads/google_ads/v4/services/managed_placement_view_service_client_config.py new file mode 100644 index 000000000..8aca2b85a --- /dev/null +++ b/google/ads/google_ads/v4/services/managed_placement_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ManagedPlacementViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetManagedPlacementView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/media_file_service_client.py b/google/ads/google_ads/v4/services/media_file_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/media_file_service_client.py rename to google/ads/google_ads/v4/services/media_file_service_client.py index 52d497d72..c2d40893f 100644 --- a/google/ads/google_ads/v1/services/media_file_service_client.py +++ b/google/ads/google_ads/v4/services/media_file_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services MediaFileService API.""" + +"""Accesses the google.ads.googleads.v4.services MediaFileService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import media_file_service_client_config -from google.ads.google_ads.v1.services.transports import media_file_service_grpc_transport -from google.ads.google_ads.v1.proto.services import media_file_service_pb2 +from google.ads.google_ads.v4.services import media_file_service_client_config +from google.ads.google_ads.v4.services.transports import media_file_service_grpc_transport +from google.ads.google_ads.v4.proto.services import media_file_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class MediaFileServiceClient(object): @@ -41,7 +46,8 @@ class MediaFileServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.MediaFileService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.MediaFileService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def media_file_path(cls, customer, media_file): """Return a fully-qualified media_file string.""" @@ -73,12 +80,8 @@ def media_file_path(cls, customer, media_file): media_file=media_file, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = media_file_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=media_file_service_grpc_transport. - MediaFileServiceGrpcTransport, + default_class=media_file_service_grpc_transport.MediaFileServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = media_file_service_grpc_transport.MediaFileServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_media_file(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_media_file( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested media file in full detail. Args: - resource_name (str): The resource name of the media file to fetch. + resource_name (str): Required. The resource name of the media file to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_media_file(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MediaFile` instance. + A :class:`~google.ads.googleads_v4.types.MediaFile` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,47 @@ def get_media_file(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_media_file' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_media_file'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_media_file, - default_retry=self._method_configs['GetMediaFile'].retry, - default_timeout=self._method_configs['GetMediaFile']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_media_file'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_media_file, + default_retry=self._method_configs['GetMediaFile'].retry, + default_timeout=self._method_configs['GetMediaFile'].timeout, + client_info=self._client_info, + ) request = media_file_service_pb2.GetMediaFileRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_media_file']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_media_files(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_media_file'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_media_files( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates media files. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose media files are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.MediaFileOperation]]): The list of operations to perform on individual media file. + customer_id (str): Required. The ID of the customer whose media files are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.MediaFileOperation]]): Required. The list of operations to perform on individual media file. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.MediaFileOperation` + message :class:`~google.ads.googleads_v4.types.MediaFileOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +259,7 @@ def mutate_media_files(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateMediaFilesResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateMediaFilesResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,15 +270,12 @@ def mutate_media_files(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_media_files' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_media_files'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_media_files, - default_retry=self._method_configs['MutateMediaFiles']. - retry, - default_timeout=self._method_configs['MutateMediaFiles']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_media_files'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_media_files, + default_retry=self._method_configs['MutateMediaFiles'].retry, + default_timeout=self._method_configs['MutateMediaFiles'].timeout, + client_info=self._client_info, + ) request = media_file_service_pb2.MutateMediaFilesRequest( customer_id=customer_id, @@ -274,5 +283,15 @@ def mutate_media_files(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_media_files']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_media_files'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/media_file_service_client_config.py b/google/ads/google_ads/v4/services/media_file_service_client_config.py new file mode 100644 index 000000000..459dd737e --- /dev/null +++ b/google/ads/google_ads/v4/services/media_file_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.MediaFileService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetMediaFile": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateMediaFiles": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/merchant_center_link_service_client.py b/google/ads/google_ads/v4/services/merchant_center_link_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/merchant_center_link_service_client.py rename to google/ads/google_ads/v4/services/merchant_center_link_service_client.py index 2d69b667d..35bfa7246 100644 --- a/google/ads/google_ads/v1/services/merchant_center_link_service_client.py +++ b/google/ads/google_ads/v4/services/merchant_center_link_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services MerchantCenterLinkService API.""" + +"""Accesses the google.ads.googleads.v4.services MerchantCenterLinkService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import merchant_center_link_service_client_config -from google.ads.google_ads.v1.services.transports import merchant_center_link_service_grpc_transport -from google.ads.google_ads.v1.proto.services import merchant_center_link_service_pb2 +from google.ads.google_ads.v4.services import merchant_center_link_service_client_config +from google.ads.google_ads.v4.services.transports import merchant_center_link_service_grpc_transport +from google.ads.google_ads.v4.proto.services import merchant_center_link_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class MerchantCenterLinkServiceClient(object): @@ -44,7 +49,8 @@ class MerchantCenterLinkServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.MerchantCenterLinkService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.MerchantCenterLinkService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -67,6 +73,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def merchant_center_link_path(cls, customer, merchant_center_link): """Return a fully-qualified merchant_center_link string.""" @@ -76,12 +83,8 @@ def merchant_center_link_path(cls, customer, merchant_center_link): merchant_center_link=merchant_center_link, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -114,19 +117,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = merchant_center_link_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -135,14 +134,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=merchant_center_link_service_grpc_transport. - MerchantCenterLinkServiceGrpcTransport, + default_class=merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = merchant_center_link_service_grpc_transport.MerchantCenterLinkServiceGrpcTransport( @@ -153,7 +152,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -163,7 +163,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,10 +180,10 @@ def list_merchant_center_links( timeout=google.api_core.gapic_v1.method.DEFAULT, metadata=None): """ - Returns Merchant Center links available tor this customer. + Returns Merchant Center links available for this customer. Args: - customer_id (str): The ID of the customer onto which to apply the Merchant Center link list + customer_id (str): Required. The ID of the customer onto which to apply the Merchant Center link list operation. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not @@ -194,7 +195,7 @@ def list_merchant_center_links( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ListMerchantCenterLinksResponse` instance. + A :class:`~google.ads.googleads_v4.types.ListMerchantCenterLinksResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -205,20 +206,28 @@ def list_merchant_center_links( """ # Wrap the transport method to add retry and timeout logic. if 'list_merchant_center_links' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_merchant_center_links'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_merchant_center_links, - default_retry=self. - _method_configs['ListMerchantCenterLinks'].retry, - default_timeout=self. - _method_configs['ListMerchantCenterLinks'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['list_merchant_center_links'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_merchant_center_links, + default_retry=self._method_configs['ListMerchantCenterLinks'].retry, + default_timeout=self._method_configs['ListMerchantCenterLinks'].timeout, + client_info=self._client_info, + ) request = merchant_center_link_service_pb2.ListMerchantCenterLinksRequest( - customer_id=customer_id, ) - return self._inner_api_calls['list_merchant_center_links']( - request, retry=retry, timeout=timeout, metadata=metadata) + customer_id=customer_id, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['list_merchant_center_links'](request, retry=retry, timeout=timeout, metadata=metadata) def get_merchant_center_link( self, @@ -230,7 +239,7 @@ def get_merchant_center_link( Returns the Merchant Center link in full detail. Args: - resource_name (str): Resource name of the Merchant Center link. + resource_name (str): Required. Resource name of the Merchant Center link. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -241,7 +250,7 @@ def get_merchant_center_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MerchantCenterLink` instance. + A :class:`~google.ads.googleads_v4.types.MerchantCenterLink` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -252,20 +261,28 @@ def get_merchant_center_link( """ # Wrap the transport method to add retry and timeout logic. if 'get_merchant_center_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_merchant_center_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_merchant_center_link, - default_retry=self. - _method_configs['GetMerchantCenterLink'].retry, - default_timeout=self. - _method_configs['GetMerchantCenterLink'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_merchant_center_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_merchant_center_link, + default_retry=self._method_configs['GetMerchantCenterLink'].retry, + default_timeout=self._method_configs['GetMerchantCenterLink'].timeout, + client_info=self._client_info, + ) request = merchant_center_link_service_pb2.GetMerchantCenterLinkRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_merchant_center_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_merchant_center_link'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_merchant_center_link( self, @@ -278,11 +295,11 @@ def mutate_merchant_center_link( Updates status or removes a Merchant Center link. Args: - customer_id (str): The ID of the customer being modified. - operation_ (Union[dict, ~google.ads.googleads_v1.types.MerchantCenterLinkOperation]): The operation to perform on the link + customer_id (str): Required. The ID of the customer being modified. + operation_ (Union[dict, ~google.ads.googleads_v4.types.MerchantCenterLinkOperation]): Required. The operation to perform on the link If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.MerchantCenterLinkOperation` + message :class:`~google.ads.googleads_v4.types.MerchantCenterLinkOperation` retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -293,7 +310,7 @@ def mutate_merchant_center_link( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateMerchantCenterLinkResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateMerchantCenterLinkResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -304,19 +321,26 @@ def mutate_merchant_center_link( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_merchant_center_link' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_merchant_center_link'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_merchant_center_link, - default_retry=self. - _method_configs['MutateMerchantCenterLink'].retry, - default_timeout=self. - _method_configs['MutateMerchantCenterLink'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_merchant_center_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_merchant_center_link, + default_retry=self._method_configs['MutateMerchantCenterLink'].retry, + default_timeout=self._method_configs['MutateMerchantCenterLink'].timeout, + client_info=self._client_info, + ) request = merchant_center_link_service_pb2.MutateMerchantCenterLinkRequest( customer_id=customer_id, operation=operation_, ) - return self._inner_api_calls['mutate_merchant_center_link']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_merchant_center_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/merchant_center_link_service_client_config.py b/google/ads/google_ads/v4/services/merchant_center_link_service_client_config.py new file mode 100644 index 000000000..ee531443a --- /dev/null +++ b/google/ads/google_ads/v4/services/merchant_center_link_service_client_config.py @@ -0,0 +1,41 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.MerchantCenterLinkService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "ListMerchantCenterLinks": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "GetMerchantCenterLink": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateMerchantCenterLink": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.py b/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.py rename to google/ads/google_ads/v4/services/mobile_app_category_constant_service_client.py index 6d97a4a0f..503d7a594 100644 --- a/google/ads/google_ads/v1/services/mobile_app_category_constant_service_client.py +++ b/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services MobileAppCategoryConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services MobileAppCategoryConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import mobile_app_category_constant_service_client_config -from google.ads.google_ads.v1.services.transports import mobile_app_category_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import mobile_app_category_constant_service_pb2 +from google.ads.google_ads.v4.services import mobile_app_category_constant_service_client_config +from google.ads.google_ads.v4.services.transports import mobile_app_category_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import mobile_app_category_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class MobileAppCategoryConstantServiceClient(object): @@ -41,7 +46,8 @@ class MobileAppCategoryConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.MobileAppCategoryConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.MobileAppCategoryConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def mobile_app_category_constant_path(cls, mobile_app_category_constant): """Return a fully-qualified mobile_app_category_constant string.""" @@ -72,12 +79,8 @@ def mobile_app_category_constant_path(cls, mobile_app_category_constant): mobile_app_category_constant=mobile_app_category_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = mobile_app_category_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,15 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - mobile_app_category_constant_service_grpc_transport. - MobileAppCategoryConstantServiceGrpcTransport, + default_class=mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = mobile_app_category_constant_service_grpc_transport.MobileAppCategoryConstantServiceGrpcTransport( @@ -150,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +179,7 @@ def get_mobile_app_category_constant( Returns the requested mobile app category constant. Args: - resource_name (str): Resource name of the mobile app category constant to fetch. + resource_name (str): Required. Resource name of the mobile app category constant to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +190,7 @@ def get_mobile_app_category_constant( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MobileAppCategoryConstant` instance. + A :class:`~google.ads.googleads_v4.types.MobileAppCategoryConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +201,25 @@ def get_mobile_app_category_constant( """ # Wrap the transport method to add retry and timeout logic. if 'get_mobile_app_category_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_mobile_app_category_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_mobile_app_category_constant, - default_retry=self. - _method_configs['GetMobileAppCategoryConstant'].retry, - default_timeout=self. - _method_configs['GetMobileAppCategoryConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_mobile_app_category_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_mobile_app_category_constant, + default_retry=self._method_configs['GetMobileAppCategoryConstant'].retry, + default_timeout=self._method_configs['GetMobileAppCategoryConstant'].timeout, + client_info=self._client_info, + ) request = mobile_app_category_constant_service_pb2.GetMobileAppCategoryConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_mobile_app_category_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_mobile_app_category_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client_config.py b/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client_config.py new file mode 100644 index 000000000..1f790391c --- /dev/null +++ b/google/ads/google_ads/v4/services/mobile_app_category_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.MobileAppCategoryConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetMobileAppCategoryConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/mobile_device_constant_service_client.py b/google/ads/google_ads/v4/services/mobile_device_constant_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/mobile_device_constant_service_client.py rename to google/ads/google_ads/v4/services/mobile_device_constant_service_client.py index 58364f2c6..50fb8e4b5 100644 --- a/google/ads/google_ads/v1/services/mobile_device_constant_service_client.py +++ b/google/ads/google_ads/v4/services/mobile_device_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services MobileDeviceConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services MobileDeviceConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import mobile_device_constant_service_client_config -from google.ads.google_ads.v1.services.transports import mobile_device_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import mobile_device_constant_service_pb2 +from google.ads.google_ads.v4.services import mobile_device_constant_service_client_config +from google.ads.google_ads.v4.services.transports import mobile_device_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import mobile_device_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class MobileDeviceConstantServiceClient(object): @@ -41,7 +46,8 @@ class MobileDeviceConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.MobileDeviceConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.MobileDeviceConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def mobile_device_constant_path(cls, mobile_device_constant): """Return a fully-qualified mobile_device_constant string.""" @@ -72,12 +79,8 @@ def mobile_device_constant_path(cls, mobile_device_constant): mobile_device_constant=mobile_device_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = mobile_device_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=mobile_device_constant_service_grpc_transport - .MobileDeviceConstantServiceGrpcTransport, + default_class=mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = mobile_device_constant_service_grpc_transport.MobileDeviceConstantServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -178,7 +179,7 @@ def get_mobile_device_constant( Returns the requested mobile device constant in full detail. Args: - resource_name (str): Resource name of the mobile device to fetch. + resource_name (str): Required. Resource name of the mobile device to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +190,7 @@ def get_mobile_device_constant( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MobileDeviceConstant` instance. + A :class:`~google.ads.googleads_v4.types.MobileDeviceConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +201,25 @@ def get_mobile_device_constant( """ # Wrap the transport method to add retry and timeout logic. if 'get_mobile_device_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_mobile_device_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_mobile_device_constant, - default_retry=self. - _method_configs['GetMobileDeviceConstant'].retry, - default_timeout=self. - _method_configs['GetMobileDeviceConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_mobile_device_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_mobile_device_constant, + default_retry=self._method_configs['GetMobileDeviceConstant'].retry, + default_timeout=self._method_configs['GetMobileDeviceConstant'].timeout, + client_info=self._client_info, + ) request = mobile_device_constant_service_pb2.GetMobileDeviceConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_mobile_device_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_mobile_device_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/mobile_device_constant_service_client_config.py b/google/ads/google_ads/v4/services/mobile_device_constant_service_client_config.py new file mode 100644 index 000000000..b637eeba4 --- /dev/null +++ b/google/ads/google_ads/v4/services/mobile_device_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.MobileDeviceConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetMobileDeviceConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/offline_user_data_job_service_client.py b/google/ads/google_ads/v4/services/offline_user_data_job_service_client.py new file mode 100644 index 000000000..e762cb5a9 --- /dev/null +++ b/google/ads/google_ads/v4/services/offline_user_data_job_service_client.py @@ -0,0 +1,421 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services OfflineUserDataJobService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.operation +import google.api_core.operations_v1 +import google.api_core.path_template + +from google.ads.google_ads.v4.services import offline_user_data_job_service_client_config +from google.ads.google_ads.v4.services.transports import offline_user_data_job_service_grpc_transport +from google.ads.google_ads.v4.proto.services import offline_user_data_job_service_pb2 +from google.protobuf import empty_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class OfflineUserDataJobServiceClient(object): + """Service to manage offline user data jobs.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.OfflineUserDataJobService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + OfflineUserDataJobServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def offline_user_data_job_path(cls, customer, offline_user_data_job): + """Return a fully-qualified offline_user_data_job string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/offlineUserDataJobs/{offline_user_data_job}', + customer=customer, + offline_user_data_job=offline_user_data_job, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.OfflineUserDataJobServiceGrpcTransport, + Callable[[~.Credentials, type], ~.OfflineUserDataJobServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = offline_user_data_job_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=offline_user_data_job_service_grpc_transport.OfflineUserDataJobServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = offline_user_data_job_service_grpc_transport.OfflineUserDataJobServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def create_offline_user_data_job( + self, + customer_id, + job, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Creates an offline user data job. + + Args: + customer_id (str): Required. The ID of the customer for which to create an offline user data job. + job (Union[dict, ~google.ads.googleads_v4.types.OfflineUserDataJob]): Required. The offline user data job to be created. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.OfflineUserDataJob` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.CreateOfflineUserDataJobResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'create_offline_user_data_job' not in self._inner_api_calls: + self._inner_api_calls['create_offline_user_data_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.create_offline_user_data_job, + default_retry=self._method_configs['CreateOfflineUserDataJob'].retry, + default_timeout=self._method_configs['CreateOfflineUserDataJob'].timeout, + client_info=self._client_info, + ) + + request = offline_user_data_job_service_pb2.CreateOfflineUserDataJobRequest( + customer_id=customer_id, + job=job, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['create_offline_user_data_job'](request, retry=retry, timeout=timeout, metadata=metadata) + + def get_offline_user_data_job( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the offline user data job. + + Args: + resource_name (str): Required. The resource name of the OfflineUserDataJob to get. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.OfflineUserDataJob` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_offline_user_data_job' not in self._inner_api_calls: + self._inner_api_calls['get_offline_user_data_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_offline_user_data_job, + default_retry=self._method_configs['GetOfflineUserDataJob'].retry, + default_timeout=self._method_configs['GetOfflineUserDataJob'].timeout, + client_info=self._client_info, + ) + + request = offline_user_data_job_service_pb2.GetOfflineUserDataJobRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_offline_user_data_job'](request, retry=retry, timeout=timeout, metadata=metadata) + + def add_offline_user_data_job_operations( + self, + resource_name, + enable_partial_failure, + operations, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Adds operations to the offline user data job. + + Args: + resource_name (str): Required. The resource name of the OfflineUserDataJob. + enable_partial_failure (Union[dict, ~google.ads.googleads_v4.types.BoolValue]): True to enable partial failure for the offline user data job. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.BoolValue` + operations (list[Union[dict, ~google.ads.googleads_v4.types.OfflineUserDataJobOperation]]): Required. The list of operations to be done. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.OfflineUserDataJobOperation` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.AddOfflineUserDataJobOperationsResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'add_offline_user_data_job_operations' not in self._inner_api_calls: + self._inner_api_calls['add_offline_user_data_job_operations'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.add_offline_user_data_job_operations, + default_retry=self._method_configs['AddOfflineUserDataJobOperations'].retry, + default_timeout=self._method_configs['AddOfflineUserDataJobOperations'].timeout, + client_info=self._client_info, + ) + + request = offline_user_data_job_service_pb2.AddOfflineUserDataJobOperationsRequest( + resource_name=resource_name, + enable_partial_failure=enable_partial_failure, + operations=operations, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['add_offline_user_data_job_operations'](request, retry=retry, timeout=timeout, metadata=metadata) + + def run_offline_user_data_job( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Runs the offline user data job. + + When finished, the long running operation will contain the processing + result or failure information, if any. + + Args: + resource_name (str): Required. The resource name of the OfflineUserDataJob to run. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types._OperationFuture` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'run_offline_user_data_job' not in self._inner_api_calls: + self._inner_api_calls['run_offline_user_data_job'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.run_offline_user_data_job, + default_retry=self._method_configs['RunOfflineUserDataJob'].retry, + default_timeout=self._method_configs['RunOfflineUserDataJob'].timeout, + client_info=self._client_info, + ) + + request = offline_user_data_job_service_pb2.RunOfflineUserDataJobRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + operation = self._inner_api_calls['run_offline_user_data_job'](request, retry=retry, timeout=timeout, metadata=metadata) + return google.api_core.operation.from_gapic( + operation, + self.transport._operations_client, + empty_pb2.Empty, + metadata_type=empty_pb2.Empty, + ) diff --git a/google/ads/google_ads/v4/services/offline_user_data_job_service_client_config.py b/google/ads/google_ads/v4/services/offline_user_data_job_service_client_config.py new file mode 100644 index 000000000..7d9718714 --- /dev/null +++ b/google/ads/google_ads/v4/services/offline_user_data_job_service_client_config.py @@ -0,0 +1,46 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.OfflineUserDataJobService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "CreateOfflineUserDataJob": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GetOfflineUserDataJob": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "AddOfflineUserDataJobOperations": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "RunOfflineUserDataJob": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/operating_system_version_constant_service_client.py b/google/ads/google_ads/v4/services/operating_system_version_constant_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/operating_system_version_constant_service_client.py rename to google/ads/google_ads/v4/services/operating_system_version_constant_service_client.py index bf017b4cd..4747ffbec 100644 --- a/google/ads/google_ads/v1/services/operating_system_version_constant_service_client.py +++ b/google/ads/google_ads/v4/services/operating_system_version_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services OperatingSystemVersionConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services OperatingSystemVersionConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import operating_system_version_constant_service_client_config -from google.ads.google_ads.v1.services.transports import operating_system_version_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import operating_system_version_constant_service_pb2 +from google.ads.google_ads.v4.services import operating_system_version_constant_service_client_config +from google.ads.google_ads.v4.services.transports import operating_system_version_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import operating_system_version_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class OperatingSystemVersionConstantServiceClient(object): @@ -41,7 +46,8 @@ class OperatingSystemVersionConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.OperatingSystemVersionConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.OperatingSystemVersionConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,21 +70,17 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def operating_system_version_constant_path( - cls, operating_system_version_constant): + def operating_system_version_constant_path(cls, operating_system_version_constant): """Return a fully-qualified operating_system_version_constant string.""" return google.api_core.path_template.expand( 'operatingSystemVersionConstants/{operating_system_version_constant}', operating_system_version_constant=operating_system_version_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = operating_system_version_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,15 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - operating_system_version_constant_service_grpc_transport. - OperatingSystemVersionConstantServiceGrpcTransport, + default_class=operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = operating_system_version_constant_service_grpc_transport.OperatingSystemVersionConstantServiceGrpcTransport( @@ -151,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -161,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -180,7 +179,7 @@ def get_operating_system_version_constant( Returns the requested OS version constant in full detail. Args: - resource_name (str): Resource name of the OS version to fetch. + resource_name (str): Required. Resource name of the OS version to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -191,7 +190,7 @@ def get_operating_system_version_constant( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.OperatingSystemVersionConstant` instance. + A :class:`~google.ads.googleads_v4.types.OperatingSystemVersionConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -202,17 +201,25 @@ def get_operating_system_version_constant( """ # Wrap the transport method to add retry and timeout logic. if 'get_operating_system_version_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_operating_system_version_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_operating_system_version_constant, - default_retry=self. - _method_configs['GetOperatingSystemVersionConstant'].retry, - default_timeout=self._method_configs[ - 'GetOperatingSystemVersionConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_operating_system_version_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_operating_system_version_constant, + default_retry=self._method_configs['GetOperatingSystemVersionConstant'].retry, + default_timeout=self._method_configs['GetOperatingSystemVersionConstant'].timeout, + client_info=self._client_info, + ) request = operating_system_version_constant_service_pb2.GetOperatingSystemVersionConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_operating_system_version_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_operating_system_version_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/operating_system_version_constant_service_client_config.py b/google/ads/google_ads/v4/services/operating_system_version_constant_service_client_config.py new file mode 100644 index 000000000..e14beffca --- /dev/null +++ b/google/ads/google_ads/v4/services/operating_system_version_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.OperatingSystemVersionConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetOperatingSystemVersionConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client.py b/google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client.py rename to google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client.py index 71cf407ab..3a91edbea 100644 --- a/google/ads/google_ads/v1/services/paid_organic_search_term_view_service_client.py +++ b/google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services PaidOrganicSearchTermViewService API.""" + +"""Accesses the google.ads.googleads.v4.services PaidOrganicSearchTermViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import paid_organic_search_term_view_service_client_config -from google.ads.google_ads.v1.services.transports import paid_organic_search_term_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import paid_organic_search_term_view_service_pb2 +from google.ads.google_ads.v4.services import paid_organic_search_term_view_service_client_config +from google.ads.google_ads.v4.services.transports import paid_organic_search_term_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import paid_organic_search_term_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class PaidOrganicSearchTermViewServiceClient(object): @@ -41,7 +46,8 @@ class PaidOrganicSearchTermViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.PaidOrganicSearchTermViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.PaidOrganicSearchTermViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,9 +70,9 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def paid_organic_search_term_view_path(cls, customer, - paid_organic_search_term_view): + def paid_organic_search_term_view_path(cls, customer, paid_organic_search_term_view): """Return a fully-qualified paid_organic_search_term_view string.""" return google.api_core.path_template.expand( 'customers/{customer}/paidOrganicSearchTermViews/{paid_organic_search_term_view}', @@ -74,12 +80,8 @@ def paid_organic_search_term_view_path(cls, customer, paid_organic_search_term_view=paid_organic_search_term_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -112,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = paid_organic_search_term_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -133,15 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - paid_organic_search_term_view_service_grpc_transport. - PaidOrganicSearchTermViewServiceGrpcTransport, + default_class=paid_organic_search_term_view_service_grpc_transport.PaidOrganicSearchTermViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = paid_organic_search_term_view_service_grpc_transport.PaidOrganicSearchTermViewServiceGrpcTransport( @@ -152,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -162,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -181,7 +180,7 @@ def get_paid_organic_search_term_view( Returns the requested paid organic search term view in full detail. Args: - resource_name (str): The resource name of the paid organic search term view to fetch. + resource_name (str): Required. The resource name of the paid organic search term view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -192,7 +191,7 @@ def get_paid_organic_search_term_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.PaidOrganicSearchTermView` instance. + A :class:`~google.ads.googleads_v4.types.PaidOrganicSearchTermView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -203,17 +202,25 @@ def get_paid_organic_search_term_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_paid_organic_search_term_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_paid_organic_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_paid_organic_search_term_view, - default_retry=self. - _method_configs['GetPaidOrganicSearchTermView'].retry, - default_timeout=self. - _method_configs['GetPaidOrganicSearchTermView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_paid_organic_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_paid_organic_search_term_view, + default_retry=self._method_configs['GetPaidOrganicSearchTermView'].retry, + default_timeout=self._method_configs['GetPaidOrganicSearchTermView'].timeout, + client_info=self._client_info, + ) request = paid_organic_search_term_view_service_pb2.GetPaidOrganicSearchTermViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_paid_organic_search_term_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_paid_organic_search_term_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client_config.py b/google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client_config.py new file mode 100644 index 000000000..64afb8a9f --- /dev/null +++ b/google/ads/google_ads/v4/services/paid_organic_search_term_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.PaidOrganicSearchTermViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetPaidOrganicSearchTermView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/parental_status_view_service_client.py b/google/ads/google_ads/v4/services/parental_status_view_service_client.py similarity index 78% rename from google/ads/google_ads/v1/services/parental_status_view_service_client.py rename to google/ads/google_ads/v4/services/parental_status_view_service_client.py index 366fed9e0..fb51d7673 100644 --- a/google/ads/google_ads/v1/services/parental_status_view_service_client.py +++ b/google/ads/google_ads/v4/services/parental_status_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ParentalStatusViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ParentalStatusViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import parental_status_view_service_client_config -from google.ads.google_ads.v1.services.transports import parental_status_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import parental_status_view_service_pb2 +from google.ads.google_ads.v4.services import parental_status_view_service_client_config +from google.ads.google_ads.v4.services.transports import parental_status_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import parental_status_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ParentalStatusViewServiceClient(object): @@ -41,7 +46,8 @@ class ParentalStatusViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ParentalStatusViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ParentalStatusViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def parental_status_view_path(cls, customer, parental_status_view): """Return a fully-qualified parental_status_view string.""" @@ -73,12 +80,8 @@ def parental_status_view_path(cls, customer, parental_status_view): parental_status_view=parental_status_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = parental_status_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=parental_status_view_service_grpc_transport. - ParentalStatusViewServiceGrpcTransport, + default_class=parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = parental_status_view_service_grpc_transport.ParentalStatusViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +180,7 @@ def get_parental_status_view( Returns the requested parental status view in full detail. Args: - resource_name (str): The resource name of the parental status view to fetch. + resource_name (str): Required. The resource name of the parental status view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +191,7 @@ def get_parental_status_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ParentalStatusView` instance. + A :class:`~google.ads.googleads_v4.types.ParentalStatusView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +202,25 @@ def get_parental_status_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_parental_status_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_parental_status_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_parental_status_view, - default_retry=self. - _method_configs['GetParentalStatusView'].retry, - default_timeout=self. - _method_configs['GetParentalStatusView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_parental_status_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_parental_status_view, + default_retry=self._method_configs['GetParentalStatusView'].retry, + default_timeout=self._method_configs['GetParentalStatusView'].timeout, + client_info=self._client_info, + ) request = parental_status_view_service_pb2.GetParentalStatusViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_parental_status_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_parental_status_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/parental_status_view_service_client_config.py b/google/ads/google_ads/v4/services/parental_status_view_service_client_config.py new file mode 100644 index 000000000..ee9db0308 --- /dev/null +++ b/google/ads/google_ads/v4/services/parental_status_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ParentalStatusViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetParentalStatusView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/payments_account_service_client.py b/google/ads/google_ads/v4/services/payments_account_service_client.py similarity index 74% rename from google/ads/google_ads/v1/services/payments_account_service_client.py rename to google/ads/google_ads/v4/services/payments_account_service_client.py index 5f630c573..8beca1870 100644 --- a/google/ads/google_ads/v1/services/payments_account_service_client.py +++ b/google/ads/google_ads/v4/services/payments_account_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services PaymentsAccountService API.""" + +"""Accesses the google.ads.googleads.v4.services PaymentsAccountService API.""" import pkg_resources import warnings @@ -22,19 +23,23 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers -from google.ads.google_ads.v1.services import payments_account_service_client_config -from google.ads.google_ads.v1.services.transports import payments_account_service_grpc_transport -from google.ads.google_ads.v1.proto.services import payments_account_service_pb2 +from google.ads.google_ads.v4.services import payments_account_service_client_config +from google.ads.google_ads.v4.services.transports import payments_account_service_grpc_transport +from google.ads.google_ads.v4.proto.services import payments_account_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class PaymentsAccountServiceClient(object): """ - Service to provide Payments accounts that can be used to set up consolidated + Service to provide payments accounts that can be used to set up consolidated billing. """ @@ -43,7 +48,8 @@ class PaymentsAccountServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.PaymentsAccountService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.PaymentsAccountService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -66,12 +72,8 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -104,19 +106,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = payments_account_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -125,14 +123,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=payments_account_service_grpc_transport. - PaymentsAccountServiceGrpcTransport, + default_class=payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = payments_account_service_grpc_transport.PaymentsAccountServiceGrpcTransport( @@ -143,7 +141,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -153,7 +152,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -162,18 +162,19 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def list_payments_accounts(self, - customer_id, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def list_payments_accounts( + self, + customer_id, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ - Returns all Payments accounts associated with all managers + Returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive. Args: - customer_id (str): The ID of the customer to apply the PaymentsAccount list operation to. + customer_id (str): Required. The ID of the customer to apply the PaymentsAccount list operation to. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -184,7 +185,7 @@ def list_payments_accounts(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ListPaymentsAccountsResponse` instance. + A :class:`~google.ads.googleads_v4.types.ListPaymentsAccountsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -195,17 +196,25 @@ def list_payments_accounts(self, """ # Wrap the transport method to add retry and timeout logic. if 'list_payments_accounts' not in self._inner_api_calls: - self._inner_api_calls[ - 'list_payments_accounts'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.list_payments_accounts, - default_retry=self._method_configs['ListPaymentsAccounts']. - retry, - default_timeout=self. - _method_configs['ListPaymentsAccounts'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['list_payments_accounts'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_payments_accounts, + default_retry=self._method_configs['ListPaymentsAccounts'].retry, + default_timeout=self._method_configs['ListPaymentsAccounts'].timeout, + client_info=self._client_info, + ) request = payments_account_service_pb2.ListPaymentsAccountsRequest( - customer_id=customer_id, ) - return self._inner_api_calls['list_payments_accounts']( - request, retry=retry, timeout=timeout, metadata=metadata) + customer_id=customer_id, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['list_payments_accounts'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/payments_account_service_client_config.py b/google/ads/google_ads/v4/services/payments_account_service_client_config.py new file mode 100644 index 000000000..683c03581 --- /dev/null +++ b/google/ads/google_ads/v4/services/payments_account_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.PaymentsAccountService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "ListPaymentsAccounts": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.py b/google/ads/google_ads/v4/services/product_bidding_category_constant_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.py rename to google/ads/google_ads/v4/services/product_bidding_category_constant_service_client.py index b08d53ea4..65b4ffce5 100644 --- a/google/ads/google_ads/v1/services/product_bidding_category_constant_service_client.py +++ b/google/ads/google_ads/v4/services/product_bidding_category_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ProductBiddingCategoryConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services ProductBiddingCategoryConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import product_bidding_category_constant_service_client_config -from google.ads.google_ads.v1.services.transports import product_bidding_category_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import product_bidding_category_constant_service_pb2 +from google.ads.google_ads.v4.services import product_bidding_category_constant_service_client_config +from google.ads.google_ads.v4.services.transports import product_bidding_category_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import product_bidding_category_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ProductBiddingCategoryConstantServiceClient(object): @@ -41,7 +46,8 @@ class ProductBiddingCategoryConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ProductBiddingCategoryConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ProductBiddingCategoryConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,21 +70,17 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod - def product_bidding_category_constant_path( - cls, product_bidding_category_constant): + def product_bidding_category_constant_path(cls, product_bidding_category_constant): """Return a fully-qualified product_bidding_category_constant string.""" return google.api_core.path_template.expand( 'productBiddingCategoryConstants/{product_bidding_category_constant}', product_bidding_category_constant=product_bidding_category_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = product_bidding_category_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,15 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - product_bidding_category_constant_service_grpc_transport. - ProductBiddingCategoryConstantServiceGrpcTransport, + default_class=product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = product_bidding_category_constant_service_grpc_transport.ProductBiddingCategoryConstantServiceGrpcTransport( @@ -151,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -161,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -180,7 +179,7 @@ def get_product_bidding_category_constant( Returns the requested Product Bidding Category in full detail. Args: - resource_name (str): Resource name of the Product Bidding Category to fetch. + resource_name (str): Required. Resource name of the Product Bidding Category to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -191,7 +190,7 @@ def get_product_bidding_category_constant( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ProductBiddingCategoryConstant` instance. + A :class:`~google.ads.googleads_v4.types.ProductBiddingCategoryConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -202,17 +201,25 @@ def get_product_bidding_category_constant( """ # Wrap the transport method to add retry and timeout logic. if 'get_product_bidding_category_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_product_bidding_category_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_product_bidding_category_constant, - default_retry=self. - _method_configs['GetProductBiddingCategoryConstant'].retry, - default_timeout=self._method_configs[ - 'GetProductBiddingCategoryConstant'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_product_bidding_category_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_product_bidding_category_constant, + default_retry=self._method_configs['GetProductBiddingCategoryConstant'].retry, + default_timeout=self._method_configs['GetProductBiddingCategoryConstant'].timeout, + client_info=self._client_info, + ) request = product_bidding_category_constant_service_pb2.GetProductBiddingCategoryConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_product_bidding_category_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_product_bidding_category_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/product_bidding_category_constant_service_client_config.py b/google/ads/google_ads/v4/services/product_bidding_category_constant_service_client_config.py new file mode 100644 index 000000000..13df3b2e9 --- /dev/null +++ b/google/ads/google_ads/v4/services/product_bidding_category_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ProductBiddingCategoryConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetProductBiddingCategoryConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/product_group_view_service_client.py b/google/ads/google_ads/v4/services/product_group_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/product_group_view_service_client.py rename to google/ads/google_ads/v4/services/product_group_view_service_client.py index 072c4d21b..fd3aa9fe9 100644 --- a/google/ads/google_ads/v1/services/product_group_view_service_client.py +++ b/google/ads/google_ads/v4/services/product_group_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ProductGroupViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ProductGroupViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import product_group_view_service_client_config -from google.ads.google_ads.v1.services.transports import product_group_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import product_group_view_service_pb2 +from google.ads.google_ads.v4.services import product_group_view_service_client_config +from google.ads.google_ads.v4.services.transports import product_group_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import product_group_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ProductGroupViewServiceClient(object): @@ -41,7 +46,8 @@ class ProductGroupViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ProductGroupViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ProductGroupViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def product_group_view_path(cls, customer, product_group_view): """Return a fully-qualified product_group_view string.""" @@ -73,12 +80,8 @@ def product_group_view_path(cls, customer, product_group_view): product_group_view=product_group_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = product_group_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=product_group_view_service_grpc_transport. - ProductGroupViewServiceGrpcTransport, + default_class=product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = product_group_view_service_grpc_transport.ProductGroupViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_product_group_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_product_group_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested product group view in full detail. Args: - resource_name (str): The resource name of the product group view to fetch. + resource_name (str): Required. The resource name of the product group view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_product_group_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ProductGroupView` instance. + A :class:`~google.ads.googleads_v4.types.ProductGroupView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_product_group_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_product_group_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_product_group_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_product_group_view, - default_retry=self._method_configs['GetProductGroupView']. - retry, - default_timeout=self. - _method_configs['GetProductGroupView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_product_group_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_product_group_view, + default_retry=self._method_configs['GetProductGroupView'].retry, + default_timeout=self._method_configs['GetProductGroupView'].timeout, + client_info=self._client_info, + ) request = product_group_view_service_pb2.GetProductGroupViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_product_group_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_product_group_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/product_group_view_service_client_config.py b/google/ads/google_ads/v4/services/product_group_view_service_client_config.py new file mode 100644 index 000000000..9646a29d5 --- /dev/null +++ b/google/ads/google_ads/v4/services/product_group_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ProductGroupViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetProductGroupView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/reach_plan_service_client.py b/google/ads/google_ads/v4/services/reach_plan_service_client.py new file mode 100644 index 000000000..0b1c356e0 --- /dev/null +++ b/google/ads/google_ads/v4/services/reach_plan_service_client.py @@ -0,0 +1,462 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services ReachPlanService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.services import reach_plan_service_client_config +from google.ads.google_ads.v4.services.transports import reach_plan_service_grpc_transport +from google.ads.google_ads.v4.proto.services import reach_plan_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class ReachPlanServiceClient(object): + """ + Reach Plan Service gives users information about audience size that can + be reached through advertisement on YouTube. In particular, + GenerateReachForecast provides estimated number of people of specified + demographics that can be reached by an ad in a given market by a campaign of + certain duration with a defined budget. + """ + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ReachPlanService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + ReachPlanServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.ReachPlanServiceGrpcTransport, + Callable[[~.Credentials, type], ~.ReachPlanServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = reach_plan_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=reach_plan_service_grpc_transport.ReachPlanServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = reach_plan_service_grpc_transport.ReachPlanServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def list_plannable_locations( + self, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the list of plannable locations (for example, countries & DMAs). + + Args: + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.ListPlannableLocationsResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + """ + # Wrap the transport method to add retry and timeout logic. + if 'list_plannable_locations' not in self._inner_api_calls: + self._inner_api_calls['list_plannable_locations'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_plannable_locations, + default_retry=self._method_configs['ListPlannableLocations'].retry, + default_timeout=self._method_configs['ListPlannableLocations'].timeout, + client_info=self._client_info, + ) + + request = reach_plan_service_pb2.ListPlannableLocationsRequest() + return self._inner_api_calls['list_plannable_locations'](request, retry=retry, timeout=timeout, metadata=metadata) + + def list_plannable_products( + self, + plannable_location_id, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the list of per-location plannable YouTube ad formats with allowed + targeting. + + Args: + plannable_location_id (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Required. The ID of the selected location for planning. To list the available + plannable location ids use ListPlannableLocations. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.StringValue` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.ListPlannableProductsResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'list_plannable_products' not in self._inner_api_calls: + self._inner_api_calls['list_plannable_products'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.list_plannable_products, + default_retry=self._method_configs['ListPlannableProducts'].retry, + default_timeout=self._method_configs['ListPlannableProducts'].timeout, + client_info=self._client_info, + ) + + request = reach_plan_service_pb2.ListPlannableProductsRequest( + plannable_location_id=plannable_location_id, + ) + return self._inner_api_calls['list_plannable_products'](request, retry=retry, timeout=timeout, metadata=metadata) + + def generate_product_mix_ideas( + self, + customer_id, + plannable_location_id, + currency_code, + budget_micros, + preferences, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Generates a product mix ideas given a set of preferences. This method + helps the advertiser to obtain a good mix of ad formats and budget + allocations based on its preferences. + + Args: + customer_id (str): Required. The ID of the customer. + plannable_location_id (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Required. The ID of the location, this is one of the ids returned by + ListPlannableLocations. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.StringValue` + currency_code (Union[dict, ~google.ads.googleads_v4.types.StringValue]): Required. Currency code. + Three-character ISO 4217 currency code. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.StringValue` + budget_micros (Union[dict, ~google.ads.googleads_v4.types.Int64Value]): Required. Total budget. + Amount in micros. One million is equivalent to one unit. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.Int64Value` + preferences (Union[dict, ~google.ads.googleads_v4.types.Preferences]): The preferences of the suggested product mix. + An unset preference is interpreted as all possible values are allowed, + unless explicitly specified. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.Preferences` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.GenerateProductMixIdeasResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'generate_product_mix_ideas' not in self._inner_api_calls: + self._inner_api_calls['generate_product_mix_ideas'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_product_mix_ideas, + default_retry=self._method_configs['GenerateProductMixIdeas'].retry, + default_timeout=self._method_configs['GenerateProductMixIdeas'].timeout, + client_info=self._client_info, + ) + + request = reach_plan_service_pb2.GenerateProductMixIdeasRequest( + customer_id=customer_id, + plannable_location_id=plannable_location_id, + currency_code=currency_code, + budget_micros=budget_micros, + preferences=preferences, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['generate_product_mix_ideas'](request, retry=retry, timeout=timeout, metadata=metadata) + + def generate_reach_forecast( + self, + customer_id, + currency_code, + campaign_duration, + cookie_frequency_cap, + cookie_frequency_cap_setting, + min_effective_frequency, + targeting, + planned_products, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Generates a reach forecast for a given targeting / product mix. + + Args: + customer_id (str): Required. The ID of the customer. + currency_code (Union[dict, ~google.ads.googleads_v4.types.StringValue]): The currency code. + Three-character ISO 4217 currency code. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.StringValue` + campaign_duration (Union[dict, ~google.ads.googleads_v4.types.CampaignDuration]): Required. Campaign duration. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.CampaignDuration` + cookie_frequency_cap (Union[dict, ~google.ads.googleads_v4.types.Int32Value]): Desired cookie frequency cap that will be applied to each planned + product. This is equivalent to the frequency cap exposed in Google Ads + when creating a campaign, it represents the maximum number of times an + ad can be shown to the same user. If not specified no cap is applied. + + This field is deprecated in v4 and will eventually be removed. Please + use cookie\_frequency\_cap\_setting instead. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.Int32Value` + cookie_frequency_cap_setting (Union[dict, ~google.ads.googleads_v4.types.FrequencyCap]): Desired cookie frequency cap that will be applied to each planned + product. This is equivalent to the frequency cap exposed in Google Ads + when creating a campaign, it represents the maximum number of times an + ad can be shown to the same user during a specified time interval. If + not specified, no cap is applied. + + This field replaces the deprecated cookie\_frequency\_cap field. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.FrequencyCap` + min_effective_frequency (Union[dict, ~google.ads.googleads_v4.types.Int32Value]): Desired minimum effective frequency (the number of times a person was + exposed to the ad) for the reported reach metrics [1-10]. This won't + affect the targeting, but just the reporting. If not specified, a + default of 1 is applied. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.Int32Value` + targeting (Union[dict, ~google.ads.googleads_v4.types.Targeting]): The targeting to be applied to all products selected in the product mix. + + This is planned targeting: execution details might vary based on the + advertising product, please consult an implementation specialist. + + See specific metrics for details on how targeting affects them. + + In some cases, targeting may be overridden using the + PlannedProduct.advanced\_product\_targeting field. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.Targeting` + planned_products (list[Union[dict, ~google.ads.googleads_v4.types.PlannedProduct]]): Required. The products to be forecast. + The max number of allowed planned products is 15. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.PlannedProduct` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.GenerateReachForecastResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'generate_reach_forecast' not in self._inner_api_calls: + self._inner_api_calls['generate_reach_forecast'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.generate_reach_forecast, + default_retry=self._method_configs['GenerateReachForecast'].retry, + default_timeout=self._method_configs['GenerateReachForecast'].timeout, + client_info=self._client_info, + ) + + request = reach_plan_service_pb2.GenerateReachForecastRequest( + customer_id=customer_id, + currency_code=currency_code, + campaign_duration=campaign_duration, + cookie_frequency_cap=cookie_frequency_cap, + cookie_frequency_cap_setting=cookie_frequency_cap_setting, + min_effective_frequency=min_effective_frequency, + targeting=targeting, + planned_products=planned_products, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['generate_reach_forecast'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/reach_plan_service_client_config.py b/google/ads/google_ads/v4/services/reach_plan_service_client_config.py new file mode 100644 index 000000000..7da209ded --- /dev/null +++ b/google/ads/google_ads/v4/services/reach_plan_service_client_config.py @@ -0,0 +1,46 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ReachPlanService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "ListPlannableLocations": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "ListPlannableProducts": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GenerateProductMixIdeas": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "GenerateReachForecast": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/recommendation_service_client.py b/google/ads/google_ads/v4/services/recommendation_service_client.py similarity index 68% rename from google/ads/google_ads/v1/services/recommendation_service_client.py rename to google/ads/google_ads/v4/services/recommendation_service_client.py index 3ce9bba63..070dba264 100644 --- a/google/ads/google_ads/v1/services/recommendation_service_client.py +++ b/google/ads/google_ads/v4/services/recommendation_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services RecommendationService API.""" + +"""Accesses the google.ads.googleads.v4.services RecommendationService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import recommendation_service_client_config -from google.ads.google_ads.v1.services.transports import recommendation_service_grpc_transport -from google.ads.google_ads.v1.proto.services import recommendation_service_pb2 +from google.ads.google_ads.v4.services import recommendation_service_client_config +from google.ads.google_ads.v4.services.transports import recommendation_service_grpc_transport +from google.ads.google_ads.v4.proto.services import recommendation_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class RecommendationServiceClient(object): @@ -41,7 +46,8 @@ class RecommendationServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.RecommendationService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.RecommendationService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def recommendation_path(cls, customer, recommendation): """Return a fully-qualified recommendation string.""" @@ -73,12 +80,8 @@ def recommendation_path(cls, customer, recommendation): recommendation=recommendation, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = recommendation_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=recommendation_service_grpc_transport. - RecommendationServiceGrpcTransport, + default_class=recommendation_service_grpc_transport.RecommendationServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = recommendation_service_grpc_transport.RecommendationServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_recommendation(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_recommendation( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested recommendation in full detail. Args: - resource_name (str): The resource name of the recommendation to fetch. + resource_name (str): Required. The resource name of the recommendation to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_recommendation(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Recommendation` instance. + A :class:`~google.ads.googleads_v4.types.Recommendation` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,39 +202,48 @@ def get_recommendation(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_recommendation' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_recommendation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_recommendation, - default_retry=self._method_configs['GetRecommendation']. - retry, - default_timeout=self._method_configs['GetRecommendation']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_recommendation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_recommendation, + default_retry=self._method_configs['GetRecommendation'].retry, + default_timeout=self._method_configs['GetRecommendation'].timeout, + client_info=self._client_info, + ) request = recommendation_service_pb2.GetRecommendationRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_recommendation']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def apply_recommendation(self, - customer_id, - operations, - partial_failure=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_recommendation'](request, retry=retry, timeout=timeout, metadata=metadata) + + def apply_recommendation( + self, + customer_id, + operations, + partial_failure=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Applies given recommendations with corresponding apply parameters. Args: - customer_id (str): The ID of the customer with the recommendation. - operations (list[Union[dict, ~google.ads.googleads_v1.types.ApplyRecommendationOperation]]): The list of operations to apply recommendations. If + customer_id (str): Required. The ID of the customer with the recommendation. + operations (list[Union[dict, ~google.ads.googleads_v4.types.ApplyRecommendationOperation]]): Required. The list of operations to apply recommendations. If partial\_failure=false all recommendations should be of the same type There is a limit of 100 operations per request. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.ApplyRecommendationOperation` + message :class:`~google.ads.googleads_v4.types.ApplyRecommendationOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, operations will be carried out as a transaction if and only if they are all valid. @@ -247,7 +258,7 @@ def apply_recommendation(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ApplyRecommendationResponse` instance. + A :class:`~google.ads.googleads_v4.types.ApplyRecommendationResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,42 +269,50 @@ def apply_recommendation(self, """ # Wrap the transport method to add retry and timeout logic. if 'apply_recommendation' not in self._inner_api_calls: - self._inner_api_calls[ - 'apply_recommendation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.apply_recommendation, - default_retry=self._method_configs['ApplyRecommendation']. - retry, - default_timeout=self. - _method_configs['ApplyRecommendation'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['apply_recommendation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.apply_recommendation, + default_retry=self._method_configs['ApplyRecommendation'].retry, + default_timeout=self._method_configs['ApplyRecommendation'].timeout, + client_info=self._client_info, + ) request = recommendation_service_pb2.ApplyRecommendationRequest( customer_id=customer_id, operations=operations, partial_failure=partial_failure, ) - return self._inner_api_calls['apply_recommendation']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def dismiss_recommendation(self, - customer_id, - operations, - partial_failure=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['apply_recommendation'](request, retry=retry, timeout=timeout, metadata=metadata) + + def dismiss_recommendation( + self, + customer_id, + operations, + partial_failure=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Dismisses given recommendations. Args: - customer_id (str): The ID of the customer with the recommendation. - operations (list[Union[dict, ~google.ads.googleads_v1.types.DismissRecommendationOperation]]): The list of operations to dismiss recommendations. If + customer_id (str): Required. The ID of the customer with the recommendation. + operations (list[Union[dict, ~google.ads.googleads_v4.types.DismissRecommendationOperation]]): Required. The list of operations to dismiss recommendations. If partial\_failure=false all recommendations should be of the same type There is a limit of 100 operations per request. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.DismissRecommendationOperation` + message :class:`~google.ads.googleads_v4.types.DismissRecommendationOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, operations will be carried in a single transaction if and only if they are all valid. @@ -308,7 +327,7 @@ def dismiss_recommendation(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.DismissRecommendationResponse` instance. + A :class:`~google.ads.googleads_v4.types.DismissRecommendationResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -319,20 +338,27 @@ def dismiss_recommendation(self, """ # Wrap the transport method to add retry and timeout logic. if 'dismiss_recommendation' not in self._inner_api_calls: - self._inner_api_calls[ - 'dismiss_recommendation'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.dismiss_recommendation, - default_retry=self. - _method_configs['DismissRecommendation'].retry, - default_timeout=self. - _method_configs['DismissRecommendation'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['dismiss_recommendation'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.dismiss_recommendation, + default_retry=self._method_configs['DismissRecommendation'].retry, + default_timeout=self._method_configs['DismissRecommendation'].timeout, + client_info=self._client_info, + ) request = recommendation_service_pb2.DismissRecommendationRequest( customer_id=customer_id, operations=operations, partial_failure=partial_failure, ) - return self._inner_api_calls['dismiss_recommendation']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['dismiss_recommendation'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/recommendation_service_client_config.py b/google/ads/google_ads/v4/services/recommendation_service_client_config.py new file mode 100644 index 000000000..dfcfe482c --- /dev/null +++ b/google/ads/google_ads/v4/services/recommendation_service_client_config.py @@ -0,0 +1,41 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.RecommendationService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetRecommendation": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "ApplyRecommendation": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + }, + "DismissRecommendation": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/remarketing_action_service_client.py b/google/ads/google_ads/v4/services/remarketing_action_service_client.py similarity index 73% rename from google/ads/google_ads/v1/services/remarketing_action_service_client.py rename to google/ads/google_ads/v4/services/remarketing_action_service_client.py index cf1a8474c..be6f1d601 100644 --- a/google/ads/google_ads/v1/services/remarketing_action_service_client.py +++ b/google/ads/google_ads/v4/services/remarketing_action_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services RemarketingActionService API.""" + +"""Accesses the google.ads.googleads.v4.services RemarketingActionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import remarketing_action_service_client_config -from google.ads.google_ads.v1.services.transports import remarketing_action_service_grpc_transport -from google.ads.google_ads.v1.proto.services import remarketing_action_service_pb2 +from google.ads.google_ads.v4.services import remarketing_action_service_client_config +from google.ads.google_ads.v4.services.transports import remarketing_action_service_grpc_transport +from google.ads.google_ads.v4.proto.services import remarketing_action_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class RemarketingActionServiceClient(object): @@ -41,7 +46,8 @@ class RemarketingActionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.RemarketingActionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.RemarketingActionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def remarketing_action_path(cls, customer, remarketing_action): """Return a fully-qualified remarketing_action string.""" @@ -73,12 +80,8 @@ def remarketing_action_path(cls, customer, remarketing_action): remarketing_action=remarketing_action, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = remarketing_action_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=remarketing_action_service_grpc_transport. - RemarketingActionServiceGrpcTransport, + default_class=remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = remarketing_action_service_grpc_transport.RemarketingActionServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_remarketing_action(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_remarketing_action( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested remarketing action in full detail. Args: - resource_name (str): The resource name of the remarketing action to fetch. + resource_name (str): Required. The resource name of the remarketing action to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_remarketing_action(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.RemarketingAction` instance. + A :class:`~google.ads.googleads_v4.types.RemarketingAction` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,20 +202,28 @@ def get_remarketing_action(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_remarketing_action' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_remarketing_action'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_remarketing_action, - default_retry=self._method_configs['GetRemarketingAction']. - retry, - default_timeout=self. - _method_configs['GetRemarketingAction'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_remarketing_action'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_remarketing_action, + default_retry=self._method_configs['GetRemarketingAction'].retry, + default_timeout=self._method_configs['GetRemarketingAction'].timeout, + client_info=self._client_info, + ) request = remarketing_action_service_pb2.GetRemarketingActionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_remarketing_action']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_remarketing_action'](request, retry=retry, timeout=timeout, metadata=metadata) def mutate_remarketing_actions( self, @@ -228,11 +238,11 @@ def mutate_remarketing_actions( Creates or updates remarketing actions. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose remarketing actions are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.RemarketingActionOperation]]): The list of operations to perform on individual remarketing actions. + customer_id (str): Required. The ID of the customer whose remarketing actions are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.RemarketingActionOperation]]): Required. The list of operations to perform on individual remarketing actions. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.RemarketingActionOperation` + message :class:`~google.ads.googleads_v4.types.RemarketingActionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -249,7 +259,7 @@ def mutate_remarketing_actions( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateRemarketingActionsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateRemarketingActionsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -260,15 +270,12 @@ def mutate_remarketing_actions( """ # Wrap the transport method to add retry and timeout logic. if 'mutate_remarketing_actions' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_remarketing_actions'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_remarketing_actions, - default_retry=self. - _method_configs['MutateRemarketingActions'].retry, - default_timeout=self. - _method_configs['MutateRemarketingActions'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_remarketing_actions'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_remarketing_actions, + default_retry=self._method_configs['MutateRemarketingActions'].retry, + default_timeout=self._method_configs['MutateRemarketingActions'].timeout, + client_info=self._client_info, + ) request = remarketing_action_service_pb2.MutateRemarketingActionsRequest( customer_id=customer_id, @@ -276,5 +283,15 @@ def mutate_remarketing_actions( partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_remarketing_actions']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_remarketing_actions'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/remarketing_action_service_client_config.py b/google/ads/google_ads/v4/services/remarketing_action_service_client_config.py new file mode 100644 index 000000000..09c3cb56d --- /dev/null +++ b/google/ads/google_ads/v4/services/remarketing_action_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.RemarketingActionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetRemarketingAction": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateRemarketingActions": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/search_term_view_service_client.py b/google/ads/google_ads/v4/services/search_term_view_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/search_term_view_service_client.py rename to google/ads/google_ads/v4/services/search_term_view_service_client.py index fa3453753..6e723cbbe 100644 --- a/google/ads/google_ads/v1/services/search_term_view_service_client.py +++ b/google/ads/google_ads/v4/services/search_term_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services SearchTermViewService API.""" + +"""Accesses the google.ads.googleads.v4.services SearchTermViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import search_term_view_service_client_config -from google.ads.google_ads.v1.services.transports import search_term_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import search_term_view_service_pb2 +from google.ads.google_ads.v4.services import search_term_view_service_client_config +from google.ads.google_ads.v4.services.transports import search_term_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import search_term_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class SearchTermViewServiceClient(object): @@ -41,7 +46,8 @@ class SearchTermViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.SearchTermViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.SearchTermViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def search_term_view_path(cls, customer, search_term_view): """Return a fully-qualified search_term_view string.""" @@ -73,12 +80,8 @@ def search_term_view_path(cls, customer, search_term_view): search_term_view=search_term_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = search_term_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=search_term_view_service_grpc_transport. - SearchTermViewServiceGrpcTransport, + default_class=search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = search_term_view_service_grpc_transport.SearchTermViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_search_term_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_search_term_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the attributes of the requested search term view. Args: - resource_name (str): The resource name of the search term view to fetch. + resource_name (str): Required. The resource name of the search term view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_search_term_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.SearchTermView` instance. + A :class:`~google.ads.googleads_v4.types.SearchTermView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_search_term_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_search_term_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_search_term_view, - default_retry=self._method_configs['GetSearchTermView']. - retry, - default_timeout=self._method_configs['GetSearchTermView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_search_term_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_search_term_view, + default_retry=self._method_configs['GetSearchTermView'].retry, + default_timeout=self._method_configs['GetSearchTermView'].timeout, + client_info=self._client_info, + ) request = search_term_view_service_pb2.GetSearchTermViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_search_term_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_search_term_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/search_term_view_service_client_config.py b/google/ads/google_ads/v4/services/search_term_view_service_client_config.py new file mode 100644 index 000000000..5ea99e728 --- /dev/null +++ b/google/ads/google_ads/v4/services/search_term_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.SearchTermViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetSearchTermView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/shared_criterion_service_client.py b/google/ads/google_ads/v4/services/shared_criterion_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/shared_criterion_service_client.py rename to google/ads/google_ads/v4/services/shared_criterion_service_client.py index 4eaba0d7e..63b3ff585 100644 --- a/google/ads/google_ads/v1/services/shared_criterion_service_client.py +++ b/google/ads/google_ads/v4/services/shared_criterion_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services SharedCriterionService API.""" + +"""Accesses the google.ads.googleads.v4.services SharedCriterionService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import shared_criterion_service_client_config -from google.ads.google_ads.v1.services.transports import shared_criterion_service_grpc_transport -from google.ads.google_ads.v1.proto.services import shared_criterion_service_pb2 +from google.ads.google_ads.v4.services import shared_criterion_service_client_config +from google.ads.google_ads.v4.services.transports import shared_criterion_service_grpc_transport +from google.ads.google_ads.v4.proto.services import shared_criterion_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class SharedCriterionServiceClient(object): @@ -41,7 +46,8 @@ class SharedCriterionServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.SharedCriterionService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.SharedCriterionService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def shared_criteria_path(cls, customer, shared_criteria): """Return a fully-qualified shared_criteria string.""" @@ -73,12 +80,8 @@ def shared_criteria_path(cls, customer, shared_criteria): shared_criteria=shared_criteria, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = shared_criterion_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=shared_criterion_service_grpc_transport. - SharedCriterionServiceGrpcTransport, + default_class=shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = shared_criterion_service_grpc_transport.SharedCriterionServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_shared_criterion(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_shared_criterion( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested shared criterion in full detail. Args: - resource_name (str): The resource name of the shared criterion to fetch. + resource_name (str): Required. The resource name of the shared criterion to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_shared_criterion(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.SharedCriterion` instance. + A :class:`~google.ads.googleads_v4.types.SharedCriterion` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,38 +202,47 @@ def get_shared_criterion(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_shared_criterion' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_shared_criterion'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_shared_criterion, - default_retry=self._method_configs['GetSharedCriterion']. - retry, - default_timeout=self._method_configs['GetSharedCriterion']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_shared_criterion'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_shared_criterion, + default_retry=self._method_configs['GetSharedCriterion'].retry, + default_timeout=self._method_configs['GetSharedCriterion'].timeout, + client_info=self._client_info, + ) request = shared_criterion_service_pb2.GetSharedCriterionRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_shared_criterion']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_shared_criteria(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_shared_criterion'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_shared_criteria( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates or removes shared criteria. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose shared criteria are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.SharedCriterionOperation]]): The list of operations to perform on individual shared criteria. + customer_id (str): Required. The ID of the customer whose shared criteria are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.SharedCriterionOperation]]): Required. The list of operations to perform on individual shared criteria. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.SharedCriterionOperation` + message :class:`~google.ads.googleads_v4.types.SharedCriterionOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -248,7 +259,7 @@ def mutate_shared_criteria(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateSharedCriteriaResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateSharedCriteriaResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -259,15 +270,12 @@ def mutate_shared_criteria(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_shared_criteria' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_shared_criteria'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_shared_criteria, - default_retry=self._method_configs['MutateSharedCriteria']. - retry, - default_timeout=self. - _method_configs['MutateSharedCriteria'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_shared_criteria'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_shared_criteria, + default_retry=self._method_configs['MutateSharedCriteria'].retry, + default_timeout=self._method_configs['MutateSharedCriteria'].timeout, + client_info=self._client_info, + ) request = shared_criterion_service_pb2.MutateSharedCriteriaRequest( customer_id=customer_id, @@ -275,5 +283,15 @@ def mutate_shared_criteria(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_shared_criteria']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_shared_criteria'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/shared_criterion_service_client_config.py b/google/ads/google_ads/v4/services/shared_criterion_service_client_config.py new file mode 100644 index 000000000..7e3712f47 --- /dev/null +++ b/google/ads/google_ads/v4/services/shared_criterion_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.SharedCriterionService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetSharedCriterion": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateSharedCriteria": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/shared_set_service_client.py b/google/ads/google_ads/v4/services/shared_set_service_client.py similarity index 71% rename from google/ads/google_ads/v1/services/shared_set_service_client.py rename to google/ads/google_ads/v4/services/shared_set_service_client.py index 261aac54a..b01b0bf0c 100644 --- a/google/ads/google_ads/v1/services/shared_set_service_client.py +++ b/google/ads/google_ads/v4/services/shared_set_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services SharedSetService API.""" + +"""Accesses the google.ads.googleads.v4.services SharedSetService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import shared_set_service_client_config -from google.ads.google_ads.v1.services.transports import shared_set_service_grpc_transport -from google.ads.google_ads.v1.proto.services import shared_set_service_pb2 +from google.ads.google_ads.v4.services import shared_set_service_client_config +from google.ads.google_ads.v4.services.transports import shared_set_service_grpc_transport +from google.ads.google_ads.v4.proto.services import shared_set_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class SharedSetServiceClient(object): @@ -41,7 +46,8 @@ class SharedSetServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.SharedSetService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.SharedSetService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def shared_set_path(cls, customer, shared_set): """Return a fully-qualified shared_set string.""" @@ -73,12 +80,8 @@ def shared_set_path(cls, customer, shared_set): shared_set=shared_set, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = shared_set_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=shared_set_service_grpc_transport. - SharedSetServiceGrpcTransport, + default_class=shared_set_service_grpc_transport.SharedSetServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = shared_set_service_grpc_transport.SharedSetServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_shared_set(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_shared_set( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested shared set in full detail. Args: - resource_name (str): The resource name of the shared set to fetch. + resource_name (str): Required. The resource name of the shared set to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_shared_set(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.SharedSet` instance. + A :class:`~google.ads.googleads_v4.types.SharedSet` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,47 @@ def get_shared_set(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_shared_set' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_shared_set'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_shared_set, - default_retry=self._method_configs['GetSharedSet'].retry, - default_timeout=self._method_configs['GetSharedSet']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_shared_set'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_shared_set, + default_retry=self._method_configs['GetSharedSet'].retry, + default_timeout=self._method_configs['GetSharedSet'].timeout, + client_info=self._client_info, + ) request = shared_set_service_pb2.GetSharedSetRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_shared_set']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_shared_sets(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_shared_set'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_shared_sets( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates, updates, or removes shared sets. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose shared sets are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.SharedSetOperation]]): The list of operations to perform on individual shared sets. + customer_id (str): Required. The ID of the customer whose shared sets are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.SharedSetOperation]]): Required. The list of operations to perform on individual shared sets. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.SharedSetOperation` + message :class:`~google.ads.googleads_v4.types.SharedSetOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +259,7 @@ def mutate_shared_sets(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateSharedSetsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateSharedSetsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,15 +270,12 @@ def mutate_shared_sets(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_shared_sets' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_shared_sets'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_shared_sets, - default_retry=self._method_configs['MutateSharedSets']. - retry, - default_timeout=self._method_configs['MutateSharedSets']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_shared_sets'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_shared_sets, + default_retry=self._method_configs['MutateSharedSets'].retry, + default_timeout=self._method_configs['MutateSharedSets'].timeout, + client_info=self._client_info, + ) request = shared_set_service_pb2.MutateSharedSetsRequest( customer_id=customer_id, @@ -274,5 +283,15 @@ def mutate_shared_sets(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_shared_sets']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_shared_sets'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/shared_set_service_client_config.py b/google/ads/google_ads/v4/services/shared_set_service_client_config.py new file mode 100644 index 000000000..503fe0335 --- /dev/null +++ b/google/ads/google_ads/v4/services/shared_set_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.SharedSetService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetSharedSet": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateSharedSets": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/shopping_performance_view_service_client.py b/google/ads/google_ads/v4/services/shopping_performance_view_service_client.py similarity index 77% rename from google/ads/google_ads/v1/services/shopping_performance_view_service_client.py rename to google/ads/google_ads/v4/services/shopping_performance_view_service_client.py index 0c089589d..dbe869c09 100644 --- a/google/ads/google_ads/v1/services/shopping_performance_view_service_client.py +++ b/google/ads/google_ads/v4/services/shopping_performance_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services ShoppingPerformanceViewService API.""" + +"""Accesses the google.ads.googleads.v4.services ShoppingPerformanceViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import shopping_performance_view_service_client_config -from google.ads.google_ads.v1.services.transports import shopping_performance_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import shopping_performance_view_service_pb2 +from google.ads.google_ads.v4.services import shopping_performance_view_service_client_config +from google.ads.google_ads.v4.services.transports import shopping_performance_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import shopping_performance_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class ShoppingPerformanceViewServiceClient(object): @@ -41,7 +46,8 @@ class ShoppingPerformanceViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.ShoppingPerformanceViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ShoppingPerformanceViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def shopping_performance_view_path(cls, customer): """Return a fully-qualified shopping_performance_view string.""" @@ -72,12 +79,8 @@ def shopping_performance_view_path(cls, customer): customer=customer, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = shopping_performance_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,15 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class= - shopping_performance_view_service_grpc_transport. - ShoppingPerformanceViewServiceGrpcTransport, + default_class=shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = shopping_performance_view_service_grpc_transport.ShoppingPerformanceViewServiceGrpcTransport( @@ -150,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -179,7 +179,7 @@ def get_shopping_performance_view( Returns the requested Shopping performance view in full detail. Args: - resource_name (str): The resource name of the Shopping performance view to fetch. + resource_name (str): Required. The resource name of the Shopping performance view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -190,7 +190,7 @@ def get_shopping_performance_view( that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.ShoppingPerformanceView` instance. + A :class:`~google.ads.googleads_v4.types.ShoppingPerformanceView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -201,17 +201,25 @@ def get_shopping_performance_view( """ # Wrap the transport method to add retry and timeout logic. if 'get_shopping_performance_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_shopping_performance_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_shopping_performance_view, - default_retry=self. - _method_configs['GetShoppingPerformanceView'].retry, - default_timeout=self. - _method_configs['GetShoppingPerformanceView'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_shopping_performance_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_shopping_performance_view, + default_retry=self._method_configs['GetShoppingPerformanceView'].retry, + default_timeout=self._method_configs['GetShoppingPerformanceView'].timeout, + client_info=self._client_info, + ) request = shopping_performance_view_service_pb2.GetShoppingPerformanceViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_shopping_performance_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_shopping_performance_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/shopping_performance_view_service_client_config.py b/google/ads/google_ads/v4/services/shopping_performance_view_service_client_config.py new file mode 100644 index 000000000..760b8dbc3 --- /dev/null +++ b/google/ads/google_ads/v4/services/shopping_performance_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ShoppingPerformanceViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetShoppingPerformanceView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client.py b/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client.py new file mode 100644 index 000000000..0583dcce0 --- /dev/null +++ b/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client.py @@ -0,0 +1,229 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services ThirdPartyAppAnalyticsLinkService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import third_party_app_analytics_link_service_client_config +from google.ads.google_ads.v4.services.transports import third_party_app_analytics_link_service_grpc_transport +from google.ads.google_ads.v4.proto.services import third_party_app_analytics_link_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class ThirdPartyAppAnalyticsLinkServiceClient(object): + """ + This service allows management of links between Google Ads and third party + app analytics. + """ + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + ThirdPartyAppAnalyticsLinkServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def third_party_app_analytics_link_path(cls, customer, third_party_app_analytics_link): + """Return a fully-qualified third_party_app_analytics_link string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/thirdPartyAppAnalyticsLinks/{third_party_app_analytics_link}', + customer=customer, + third_party_app_analytics_link=third_party_app_analytics_link, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.ThirdPartyAppAnalyticsLinkServiceGrpcTransport, + Callable[[~.Credentials, type], ~.ThirdPartyAppAnalyticsLinkServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = third_party_app_analytics_link_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=third_party_app_analytics_link_service_grpc_transport.ThirdPartyAppAnalyticsLinkServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = third_party_app_analytics_link_service_grpc_transport.ThirdPartyAppAnalyticsLinkServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_third_party_app_analytics_link( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the third party app analytics link in full detail. + + Args: + resource_name (str): Resource name of the third party app analytics link. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.ThirdPartyAppAnalyticsLink` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_third_party_app_analytics_link' not in self._inner_api_calls: + self._inner_api_calls['get_third_party_app_analytics_link'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_third_party_app_analytics_link, + default_retry=self._method_configs['GetThirdPartyAppAnalyticsLink'].retry, + default_timeout=self._method_configs['GetThirdPartyAppAnalyticsLink'].timeout, + client_info=self._client_info, + ) + + request = third_party_app_analytics_link_service_pb2.GetThirdPartyAppAnalyticsLinkRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_third_party_app_analytics_link'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client_config.py b/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client_config.py new file mode 100644 index 000000000..2a6ad7489 --- /dev/null +++ b/google/ads/google_ads/v4/services/third_party_app_analytics_link_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.ThirdPartyAppAnalyticsLinkService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetThirdPartyAppAnalyticsLink": { + "timeout_millis": 600000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/topic_constant_service_client.py b/google/ads/google_ads/v4/services/topic_constant_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/topic_constant_service_client.py rename to google/ads/google_ads/v4/services/topic_constant_service_client.py index 16c3e2d00..06c322bab 100644 --- a/google/ads/google_ads/v1/services/topic_constant_service_client.py +++ b/google/ads/google_ads/v4/services/topic_constant_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services TopicConstantService API.""" + +"""Accesses the google.ads.googleads.v4.services TopicConstantService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import topic_constant_service_client_config -from google.ads.google_ads.v1.services.transports import topic_constant_service_grpc_transport -from google.ads.google_ads.v1.proto.services import topic_constant_service_pb2 +from google.ads.google_ads.v4.services import topic_constant_service_client_config +from google.ads.google_ads.v4.services.transports import topic_constant_service_grpc_transport +from google.ads.google_ads.v4.proto.services import topic_constant_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class TopicConstantServiceClient(object): @@ -41,7 +46,8 @@ class TopicConstantServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.TopicConstantService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.TopicConstantService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def topic_constant_path(cls, topic_constant): """Return a fully-qualified topic_constant string.""" @@ -72,12 +79,8 @@ def topic_constant_path(cls, topic_constant): topic_constant=topic_constant, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -110,19 +113,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = topic_constant_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -131,14 +130,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=topic_constant_service_grpc_transport. - TopicConstantServiceGrpcTransport, + default_class=topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = topic_constant_service_grpc_transport.TopicConstantServiceGrpcTransport( @@ -149,7 +148,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -159,7 +159,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -168,16 +169,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_topic_constant(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_topic_constant( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested topic constant in full detail. Args: - resource_name (str): Resource name of the Topic to fetch. + resource_name (str): Required. Resource name of the Topic to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -188,7 +190,7 @@ def get_topic_constant(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.TopicConstant` instance. + A :class:`~google.ads.googleads_v4.types.TopicConstant` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -199,17 +201,25 @@ def get_topic_constant(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_topic_constant' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_topic_constant'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_topic_constant, - default_retry=self._method_configs['GetTopicConstant']. - retry, - default_timeout=self._method_configs['GetTopicConstant']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_topic_constant'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_topic_constant, + default_retry=self._method_configs['GetTopicConstant'].retry, + default_timeout=self._method_configs['GetTopicConstant'].timeout, + client_info=self._client_info, + ) request = topic_constant_service_pb2.GetTopicConstantRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_topic_constant']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_topic_constant'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/topic_constant_service_client_config.py b/google/ads/google_ads/v4/services/topic_constant_service_client_config.py new file mode 100644 index 000000000..031037a27 --- /dev/null +++ b/google/ads/google_ads/v4/services/topic_constant_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.TopicConstantService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetTopicConstant": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/topic_view_service_client.py b/google/ads/google_ads/v4/services/topic_view_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/topic_view_service_client.py rename to google/ads/google_ads/v4/services/topic_view_service_client.py index 0637eeb75..713bdcfc7 100644 --- a/google/ads/google_ads/v1/services/topic_view_service_client.py +++ b/google/ads/google_ads/v4/services/topic_view_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services TopicViewService API.""" + +"""Accesses the google.ads.googleads.v4.services TopicViewService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import topic_view_service_client_config -from google.ads.google_ads.v1.services.transports import topic_view_service_grpc_transport -from google.ads.google_ads.v1.proto.services import topic_view_service_pb2 +from google.ads.google_ads.v4.services import topic_view_service_client_config +from google.ads.google_ads.v4.services.transports import topic_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import topic_view_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class TopicViewServiceClient(object): @@ -41,7 +46,8 @@ class TopicViewServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.TopicViewService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.TopicViewService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def topic_view_path(cls, customer, topic_view): """Return a fully-qualified topic_view string.""" @@ -73,12 +80,8 @@ def topic_view_path(cls, customer, topic_view): topic_view=topic_view, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = topic_view_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=topic_view_service_grpc_transport. - TopicViewServiceGrpcTransport, + default_class=topic_view_service_grpc_transport.TopicViewServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = topic_view_service_grpc_transport.TopicViewServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_topic_view(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_topic_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested topic view in full detail. Args: - resource_name (str): The resource name of the topic view to fetch. + resource_name (str): Required. The resource name of the topic view to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_topic_view(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.TopicView` instance. + A :class:`~google.ads.googleads_v4.types.TopicView` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,16 +202,25 @@ def get_topic_view(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_topic_view' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_topic_view'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_topic_view, - default_retry=self._method_configs['GetTopicView'].retry, - default_timeout=self._method_configs['GetTopicView']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_topic_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_topic_view, + default_retry=self._method_configs['GetTopicView'].retry, + default_timeout=self._method_configs['GetTopicView'].timeout, + client_info=self._client_info, + ) request = topic_view_service_pb2.GetTopicViewRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_topic_view']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_topic_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/topic_view_service_client_config.py b/google/ads/google_ads/v4/services/topic_view_service_client_config.py new file mode 100644 index 000000000..8732ac75a --- /dev/null +++ b/google/ads/google_ads/v4/services/topic_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.TopicViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetTopicView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/transports/__init__.py b/google/ads/google_ads/v4/services/transports/__init__.py similarity index 100% rename from google/ads/google_ads/v1/services/transports/__init__.py rename to google/ads/google_ads/v4/services/transports/__init__.py diff --git a/google/ads/google_ads/v1/services/transports/account_budget_proposal_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/account_budget_proposal_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/account_budget_proposal_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/account_budget_proposal_service_grpc_transport.py index c58eddad1..21f2f615f 100644 --- a/google/ads/google_ads/v1/services/transports/account_budget_proposal_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/account_budget_proposal_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import account_budget_proposal_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import account_budget_proposal_service_pb2_grpc class AccountBudgetProposalServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AccountBudgetProposalService API. + google.ads.googleads.v4.services AccountBudgetProposalService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AccountBudgetProposalServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_account_budget_proposal(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'account_budget_proposal_service_stub'].GetAccountBudgetProposal + return self._stubs['account_budget_proposal_service_stub'].GetAccountBudgetProposal @property def mutate_account_budget_proposal(self): @@ -134,5 +134,4 @@ def mutate_account_budget_proposal(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'account_budget_proposal_service_stub'].MutateAccountBudgetProposal + return self._stubs['account_budget_proposal_service_stub'].MutateAccountBudgetProposal \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/account_budget_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/account_budget_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/account_budget_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/account_budget_service_grpc_transport.py index eb1cf53a9..6d74fe678 100644 --- a/google/ads/google_ads/v1/services/transports/account_budget_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/account_budget_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import account_budget_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import account_budget_service_pb2_grpc class AccountBudgetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AccountBudgetService API. + google.ads.googleads.v4.services AccountBudgetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AccountBudgetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_account_budget(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['account_budget_service_stub'].GetAccountBudget + return self._stubs['account_budget_service_stub'].GetAccountBudget \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/account_link_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/account_link_service_grpc_transport.py new file mode 100644 index 000000000..240538465 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/account_link_service_grpc_transport.py @@ -0,0 +1,136 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import account_link_service_pb2_grpc + + +class AccountLinkServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services AccountLinkService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'account_link_service_stub': account_link_service_pb2_grpc.AccountLinkServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_account_link(self): + """Return the gRPC stub for :meth:`AccountLinkServiceClient.get_account_link`. + + Returns the account link in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['account_link_service_stub'].GetAccountLink + + @property + def mutate_account_link(self): + """Return the gRPC stub for :meth:`AccountLinkServiceClient.mutate_account_link`. + + Creates or removes an account link. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['account_link_service_stub'].MutateAccountLink \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/ad_group_ad_asset_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_ad_asset_view_service_grpc_transport.py new file mode 100644 index 000000000..f18663f62 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/ad_group_ad_asset_view_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import ad_group_ad_asset_view_service_pb2_grpc + + +class AdGroupAdAssetViewServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services AdGroupAdAssetViewService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'ad_group_ad_asset_view_service_stub': ad_group_ad_asset_view_service_pb2_grpc.AdGroupAdAssetViewServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_ad_group_ad_asset_view(self): + """Return the gRPC stub for :meth:`AdGroupAdAssetViewServiceClient.get_ad_group_ad_asset_view`. + + Returns the requested ad group ad asset view in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['ad_group_ad_asset_view_service_stub'].GetAdGroupAdAssetView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_ad_label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_ad_label_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/ad_group_ad_label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_ad_label_service_grpc_transport.py index 30cde423f..a4c1d7086 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_ad_label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_ad_label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_ad_label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_ad_label_service_pb2_grpc class AdGroupAdLabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupAdLabelService API. + google.ads.googleads.v4.services AdGroupAdLabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupAdLabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,5 +134,4 @@ def mutate_ad_group_ad_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_ad_label_service_stub'].MutateAdGroupAdLabels + return self._stubs['ad_group_ad_label_service_stub'].MutateAdGroupAdLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_ad_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_ad_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/ad_group_ad_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_ad_service_grpc_transport.py index 753d0bdd1..c04d0ff3d 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_ad_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_ad_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_ad_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_ad_service_pb2_grpc class AdGroupAdServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupAdService API. + google.ads.googleads.v4.services AdGroupAdService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupAdServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_ad_group_ads(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_group_ad_service_stub'].MutateAdGroupAds + return self._stubs['ad_group_ad_service_stub'].MutateAdGroupAds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_audience_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_audience_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/ad_group_audience_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_audience_view_service_grpc_transport.py index 63c991129..8c0dea456 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_audience_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_audience_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_audience_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_audience_view_service_pb2_grpc class AdGroupAudienceViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupAudienceViewService API. + google.ads.googleads.v4.services AdGroupAudienceViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupAudienceViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_ad_group_audience_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_audience_view_service_stub'].GetAdGroupAudienceView + return self._stubs['ad_group_audience_view_service_stub'].GetAdGroupAudienceView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_bid_modifier_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_bid_modifier_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/ad_group_bid_modifier_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_bid_modifier_service_grpc_transport.py index bdd20c614..1f0dc6263 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_bid_modifier_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_bid_modifier_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_bid_modifier_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_bid_modifier_service_pb2_grpc class AdGroupBidModifierServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupBidModifierService API. + google.ads.googleads.v4.services AdGroupBidModifierService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupBidModifierServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_ad_group_bid_modifier(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_bid_modifier_service_stub'].GetAdGroupBidModifier + return self._stubs['ad_group_bid_modifier_service_stub'].GetAdGroupBidModifier @property def mutate_ad_group_bid_modifiers(self): @@ -134,5 +134,4 @@ def mutate_ad_group_bid_modifiers(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_bid_modifier_service_stub'].MutateAdGroupBidModifiers + return self._stubs['ad_group_bid_modifier_service_stub'].MutateAdGroupBidModifiers \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_criterion_label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_criterion_label_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/ad_group_criterion_label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_criterion_label_service_grpc_transport.py index 0a4de6253..007e77933 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_criterion_label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_criterion_label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_criterion_label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_criterion_label_service_pb2_grpc class AdGroupCriterionLabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupCriterionLabelService API. + google.ads.googleads.v4.services AdGroupCriterionLabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupCriterionLabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_ad_group_criterion_label(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_criterion_label_service_stub'].GetAdGroupCriterionLabel + return self._stubs['ad_group_criterion_label_service_stub'].GetAdGroupCriterionLabel @property def mutate_ad_group_criterion_labels(self): @@ -134,5 +134,4 @@ def mutate_ad_group_criterion_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_criterion_label_service_stub'].MutateAdGroupCriterionLabels + return self._stubs['ad_group_criterion_label_service_stub'].MutateAdGroupCriterionLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_criterion_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_criterion_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/ad_group_criterion_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_criterion_service_grpc_transport.py index e76235fe6..2189ec1da 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_criterion_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_criterion_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_criterion_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_criterion_service_pb2_grpc class AdGroupCriterionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupCriterionService API. + google.ads.googleads.v4.services AdGroupCriterionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupCriterionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_ad_group_criterion(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_criterion_service_stub'].GetAdGroupCriterion + return self._stubs['ad_group_criterion_service_stub'].GetAdGroupCriterion @property def mutate_ad_group_criteria(self): @@ -133,5 +133,4 @@ def mutate_ad_group_criteria(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_criterion_service_stub'].MutateAdGroupCriteria + return self._stubs['ad_group_criterion_service_stub'].MutateAdGroupCriteria \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_criterion_simulation_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_criterion_simulation_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/ad_group_criterion_simulation_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_criterion_simulation_service_grpc_transport.py index 63f1571f2..b8be4f625 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_criterion_simulation_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_criterion_simulation_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_criterion_simulation_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_criterion_simulation_service_pb2_grpc class AdGroupCriterionSimulationServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupCriterionSimulationService API. + google.ads.googleads.v4.services AdGroupCriterionSimulationService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupCriterionSimulationServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_ad_group_criterion_simulation(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_criterion_simulation_service_stub'].GetAdGroupCriterionSimulation + return self._stubs['ad_group_criterion_simulation_service_stub'].GetAdGroupCriterionSimulation \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_extension_setting_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_extension_setting_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/ad_group_extension_setting_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_extension_setting_service_grpc_transport.py index d6b61518e..5777ac7aa 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_extension_setting_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_extension_setting_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_extension_setting_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_extension_setting_service_pb2_grpc class AdGroupExtensionSettingServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupExtensionSettingService API. + google.ads.googleads.v4.services AdGroupExtensionSettingService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupExtensionSettingServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_ad_group_extension_setting(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_extension_setting_service_stub'].GetAdGroupExtensionSetting + return self._stubs['ad_group_extension_setting_service_stub'].GetAdGroupExtensionSetting @property def mutate_ad_group_extension_settings(self): @@ -134,5 +134,4 @@ def mutate_ad_group_extension_settings(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_extension_setting_service_stub'].MutateAdGroupExtensionSettings + return self._stubs['ad_group_extension_setting_service_stub'].MutateAdGroupExtensionSettings \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_feed_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_feed_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/ad_group_feed_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_feed_service_grpc_transport.py index 7e58fe087..81c97e2a4 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_feed_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_feed_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_feed_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_feed_service_pb2_grpc class AdGroupFeedServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupFeedService API. + google.ads.googleads.v4.services AdGroupFeedService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupFeedServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_ad_group_feeds(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_group_feed_service_stub'].MutateAdGroupFeeds + return self._stubs['ad_group_feed_service_stub'].MutateAdGroupFeeds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_label_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/ad_group_label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_label_service_grpc_transport.py index f8d494676..c814454c9 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_label_service_pb2_grpc class AdGroupLabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupLabelService API. + google.ads.googleads.v4.services AdGroupLabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupLabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_ad_group_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_group_label_service_stub'].MutateAdGroupLabels + return self._stubs['ad_group_label_service_stub'].MutateAdGroupLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/ad_group_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_service_grpc_transport.py index ab2fc8dec..2e0f4bce9 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_service_pb2_grpc class AdGroupServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupService API. + google.ads.googleads.v4.services AdGroupService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_ad_groups(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_group_service_stub'].MutateAdGroups + return self._stubs['ad_group_service_stub'].MutateAdGroups \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_group_simulation_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_group_simulation_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/ad_group_simulation_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_group_simulation_service_grpc_transport.py index 495729ee2..434aed48e 100644 --- a/google/ads/google_ads/v1/services/transports/ad_group_simulation_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_group_simulation_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_group_simulation_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_group_simulation_service_pb2_grpc class AdGroupSimulationServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdGroupSimulationService API. + google.ads.googleads.v4.services AdGroupSimulationService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdGroupSimulationServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_ad_group_simulation(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'ad_group_simulation_service_stub'].GetAdGroupSimulation + return self._stubs['ad_group_simulation_service_stub'].GetAdGroupSimulation \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_parameter_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_parameter_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/ad_parameter_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_parameter_service_grpc_transport.py index 02c8dd905..515e27679 100644 --- a/google/ads/google_ads/v1/services/transports/ad_parameter_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_parameter_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_parameter_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_parameter_service_pb2_grpc class AdParameterServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdParameterService API. + google.ads.googleads.v4.services AdParameterService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdParameterServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_ad_parameters(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_parameter_service_stub'].MutateAdParameters + return self._stubs['ad_parameter_service_stub'].MutateAdParameters \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/ad_schedule_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_schedule_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/ad_schedule_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_schedule_view_service_grpc_transport.py index 545ec2fba..0ce004fd0 100644 --- a/google/ads/google_ads/v1/services/transports/ad_schedule_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_schedule_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import ad_schedule_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_schedule_view_service_pb2_grpc class AdScheduleViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AdScheduleViewService API. + google.ads.googleads.v4.services AdScheduleViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AdScheduleViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_ad_schedule_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['ad_schedule_view_service_stub'].GetAdScheduleView + return self._stubs['ad_schedule_view_service_stub'].GetAdScheduleView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_keyword_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/ad_service_grpc_transport.py similarity index 78% rename from google/ads/google_ads/v1/services/transports/keyword_plan_keyword_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/ad_service_grpc_transport.py index 1987afc31..2f557d013 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_keyword_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/ad_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_keyword_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import ad_service_pb2_grpc -class KeywordPlanKeywordServiceGrpcTransport(object): +class AdServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanKeywordService API. + google.ads.googleads.v4.services AdService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanKeywordServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -67,7 +68,7 @@ def __init__(self, # gRPC uses objects called "stubs" that are bound to the # channel and provide a basic method for each RPC. self._stubs = { - 'keyword_plan_keyword_service_stub': keyword_plan_keyword_service_pb2_grpc.KeywordPlanKeywordServiceStub(channel), + 'ad_service_stub': ad_service_pb2_grpc.AdServiceStub(channel), } @@ -109,30 +110,28 @@ def channel(self): return self._channel @property - def get_keyword_plan_keyword(self): - """Return the gRPC stub for :meth:`KeywordPlanKeywordServiceClient.get_keyword_plan_keyword`. + def get_ad(self): + """Return the gRPC stub for :meth:`AdServiceClient.get_ad`. - Returns the requested Keyword Plan keyword in full detail. + Returns the requested ad in full detail. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_keyword_service_stub'].GetKeywordPlanKeyword + return self._stubs['ad_service_stub'].GetAd @property - def mutate_keyword_plan_keywords(self): - """Return the gRPC stub for :meth:`KeywordPlanKeywordServiceClient.mutate_keyword_plan_keywords`. + def mutate_ads(self): + """Return the gRPC stub for :meth:`AdServiceClient.mutate_ads`. - Creates, updates, or removes Keyword Plan keywords. Operation statuses are - returned. + Updates ads. Operation statuses are returned. Updating ads is not supported + for TextAd, ExpandedDynamicSearchAd, GmailAd and ImageAd. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_keyword_service_stub'].MutateKeywordPlanKeywords + return self._stubs['ad_service_stub'].MutateAds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/age_range_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/age_range_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/age_range_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/age_range_view_service_grpc_transport.py index 194290f15..d5fd8a660 100644 --- a/google/ads/google_ads/v1/services/transports/age_range_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/age_range_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import age_range_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import age_range_view_service_pb2_grpc class AgeRangeViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AgeRangeViewService API. + google.ads.googleads.v4.services AgeRangeViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AgeRangeViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_age_range_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['age_range_view_service_stub'].GetAgeRangeView + return self._stubs['age_range_view_service_stub'].GetAgeRangeView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/asset_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/asset_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/asset_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/asset_service_grpc_transport.py index 79927cbd2..89c20c099 100644 --- a/google/ads/google_ads/v1/services/transports/asset_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/asset_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import asset_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import asset_service_pb2_grpc class AssetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services AssetService API. + google.ads.googleads.v4.services AssetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class AssetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_assets(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['asset_service_stub'].MutateAssets + return self._stubs['asset_service_stub'].MutateAssets \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/mutate_job_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/batch_job_service_grpc_transport.py similarity index 74% rename from google/ads/google_ads/v1/services/transports/mutate_job_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/batch_job_service_grpc_transport.py index 494f091f2..d4a13be3a 100644 --- a/google/ads/google_ads/v1/services/transports/mutate_job_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/batch_job_service_grpc_transport.py @@ -14,15 +14,16 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers import google.api_core.operations_v1 -from google.ads.google_ads.v1.proto.services import mutate_job_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import batch_job_service_pb2_grpc -class MutateJobServiceGrpcTransport(object): +class BatchJobServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services MutateJobService API. + google.ads.googleads.v4.services BatchJobService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -30,11 +31,10 @@ class MutateJobServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -54,7 +54,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -68,7 +69,7 @@ def __init__(self, # gRPC uses objects called "stubs" that are bound to the # channel and provide a basic method for each RPC. self._stubs = { - 'mutate_job_service_stub': mutate_job_service_pb2_grpc.MutateJobServiceStub(channel), + 'batch_job_service_stub': batch_job_service_pb2_grpc.BatchJobServiceStub(channel), } # Because this API includes a method that returns a @@ -114,36 +115,36 @@ def channel(self): return self._channel @property - def create_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.create_mutate_job`. + def mutate_batch_job(self): + """Return the gRPC stub for :meth:`BatchJobServiceClient.mutate_batch_job`. - Creates a mutate job. + Mutates a batch job. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs['mutate_job_service_stub'].CreateMutateJob + return self._stubs['batch_job_service_stub'].MutateBatchJob @property - def get_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.get_mutate_job`. + def get_batch_job(self): + """Return the gRPC stub for :meth:`BatchJobServiceClient.get_batch_job`. - Returns the mutate job. + Returns the batch job. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs['mutate_job_service_stub'].GetMutateJob + return self._stubs['batch_job_service_stub'].GetBatchJob @property - def list_mutate_job_results(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.list_mutate_job_results`. + def list_batch_job_results(self): + """Return the gRPC stub for :meth:`BatchJobServiceClient.list_batch_job_results`. - Returns the results of the mutate job. The job must be done. + Returns the results of the batch job. The job must be done. Supports standard list paging. Returns: @@ -151,34 +152,34 @@ def list_mutate_job_results(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['mutate_job_service_stub'].ListMutateJobResults + return self._stubs['batch_job_service_stub'].ListBatchJobResults @property - def run_mutate_job(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.run_mutate_job`. + def run_batch_job(self): + """Return the gRPC stub for :meth:`BatchJobServiceClient.run_batch_job`. - Runs the mutate job. + Runs the batch job. - The Operation.metadata field type is MutateJobMetadata. When finished, the + The Operation.metadata field type is BatchJobMetadata. When finished, the long running operation will not contain errors or a response. Instead, use - ListMutateJobResults to get the results of the job. + ListBatchJobResults to get the results of the job. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs['mutate_job_service_stub'].RunMutateJob + return self._stubs['batch_job_service_stub'].RunBatchJob @property - def add_mutate_job_operations(self): - """Return the gRPC stub for :meth:`MutateJobServiceClient.add_mutate_job_operations`. + def add_batch_job_operations(self): + """Return the gRPC stub for :meth:`BatchJobServiceClient.add_batch_job_operations`. - Add operations to the mutate job. + Add operations to the batch job. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs['mutate_job_service_stub'].AddMutateJobOperations + return self._stubs['batch_job_service_stub'].AddBatchJobOperations \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/bidding_strategy_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/bidding_strategy_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/bidding_strategy_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/bidding_strategy_service_grpc_transport.py index 757dd6074..7105c89d8 100644 --- a/google/ads/google_ads/v1/services/transports/bidding_strategy_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/bidding_strategy_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import bidding_strategy_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import bidding_strategy_service_pb2_grpc class BiddingStrategyServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services BiddingStrategyService API. + google.ads.googleads.v4.services BiddingStrategyService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class BiddingStrategyServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,5 +134,4 @@ def mutate_bidding_strategies(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'bidding_strategy_service_stub'].MutateBiddingStrategies + return self._stubs['bidding_strategy_service_stub'].MutateBiddingStrategies \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/billing_setup_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/billing_setup_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/billing_setup_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/billing_setup_service_grpc_transport.py index 9afc9ba92..ec83a80b1 100644 --- a/google/ads/google_ads/v1/services/transports/billing_setup_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/billing_setup_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import billing_setup_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import billing_setup_service_pb2_grpc class BillingSetupServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services BillingSetupService API. + google.ads.googleads.v4.services BillingSetupService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class BillingSetupServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_billing_setup(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['billing_setup_service_stub'].MutateBillingSetup + return self._stubs['billing_setup_service_stub'].MutateBillingSetup \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_audience_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_audience_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/campaign_audience_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_audience_view_service_grpc_transport.py index dfa53bc2f..fee5a1ab9 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_audience_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_audience_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_audience_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_audience_view_service_pb2_grpc class CampaignAudienceViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignAudienceViewService API. + google.ads.googleads.v4.services CampaignAudienceViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignAudienceViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_campaign_audience_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_audience_view_service_stub'].GetCampaignAudienceView + return self._stubs['campaign_audience_view_service_stub'].GetCampaignAudienceView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_bid_modifier_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_bid_modifier_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/campaign_bid_modifier_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_bid_modifier_service_grpc_transport.py index b3568c746..d8bc5c18c 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_bid_modifier_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_bid_modifier_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_bid_modifier_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_bid_modifier_service_pb2_grpc class CampaignBidModifierServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignBidModifierService API. + google.ads.googleads.v4.services CampaignBidModifierService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignBidModifierServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_campaign_bid_modifier(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_bid_modifier_service_stub'].GetCampaignBidModifier + return self._stubs['campaign_bid_modifier_service_stub'].GetCampaignBidModifier @property def mutate_campaign_bid_modifiers(self): @@ -134,5 +134,4 @@ def mutate_campaign_bid_modifiers(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_bid_modifier_service_stub'].MutateCampaignBidModifiers + return self._stubs['campaign_bid_modifier_service_stub'].MutateCampaignBidModifiers \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_budget_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_budget_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/campaign_budget_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_budget_service_grpc_transport.py index 126ceca16..6bc43ad40 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_budget_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_budget_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_budget_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_budget_service_pb2_grpc class CampaignBudgetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignBudgetService API. + google.ads.googleads.v4.services CampaignBudgetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignBudgetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,5 +134,4 @@ def mutate_campaign_budgets(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_budget_service_stub'].MutateCampaignBudgets + return self._stubs['campaign_budget_service_stub'].MutateCampaignBudgets \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_criterion_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_criterion_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/campaign_criterion_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_criterion_service_grpc_transport.py index aaab88f34..b48d77d42 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_criterion_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_criterion_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_criterion_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_criterion_service_pb2_grpc class CampaignCriterionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignCriterionService API. + google.ads.googleads.v4.services CampaignCriterionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignCriterionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_campaign_criterion(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_criterion_service_stub'].GetCampaignCriterion + return self._stubs['campaign_criterion_service_stub'].GetCampaignCriterion @property def mutate_campaign_criteria(self): @@ -133,5 +133,4 @@ def mutate_campaign_criteria(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_criterion_service_stub'].MutateCampaignCriteria + return self._stubs['campaign_criterion_service_stub'].MutateCampaignCriteria \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_criterion_simulation_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_criterion_simulation_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/campaign_criterion_simulation_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_criterion_simulation_service_grpc_transport.py index 192817274..dbb2df214 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_criterion_simulation_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_criterion_simulation_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_criterion_simulation_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_criterion_simulation_service_pb2_grpc class CampaignCriterionSimulationServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignCriterionSimulationService API. + google.ads.googleads.v4.services CampaignCriterionSimulationService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignCriterionSimulationServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_campaign_criterion_simulation(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_criterion_simulation_service_stub'].GetCampaignCriterionSimulation + return self._stubs['campaign_criterion_simulation_service_stub'].GetCampaignCriterionSimulation \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_draft_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_draft_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/campaign_draft_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_draft_service_grpc_transport.py index 03462a88e..758245b7b 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_draft_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_draft_service_grpc_transport.py @@ -14,15 +14,16 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers import google.api_core.operations_v1 -from google.ads.google_ads.v1.proto.services import campaign_draft_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_draft_service_pb2_grpc class CampaignDraftServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignDraftService API. + google.ads.googleads.v4.services CampaignDraftService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -30,11 +31,10 @@ class CampaignDraftServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -54,7 +54,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -174,5 +175,4 @@ def list_campaign_draft_async_errors(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_draft_service_stub'].ListCampaignDraftAsyncErrors + return self._stubs['campaign_draft_service_stub'].ListCampaignDraftAsyncErrors \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_experiment_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_experiment_service_grpc_transport.py similarity index 89% rename from google/ads/google_ads/v1/services/transports/campaign_experiment_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_experiment_service_grpc_transport.py index c0355663f..1fcfa8218 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_experiment_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_experiment_service_grpc_transport.py @@ -14,15 +14,16 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers import google.api_core.operations_v1 -from google.ads.google_ads.v1.proto.services import campaign_experiment_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_experiment_service_pb2_grpc class CampaignExperimentServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignExperimentService API. + google.ads.googleads.v4.services CampaignExperimentService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -30,11 +31,10 @@ class CampaignExperimentServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -54,7 +54,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -124,8 +125,7 @@ def get_campaign_experiment(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].GetCampaignExperiment + return self._stubs['campaign_experiment_service_stub'].GetCampaignExperiment @property def create_campaign_experiment(self): @@ -147,8 +147,7 @@ def create_campaign_experiment(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].CreateCampaignExperiment + return self._stubs['campaign_experiment_service_stub'].CreateCampaignExperiment @property def mutate_campaign_experiments(self): @@ -161,8 +160,7 @@ def mutate_campaign_experiments(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].MutateCampaignExperiments + return self._stubs['campaign_experiment_service_stub'].MutateCampaignExperiments @property def graduate_campaign_experiment(self): @@ -176,8 +174,7 @@ def graduate_campaign_experiment(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].GraduateCampaignExperiment + return self._stubs['campaign_experiment_service_stub'].GraduateCampaignExperiment @property def promote_campaign_experiment(self): @@ -195,8 +192,7 @@ def promote_campaign_experiment(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].PromoteCampaignExperiment + return self._stubs['campaign_experiment_service_stub'].PromoteCampaignExperiment @property def end_campaign_experiment(self): @@ -211,8 +207,7 @@ def end_campaign_experiment(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].EndCampaignExperiment + return self._stubs['campaign_experiment_service_stub'].EndCampaignExperiment @property def list_campaign_experiment_async_errors(self): @@ -227,5 +222,4 @@ def list_campaign_experiment_async_errors(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_experiment_service_stub'].ListCampaignExperimentAsyncErrors + return self._stubs['campaign_experiment_service_stub'].ListCampaignExperimentAsyncErrors \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_extension_setting_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_extension_setting_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/campaign_extension_setting_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_extension_setting_service_grpc_transport.py index bd83f7b01..f63d0f41e 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_extension_setting_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_extension_setting_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_extension_setting_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_extension_setting_service_pb2_grpc class CampaignExtensionSettingServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignExtensionSettingService API. + google.ads.googleads.v4.services CampaignExtensionSettingService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignExtensionSettingServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_campaign_extension_setting(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_extension_setting_service_stub'].GetCampaignExtensionSetting + return self._stubs['campaign_extension_setting_service_stub'].GetCampaignExtensionSetting @property def mutate_campaign_extension_settings(self): @@ -134,5 +134,4 @@ def mutate_campaign_extension_settings(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_extension_setting_service_stub'].MutateCampaignExtensionSettings + return self._stubs['campaign_extension_setting_service_stub'].MutateCampaignExtensionSettings \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_feed_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_feed_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/campaign_feed_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_feed_service_grpc_transport.py index 5ae297b0b..c7a30a61f 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_feed_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_feed_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_feed_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_feed_service_pb2_grpc class CampaignFeedServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignFeedService API. + google.ads.googleads.v4.services CampaignFeedService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignFeedServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_campaign_feeds(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['campaign_feed_service_stub'].MutateCampaignFeeds + return self._stubs['campaign_feed_service_stub'].MutateCampaignFeeds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_label_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/campaign_label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_label_service_grpc_transport.py index 6fc58ef25..77a02e5f7 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_label_service_pb2_grpc class CampaignLabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignLabelService API. + google.ads.googleads.v4.services CampaignLabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignLabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_campaign_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['campaign_label_service_stub'].MutateCampaignLabels + return self._stubs['campaign_label_service_stub'].MutateCampaignLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/campaign_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_service_grpc_transport.py index 8818a928c..a4774bba6 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_service_pb2_grpc class CampaignServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignService API. + google.ads.googleads.v4.services CampaignService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_campaigns(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['campaign_service_stub'].MutateCampaigns + return self._stubs['campaign_service_stub'].MutateCampaigns \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/campaign_shared_set_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/campaign_shared_set_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/campaign_shared_set_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/campaign_shared_set_service_grpc_transport.py index 397e4a2c8..795033f8c 100644 --- a/google/ads/google_ads/v1/services/transports/campaign_shared_set_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/campaign_shared_set_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import campaign_shared_set_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import campaign_shared_set_service_pb2_grpc class CampaignSharedSetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CampaignSharedSetService API. + google.ads.googleads.v4.services CampaignSharedSetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CampaignSharedSetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_campaign_shared_set(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_shared_set_service_stub'].GetCampaignSharedSet + return self._stubs['campaign_shared_set_service_stub'].GetCampaignSharedSet @property def mutate_campaign_shared_sets(self): @@ -133,5 +133,4 @@ def mutate_campaign_shared_sets(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'campaign_shared_set_service_stub'].MutateCampaignSharedSets + return self._stubs['campaign_shared_set_service_stub'].MutateCampaignSharedSets \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/carrier_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/carrier_constant_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/carrier_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/carrier_constant_service_grpc_transport.py index cc30757ad..e402ff531 100644 --- a/google/ads/google_ads/v1/services/transports/carrier_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/carrier_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import carrier_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import carrier_constant_service_pb2_grpc class CarrierConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CarrierConstantService API. + google.ads.googleads.v4.services CarrierConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CarrierConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_carrier_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['carrier_constant_service_stub'].GetCarrierConstant + return self._stubs['carrier_constant_service_stub'].GetCarrierConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/change_status_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/change_status_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/change_status_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/change_status_service_grpc_transport.py index d33638fe3..d368a0d06 100644 --- a/google/ads/google_ads/v1/services/transports/change_status_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/change_status_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import change_status_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import change_status_service_pb2_grpc class ChangeStatusServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ChangeStatusService API. + google.ads.googleads.v4.services ChangeStatusService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ChangeStatusServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_change_status(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['change_status_service_stub'].GetChangeStatus + return self._stubs['change_status_service_stub'].GetChangeStatus \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/click_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/click_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/click_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/click_view_service_grpc_transport.py index 0ed1be701..73822c92a 100644 --- a/google/ads/google_ads/v1/services/transports/click_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/click_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import click_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import click_view_service_pb2_grpc class ClickViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ClickViewService API. + google.ads.googleads.v4.services ClickViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ClickViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_click_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['click_view_service_stub'].GetClickView + return self._stubs['click_view_service_stub'].GetClickView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/conversion_action_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/conversion_action_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/conversion_action_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/conversion_action_service_grpc_transport.py index e11ab666c..a4d4db7ed 100644 --- a/google/ads/google_ads/v1/services/transports/conversion_action_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/conversion_action_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import conversion_action_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import conversion_action_service_pb2_grpc class ConversionActionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ConversionActionService API. + google.ads.googleads.v4.services ConversionActionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ConversionActionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_conversion_action(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'conversion_action_service_stub'].GetConversionAction + return self._stubs['conversion_action_service_stub'].GetConversionAction @property def mutate_conversion_actions(self): @@ -134,5 +134,4 @@ def mutate_conversion_actions(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'conversion_action_service_stub'].MutateConversionActions + return self._stubs['conversion_action_service_stub'].MutateConversionActions \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/conversion_adjustment_upload_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/conversion_adjustment_upload_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/conversion_adjustment_upload_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/conversion_adjustment_upload_service_grpc_transport.py index 16de30245..38029fddd 100644 --- a/google/ads/google_ads/v1/services/transports/conversion_adjustment_upload_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/conversion_adjustment_upload_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import conversion_adjustment_upload_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import conversion_adjustment_upload_service_pb2_grpc class ConversionAdjustmentUploadServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ConversionAdjustmentUploadService API. + google.ads.googleads.v4.services ConversionAdjustmentUploadService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ConversionAdjustmentUploadServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def upload_conversion_adjustments(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'conversion_adjustment_upload_service_stub'].UploadConversionAdjustments + return self._stubs['conversion_adjustment_upload_service_stub'].UploadConversionAdjustments \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/conversion_upload_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/conversion_upload_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/conversion_upload_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/conversion_upload_service_grpc_transport.py index 4e879c9ed..ef5c43a00 100644 --- a/google/ads/google_ads/v1/services/transports/conversion_upload_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/conversion_upload_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import conversion_upload_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import conversion_upload_service_pb2_grpc class ConversionUploadServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ConversionUploadService API. + google.ads.googleads.v4.services ConversionUploadService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ConversionUploadServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def upload_click_conversions(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'conversion_upload_service_stub'].UploadClickConversions + return self._stubs['conversion_upload_service_stub'].UploadClickConversions @property def upload_call_conversions(self): @@ -133,5 +133,4 @@ def upload_call_conversions(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'conversion_upload_service_stub'].UploadCallConversions + return self._stubs['conversion_upload_service_stub'].UploadCallConversions \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/currency_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/currency_constant_service_grpc_transport.py new file mode 100644 index 000000000..a49ca224e --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/currency_constant_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import currency_constant_service_pb2_grpc + + +class CurrencyConstantServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services CurrencyConstantService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'currency_constant_service_stub': currency_constant_service_pb2_grpc.CurrencyConstantServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_currency_constant(self): + """Return the gRPC stub for :meth:`CurrencyConstantServiceClient.get_currency_constant`. + + Returns the requested currency constant. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['currency_constant_service_stub'].GetCurrencyConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/custom_interest_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/custom_interest_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/custom_interest_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/custom_interest_service_grpc_transport.py index 0070b3443..382b949fd 100644 --- a/google/ads/google_ads/v1/services/transports/custom_interest_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/custom_interest_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import custom_interest_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import custom_interest_service_pb2_grpc class CustomInterestServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomInterestService API. + google.ads.googleads.v4.services CustomInterestService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomInterestServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,5 +133,4 @@ def mutate_custom_interests(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'custom_interest_service_stub'].MutateCustomInterests + return self._stubs['custom_interest_service_stub'].MutateCustomInterests \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_client_link_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_client_link_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/customer_client_link_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_client_link_service_grpc_transport.py index ec67bb608..cf427e25d 100644 --- a/google/ads/google_ads/v1/services/transports/customer_client_link_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_client_link_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_client_link_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_client_link_service_pb2_grpc class CustomerClientLinkServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerClientLinkService API. + google.ads.googleads.v4.services CustomerClientLinkService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerClientLinkServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_customer_client_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_client_link_service_stub'].GetCustomerClientLink + return self._stubs['customer_client_link_service_stub'].GetCustomerClientLink @property def mutate_customer_client_link(self): @@ -133,5 +133,4 @@ def mutate_customer_client_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_client_link_service_stub'].MutateCustomerClientLink + return self._stubs['customer_client_link_service_stub'].MutateCustomerClientLink \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_client_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_client_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/customer_client_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_client_service_grpc_transport.py index 7f5ee0fe4..e394ceb27 100644 --- a/google/ads/google_ads/v1/services/transports/customer_client_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_client_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_client_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_client_service_pb2_grpc class CustomerClientServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerClientService API. + google.ads.googleads.v4.services CustomerClientService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerClientServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_customer_client(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['customer_client_service_stub'].GetCustomerClient + return self._stubs['customer_client_service_stub'].GetCustomerClient \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_extension_setting_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_extension_setting_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/customer_extension_setting_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_extension_setting_service_grpc_transport.py index aace80fa3..59f1a39c2 100644 --- a/google/ads/google_ads/v1/services/transports/customer_extension_setting_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_extension_setting_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_extension_setting_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_extension_setting_service_pb2_grpc class CustomerExtensionSettingServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerExtensionSettingService API. + google.ads.googleads.v4.services CustomerExtensionSettingService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerExtensionSettingServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_customer_extension_setting(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_extension_setting_service_stub'].GetCustomerExtensionSetting + return self._stubs['customer_extension_setting_service_stub'].GetCustomerExtensionSetting @property def mutate_customer_extension_settings(self): @@ -134,5 +134,4 @@ def mutate_customer_extension_settings(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_extension_setting_service_stub'].MutateCustomerExtensionSettings + return self._stubs['customer_extension_setting_service_stub'].MutateCustomerExtensionSettings \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_feed_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_feed_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/customer_feed_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_feed_service_grpc_transport.py index a2c68706f..a07651e55 100644 --- a/google/ads/google_ads/v1/services/transports/customer_feed_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_feed_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_feed_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_feed_service_pb2_grpc class CustomerFeedServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerFeedService API. + google.ads.googleads.v4.services CustomerFeedService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerFeedServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_customer_feeds(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['customer_feed_service_stub'].MutateCustomerFeeds + return self._stubs['customer_feed_service_stub'].MutateCustomerFeeds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_label_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/customer_label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_label_service_grpc_transport.py index 9a3fdfec0..6653a0abd 100644 --- a/google/ads/google_ads/v1/services/transports/customer_label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_label_service_pb2_grpc class CustomerLabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerLabelService API. + google.ads.googleads.v4.services CustomerLabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerLabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_customer_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['customer_label_service_stub'].MutateCustomerLabels + return self._stubs['customer_label_service_stub'].MutateCustomerLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_manager_link_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_manager_link_service_grpc_transport.py similarity index 79% rename from google/ads/google_ads/v1/services/transports/customer_manager_link_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_manager_link_service_grpc_transport.py index 81bf1203d..dd59a42dc 100644 --- a/google/ads/google_ads/v1/services/transports/customer_manager_link_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_manager_link_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_manager_link_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_manager_link_service_pb2_grpc class CustomerManagerLinkServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerManagerLinkService API. + google.ads.googleads.v4.services CustomerManagerLinkService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerManagerLinkServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_customer_manager_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_manager_link_service_stub'].GetCustomerManagerLink + return self._stubs['customer_manager_link_service_stub'].GetCustomerManagerLink @property def mutate_customer_manager_link(self): @@ -133,5 +133,21 @@ def mutate_customer_manager_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_manager_link_service_stub'].MutateCustomerManagerLink + return self._stubs['customer_manager_link_service_stub'].MutateCustomerManagerLink + + @property + def move_manager_link(self): + """Return the gRPC stub for :meth:`CustomerManagerLinkServiceClient.move_manager_link`. + + Moves a client customer to a new manager customer. + This simplifies the complex request that requires two operations to move + a client customer to a new manager. i.e: + 1. Update operation with Status INACTIVE (previous manager) and, + 2. Update operation with Status ACTIVE (new manager). + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['customer_manager_link_service_stub'].MoveManagerLink \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_negative_criterion_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_negative_criterion_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/customer_negative_criterion_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_negative_criterion_service_grpc_transport.py index 4ea0bf60f..952a79fb6 100644 --- a/google/ads/google_ads/v1/services/transports/customer_negative_criterion_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_negative_criterion_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_negative_criterion_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_negative_criterion_service_pb2_grpc class CustomerNegativeCriterionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerNegativeCriterionService API. + google.ads.googleads.v4.services CustomerNegativeCriterionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerNegativeCriterionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_customer_negative_criterion(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_negative_criterion_service_stub'].GetCustomerNegativeCriterion + return self._stubs['customer_negative_criterion_service_stub'].GetCustomerNegativeCriterion @property def mutate_customer_negative_criteria(self): @@ -133,5 +133,4 @@ def mutate_customer_negative_criteria(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'customer_negative_criterion_service_stub'].MutateCustomerNegativeCriteria + return self._stubs['customer_negative_criterion_service_stub'].MutateCustomerNegativeCriteria \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/customer_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/customer_service_grpc_transport.py similarity index 95% rename from google/ads/google_ads/v1/services/transports/customer_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/customer_service_grpc_transport.py index 8d2c525cd..e6400f137 100644 --- a/google/ads/google_ads/v1/services/transports/customer_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/customer_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import customer_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import customer_service_pb2_grpc class CustomerServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services CustomerService API. + google.ads.googleads.v4.services CustomerService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class CustomerServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -159,4 +160,4 @@ def create_customer_client(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['customer_service_stub'].CreateCustomerClient + return self._stubs['customer_service_stub'].CreateCustomerClient \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/detail_placement_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/detail_placement_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/detail_placement_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/detail_placement_view_service_grpc_transport.py index 3c4bd7e33..81040d889 100644 --- a/google/ads/google_ads/v1/services/transports/detail_placement_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/detail_placement_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import detail_placement_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import detail_placement_view_service_pb2_grpc class DetailPlacementViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services DetailPlacementViewService API. + google.ads.googleads.v4.services DetailPlacementViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class DetailPlacementViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_detail_placement_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'detail_placement_view_service_stub'].GetDetailPlacementView + return self._stubs['detail_placement_view_service_stub'].GetDetailPlacementView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/display_keyword_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/display_keyword_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/display_keyword_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/display_keyword_view_service_grpc_transport.py index 9e216f381..da935e0df 100644 --- a/google/ads/google_ads/v1/services/transports/display_keyword_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/display_keyword_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import display_keyword_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import display_keyword_view_service_pb2_grpc class DisplayKeywordViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services DisplayKeywordViewService API. + google.ads.googleads.v4.services DisplayKeywordViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class DisplayKeywordViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_display_keyword_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'display_keyword_view_service_stub'].GetDisplayKeywordView + return self._stubs['display_keyword_view_service_stub'].GetDisplayKeywordView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/distance_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/distance_view_service_grpc_transport.py new file mode 100644 index 000000000..555441f31 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/distance_view_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import distance_view_service_pb2_grpc + + +class DistanceViewServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services DistanceViewService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'distance_view_service_stub': distance_view_service_pb2_grpc.DistanceViewServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_distance_view(self): + """Return the gRPC stub for :meth:`DistanceViewServiceClient.get_distance_view`. + + Returns the attributes of the requested distance view. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['distance_view_service_stub'].GetDistanceView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/domain_category_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/domain_category_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/domain_category_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/domain_category_service_grpc_transport.py index 3812d3460..33e03b8e2 100644 --- a/google/ads/google_ads/v1/services/transports/domain_category_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/domain_category_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import domain_category_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import domain_category_service_pb2_grpc class DomainCategoryServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services DomainCategoryService API. + google.ads.googleads.v4.services DomainCategoryService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class DomainCategoryServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_domain_category(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['domain_category_service_stub'].GetDomainCategory + return self._stubs['domain_category_service_stub'].GetDomainCategory \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py index 17b3f87b4..fa845d78d 100644 --- a/google/ads/google_ads/v1/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/dynamic_search_ads_search_term_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import dynamic_search_ads_search_term_view_service_pb2_grpc class DynamicSearchAdsSearchTermViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services DynamicSearchAdsSearchTermViewService API. + google.ads.googleads.v4.services DynamicSearchAdsSearchTermViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class DynamicSearchAdsSearchTermViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_dynamic_search_ads_search_term_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'dynamic_search_ads_search_term_view_service_stub'].GetDynamicSearchAdsSearchTermView + return self._stubs['dynamic_search_ads_search_term_view_service_stub'].GetDynamicSearchAdsSearchTermView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/expanded_landing_page_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/expanded_landing_page_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/expanded_landing_page_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/expanded_landing_page_view_service_grpc_transport.py index 0688204fc..1ded18af3 100644 --- a/google/ads/google_ads/v1/services/transports/expanded_landing_page_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/expanded_landing_page_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import expanded_landing_page_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import expanded_landing_page_view_service_pb2_grpc class ExpandedLandingPageViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ExpandedLandingPageViewService API. + google.ads.googleads.v4.services ExpandedLandingPageViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ExpandedLandingPageViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_expanded_landing_page_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'expanded_landing_page_view_service_stub'].GetExpandedLandingPageView + return self._stubs['expanded_landing_page_view_service_stub'].GetExpandedLandingPageView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/extension_feed_item_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/extension_feed_item_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/extension_feed_item_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/extension_feed_item_service_grpc_transport.py index 67e250f7e..73efb1097 100644 --- a/google/ads/google_ads/v1/services/transports/extension_feed_item_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/extension_feed_item_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import extension_feed_item_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import extension_feed_item_service_pb2_grpc class ExtensionFeedItemServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ExtensionFeedItemService API. + google.ads.googleads.v4.services ExtensionFeedItemService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ExtensionFeedItemServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_extension_feed_item(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'extension_feed_item_service_stub'].GetExtensionFeedItem + return self._stubs['extension_feed_item_service_stub'].GetExtensionFeedItem @property def mutate_extension_feed_items(self): @@ -134,5 +134,4 @@ def mutate_extension_feed_items(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'extension_feed_item_service_stub'].MutateExtensionFeedItems + return self._stubs['extension_feed_item_service_stub'].MutateExtensionFeedItems \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/feed_item_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/feed_item_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/feed_item_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/feed_item_service_grpc_transport.py index 5d4d3ac46..f29c90041 100644 --- a/google/ads/google_ads/v1/services/transports/feed_item_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/feed_item_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import feed_item_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import feed_item_service_pb2_grpc class FeedItemServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services FeedItemService API. + google.ads.googleads.v4.services FeedItemService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class FeedItemServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_feed_items(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['feed_item_service_stub'].MutateFeedItems + return self._stubs['feed_item_service_stub'].MutateFeedItems \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/feed_item_target_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/feed_item_target_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/feed_item_target_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/feed_item_target_service_grpc_transport.py index fb0544a11..55d8c7e2e 100644 --- a/google/ads/google_ads/v1/services/transports/feed_item_target_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/feed_item_target_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import feed_item_target_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import feed_item_target_service_pb2_grpc class FeedItemTargetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services FeedItemTargetService API. + google.ads.googleads.v4.services FeedItemTargetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class FeedItemTargetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,5 +133,4 @@ def mutate_feed_item_targets(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'feed_item_target_service_stub'].MutateFeedItemTargets + return self._stubs['feed_item_target_service_stub'].MutateFeedItemTargets \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/feed_mapping_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/feed_mapping_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/feed_mapping_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/feed_mapping_service_grpc_transport.py index cdfca0b49..c4db7c1a4 100644 --- a/google/ads/google_ads/v1/services/transports/feed_mapping_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/feed_mapping_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import feed_mapping_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import feed_mapping_service_pb2_grpc class FeedMappingServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services FeedMappingService API. + google.ads.googleads.v4.services FeedMappingService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class FeedMappingServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_feed_mappings(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['feed_mapping_service_stub'].MutateFeedMappings + return self._stubs['feed_mapping_service_stub'].MutateFeedMappings \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/feed_placeholder_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/feed_placeholder_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/feed_placeholder_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/feed_placeholder_view_service_grpc_transport.py index 65aade611..5e7155156 100644 --- a/google/ads/google_ads/v1/services/transports/feed_placeholder_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/feed_placeholder_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import feed_placeholder_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import feed_placeholder_view_service_pb2_grpc class FeedPlaceholderViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services FeedPlaceholderViewService API. + google.ads.googleads.v4.services FeedPlaceholderViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class FeedPlaceholderViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_feed_placeholder_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'feed_placeholder_view_service_stub'].GetFeedPlaceholderView + return self._stubs['feed_placeholder_view_service_stub'].GetFeedPlaceholderView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/feed_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/feed_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/feed_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/feed_service_grpc_transport.py index 28b67cb7f..0d36696cd 100644 --- a/google/ads/google_ads/v1/services/transports/feed_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/feed_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import feed_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import feed_service_pb2_grpc class FeedServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services FeedService API. + google.ads.googleads.v4.services FeedService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class FeedServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -133,4 +134,4 @@ def mutate_feeds(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['feed_service_stub'].MutateFeeds + return self._stubs['feed_service_stub'].MutateFeeds \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/gender_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/gender_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/gender_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/gender_view_service_grpc_transport.py index df31c8b28..2416dd731 100644 --- a/google/ads/google_ads/v1/services/transports/gender_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/gender_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import gender_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import gender_view_service_pb2_grpc class GenderViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GenderViewService API. + google.ads.googleads.v4.services GenderViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GenderViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_gender_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['gender_view_service_stub'].GetGenderView + return self._stubs['gender_view_service_stub'].GetGenderView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/geo_target_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/geo_target_constant_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/geo_target_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/geo_target_constant_service_grpc_transport.py index 0526a9f5d..2a1e4b93f 100644 --- a/google/ads/google_ads/v1/services/transports/geo_target_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/geo_target_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import geo_target_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import geo_target_constant_service_pb2_grpc class GeoTargetConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GeoTargetConstantService API. + google.ads.googleads.v4.services GeoTargetConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GeoTargetConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_geo_target_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'geo_target_constant_service_stub'].GetGeoTargetConstant + return self._stubs['geo_target_constant_service_stub'].GetGeoTargetConstant @property def suggest_geo_target_constants(self): @@ -133,5 +133,4 @@ def suggest_geo_target_constants(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'geo_target_constant_service_stub'].SuggestGeoTargetConstants + return self._stubs['geo_target_constant_service_stub'].SuggestGeoTargetConstants \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/geographic_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/geographic_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/geographic_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/geographic_view_service_grpc_transport.py index ee339e3bf..7d0a0d799 100644 --- a/google/ads/google_ads/v1/services/transports/geographic_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/geographic_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import geographic_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import geographic_view_service_pb2_grpc class GeographicViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GeographicViewService API. + google.ads.googleads.v4.services GeographicViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GeographicViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_geographic_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['geographic_view_service_stub'].GetGeographicView + return self._stubs['geographic_view_service_stub'].GetGeographicView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/google_ads_field_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/google_ads_field_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/google_ads_field_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/google_ads_field_service_grpc_transport.py index c06795670..a5b633091 100644 --- a/google/ads/google_ads/v1/services/transports/google_ads_field_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/google_ads_field_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import google_ads_field_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import google_ads_field_service_pb2_grpc class GoogleAdsFieldServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GoogleAdsFieldService API. + google.ads.googleads.v4.services GoogleAdsFieldService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GoogleAdsFieldServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,5 +133,4 @@ def search_google_ads_fields(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'google_ads_field_service_stub'].SearchGoogleAdsFields + return self._stubs['google_ads_field_service_stub'].SearchGoogleAdsFields \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/google_ads_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/google_ads_service_grpc_transport.py similarity index 79% rename from google/ads/google_ads/v1/services/transports/google_ads_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/google_ads_service_grpc_transport.py index e69aad4fb..9d651ac3d 100644 --- a/google/ads/google_ads/v1/services/transports/google_ads_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/google_ads_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import google_ads_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import google_ads_service_pb2_grpc class GoogleAdsServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GoogleAdsService API. + google.ads.googleads.v4.services GoogleAdsService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GoogleAdsServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -121,6 +122,19 @@ def search(self): """ return self._stubs['google_ads_service_stub'].Search + @property + def search_stream(self): + """Return the gRPC stub for :meth:`GoogleAdsServiceClient.search_stream`. + + Returns all rows that match the search stream query. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['google_ads_service_stub'].SearchStream + @property def mutate(self): """Return the gRPC stub for :meth:`GoogleAdsServiceClient.mutate`. @@ -131,9 +145,11 @@ def mutate(self): thousands of mutates atomically. This method is essentially a wrapper around a series of mutate methods. - The only features it offers over calling those methods directly are: - - Atomic transactions - Temp resource names (described below) - Somewhat - reduced latency over making a series of mutate calls. + The only features it offers over calling those methods directly are: + + - Atomic transactions + - Temp resource names (described below) + - Somewhat reduced latency over making a series of mutate calls Note: Only resources that support atomic transactions are included, so this method can't replace all calls to individual services. @@ -149,20 +165,23 @@ def mutate(self): Temp resource names are a special type of resource name used to create a resource and reference that resource in the same request. For example, - if a campaign budget is created with 'resource\_name' equal to - 'customers/123/campaignBudgets/-1', that resource name can be reused in - the 'Campaign.budget' field in the same request. That way, the two + if a campaign budget is created with ``resource_name`` equal to + ``customers/123/campaignBudgets/-1``, that resource name can be reused + in the ``Campaign.budget`` field in the same request. That way, the two resources are created and linked atomically. To create a temp resource name, put a negative number in the part of the name that the server would normally allocate. - Note: - Resources must be created with a temp name before the name can - be reused. For example, the previous CampaignBudget+Campaign example - would fail if the mutate order was reversed. - Temp names are not - remembered across requests. - There's no limit to the number of temp - names in a request. - Each temp name must use a unique negative number, - even if the resource types differ. + Note: + + - Resources must be created with a temp name before the name can be + reused. For example, the previous CampaignBudget+Campaign example + would fail if the mutate order was reversed. + - Temp names are not remembered across requests. + - There's no limit to the number of temp names in a request. + - Each temp name must use a unique negative number, even if the + resource types differ. ## Latency @@ -178,4 +197,4 @@ def mutate(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['google_ads_service_stub'].Mutate + return self._stubs['google_ads_service_stub'].Mutate \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/group_placement_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/group_placement_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/group_placement_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/group_placement_view_service_grpc_transport.py index 745d92bb1..406199ea3 100644 --- a/google/ads/google_ads/v1/services/transports/group_placement_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/group_placement_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import group_placement_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import group_placement_view_service_pb2_grpc class GroupPlacementViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services GroupPlacementViewService API. + google.ads.googleads.v4.services GroupPlacementViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class GroupPlacementViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_group_placement_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'group_placement_view_service_stub'].GetGroupPlacementView + return self._stubs['group_placement_view_service_stub'].GetGroupPlacementView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/hotel_group_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/hotel_group_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/hotel_group_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/hotel_group_view_service_grpc_transport.py index 977aaf98d..bd4897cdb 100644 --- a/google/ads/google_ads/v1/services/transports/hotel_group_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/hotel_group_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import hotel_group_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import hotel_group_view_service_pb2_grpc class HotelGroupViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services HotelGroupViewService API. + google.ads.googleads.v4.services HotelGroupViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class HotelGroupViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_hotel_group_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['hotel_group_view_service_stub'].GetHotelGroupView + return self._stubs['hotel_group_view_service_stub'].GetHotelGroupView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/hotel_performance_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/hotel_performance_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/hotel_performance_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/hotel_performance_view_service_grpc_transport.py index 4096985cd..311189fff 100644 --- a/google/ads/google_ads/v1/services/transports/hotel_performance_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/hotel_performance_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import hotel_performance_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import hotel_performance_view_service_pb2_grpc class HotelPerformanceViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services HotelPerformanceViewService API. + google.ads.googleads.v4.services HotelPerformanceViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class HotelPerformanceViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_hotel_performance_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'hotel_performance_view_service_stub'].GetHotelPerformanceView + return self._stubs['hotel_performance_view_service_stub'].GetHotelPerformanceView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/income_range_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/income_range_view_service_grpc_transport.py new file mode 100644 index 000000000..026926ff8 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/income_range_view_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import income_range_view_service_pb2_grpc + + +class IncomeRangeViewServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services IncomeRangeViewService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'income_range_view_service_stub': income_range_view_service_pb2_grpc.IncomeRangeViewServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_income_range_view(self): + """Return the gRPC stub for :meth:`IncomeRangeViewServiceClient.get_income_range_view`. + + Returns the requested income range view in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['income_range_view_service_stub'].GetIncomeRangeView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/invoice_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/invoice_service_grpc_transport.py new file mode 100644 index 000000000..3c110d10b --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/invoice_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import invoice_service_pb2_grpc + + +class InvoiceServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services InvoiceService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'invoice_service_stub': invoice_service_pb2_grpc.InvoiceServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def list_invoices(self): + """Return the gRPC stub for :meth:`InvoiceServiceClient.list_invoices`. + + Returns all invoices associated with a billing setup, for a given month. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['invoice_service_stub'].ListInvoices \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_keyword_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_keyword_service_grpc_transport.py new file mode 100644 index 000000000..3c65ba73b --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_keyword_service_grpc_transport.py @@ -0,0 +1,137 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_keyword_service_pb2_grpc + + +class KeywordPlanAdGroupKeywordServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services KeywordPlanAdGroupKeywordService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'keyword_plan_ad_group_keyword_service_stub': keyword_plan_ad_group_keyword_service_pb2_grpc.KeywordPlanAdGroupKeywordServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_keyword_plan_ad_group_keyword(self): + """Return the gRPC stub for :meth:`KeywordPlanAdGroupKeywordServiceClient.get_keyword_plan_ad_group_keyword`. + + Returns the requested Keyword Plan ad group keyword in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['keyword_plan_ad_group_keyword_service_stub'].GetKeywordPlanAdGroupKeyword + + @property + def mutate_keyword_plan_ad_group_keywords(self): + """Return the gRPC stub for :meth:`KeywordPlanAdGroupKeywordServiceClient.mutate_keyword_plan_ad_group_keywords`. + + Creates, updates, or removes Keyword Plan ad group keywords. Operation + statuses are returned. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['keyword_plan_ad_group_keyword_service_stub'].MutateKeywordPlanAdGroupKeywords \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_ad_group_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/keyword_plan_ad_group_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_service_grpc_transport.py index 90eee599a..10b3d194d 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_ad_group_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_ad_group_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_ad_group_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_plan_ad_group_service_pb2_grpc class KeywordPlanAdGroupServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanAdGroupService API. + google.ads.googleads.v4.services KeywordPlanAdGroupService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanAdGroupServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_keyword_plan_ad_group(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_ad_group_service_stub'].GetKeywordPlanAdGroup + return self._stubs['keyword_plan_ad_group_service_stub'].GetKeywordPlanAdGroup @property def mutate_keyword_plan_ad_groups(self): @@ -134,5 +134,4 @@ def mutate_keyword_plan_ad_groups(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_ad_group_service_stub'].MutateKeywordPlanAdGroups + return self._stubs['keyword_plan_ad_group_service_stub'].MutateKeywordPlanAdGroups \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_campaign_keyword_service_grpc_transport.py similarity index 78% rename from google/ads/google_ads/v1/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_plan_campaign_keyword_service_grpc_transport.py index 4cfbfd6bc..8829e2c03 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_negative_keyword_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_campaign_keyword_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_negative_keyword_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_keyword_service_pb2_grpc -class KeywordPlanNegativeKeywordServiceGrpcTransport(object): +class KeywordPlanCampaignKeywordServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanNegativeKeywordService API. + google.ads.googleads.v4.services KeywordPlanCampaignKeywordService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanNegativeKeywordServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -67,7 +68,7 @@ def __init__(self, # gRPC uses objects called "stubs" that are bound to the # channel and provide a basic method for each RPC. self._stubs = { - 'keyword_plan_negative_keyword_service_stub': keyword_plan_negative_keyword_service_pb2_grpc.KeywordPlanNegativeKeywordServiceStub(channel), + 'keyword_plan_campaign_keyword_service_stub': keyword_plan_campaign_keyword_service_pb2_grpc.KeywordPlanCampaignKeywordServiceStub(channel), } @@ -109,8 +110,8 @@ def channel(self): return self._channel @property - def get_keyword_plan_negative_keyword(self): - """Return the gRPC stub for :meth:`KeywordPlanNegativeKeywordServiceClient.get_keyword_plan_negative_keyword`. + def get_keyword_plan_campaign_keyword(self): + """Return the gRPC stub for :meth:`KeywordPlanCampaignKeywordServiceClient.get_keyword_plan_campaign_keyword`. Returns the requested plan in full detail. @@ -119,14 +120,13 @@ def get_keyword_plan_negative_keyword(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_negative_keyword_service_stub'].GetKeywordPlanNegativeKeyword + return self._stubs['keyword_plan_campaign_keyword_service_stub'].GetKeywordPlanCampaignKeyword @property - def mutate_keyword_plan_negative_keywords(self): - """Return the gRPC stub for :meth:`KeywordPlanNegativeKeywordServiceClient.mutate_keyword_plan_negative_keywords`. + def mutate_keyword_plan_campaign_keywords(self): + """Return the gRPC stub for :meth:`KeywordPlanCampaignKeywordServiceClient.mutate_keyword_plan_campaign_keywords`. - Creates, updates, or removes Keyword Plan negative keywords. Operation + Creates, updates, or removes Keyword Plan campaign keywords. Operation statuses are returned. Returns: @@ -134,5 +134,4 @@ def mutate_keyword_plan_negative_keywords(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_negative_keyword_service_stub'].MutateKeywordPlanNegativeKeywords + return self._stubs['keyword_plan_campaign_keyword_service_stub'].MutateKeywordPlanCampaignKeywords \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_campaign_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_campaign_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/keyword_plan_campaign_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_plan_campaign_service_grpc_transport.py index 16b889b9c..e8f724a8d 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_campaign_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_campaign_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_campaign_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_plan_campaign_service_pb2_grpc class KeywordPlanCampaignServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanCampaignService API. + google.ads.googleads.v4.services KeywordPlanCampaignService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanCampaignServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_keyword_plan_campaign(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_campaign_service_stub'].GetKeywordPlanCampaign + return self._stubs['keyword_plan_campaign_service_stub'].GetKeywordPlanCampaign @property def mutate_keyword_plan_campaigns(self): @@ -134,5 +134,4 @@ def mutate_keyword_plan_campaigns(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_campaign_service_stub'].MutateKeywordPlanCampaigns + return self._stubs['keyword_plan_campaign_service_stub'].MutateKeywordPlanCampaigns \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_idea_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_idea_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/keyword_plan_idea_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_plan_idea_service_grpc_transport.py index 13ca49445..7bd7ccdab 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_idea_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_idea_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_idea_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_plan_idea_service_pb2_grpc class KeywordPlanIdeaServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanIdeaService API. + google.ads.googleads.v4.services KeywordPlanIdeaService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanIdeaServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def generate_keyword_ideas(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_idea_service_stub'].GenerateKeywordIdeas + return self._stubs['keyword_plan_idea_service_stub'].GenerateKeywordIdeas \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_plan_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_plan_service_grpc_transport.py similarity index 82% rename from google/ads/google_ads/v1/services/transports/keyword_plan_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_plan_service_grpc_transport.py index 669e79624..724d840c8 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_plan_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_plan_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_plan_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_plan_service_pb2_grpc class KeywordPlanServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordPlanService API. + google.ads.googleads.v4.services KeywordPlanService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordPlanServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -135,6 +136,25 @@ def mutate_keyword_plans(self): """ return self._stubs['keyword_plan_service_stub'].MutateKeywordPlans + @property + def generate_forecast_curve(self): + """Return the gRPC stub for :meth:`KeywordPlanServiceClient.generate_forecast_curve`. + + Returns the requested Keyword Plan forecast curve. Only the bidding + strategy is considered for generating forecast curve. The bidding + strategy value (eg: max\_cpc\_bid\_micros in maximize cpc bidding + strategy) specified in the plan is ignored. + + To generate a forecast at a value specified in the plan, use + KeywordPlanService.GenerateForecastMetrics. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['keyword_plan_service_stub'].GenerateForecastCurve + @property def generate_forecast_metrics(self): """Return the gRPC stub for :meth:`KeywordPlanServiceClient.generate_forecast_metrics`. @@ -159,5 +179,4 @@ def generate_historical_metrics(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'keyword_plan_service_stub'].GenerateHistoricalMetrics + return self._stubs['keyword_plan_service_stub'].GenerateHistoricalMetrics \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/keyword_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/keyword_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/keyword_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/keyword_view_service_grpc_transport.py index 54a63e442..191d8992a 100644 --- a/google/ads/google_ads/v1/services/transports/keyword_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/keyword_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import keyword_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import keyword_view_service_pb2_grpc class KeywordViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services KeywordViewService API. + google.ads.googleads.v4.services KeywordViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class KeywordViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_keyword_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['keyword_view_service_stub'].GetKeywordView + return self._stubs['keyword_view_service_stub'].GetKeywordView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/label_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/label_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/label_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/label_service_grpc_transport.py index 6e22dba24..fcd028587 100644 --- a/google/ads/google_ads/v1/services/transports/label_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/label_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import label_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import label_service_pb2_grpc class LabelServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services LabelService API. + google.ads.googleads.v4.services LabelService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class LabelServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_labels(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['label_service_stub'].MutateLabels + return self._stubs['label_service_stub'].MutateLabels \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/landing_page_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/landing_page_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/landing_page_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/landing_page_view_service_grpc_transport.py index 1e4c905ac..6d9dfdeb5 100644 --- a/google/ads/google_ads/v1/services/transports/landing_page_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/landing_page_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import landing_page_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import landing_page_view_service_pb2_grpc class LandingPageViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services LandingPageViewService API. + google.ads.googleads.v4.services LandingPageViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class LandingPageViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_landing_page_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['landing_page_view_service_stub'].GetLandingPageView + return self._stubs['landing_page_view_service_stub'].GetLandingPageView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/language_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/language_constant_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/language_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/language_constant_service_grpc_transport.py index 0660cb100..d923dc4ae 100644 --- a/google/ads/google_ads/v1/services/transports/language_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/language_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import language_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import language_constant_service_pb2_grpc class LanguageConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services LanguageConstantService API. + google.ads.googleads.v4.services LanguageConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class LanguageConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_language_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'language_constant_service_stub'].GetLanguageConstant + return self._stubs['language_constant_service_stub'].GetLanguageConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/location_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/location_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/location_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/location_view_service_grpc_transport.py index 7c641bf84..6f256d044 100644 --- a/google/ads/google_ads/v1/services/transports/location_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/location_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import location_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import location_view_service_pb2_grpc class LocationViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services LocationViewService API. + google.ads.googleads.v4.services LocationViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class LocationViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_location_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['location_view_service_stub'].GetLocationView + return self._stubs['location_view_service_stub'].GetLocationView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/managed_placement_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/managed_placement_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/managed_placement_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/managed_placement_view_service_grpc_transport.py index 039516179..71580ed20 100644 --- a/google/ads/google_ads/v1/services/transports/managed_placement_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/managed_placement_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import managed_placement_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import managed_placement_view_service_pb2_grpc class ManagedPlacementViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ManagedPlacementViewService API. + google.ads.googleads.v4.services ManagedPlacementViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ManagedPlacementViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_managed_placement_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'managed_placement_view_service_stub'].GetManagedPlacementView + return self._stubs['managed_placement_view_service_stub'].GetManagedPlacementView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/media_file_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/media_file_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/media_file_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/media_file_service_grpc_transport.py index 44f4aceaa..94f549b55 100644 --- a/google/ads/google_ads/v1/services/transports/media_file_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/media_file_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import media_file_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import media_file_service_pb2_grpc class MediaFileServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services MediaFileService API. + google.ads.googleads.v4.services MediaFileService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class MediaFileServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_media_files(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['media_file_service_stub'].MutateMediaFiles + return self._stubs['media_file_service_stub'].MutateMediaFiles \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/merchant_center_link_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/merchant_center_link_service_grpc_transport.py similarity index 88% rename from google/ads/google_ads/v1/services/transports/merchant_center_link_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/merchant_center_link_service_grpc_transport.py index 73158f9b1..b885216fb 100644 --- a/google/ads/google_ads/v1/services/transports/merchant_center_link_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/merchant_center_link_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import merchant_center_link_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import merchant_center_link_service_pb2_grpc class MerchantCenterLinkServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services MerchantCenterLinkService API. + google.ads.googleads.v4.services MerchantCenterLinkService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class MerchantCenterLinkServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -112,15 +113,14 @@ def channel(self): def list_merchant_center_links(self): """Return the gRPC stub for :meth:`MerchantCenterLinkServiceClient.list_merchant_center_links`. - Returns Merchant Center links available tor this customer. + Returns Merchant Center links available for this customer. Returns: Callable: A callable which accepts the appropriate deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'merchant_center_link_service_stub'].ListMerchantCenterLinks + return self._stubs['merchant_center_link_service_stub'].ListMerchantCenterLinks @property def get_merchant_center_link(self): @@ -133,8 +133,7 @@ def get_merchant_center_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'merchant_center_link_service_stub'].GetMerchantCenterLink + return self._stubs['merchant_center_link_service_stub'].GetMerchantCenterLink @property def mutate_merchant_center_link(self): @@ -147,5 +146,4 @@ def mutate_merchant_center_link(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'merchant_center_link_service_stub'].MutateMerchantCenterLink + return self._stubs['merchant_center_link_service_stub'].MutateMerchantCenterLink \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/mobile_app_category_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/mobile_app_category_constant_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/mobile_app_category_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/mobile_app_category_constant_service_grpc_transport.py index 08cc7643c..0c418e584 100644 --- a/google/ads/google_ads/v1/services/transports/mobile_app_category_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/mobile_app_category_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import mobile_app_category_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import mobile_app_category_constant_service_pb2_grpc class MobileAppCategoryConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services MobileAppCategoryConstantService API. + google.ads.googleads.v4.services MobileAppCategoryConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class MobileAppCategoryConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_mobile_app_category_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'mobile_app_category_constant_service_stub'].GetMobileAppCategoryConstant + return self._stubs['mobile_app_category_constant_service_stub'].GetMobileAppCategoryConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/mobile_device_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/mobile_device_constant_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/mobile_device_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/mobile_device_constant_service_grpc_transport.py index a53b8f483..da3962613 100644 --- a/google/ads/google_ads/v1/services/transports/mobile_device_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/mobile_device_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import mobile_device_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import mobile_device_constant_service_pb2_grpc class MobileDeviceConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services MobileDeviceConstantService API. + google.ads.googleads.v4.services MobileDeviceConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class MobileDeviceConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_mobile_device_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'mobile_device_constant_service_stub'].GetMobileDeviceConstant + return self._stubs['mobile_device_constant_service_stub'].GetMobileDeviceConstant \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/offline_user_data_job_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/offline_user_data_job_service_grpc_transport.py new file mode 100644 index 000000000..758b02af8 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/offline_user_data_job_service_grpc_transport.py @@ -0,0 +1,170 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers +import google.api_core.operations_v1 + +from google.ads.google_ads.v4.proto.services import offline_user_data_job_service_pb2_grpc + + +class OfflineUserDataJobServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services OfflineUserDataJobService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'offline_user_data_job_service_stub': offline_user_data_job_service_pb2_grpc.OfflineUserDataJobServiceStub(channel), + } + + # Because this API includes a method that returns a + # long-running operation (proto: google.longrunning.Operation), + # instantiate an LRO client. + self._operations_client = google.api_core.operations_v1.OperationsClient(channel) + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def create_offline_user_data_job(self): + """Return the gRPC stub for :meth:`OfflineUserDataJobServiceClient.create_offline_user_data_job`. + + Creates an offline user data job. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['offline_user_data_job_service_stub'].CreateOfflineUserDataJob + + @property + def get_offline_user_data_job(self): + """Return the gRPC stub for :meth:`OfflineUserDataJobServiceClient.get_offline_user_data_job`. + + Returns the offline user data job. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['offline_user_data_job_service_stub'].GetOfflineUserDataJob + + @property + def add_offline_user_data_job_operations(self): + """Return the gRPC stub for :meth:`OfflineUserDataJobServiceClient.add_offline_user_data_job_operations`. + + Adds operations to the offline user data job. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['offline_user_data_job_service_stub'].AddOfflineUserDataJobOperations + + @property + def run_offline_user_data_job(self): + """Return the gRPC stub for :meth:`OfflineUserDataJobServiceClient.run_offline_user_data_job`. + + Runs the offline user data job. + + When finished, the long running operation will contain the processing + result or failure information, if any. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['offline_user_data_job_service_stub'].RunOfflineUserDataJob \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/operating_system_version_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/operating_system_version_constant_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/operating_system_version_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/operating_system_version_constant_service_grpc_transport.py index 39a9595e6..95600d822 100644 --- a/google/ads/google_ads/v1/services/transports/operating_system_version_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/operating_system_version_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import operating_system_version_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import operating_system_version_constant_service_pb2_grpc class OperatingSystemVersionConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services OperatingSystemVersionConstantService API. + google.ads.googleads.v4.services OperatingSystemVersionConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class OperatingSystemVersionConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_operating_system_version_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'operating_system_version_constant_service_stub'].GetOperatingSystemVersionConstant + return self._stubs['operating_system_version_constant_service_stub'].GetOperatingSystemVersionConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/paid_organic_search_term_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/paid_organic_search_term_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/paid_organic_search_term_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/paid_organic_search_term_view_service_grpc_transport.py index 4c7d390a7..c3ca8beda 100644 --- a/google/ads/google_ads/v1/services/transports/paid_organic_search_term_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/paid_organic_search_term_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import paid_organic_search_term_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import paid_organic_search_term_view_service_pb2_grpc class PaidOrganicSearchTermViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services PaidOrganicSearchTermViewService API. + google.ads.googleads.v4.services PaidOrganicSearchTermViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class PaidOrganicSearchTermViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_paid_organic_search_term_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'paid_organic_search_term_view_service_stub'].GetPaidOrganicSearchTermView + return self._stubs['paid_organic_search_term_view_service_stub'].GetPaidOrganicSearchTermView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/parental_status_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/parental_status_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/parental_status_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/parental_status_view_service_grpc_transport.py index 0fe5e545c..8bce08cc8 100644 --- a/google/ads/google_ads/v1/services/transports/parental_status_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/parental_status_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import parental_status_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import parental_status_view_service_pb2_grpc class ParentalStatusViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ParentalStatusViewService API. + google.ads.googleads.v4.services ParentalStatusViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ParentalStatusViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_parental_status_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'parental_status_view_service_stub'].GetParentalStatusView + return self._stubs['parental_status_view_service_stub'].GetParentalStatusView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/payments_account_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/payments_account_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/payments_account_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/payments_account_service_grpc_transport.py index 00578af3d..72cc6adfc 100644 --- a/google/ads/google_ads/v1/services/transports/payments_account_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/payments_account_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import payments_account_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import payments_account_service_pb2_grpc class PaymentsAccountServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services PaymentsAccountService API. + google.ads.googleads.v4.services PaymentsAccountService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class PaymentsAccountServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -112,7 +113,7 @@ def channel(self): def list_payments_accounts(self): """Return the gRPC stub for :meth:`PaymentsAccountServiceClient.list_payments_accounts`. - Returns all Payments accounts associated with all managers + Returns all payments accounts associated with all managers between the login customer ID and specified serving customer in the hierarchy, inclusive. @@ -121,5 +122,4 @@ def list_payments_accounts(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'payments_account_service_stub'].ListPaymentsAccounts + return self._stubs['payments_account_service_stub'].ListPaymentsAccounts \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/product_bidding_category_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/product_bidding_category_constant_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/product_bidding_category_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/product_bidding_category_constant_service_grpc_transport.py index 5ccbacbf6..a3c7c78ad 100644 --- a/google/ads/google_ads/v1/services/transports/product_bidding_category_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/product_bidding_category_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import product_bidding_category_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import product_bidding_category_constant_service_pb2_grpc class ProductBiddingCategoryConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ProductBiddingCategoryConstantService API. + google.ads.googleads.v4.services ProductBiddingCategoryConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ProductBiddingCategoryConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_product_bidding_category_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'product_bidding_category_constant_service_stub'].GetProductBiddingCategoryConstant + return self._stubs['product_bidding_category_constant_service_stub'].GetProductBiddingCategoryConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/product_group_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/product_group_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/product_group_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/product_group_view_service_grpc_transport.py index 59e757d9b..0e6435f2c 100644 --- a/google/ads/google_ads/v1/services/transports/product_group_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/product_group_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import product_group_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import product_group_view_service_pb2_grpc class ProductGroupViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ProductGroupViewService API. + google.ads.googleads.v4.services ProductGroupViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ProductGroupViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_product_group_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'product_group_view_service_stub'].GetProductGroupView + return self._stubs['product_group_view_service_stub'].GetProductGroupView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/reach_plan_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/reach_plan_service_grpc_transport.py new file mode 100644 index 000000000..e3a7ca81a --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/reach_plan_service_grpc_transport.py @@ -0,0 +1,165 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import reach_plan_service_pb2_grpc + + +class ReachPlanServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services ReachPlanService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'reach_plan_service_stub': reach_plan_service_pb2_grpc.ReachPlanServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def list_plannable_locations(self): + """Return the gRPC stub for :meth:`ReachPlanServiceClient.list_plannable_locations`. + + Returns the list of plannable locations (for example, countries & DMAs). + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['reach_plan_service_stub'].ListPlannableLocations + + @property + def list_plannable_products(self): + """Return the gRPC stub for :meth:`ReachPlanServiceClient.list_plannable_products`. + + Returns the list of per-location plannable YouTube ad formats with allowed + targeting. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['reach_plan_service_stub'].ListPlannableProducts + + @property + def generate_product_mix_ideas(self): + """Return the gRPC stub for :meth:`ReachPlanServiceClient.generate_product_mix_ideas`. + + Generates a product mix ideas given a set of preferences. This method + helps the advertiser to obtain a good mix of ad formats and budget + allocations based on its preferences. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['reach_plan_service_stub'].GenerateProductMixIdeas + + @property + def generate_reach_forecast(self): + """Return the gRPC stub for :meth:`ReachPlanServiceClient.generate_reach_forecast`. + + Generates a reach forecast for a given targeting / product mix. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['reach_plan_service_stub'].GenerateReachForecast \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/recommendation_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/recommendation_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/recommendation_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/recommendation_service_grpc_transport.py index 0ba71090c..b524654cd 100644 --- a/google/ads/google_ads/v1/services/transports/recommendation_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/recommendation_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import recommendation_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import recommendation_service_pb2_grpc class RecommendationServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services RecommendationService API. + google.ads.googleads.v4.services RecommendationService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class RecommendationServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -145,4 +146,4 @@ def dismiss_recommendation(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['recommendation_service_stub'].DismissRecommendation + return self._stubs['recommendation_service_stub'].DismissRecommendation \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/remarketing_action_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/remarketing_action_service_grpc_transport.py similarity index 90% rename from google/ads/google_ads/v1/services/transports/remarketing_action_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/remarketing_action_service_grpc_transport.py index d11b584c5..4c264b9d3 100644 --- a/google/ads/google_ads/v1/services/transports/remarketing_action_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/remarketing_action_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import remarketing_action_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import remarketing_action_service_pb2_grpc class RemarketingActionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services RemarketingActionService API. + google.ads.googleads.v4.services RemarketingActionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class RemarketingActionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,8 +120,7 @@ def get_remarketing_action(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'remarketing_action_service_stub'].GetRemarketingAction + return self._stubs['remarketing_action_service_stub'].GetRemarketingAction @property def mutate_remarketing_actions(self): @@ -133,5 +133,4 @@ def mutate_remarketing_actions(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'remarketing_action_service_stub'].MutateRemarketingActions + return self._stubs['remarketing_action_service_stub'].MutateRemarketingActions \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/search_term_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/search_term_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/search_term_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/search_term_view_service_grpc_transport.py index e88ad99bc..d47339c6d 100644 --- a/google/ads/google_ads/v1/services/transports/search_term_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/search_term_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import search_term_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import search_term_view_service_pb2_grpc class SearchTermViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services SearchTermViewService API. + google.ads.googleads.v4.services SearchTermViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class SearchTermViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_search_term_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['search_term_view_service_stub'].GetSearchTermView + return self._stubs['search_term_view_service_stub'].GetSearchTermView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/shared_criterion_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/shared_criterion_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/shared_criterion_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/shared_criterion_service_grpc_transport.py index aece0ce70..9debeea93 100644 --- a/google/ads/google_ads/v1/services/transports/shared_criterion_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/shared_criterion_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import shared_criterion_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import shared_criterion_service_pb2_grpc class SharedCriterionServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services SharedCriterionService API. + google.ads.googleads.v4.services SharedCriterionService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class SharedCriterionServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,5 +133,4 @@ def mutate_shared_criteria(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'shared_criterion_service_stub'].MutateSharedCriteria + return self._stubs['shared_criterion_service_stub'].MutateSharedCriteria \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/shared_set_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/shared_set_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/shared_set_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/shared_set_service_grpc_transport.py index 97e7d4c36..1bca313cb 100644 --- a/google/ads/google_ads/v1/services/transports/shared_set_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/shared_set_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import shared_set_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import shared_set_service_pb2_grpc class SharedSetServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services SharedSetService API. + google.ads.googleads.v4.services SharedSetService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class SharedSetServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_shared_sets(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['shared_set_service_stub'].MutateSharedSets + return self._stubs['shared_set_service_stub'].MutateSharedSets \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/shopping_performance_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/shopping_performance_view_service_grpc_transport.py similarity index 91% rename from google/ads/google_ads/v1/services/transports/shopping_performance_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/shopping_performance_view_service_grpc_transport.py index 420330105..5bf80f98d 100644 --- a/google/ads/google_ads/v1/services/transports/shopping_performance_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/shopping_performance_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import shopping_performance_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import shopping_performance_view_service_pb2_grpc class ShoppingPerformanceViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services ShoppingPerformanceViewService API. + google.ads.googleads.v4.services ShoppingPerformanceViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class ShoppingPerformanceViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,5 +120,4 @@ def get_shopping_performance_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs[ - 'shopping_performance_view_service_stub'].GetShoppingPerformanceView + return self._stubs['shopping_performance_view_service_stub'].GetShoppingPerformanceView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/third_party_app_analytics_link_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/third_party_app_analytics_link_service_grpc_transport.py new file mode 100644 index 000000000..9b82496a2 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/third_party_app_analytics_link_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import third_party_app_analytics_link_service_pb2_grpc + + +class ThirdPartyAppAnalyticsLinkServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services ThirdPartyAppAnalyticsLinkService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'third_party_app_analytics_link_service_stub': third_party_app_analytics_link_service_pb2_grpc.ThirdPartyAppAnalyticsLinkServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_third_party_app_analytics_link(self): + """Return the gRPC stub for :meth:`ThirdPartyAppAnalyticsLinkServiceClient.get_third_party_app_analytics_link`. + + Returns the third party app analytics link in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['third_party_app_analytics_link_service_stub'].GetThirdPartyAppAnalyticsLink \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/topic_constant_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/topic_constant_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/topic_constant_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/topic_constant_service_grpc_transport.py index 88da2b0d4..e438f20a1 100644 --- a/google/ads/google_ads/v1/services/transports/topic_constant_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/topic_constant_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import topic_constant_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import topic_constant_service_pb2_grpc class TopicConstantServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services TopicConstantService API. + google.ads.googleads.v4.services TopicConstantService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class TopicConstantServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_topic_constant(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['topic_constant_service_stub'].GetTopicConstant + return self._stubs['topic_constant_service_stub'].GetTopicConstant \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/topic_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/topic_view_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/topic_view_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/topic_view_service_grpc_transport.py index 686467235..279226106 100644 --- a/google/ads/google_ads/v1/services/transports/topic_view_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/topic_view_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import topic_view_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import topic_view_service_pb2_grpc class TopicViewServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services TopicViewService API. + google.ads.googleads.v4.services TopicViewService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class TopicViewServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_topic_view(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['topic_view_service_stub'].GetTopicView + return self._stubs['topic_view_service_stub'].GetTopicView \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/user_data_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/user_data_service_grpc_transport.py new file mode 100644 index 000000000..ec4db4762 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/user_data_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import user_data_service_pb2_grpc + + +class UserDataServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services UserDataService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'user_data_service_stub': user_data_service_pb2_grpc.UserDataServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def upload_user_data(self): + """Return the gRPC stub for :meth:`UserDataServiceClient.upload_user_data`. + + Uploads the given user data. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['user_data_service_stub'].UploadUserData \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/user_interest_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/user_interest_service_grpc_transport.py similarity index 93% rename from google/ads/google_ads/v1/services/transports/user_interest_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/user_interest_service_grpc_transport.py index 03d3fe19f..09c2b8700 100644 --- a/google/ads/google_ads/v1/services/transports/user_interest_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/user_interest_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import user_interest_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import user_interest_service_pb2_grpc class UserInterestServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services UserInterestService API. + google.ads.googleads.v4.services UserInterestService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class UserInterestServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_user_interest(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['user_interest_service_stub'].GetUserInterest + return self._stubs['user_interest_service_stub'].GetUserInterest \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/user_list_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/user_list_service_grpc_transport.py similarity index 94% rename from google/ads/google_ads/v1/services/transports/user_list_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/user_list_service_grpc_transport.py index ea003a0ec..2734dcc6d 100644 --- a/google/ads/google_ads/v1/services/transports/user_list_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/user_list_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import user_list_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import user_list_service_pb2_grpc class UserListServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services UserListService API. + google.ads.googleads.v4.services UserListService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class UserListServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -132,4 +133,4 @@ def mutate_user_lists(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['user_list_service_stub'].MutateUserLists + return self._stubs['user_list_service_stub'].MutateUserLists \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/transports/user_location_view_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/user_location_view_service_grpc_transport.py new file mode 100644 index 000000000..7094f0348 --- /dev/null +++ b/google/ads/google_ads/v4/services/transports/user_location_view_service_grpc_transport.py @@ -0,0 +1,123 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import google.api_core.grpc_helpers + +from google.ads.google_ads.v4.proto.services import user_location_view_service_pb2_grpc + + +class UserLocationViewServiceGrpcTransport(object): + """gRPC transport class providing stubs for + google.ads.googleads.v4.services UserLocationViewService API. + + The transport provides access to the raw gRPC stubs, + which can be used to take advantage of advanced + features of gRPC. + """ + # The scopes needed to make gRPC calls to all of the methods defined + # in this service. + _OAUTH_SCOPES = ( + ) + + def __init__(self, channel=None, credentials=None, + address='googleads.googleapis.com:443'): + """Instantiate the transport class. + + Args: + channel (grpc.Channel): A ``Channel`` instance through + which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + address (str): The address where the service is hosted. + """ + # If both `channel` and `credentials` are specified, raise an + # exception (channels come with credentials baked in already). + if channel is not None and credentials is not None: + raise ValueError( + 'The `channel` and `credentials` arguments are mutually ' + 'exclusive.', + ) + + # Create the channel. + if channel is None: + channel = self.create_channel( + address=address, + credentials=credentials, + ) + + self._channel = channel + + # gRPC uses objects called "stubs" that are bound to the + # channel and provide a basic method for each RPC. + self._stubs = { + 'user_location_view_service_stub': user_location_view_service_pb2_grpc.UserLocationViewServiceStub(channel), + } + + + @classmethod + def create_channel( + cls, + address='googleads.googleapis.com:443', + credentials=None, + **kwargs): + """Create and return a gRPC channel object. + + Args: + address (str): The host for the channel to use. + credentials (~.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If + none are specified, the client will attempt to ascertain + the credentials from the environment. + kwargs (dict): Keyword arguments, which are passed to the + channel creation. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return google.api_core.grpc_helpers.create_channel( + address, + credentials=credentials, + scopes=cls._OAUTH_SCOPES, + **kwargs + ) + + @property + def channel(self): + """The gRPC channel used by the transport. + + Returns: + grpc.Channel: A gRPC channel object. + """ + return self._channel + + @property + def get_user_location_view(self): + """Return the gRPC stub for :meth:`UserLocationViewServiceClient.get_user_location_view`. + + Returns the requested user location view in full detail. + + Returns: + Callable: A callable which accepts the appropriate + deserialized request object and returns a + deserialized response object. + """ + return self._stubs['user_location_view_service_stub'].GetUserLocationView \ No newline at end of file diff --git a/google/ads/google_ads/v1/services/transports/video_service_grpc_transport.py b/google/ads/google_ads/v4/services/transports/video_service_grpc_transport.py similarity index 92% rename from google/ads/google_ads/v1/services/transports/video_service_grpc_transport.py rename to google/ads/google_ads/v4/services/transports/video_service_grpc_transport.py index b371a3799..89af21487 100644 --- a/google/ads/google_ads/v1/services/transports/video_service_grpc_transport.py +++ b/google/ads/google_ads/v4/services/transports/video_service_grpc_transport.py @@ -14,14 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. + import google.api_core.grpc_helpers -from google.ads.google_ads.v1.proto.services import video_service_pb2_grpc +from google.ads.google_ads.v4.proto.services import video_service_pb2_grpc class VideoServiceGrpcTransport(object): """gRPC transport class providing stubs for - google.ads.googleads.v1.services VideoService API. + google.ads.googleads.v4.services VideoService API. The transport provides access to the raw gRPC stubs, which can be used to take advantage of advanced @@ -29,11 +30,10 @@ class VideoServiceGrpcTransport(object): """ # The scopes needed to make gRPC calls to all of the methods defined # in this service. - _OAUTH_SCOPES = () + _OAUTH_SCOPES = ( + ) - def __init__(self, - channel=None, - credentials=None, + def __init__(self, channel=None, credentials=None, address='googleads.googleapis.com:443'): """Instantiate the transport class. @@ -53,7 +53,8 @@ def __init__(self, if channel is not None and credentials is not None: raise ValueError( 'The `channel` and `credentials` arguments are mutually ' - 'exclusive.', ) + 'exclusive.', + ) # Create the channel. if channel is None: @@ -119,4 +120,4 @@ def get_video(self): deserialized request object and returns a deserialized response object. """ - return self._stubs['video_service_stub'].GetVideo + return self._stubs['video_service_stub'].GetVideo \ No newline at end of file diff --git a/google/ads/google_ads/v4/services/user_data_service_client.py b/google/ads/google_ads/v4/services/user_data_service_client.py new file mode 100644 index 000000000..c81015267 --- /dev/null +++ b/google/ads/google_ads/v4/services/user_data_service_client.py @@ -0,0 +1,237 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services UserDataService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.protobuf_helpers + +from google.ads.google_ads.v4.services import user_data_service_client_config +from google.ads.google_ads.v4.services.transports import user_data_service_grpc_transport +from google.ads.google_ads.v4.proto.services import user_data_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class UserDataServiceClient(object): + """ + Service to manage user data uploads. + Accessible to whitelisted customers only. + """ + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.UserDataService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + UserDataServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.UserDataServiceGrpcTransport, + Callable[[~.Credentials, type], ~.UserDataServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = user_data_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=user_data_service_grpc_transport.UserDataServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = user_data_service_grpc_transport.UserDataServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def upload_user_data( + self, + customer_id, + operations, + customer_match_user_list_metadata=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Uploads the given user data. + + Args: + customer_id (str): Required. The ID of the customer for which to update the user data. + operations (list[Union[dict, ~google.ads.googleads_v4.types.UserDataOperation]]): Required. The list of operations to be done. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.UserDataOperation` + customer_match_user_list_metadata (Union[dict, ~google.ads.googleads_v4.types.CustomerMatchUserListMetadata]): Metadata for data updates to a Customer Match user list. + + If a dict is provided, it must be of the same form as the protobuf + message :class:`~google.ads.googleads_v4.types.CustomerMatchUserListMetadata` + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.UploadUserDataResponse` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'upload_user_data' not in self._inner_api_calls: + self._inner_api_calls['upload_user_data'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.upload_user_data, + default_retry=self._method_configs['UploadUserData'].retry, + default_timeout=self._method_configs['UploadUserData'].timeout, + client_info=self._client_info, + ) + + # Sanity check: We have some fields which are mutually exclusive; + # raise ValueError if more than one is sent. + google.api_core.protobuf_helpers.check_oneof( + customer_match_user_list_metadata=customer_match_user_list_metadata, + ) + + request = user_data_service_pb2.UploadUserDataRequest( + customer_id=customer_id, + operations=operations, + customer_match_user_list_metadata=customer_match_user_list_metadata, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['upload_user_data'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/user_data_service_client_config.py b/google/ads/google_ads/v4/services/user_data_service_client_config.py new file mode 100644 index 000000000..debd238ec --- /dev/null +++ b/google/ads/google_ads/v4/services/user_data_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.UserDataService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "UploadUserData": { + "timeout_millis": 600000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/user_interest_service_client.py b/google/ads/google_ads/v4/services/user_interest_service_client.py similarity index 76% rename from google/ads/google_ads/v1/services/user_interest_service_client.py rename to google/ads/google_ads/v4/services/user_interest_service_client.py index 58ffe12ac..6cfd28599 100644 --- a/google/ads/google_ads/v1/services/user_interest_service_client.py +++ b/google/ads/google_ads/v4/services/user_interest_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services UserInterestService API.""" + +"""Accesses the google.ads.googleads.v4.services UserInterestService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import user_interest_service_client_config -from google.ads.google_ads.v1.services.transports import user_interest_service_grpc_transport -from google.ads.google_ads.v1.proto.services import user_interest_service_pb2 +from google.ads.google_ads.v4.services import user_interest_service_client_config +from google.ads.google_ads.v4.services.transports import user_interest_service_grpc_transport +from google.ads.google_ads.v4.proto.services import user_interest_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class UserInterestServiceClient(object): @@ -41,7 +46,8 @@ class UserInterestServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.UserInterestService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.UserInterestService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def user_interest_path(cls, customer, user_interest): """Return a fully-qualified user_interest string.""" @@ -73,12 +80,8 @@ def user_interest_path(cls, customer, user_interest): user_interest=user_interest, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = user_interest_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=user_interest_service_grpc_transport. - UserInterestServiceGrpcTransport, + default_class=user_interest_service_grpc_transport.UserInterestServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = user_interest_service_grpc_transport.UserInterestServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_user_interest(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_user_interest( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested user interest in full detail Args: - resource_name (str): Resource name of the UserInterest to fetch. + resource_name (str): Required. Resource name of the UserInterest to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_user_interest(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.UserInterest` instance. + A :class:`~google.ads.googleads_v4.types.UserInterest` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,17 +202,25 @@ def get_user_interest(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_user_interest' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_user_interest'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_user_interest, - default_retry=self._method_configs['GetUserInterest']. - retry, - default_timeout=self._method_configs['GetUserInterest']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_user_interest'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_user_interest, + default_retry=self._method_configs['GetUserInterest'].retry, + default_timeout=self._method_configs['GetUserInterest'].timeout, + client_info=self._client_info, + ) request = user_interest_service_pb2.GetUserInterestRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_user_interest']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_user_interest'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/user_interest_service_client_config.py b/google/ads/google_ads/v4/services/user_interest_service_client_config.py new file mode 100644 index 000000000..7684eff2a --- /dev/null +++ b/google/ads/google_ads/v4/services/user_interest_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.UserInterestService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetUserInterest": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/user_list_service_client.py b/google/ads/google_ads/v4/services/user_list_service_client.py similarity index 70% rename from google/ads/google_ads/v1/services/user_list_service_client.py rename to google/ads/google_ads/v4/services/user_list_service_client.py index 94a0848be..1a0305f1c 100644 --- a/google/ads/google_ads/v1/services/user_list_service_client.py +++ b/google/ads/google_ads/v4/services/user_list_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services UserListService API.""" + +"""Accesses the google.ads.googleads.v4.services UserListService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import user_list_service_client_config -from google.ads.google_ads.v1.services.transports import user_list_service_grpc_transport -from google.ads.google_ads.v1.proto.services import user_list_service_pb2 +from google.ads.google_ads.v4.services import user_list_service_client_config +from google.ads.google_ads.v4.services.transports import user_list_service_grpc_transport +from google.ads.google_ads.v4.proto.services import user_list_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class UserListServiceClient(object): @@ -41,7 +46,8 @@ class UserListServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.UserListService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.UserListService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def user_list_path(cls, customer, user_list): """Return a fully-qualified user_list string.""" @@ -73,12 +80,8 @@ def user_list_path(cls, customer, user_list): user_list=user_list, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = user_list_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=user_list_service_grpc_transport. - UserListServiceGrpcTransport, + default_class=user_list_service_grpc_transport.UserListServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = user_list_service_grpc_transport.UserListServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_user_list(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_user_list( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested user list. Args: - resource_name (str): The resource name of the user list to fetch. + resource_name (str): Required. The resource name of the user list to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_user_list(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.UserList` instance. + A :class:`~google.ads.googleads_v4.types.UserList` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,37 +202,47 @@ def get_user_list(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_user_list' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_user_list'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_user_list, - default_retry=self._method_configs['GetUserList'].retry, - default_timeout=self._method_configs['GetUserList']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_user_list'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_user_list, + default_retry=self._method_configs['GetUserList'].retry, + default_timeout=self._method_configs['GetUserList'].timeout, + client_info=self._client_info, + ) request = user_list_service_pb2.GetUserListRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_user_list']( - request, retry=retry, timeout=timeout, metadata=metadata) - - def mutate_user_lists(self, - customer_id, - operations, - partial_failure=None, - validate_only=None, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_user_list'](request, retry=retry, timeout=timeout, metadata=metadata) + + def mutate_user_lists( + self, + customer_id, + operations, + partial_failure=None, + validate_only=None, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Creates or updates user lists. Operation statuses are returned. Args: - customer_id (str): The ID of the customer whose user lists are being modified. - operations (list[Union[dict, ~google.ads.googleads_v1.types.UserListOperation]]): The list of operations to perform on individual user lists. + customer_id (str): Required. The ID of the customer whose user lists are being modified. + operations (list[Union[dict, ~google.ads.googleads_v4.types.UserListOperation]]): Required. The list of operations to perform on individual user lists. If a dict is provided, it must be of the same form as the protobuf - message :class:`~google.ads.googleads_v1.types.UserListOperation` + message :class:`~google.ads.googleads_v4.types.UserListOperation` partial_failure (bool): If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. @@ -247,7 +259,7 @@ def mutate_user_lists(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.MutateUserListsResponse` instance. + A :class:`~google.ads.googleads_v4.types.MutateUserListsResponse` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -258,15 +270,12 @@ def mutate_user_lists(self, """ # Wrap the transport method to add retry and timeout logic. if 'mutate_user_lists' not in self._inner_api_calls: - self._inner_api_calls[ - 'mutate_user_lists'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.mutate_user_lists, - default_retry=self._method_configs['MutateUserLists']. - retry, - default_timeout=self._method_configs['MutateUserLists']. - timeout, - client_info=self._client_info, - ) + self._inner_api_calls['mutate_user_lists'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.mutate_user_lists, + default_retry=self._method_configs['MutateUserLists'].retry, + default_timeout=self._method_configs['MutateUserLists'].timeout, + client_info=self._client_info, + ) request = user_list_service_pb2.MutateUserListsRequest( customer_id=customer_id, @@ -274,5 +283,15 @@ def mutate_user_lists(self, partial_failure=partial_failure, validate_only=validate_only, ) - return self._inner_api_calls['mutate_user_lists']( - request, retry=retry, timeout=timeout, metadata=metadata) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('customer_id', customer_id)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['mutate_user_lists'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/user_list_service_client_config.py b/google/ads/google_ads/v4/services/user_list_service_client_config.py new file mode 100644 index 000000000..d69dd465c --- /dev/null +++ b/google/ads/google_ads/v4/services/user_list_service_client_config.py @@ -0,0 +1,36 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.UserListService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetUserList": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + }, + "MutateUserLists": { + "timeout_millis": 60000, + "retry_codes_name": "non_idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/services/user_location_view_service_client.py b/google/ads/google_ads/v4/services/user_location_view_service_client.py new file mode 100644 index 000000000..841b2c90d --- /dev/null +++ b/google/ads/google_ads/v4/services/user_location_view_service_client.py @@ -0,0 +1,226 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2019 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Accesses the google.ads.googleads.v4.services UserLocationViewService API.""" + +import pkg_resources +import warnings + +from google.oauth2 import service_account +import google.api_core.gapic_v1.client_info +import google.api_core.gapic_v1.config +import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header +import google.api_core.grpc_helpers +import google.api_core.path_template + +from google.ads.google_ads.v4.services import user_location_view_service_client_config +from google.ads.google_ads.v4.services.transports import user_location_view_service_grpc_transport +from google.ads.google_ads.v4.proto.services import user_location_view_service_pb2 + + + +_GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( + 'google-ads', +).version + + +class UserLocationViewServiceClient(object): + """Service to manage user location views.""" + + SERVICE_ADDRESS = 'googleads.googleapis.com:443' + """The default address of the service.""" + + # The name of the interface for this client. This is the key used to + # find the method configuration in the client_config dictionary. + _INTERFACE_NAME = 'google.ads.googleads.v4.services.UserLocationViewService' + + + @classmethod + def from_service_account_file(cls, filename, *args, **kwargs): + """Creates an instance of this client using the provided credentials + file. + + Args: + filename (str): The path to the service account private key json + file. + args: Additional arguments to pass to the constructor. + kwargs: Additional arguments to pass to the constructor. + + Returns: + UserLocationViewServiceClient: The constructed client. + """ + credentials = service_account.Credentials.from_service_account_file( + filename) + kwargs['credentials'] = credentials + return cls(*args, **kwargs) + + from_service_account_json = from_service_account_file + + + @classmethod + def user_location_view_path(cls, customer, user_location_view): + """Return a fully-qualified user_location_view string.""" + return google.api_core.path_template.expand( + 'customers/{customer}/userLocationViews/{user_location_view}', + customer=customer, + user_location_view=user_location_view, + ) + + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): + """Constructor. + + Args: + transport (Union[~.UserLocationViewServiceGrpcTransport, + Callable[[~.Credentials, type], ~.UserLocationViewServiceGrpcTransport]): A transport + instance, responsible for actually making the API calls. + The default transport uses the gRPC protocol. + This argument may also be a callable which returns a + transport instance. Callables will be sent the credentials + as the first argument and the default transport class as + the second argument. + channel (grpc.Channel): DEPRECATED. A ``Channel`` instance + through which to make calls. This argument is mutually exclusive + with ``credentials``; providing both will raise an exception. + credentials (google.auth.credentials.Credentials): The + authorization credentials to attach to requests. These + credentials identify this application to the service. If none + are specified, the client will attempt to ascertain the + credentials from the environment. + This argument is mutually exclusive with providing a + transport instance to ``transport``; doing so will raise + an exception. + client_config (dict): DEPRECATED. A dictionary of call options for + each method. If not specified, the default configuration is used. + client_info (google.api_core.gapic_v1.client_info.ClientInfo): + The client info used to send a user-agent string along with + API requests. If ``None``, then default info will be used. + Generally, you only need to set this if you're developing + your own client library. + """ + # Raise deprecation warnings for things we want to go away. + if client_config is not None: + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) + else: + client_config = user_location_view_service_client_config.config + + if channel: + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) + + # Instantiate the transport. + # The transport is responsible for handling serialization and + # deserialization and actually sending data to the service. + if transport: + if callable(transport): + self.transport = transport( + credentials=credentials, + default_class=user_location_view_service_grpc_transport.UserLocationViewServiceGrpcTransport, + ) + else: + if credentials: + raise ValueError( + 'Received both a transport instance and ' + 'credentials; these are mutually exclusive.' + ) + self.transport = transport + else: + self.transport = user_location_view_service_grpc_transport.UserLocationViewServiceGrpcTransport( + address=self.SERVICE_ADDRESS, + channel=channel, + credentials=credentials, + ) + + if client_info is None: + client_info = google.api_core.gapic_v1.client_info.ClientInfo( + gapic_version=_GAPIC_LIBRARY_VERSION, + ) + else: + client_info.gapic_version = _GAPIC_LIBRARY_VERSION + self._client_info = client_info + + # Parse out the default settings for retry and timeout for each RPC + # from the client configuration. + # (Ordinarily, these are the defaults specified in the `*_config.py` + # file next to this one.) + self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( + client_config['interfaces'][self._INTERFACE_NAME], + ) + + # Save a dictionary of cached API call functions. + # These are the actual callables which invoke the proper + # transport methods, wrapped with `wrap_method` to add retry, + # timeout, and the like. + self._inner_api_calls = {} + + # Service calls + def get_user_location_view( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): + """ + Returns the requested user location view in full detail. + + Args: + resource_name (str): Required. The resource name of the user location view to fetch. + retry (Optional[google.api_core.retry.Retry]): A retry object used + to retry requests. If ``None`` is specified, requests will not + be retried. + timeout (Optional[float]): The amount of time, in seconds, to wait + for the request to complete. Note that if ``retry`` is + specified, the timeout applies to each individual attempt. + metadata (Optional[Sequence[Tuple[str, str]]]): Additional metadata + that is provided to the method. + + Returns: + A :class:`~google.ads.googleads_v4.types.UserLocationView` instance. + + Raises: + google.api_core.exceptions.GoogleAPICallError: If the request + failed for any reason. + google.api_core.exceptions.RetryError: If the request failed due + to a retryable error and retry attempts failed. + ValueError: If the parameters are invalid. + """ + # Wrap the transport method to add retry and timeout logic. + if 'get_user_location_view' not in self._inner_api_calls: + self._inner_api_calls['get_user_location_view'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_user_location_view, + default_retry=self._method_configs['GetUserLocationView'].retry, + default_timeout=self._method_configs['GetUserLocationView'].timeout, + client_info=self._client_info, + ) + + request = user_location_view_service_pb2.GetUserLocationViewRequest( + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_user_location_view'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/user_location_view_service_client_config.py b/google/ads/google_ads/v4/services/user_location_view_service_client_config.py new file mode 100644 index 000000000..efb4c56ef --- /dev/null +++ b/google/ads/google_ads/v4/services/user_location_view_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.UserLocationViewService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetUserLocationView": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v1/services/video_service_client.py b/google/ads/google_ads/v4/services/video_service_client.py similarity index 75% rename from google/ads/google_ads/v1/services/video_service_client.py rename to google/ads/google_ads/v4/services/video_service_client.py index f862b1bac..792ece215 100644 --- a/google/ads/google_ads/v1/services/video_service_client.py +++ b/google/ads/google_ads/v4/services/video_service_client.py @@ -13,7 +13,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Accesses the google.ads.googleads.v1.services VideoService API.""" + +"""Accesses the google.ads.googleads.v4.services VideoService API.""" import pkg_resources import warnings @@ -22,15 +23,19 @@ import google.api_core.gapic_v1.client_info import google.api_core.gapic_v1.config import google.api_core.gapic_v1.method +import google.api_core.gapic_v1.routing_header import google.api_core.grpc_helpers import google.api_core.path_template -from google.ads.google_ads.v1.services import video_service_client_config -from google.ads.google_ads.v1.services.transports import video_service_grpc_transport -from google.ads.google_ads.v1.proto.services import video_service_pb2 +from google.ads.google_ads.v4.services import video_service_client_config +from google.ads.google_ads.v4.services.transports import video_service_grpc_transport +from google.ads.google_ads.v4.proto.services import video_service_pb2 + + _GAPIC_LIBRARY_VERSION = pkg_resources.get_distribution( - 'google-ads', ).version + 'google-ads', +).version class VideoServiceClient(object): @@ -41,7 +46,8 @@ class VideoServiceClient(object): # The name of the interface for this client. This is the key used to # find the method configuration in the client_config dictionary. - _INTERFACE_NAME = 'google.ads.googleads.v1.services.VideoService' + _INTERFACE_NAME = 'google.ads.googleads.v4.services.VideoService' + @classmethod def from_service_account_file(cls, filename, *args, **kwargs): @@ -64,6 +70,7 @@ def from_service_account_file(cls, filename, *args, **kwargs): from_service_account_json = from_service_account_file + @classmethod def video_path(cls, customer, video): """Return a fully-qualified video string.""" @@ -73,12 +80,8 @@ def video_path(cls, customer, video): video=video, ) - def __init__(self, - transport=None, - channel=None, - credentials=None, - client_config=None, - client_info=None): + def __init__(self, transport=None, channel=None, credentials=None, + client_config=None, client_info=None): """Constructor. Args: @@ -111,19 +114,15 @@ def __init__(self, """ # Raise deprecation warnings for things we want to go away. if client_config is not None: - warnings.warn( - 'The `client_config` argument is deprecated.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `client_config` argument is deprecated.', + PendingDeprecationWarning, stacklevel=2) else: client_config = video_service_client_config.config if channel: - warnings.warn( - 'The `channel` argument is deprecated; use ' - '`transport` instead.', - PendingDeprecationWarning, - stacklevel=2) + warnings.warn('The `channel` argument is deprecated; use ' + '`transport` instead.', + PendingDeprecationWarning, stacklevel=2) # Instantiate the transport. # The transport is responsible for handling serialization and @@ -132,14 +131,14 @@ def __init__(self, if callable(transport): self.transport = transport( credentials=credentials, - default_class=video_service_grpc_transport. - VideoServiceGrpcTransport, + default_class=video_service_grpc_transport.VideoServiceGrpcTransport, ) else: if credentials: raise ValueError( 'Received both a transport instance and ' - 'credentials; these are mutually exclusive.') + 'credentials; these are mutually exclusive.' + ) self.transport = transport else: self.transport = video_service_grpc_transport.VideoServiceGrpcTransport( @@ -150,7 +149,8 @@ def __init__(self, if client_info is None: client_info = google.api_core.gapic_v1.client_info.ClientInfo( - gapic_version=_GAPIC_LIBRARY_VERSION, ) + gapic_version=_GAPIC_LIBRARY_VERSION, + ) else: client_info.gapic_version = _GAPIC_LIBRARY_VERSION self._client_info = client_info @@ -160,7 +160,8 @@ def __init__(self, # (Ordinarily, these are the defaults specified in the `*_config.py` # file next to this one.) self._method_configs = google.api_core.gapic_v1.config.parse_method_configs( - client_config['interfaces'][self._INTERFACE_NAME], ) + client_config['interfaces'][self._INTERFACE_NAME], + ) # Save a dictionary of cached API call functions. # These are the actual callables which invoke the proper @@ -169,16 +170,17 @@ def __init__(self, self._inner_api_calls = {} # Service calls - def get_video(self, - resource_name, - retry=google.api_core.gapic_v1.method.DEFAULT, - timeout=google.api_core.gapic_v1.method.DEFAULT, - metadata=None): + def get_video( + self, + resource_name, + retry=google.api_core.gapic_v1.method.DEFAULT, + timeout=google.api_core.gapic_v1.method.DEFAULT, + metadata=None): """ Returns the requested video in full detail. Args: - resource_name (str): The resource name of the video to fetch. + resource_name (str): Required. The resource name of the video to fetch. retry (Optional[google.api_core.retry.Retry]): A retry object used to retry requests. If ``None`` is specified, requests will not be retried. @@ -189,7 +191,7 @@ def get_video(self, that is provided to the method. Returns: - A :class:`~google.ads.googleads_v1.types.Video` instance. + A :class:`~google.ads.googleads_v4.types.Video` instance. Raises: google.api_core.exceptions.GoogleAPICallError: If the request @@ -200,15 +202,25 @@ def get_video(self, """ # Wrap the transport method to add retry and timeout logic. if 'get_video' not in self._inner_api_calls: - self._inner_api_calls[ - 'get_video'] = google.api_core.gapic_v1.method.wrap_method( - self.transport.get_video, - default_retry=self._method_configs['GetVideo'].retry, - default_timeout=self._method_configs['GetVideo'].timeout, - client_info=self._client_info, - ) + self._inner_api_calls['get_video'] = google.api_core.gapic_v1.method.wrap_method( + self.transport.get_video, + default_retry=self._method_configs['GetVideo'].retry, + default_timeout=self._method_configs['GetVideo'].timeout, + client_info=self._client_info, + ) request = video_service_pb2.GetVideoRequest( - resource_name=resource_name, ) - return self._inner_api_calls['get_video']( - request, retry=retry, timeout=timeout, metadata=metadata) + resource_name=resource_name, + ) + if metadata is None: + metadata = [] + metadata = list(metadata) + try: + routing_header = [('resource_name', resource_name)] + except AttributeError: + pass + else: + routing_metadata = google.api_core.gapic_v1.routing_header.to_grpc_metadata(routing_header) + metadata.append(routing_metadata) + + return self._inner_api_calls['get_video'](request, retry=retry, timeout=timeout, metadata=metadata) diff --git a/google/ads/google_ads/v4/services/video_service_client_config.py b/google/ads/google_ads/v4/services/video_service_client_config.py new file mode 100644 index 000000000..18b236e1d --- /dev/null +++ b/google/ads/google_ads/v4/services/video_service_client_config.py @@ -0,0 +1,31 @@ +config = { + "interfaces": { + "google.ads.googleads.v4.services.VideoService": { + "retry_codes": { + "idempotent": [ + "DEADLINE_EXCEEDED", + "UNAVAILABLE" + ], + "non_idempotent": [] + }, + "retry_params": { + "default": { + "initial_retry_delay_millis": 5000, + "retry_delay_multiplier": 1.3, + "max_retry_delay_millis": 60000, + "initial_rpc_timeout_millis": 3600000, + "rpc_timeout_multiplier": 1.0, + "max_rpc_timeout_millis": 3600000, + "total_timeout_millis": 3600000 + } + }, + "methods": { + "GetVideo": { + "timeout_millis": 60000, + "retry_codes_name": "idempotent", + "retry_params_name": "default" + } + } + } + } +} diff --git a/google/ads/google_ads/v4/types.py b/google/ads/google_ads/v4/types.py new file mode 100644 index 000000000..308e90b79 --- /dev/null +++ b/google/ads/google_ads/v4/types.py @@ -0,0 +1,1824 @@ +# -*- coding: utf-8 -*- +# +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +import importlib +import sys +from itertools import chain + +from google.api_core.protobuf_helpers import get_messages + +from google.ads.google_ads import util + + +if sys.version_info < (3, 7): + raise ImportError('This module requires Python 3.7 or later.') + + +_lazy_name_to_package_map = dict( + ad_asset_pb2='google.ads.google_ads.v4.proto.common', + ad_type_infos_pb2='google.ads.google_ads.v4.proto.common', + asset_types_pb2='google.ads.google_ads.v4.proto.common', + bidding_pb2='google.ads.google_ads.v4.proto.common', + click_location_pb2='google.ads.google_ads.v4.proto.common', + criteria_pb2='google.ads.google_ads.v4.proto.common', + criterion_category_availability_pb2='google.ads.google_ads.v4.proto.common', + custom_parameter_pb2='google.ads.google_ads.v4.proto.common', + dates_pb2='google.ads.google_ads.v4.proto.common', + explorer_auto_optimizer_setting_pb2='google.ads.google_ads.v4.proto.common', + extensions_pb2='google.ads.google_ads.v4.proto.common', + feed_common_pb2='google.ads.google_ads.v4.proto.common', + final_app_url_pb2='google.ads.google_ads.v4.proto.common', + frequency_cap_pb2='google.ads.google_ads.v4.proto.common', + keyword_plan_common_pb2='google.ads.google_ads.v4.proto.common', + matching_function_pb2='google.ads.google_ads.v4.proto.common', + metrics_pb2='google.ads.google_ads.v4.proto.common', + offline_user_data_pb2='google.ads.google_ads.v4.proto.common', + policy_pb2='google.ads.google_ads.v4.proto.common', + real_time_bidding_setting_pb2='google.ads.google_ads.v4.proto.common', + segments_pb2='google.ads.google_ads.v4.proto.common', + simulation_pb2='google.ads.google_ads.v4.proto.common', + tag_snippet_pb2='google.ads.google_ads.v4.proto.common', + targeting_setting_pb2='google.ads.google_ads.v4.proto.common', + text_label_pb2='google.ads.google_ads.v4.proto.common', + url_collection_pb2='google.ads.google_ads.v4.proto.common', + user_lists_pb2='google.ads.google_ads.v4.proto.common', + value_pb2='google.ads.google_ads.v4.proto.common', + access_reason_pb2='google.ads.google_ads.v4.proto.enums', + access_role_pb2='google.ads.google_ads.v4.proto.enums', + account_budget_proposal_status_pb2='google.ads.google_ads.v4.proto.enums', + account_budget_proposal_type_pb2='google.ads.google_ads.v4.proto.enums', + account_budget_status_pb2='google.ads.google_ads.v4.proto.enums', + account_link_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_customizer_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_ad_rotation_mode_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_ad_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_criterion_approval_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_criterion_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_group_type_pb2='google.ads.google_ads.v4.proto.enums', + ad_network_type_pb2='google.ads.google_ads.v4.proto.enums', + ad_serving_optimization_status_pb2='google.ads.google_ads.v4.proto.enums', + ad_strength_pb2='google.ads.google_ads.v4.proto.enums', + ad_type_pb2='google.ads.google_ads.v4.proto.enums', + advertising_channel_sub_type_pb2='google.ads.google_ads.v4.proto.enums', + advertising_channel_type_pb2='google.ads.google_ads.v4.proto.enums', + affiliate_location_feed_relationship_type_pb2='google.ads.google_ads.v4.proto.enums', + affiliate_location_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + age_range_type_pb2='google.ads.google_ads.v4.proto.enums', + app_campaign_app_store_pb2='google.ads.google_ads.v4.proto.enums', + app_campaign_bidding_strategy_goal_type_pb2='google.ads.google_ads.v4.proto.enums', + app_payment_model_type_pb2='google.ads.google_ads.v4.proto.enums', + app_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + app_store_pb2='google.ads.google_ads.v4.proto.enums', + app_url_operating_system_type_pb2='google.ads.google_ads.v4.proto.enums', + asset_field_type_pb2='google.ads.google_ads.v4.proto.enums', + asset_performance_label_pb2='google.ads.google_ads.v4.proto.enums', + asset_type_pb2='google.ads.google_ads.v4.proto.enums', + attribution_model_pb2='google.ads.google_ads.v4.proto.enums', + batch_job_status_pb2='google.ads.google_ads.v4.proto.enums', + bid_modifier_source_pb2='google.ads.google_ads.v4.proto.enums', + bidding_source_pb2='google.ads.google_ads.v4.proto.enums', + bidding_strategy_status_pb2='google.ads.google_ads.v4.proto.enums', + bidding_strategy_type_pb2='google.ads.google_ads.v4.proto.enums', + billing_setup_status_pb2='google.ads.google_ads.v4.proto.enums', + brand_safety_suitability_pb2='google.ads.google_ads.v4.proto.enums', + budget_delivery_method_pb2='google.ads.google_ads.v4.proto.enums', + budget_period_pb2='google.ads.google_ads.v4.proto.enums', + budget_status_pb2='google.ads.google_ads.v4.proto.enums', + budget_type_pb2='google.ads.google_ads.v4.proto.enums', + call_conversion_reporting_state_pb2='google.ads.google_ads.v4.proto.enums', + call_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + callout_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + campaign_criterion_status_pb2='google.ads.google_ads.v4.proto.enums', + campaign_draft_status_pb2='google.ads.google_ads.v4.proto.enums', + campaign_experiment_status_pb2='google.ads.google_ads.v4.proto.enums', + campaign_experiment_traffic_split_type_pb2='google.ads.google_ads.v4.proto.enums', + campaign_experiment_type_pb2='google.ads.google_ads.v4.proto.enums', + campaign_serving_status_pb2='google.ads.google_ads.v4.proto.enums', + campaign_shared_set_status_pb2='google.ads.google_ads.v4.proto.enums', + campaign_status_pb2='google.ads.google_ads.v4.proto.enums', + change_status_operation_pb2='google.ads.google_ads.v4.proto.enums', + change_status_resource_type_pb2='google.ads.google_ads.v4.proto.enums', + click_type_pb2='google.ads.google_ads.v4.proto.enums', + content_label_type_pb2='google.ads.google_ads.v4.proto.enums', + conversion_action_category_pb2='google.ads.google_ads.v4.proto.enums', + conversion_action_counting_type_pb2='google.ads.google_ads.v4.proto.enums', + conversion_action_status_pb2='google.ads.google_ads.v4.proto.enums', + conversion_action_type_pb2='google.ads.google_ads.v4.proto.enums', + conversion_adjustment_type_pb2='google.ads.google_ads.v4.proto.enums', + conversion_attribution_event_type_pb2='google.ads.google_ads.v4.proto.enums', + conversion_lag_bucket_pb2='google.ads.google_ads.v4.proto.enums', + conversion_or_adjustment_lag_bucket_pb2='google.ads.google_ads.v4.proto.enums', + criterion_category_channel_availability_mode_pb2='google.ads.google_ads.v4.proto.enums', + criterion_category_locale_availability_mode_pb2='google.ads.google_ads.v4.proto.enums', + criterion_system_serving_status_pb2='google.ads.google_ads.v4.proto.enums', + criterion_type_pb2='google.ads.google_ads.v4.proto.enums', + custom_interest_member_type_pb2='google.ads.google_ads.v4.proto.enums', + custom_interest_status_pb2='google.ads.google_ads.v4.proto.enums', + custom_interest_type_pb2='google.ads.google_ads.v4.proto.enums', + custom_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + customer_match_upload_key_type_pb2='google.ads.google_ads.v4.proto.enums', + customer_pay_per_conversion_eligibility_failure_reason_pb2='google.ads.google_ads.v4.proto.enums', + data_driven_model_status_pb2='google.ads.google_ads.v4.proto.enums', + day_of_week_pb2='google.ads.google_ads.v4.proto.enums', + device_pb2='google.ads.google_ads.v4.proto.enums', + display_ad_format_setting_pb2='google.ads.google_ads.v4.proto.enums', + display_upload_product_type_pb2='google.ads.google_ads.v4.proto.enums', + distance_bucket_pb2='google.ads.google_ads.v4.proto.enums', + dsa_page_feed_criterion_field_pb2='google.ads.google_ads.v4.proto.enums', + education_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + extension_setting_device_pb2='google.ads.google_ads.v4.proto.enums', + extension_type_pb2='google.ads.google_ads.v4.proto.enums', + external_conversion_source_pb2='google.ads.google_ads.v4.proto.enums', + feed_attribute_type_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_quality_approval_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_quality_disapproval_reason_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_target_device_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_target_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_target_type_pb2='google.ads.google_ads.v4.proto.enums', + feed_item_validation_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_link_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_mapping_criterion_type_pb2='google.ads.google_ads.v4.proto.enums', + feed_mapping_status_pb2='google.ads.google_ads.v4.proto.enums', + feed_origin_pb2='google.ads.google_ads.v4.proto.enums', + feed_status_pb2='google.ads.google_ads.v4.proto.enums', + flight_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + frequency_cap_event_type_pb2='google.ads.google_ads.v4.proto.enums', + frequency_cap_level_pb2='google.ads.google_ads.v4.proto.enums', + frequency_cap_time_unit_pb2='google.ads.google_ads.v4.proto.enums', + gender_type_pb2='google.ads.google_ads.v4.proto.enums', + geo_target_constant_status_pb2='google.ads.google_ads.v4.proto.enums', + geo_targeting_restriction_pb2='google.ads.google_ads.v4.proto.enums', + geo_targeting_type_pb2='google.ads.google_ads.v4.proto.enums', + google_ads_field_category_pb2='google.ads.google_ads.v4.proto.enums', + google_ads_field_data_type_pb2='google.ads.google_ads.v4.proto.enums', + hotel_date_selection_type_pb2='google.ads.google_ads.v4.proto.enums', + hotel_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + hotel_price_bucket_pb2='google.ads.google_ads.v4.proto.enums', + hotel_rate_type_pb2='google.ads.google_ads.v4.proto.enums', + income_range_type_pb2='google.ads.google_ads.v4.proto.enums', + interaction_event_type_pb2='google.ads.google_ads.v4.proto.enums', + interaction_type_pb2='google.ads.google_ads.v4.proto.enums', + invoice_type_pb2='google.ads.google_ads.v4.proto.enums', + job_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + keyword_match_type_pb2='google.ads.google_ads.v4.proto.enums', + keyword_plan_competition_level_pb2='google.ads.google_ads.v4.proto.enums', + keyword_plan_forecast_interval_pb2='google.ads.google_ads.v4.proto.enums', + keyword_plan_network_pb2='google.ads.google_ads.v4.proto.enums', + label_status_pb2='google.ads.google_ads.v4.proto.enums', + legacy_app_install_ad_app_store_pb2='google.ads.google_ads.v4.proto.enums', + linked_account_type_pb2='google.ads.google_ads.v4.proto.enums', + listing_group_type_pb2='google.ads.google_ads.v4.proto.enums', + local_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + location_extension_targeting_criterion_field_pb2='google.ads.google_ads.v4.proto.enums', + location_group_radius_units_pb2='google.ads.google_ads.v4.proto.enums', + location_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + location_source_type_pb2='google.ads.google_ads.v4.proto.enums', + manager_link_status_pb2='google.ads.google_ads.v4.proto.enums', + matching_function_context_type_pb2='google.ads.google_ads.v4.proto.enums', + matching_function_operator_pb2='google.ads.google_ads.v4.proto.enums', + media_type_pb2='google.ads.google_ads.v4.proto.enums', + merchant_center_link_status_pb2='google.ads.google_ads.v4.proto.enums', + message_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + mime_type_pb2='google.ads.google_ads.v4.proto.enums', + minute_of_hour_pb2='google.ads.google_ads.v4.proto.enums', + mobile_app_vendor_pb2='google.ads.google_ads.v4.proto.enums', + mobile_device_type_pb2='google.ads.google_ads.v4.proto.enums', + month_of_year_pb2='google.ads.google_ads.v4.proto.enums', + negative_geo_target_type_pb2='google.ads.google_ads.v4.proto.enums', + offline_user_data_job_failure_reason_pb2='google.ads.google_ads.v4.proto.enums', + offline_user_data_job_status_pb2='google.ads.google_ads.v4.proto.enums', + offline_user_data_job_type_pb2='google.ads.google_ads.v4.proto.enums', + operating_system_version_operator_type_pb2='google.ads.google_ads.v4.proto.enums', + optimization_goal_type_pb2='google.ads.google_ads.v4.proto.enums', + page_one_promoted_strategy_goal_pb2='google.ads.google_ads.v4.proto.enums', + parental_status_type_pb2='google.ads.google_ads.v4.proto.enums', + payment_mode_pb2='google.ads.google_ads.v4.proto.enums', + placeholder_type_pb2='google.ads.google_ads.v4.proto.enums', + placement_type_pb2='google.ads.google_ads.v4.proto.enums', + policy_approval_status_pb2='google.ads.google_ads.v4.proto.enums', + policy_review_status_pb2='google.ads.google_ads.v4.proto.enums', + policy_topic_entry_type_pb2='google.ads.google_ads.v4.proto.enums', + policy_topic_evidence_destination_mismatch_url_type_pb2='google.ads.google_ads.v4.proto.enums', + policy_topic_evidence_destination_not_working_device_pb2='google.ads.google_ads.v4.proto.enums', + policy_topic_evidence_destination_not_working_dns_error_type_pb2='google.ads.google_ads.v4.proto.enums', + positive_geo_target_type_pb2='google.ads.google_ads.v4.proto.enums', + preferred_content_type_pb2='google.ads.google_ads.v4.proto.enums', + price_extension_price_qualifier_pb2='google.ads.google_ads.v4.proto.enums', + price_extension_price_unit_pb2='google.ads.google_ads.v4.proto.enums', + price_extension_type_pb2='google.ads.google_ads.v4.proto.enums', + price_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + product_bidding_category_level_pb2='google.ads.google_ads.v4.proto.enums', + product_bidding_category_status_pb2='google.ads.google_ads.v4.proto.enums', + product_channel_exclusivity_pb2='google.ads.google_ads.v4.proto.enums', + product_channel_pb2='google.ads.google_ads.v4.proto.enums', + product_condition_pb2='google.ads.google_ads.v4.proto.enums', + product_custom_attribute_index_pb2='google.ads.google_ads.v4.proto.enums', + product_type_level_pb2='google.ads.google_ads.v4.proto.enums', + promotion_extension_discount_modifier_pb2='google.ads.google_ads.v4.proto.enums', + promotion_extension_occasion_pb2='google.ads.google_ads.v4.proto.enums', + promotion_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + proximity_radius_units_pb2='google.ads.google_ads.v4.proto.enums', + quality_score_bucket_pb2='google.ads.google_ads.v4.proto.enums', + reach_plan_ad_length_pb2='google.ads.google_ads.v4.proto.enums', + reach_plan_age_range_pb2='google.ads.google_ads.v4.proto.enums', + reach_plan_network_pb2='google.ads.google_ads.v4.proto.enums', + real_estate_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + recommendation_type_pb2='google.ads.google_ads.v4.proto.enums', + search_engine_results_page_type_pb2='google.ads.google_ads.v4.proto.enums', + search_term_match_type_pb2='google.ads.google_ads.v4.proto.enums', + search_term_targeting_status_pb2='google.ads.google_ads.v4.proto.enums', + served_asset_field_type_pb2='google.ads.google_ads.v4.proto.enums', + shared_set_status_pb2='google.ads.google_ads.v4.proto.enums', + shared_set_type_pb2='google.ads.google_ads.v4.proto.enums', + simulation_modification_method_pb2='google.ads.google_ads.v4.proto.enums', + simulation_type_pb2='google.ads.google_ads.v4.proto.enums', + sitelink_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + slot_pb2='google.ads.google_ads.v4.proto.enums', + spending_limit_type_pb2='google.ads.google_ads.v4.proto.enums', + structured_snippet_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + summary_row_setting_pb2='google.ads.google_ads.v4.proto.enums', + system_managed_entity_source_pb2='google.ads.google_ads.v4.proto.enums', + target_cpa_opt_in_recommendation_goal_pb2='google.ads.google_ads.v4.proto.enums', + target_impression_share_location_pb2='google.ads.google_ads.v4.proto.enums', + targeting_dimension_pb2='google.ads.google_ads.v4.proto.enums', + time_type_pb2='google.ads.google_ads.v4.proto.enums', + tracking_code_page_format_pb2='google.ads.google_ads.v4.proto.enums', + tracking_code_type_pb2='google.ads.google_ads.v4.proto.enums', + travel_placeholder_field_pb2='google.ads.google_ads.v4.proto.enums', + user_interest_taxonomy_type_pb2='google.ads.google_ads.v4.proto.enums', + user_list_access_status_pb2='google.ads.google_ads.v4.proto.enums', + user_list_closing_reason_pb2='google.ads.google_ads.v4.proto.enums', + user_list_combined_rule_operator_pb2='google.ads.google_ads.v4.proto.enums', + user_list_crm_data_source_type_pb2='google.ads.google_ads.v4.proto.enums', + user_list_date_rule_item_operator_pb2='google.ads.google_ads.v4.proto.enums', + user_list_logical_rule_operator_pb2='google.ads.google_ads.v4.proto.enums', + user_list_membership_status_pb2='google.ads.google_ads.v4.proto.enums', + user_list_number_rule_item_operator_pb2='google.ads.google_ads.v4.proto.enums', + user_list_prepopulation_status_pb2='google.ads.google_ads.v4.proto.enums', + user_list_rule_type_pb2='google.ads.google_ads.v4.proto.enums', + user_list_size_range_pb2='google.ads.google_ads.v4.proto.enums', + user_list_string_rule_item_operator_pb2='google.ads.google_ads.v4.proto.enums', + user_list_type_pb2='google.ads.google_ads.v4.proto.enums', + vanity_pharma_display_url_mode_pb2='google.ads.google_ads.v4.proto.enums', + vanity_pharma_text_pb2='google.ads.google_ads.v4.proto.enums', + webpage_condition_operand_pb2='google.ads.google_ads.v4.proto.enums', + webpage_condition_operator_pb2='google.ads.google_ads.v4.proto.enums', + access_invitation_error_pb2='google.ads.google_ads.v4.proto.errors', + account_budget_proposal_error_pb2='google.ads.google_ads.v4.proto.errors', + account_link_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_customizer_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_group_ad_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_group_bid_modifier_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_group_criterion_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_group_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_group_feed_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_parameter_error_pb2='google.ads.google_ads.v4.proto.errors', + ad_sharing_error_pb2='google.ads.google_ads.v4.proto.errors', + adx_error_pb2='google.ads.google_ads.v4.proto.errors', + asset_error_pb2='google.ads.google_ads.v4.proto.errors', + asset_link_error_pb2='google.ads.google_ads.v4.proto.errors', + authentication_error_pb2='google.ads.google_ads.v4.proto.errors', + authorization_error_pb2='google.ads.google_ads.v4.proto.errors', + batch_job_error_pb2='google.ads.google_ads.v4.proto.errors', + bidding_error_pb2='google.ads.google_ads.v4.proto.errors', + bidding_strategy_error_pb2='google.ads.google_ads.v4.proto.errors', + billing_setup_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_budget_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_criterion_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_draft_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_experiment_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_feed_error_pb2='google.ads.google_ads.v4.proto.errors', + campaign_shared_set_error_pb2='google.ads.google_ads.v4.proto.errors', + change_status_error_pb2='google.ads.google_ads.v4.proto.errors', + collection_size_error_pb2='google.ads.google_ads.v4.proto.errors', + context_error_pb2='google.ads.google_ads.v4.proto.errors', + conversion_action_error_pb2='google.ads.google_ads.v4.proto.errors', + conversion_adjustment_upload_error_pb2='google.ads.google_ads.v4.proto.errors', + conversion_upload_error_pb2='google.ads.google_ads.v4.proto.errors', + country_code_error_pb2='google.ads.google_ads.v4.proto.errors', + criterion_error_pb2='google.ads.google_ads.v4.proto.errors', + currency_code_error_pb2='google.ads.google_ads.v4.proto.errors', + custom_interest_error_pb2='google.ads.google_ads.v4.proto.errors', + customer_client_link_error_pb2='google.ads.google_ads.v4.proto.errors', + customer_error_pb2='google.ads.google_ads.v4.proto.errors', + customer_feed_error_pb2='google.ads.google_ads.v4.proto.errors', + customer_manager_link_error_pb2='google.ads.google_ads.v4.proto.errors', + database_error_pb2='google.ads.google_ads.v4.proto.errors', + date_error_pb2='google.ads.google_ads.v4.proto.errors', + date_range_error_pb2='google.ads.google_ads.v4.proto.errors', + distinct_error_pb2='google.ads.google_ads.v4.proto.errors', + enum_error_pb2='google.ads.google_ads.v4.proto.errors', + errors_pb2='google.ads.google_ads.v4.proto.errors', + extension_feed_item_error_pb2='google.ads.google_ads.v4.proto.errors', + extension_setting_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_attribute_reference_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_item_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_item_target_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_item_validation_error_pb2='google.ads.google_ads.v4.proto.errors', + feed_mapping_error_pb2='google.ads.google_ads.v4.proto.errors', + field_error_pb2='google.ads.google_ads.v4.proto.errors', + field_mask_error_pb2='google.ads.google_ads.v4.proto.errors', + function_error_pb2='google.ads.google_ads.v4.proto.errors', + function_parsing_error_pb2='google.ads.google_ads.v4.proto.errors', + geo_target_constant_suggestion_error_pb2='google.ads.google_ads.v4.proto.errors', + header_error_pb2='google.ads.google_ads.v4.proto.errors', + id_error_pb2='google.ads.google_ads.v4.proto.errors', + image_error_pb2='google.ads.google_ads.v4.proto.errors', + internal_error_pb2='google.ads.google_ads.v4.proto.errors', + invoice_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_ad_group_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_ad_group_keyword_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_campaign_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_campaign_keyword_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_error_pb2='google.ads.google_ads.v4.proto.errors', + keyword_plan_idea_error_pb2='google.ads.google_ads.v4.proto.errors', + label_error_pb2='google.ads.google_ads.v4.proto.errors', + language_code_error_pb2='google.ads.google_ads.v4.proto.errors', + list_operation_error_pb2='google.ads.google_ads.v4.proto.errors', + manager_link_error_pb2='google.ads.google_ads.v4.proto.errors', + media_bundle_error_pb2='google.ads.google_ads.v4.proto.errors', + media_file_error_pb2='google.ads.google_ads.v4.proto.errors', + media_upload_error_pb2='google.ads.google_ads.v4.proto.errors', + multiplier_error_pb2='google.ads.google_ads.v4.proto.errors', + mutate_error_pb2='google.ads.google_ads.v4.proto.errors', + new_resource_creation_error_pb2='google.ads.google_ads.v4.proto.errors', + not_empty_error_pb2='google.ads.google_ads.v4.proto.errors', + not_whitelisted_error_pb2='google.ads.google_ads.v4.proto.errors', + null_error_pb2='google.ads.google_ads.v4.proto.errors', + offline_user_data_job_error_pb2='google.ads.google_ads.v4.proto.errors', + operation_access_denied_error_pb2='google.ads.google_ads.v4.proto.errors', + operator_error_pb2='google.ads.google_ads.v4.proto.errors', + partial_failure_error_pb2='google.ads.google_ads.v4.proto.errors', + payments_account_error_pb2='google.ads.google_ads.v4.proto.errors', + policy_finding_error_pb2='google.ads.google_ads.v4.proto.errors', + policy_validation_parameter_error_pb2='google.ads.google_ads.v4.proto.errors', + policy_violation_error_pb2='google.ads.google_ads.v4.proto.errors', + query_error_pb2='google.ads.google_ads.v4.proto.errors', + quota_error_pb2='google.ads.google_ads.v4.proto.errors', + range_error_pb2='google.ads.google_ads.v4.proto.errors', + reach_plan_error_pb2='google.ads.google_ads.v4.proto.errors', + recommendation_error_pb2='google.ads.google_ads.v4.proto.errors', + region_code_error_pb2='google.ads.google_ads.v4.proto.errors', + request_error_pb2='google.ads.google_ads.v4.proto.errors', + resource_access_denied_error_pb2='google.ads.google_ads.v4.proto.errors', + resource_count_limit_exceeded_error_pb2='google.ads.google_ads.v4.proto.errors', + setting_error_pb2='google.ads.google_ads.v4.proto.errors', + shared_criterion_error_pb2='google.ads.google_ads.v4.proto.errors', + shared_set_error_pb2='google.ads.google_ads.v4.proto.errors', + size_limit_error_pb2='google.ads.google_ads.v4.proto.errors', + string_format_error_pb2='google.ads.google_ads.v4.proto.errors', + string_length_error_pb2='google.ads.google_ads.v4.proto.errors', + third_party_app_analytics_link_error_pb2='google.ads.google_ads.v4.proto.errors', + time_zone_error_pb2='google.ads.google_ads.v4.proto.errors', + url_field_error_pb2='google.ads.google_ads.v4.proto.errors', + user_data_error_pb2='google.ads.google_ads.v4.proto.errors', + user_list_error_pb2='google.ads.google_ads.v4.proto.errors', + youtube_video_registration_error_pb2='google.ads.google_ads.v4.proto.errors', + account_budget_pb2='google.ads.google_ads.v4.proto.resources', + account_budget_proposal_pb2='google.ads.google_ads.v4.proto.resources', + account_link_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_ad_asset_view_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_ad_label_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_ad_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_audience_view_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_bid_modifier_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_criterion_label_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_criterion_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_criterion_simulation_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_extension_setting_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_feed_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_label_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_pb2='google.ads.google_ads.v4.proto.resources', + ad_group_simulation_pb2='google.ads.google_ads.v4.proto.resources', + ad_parameter_pb2='google.ads.google_ads.v4.proto.resources', + ad_pb2='google.ads.google_ads.v4.proto.resources', + ad_schedule_view_pb2='google.ads.google_ads.v4.proto.resources', + age_range_view_pb2='google.ads.google_ads.v4.proto.resources', + asset_pb2='google.ads.google_ads.v4.proto.resources', + batch_job_pb2='google.ads.google_ads.v4.proto.resources', + bidding_strategy_pb2='google.ads.google_ads.v4.proto.resources', + billing_setup_pb2='google.ads.google_ads.v4.proto.resources', + campaign_audience_view_pb2='google.ads.google_ads.v4.proto.resources', + campaign_bid_modifier_pb2='google.ads.google_ads.v4.proto.resources', + campaign_budget_pb2='google.ads.google_ads.v4.proto.resources', + campaign_criterion_pb2='google.ads.google_ads.v4.proto.resources', + campaign_criterion_simulation_pb2='google.ads.google_ads.v4.proto.resources', + campaign_draft_pb2='google.ads.google_ads.v4.proto.resources', + campaign_experiment_pb2='google.ads.google_ads.v4.proto.resources', + campaign_extension_setting_pb2='google.ads.google_ads.v4.proto.resources', + campaign_feed_pb2='google.ads.google_ads.v4.proto.resources', + campaign_label_pb2='google.ads.google_ads.v4.proto.resources', + campaign_pb2='google.ads.google_ads.v4.proto.resources', + campaign_shared_set_pb2='google.ads.google_ads.v4.proto.resources', + carrier_constant_pb2='google.ads.google_ads.v4.proto.resources', + change_status_pb2='google.ads.google_ads.v4.proto.resources', + click_view_pb2='google.ads.google_ads.v4.proto.resources', + conversion_action_pb2='google.ads.google_ads.v4.proto.resources', + currency_constant_pb2='google.ads.google_ads.v4.proto.resources', + custom_interest_pb2='google.ads.google_ads.v4.proto.resources', + customer_client_link_pb2='google.ads.google_ads.v4.proto.resources', + customer_client_pb2='google.ads.google_ads.v4.proto.resources', + customer_extension_setting_pb2='google.ads.google_ads.v4.proto.resources', + customer_feed_pb2='google.ads.google_ads.v4.proto.resources', + customer_label_pb2='google.ads.google_ads.v4.proto.resources', + customer_manager_link_pb2='google.ads.google_ads.v4.proto.resources', + customer_negative_criterion_pb2='google.ads.google_ads.v4.proto.resources', + customer_pb2='google.ads.google_ads.v4.proto.resources', + detail_placement_view_pb2='google.ads.google_ads.v4.proto.resources', + display_keyword_view_pb2='google.ads.google_ads.v4.proto.resources', + distance_view_pb2='google.ads.google_ads.v4.proto.resources', + domain_category_pb2='google.ads.google_ads.v4.proto.resources', + dynamic_search_ads_search_term_view_pb2='google.ads.google_ads.v4.proto.resources', + expanded_landing_page_view_pb2='google.ads.google_ads.v4.proto.resources', + extension_feed_item_pb2='google.ads.google_ads.v4.proto.resources', + feed_item_pb2='google.ads.google_ads.v4.proto.resources', + feed_item_target_pb2='google.ads.google_ads.v4.proto.resources', + feed_mapping_pb2='google.ads.google_ads.v4.proto.resources', + feed_pb2='google.ads.google_ads.v4.proto.resources', + feed_placeholder_view_pb2='google.ads.google_ads.v4.proto.resources', + gender_view_pb2='google.ads.google_ads.v4.proto.resources', + geo_target_constant_pb2='google.ads.google_ads.v4.proto.resources', + geographic_view_pb2='google.ads.google_ads.v4.proto.resources', + google_ads_field_pb2='google.ads.google_ads.v4.proto.resources', + group_placement_view_pb2='google.ads.google_ads.v4.proto.resources', + hotel_group_view_pb2='google.ads.google_ads.v4.proto.resources', + hotel_performance_view_pb2='google.ads.google_ads.v4.proto.resources', + income_range_view_pb2='google.ads.google_ads.v4.proto.resources', + invoice_pb2='google.ads.google_ads.v4.proto.resources', + keyword_plan_ad_group_keyword_pb2='google.ads.google_ads.v4.proto.resources', + keyword_plan_ad_group_pb2='google.ads.google_ads.v4.proto.resources', + keyword_plan_campaign_keyword_pb2='google.ads.google_ads.v4.proto.resources', + keyword_plan_campaign_pb2='google.ads.google_ads.v4.proto.resources', + keyword_plan_pb2='google.ads.google_ads.v4.proto.resources', + keyword_view_pb2='google.ads.google_ads.v4.proto.resources', + label_pb2='google.ads.google_ads.v4.proto.resources', + landing_page_view_pb2='google.ads.google_ads.v4.proto.resources', + language_constant_pb2='google.ads.google_ads.v4.proto.resources', + location_view_pb2='google.ads.google_ads.v4.proto.resources', + managed_placement_view_pb2='google.ads.google_ads.v4.proto.resources', + media_file_pb2='google.ads.google_ads.v4.proto.resources', + merchant_center_link_pb2='google.ads.google_ads.v4.proto.resources', + mobile_app_category_constant_pb2='google.ads.google_ads.v4.proto.resources', + mobile_device_constant_pb2='google.ads.google_ads.v4.proto.resources', + offline_user_data_job_pb2='google.ads.google_ads.v4.proto.resources', + operating_system_version_constant_pb2='google.ads.google_ads.v4.proto.resources', + paid_organic_search_term_view_pb2='google.ads.google_ads.v4.proto.resources', + parental_status_view_pb2='google.ads.google_ads.v4.proto.resources', + payments_account_pb2='google.ads.google_ads.v4.proto.resources', + product_bidding_category_constant_pb2='google.ads.google_ads.v4.proto.resources', + product_group_view_pb2='google.ads.google_ads.v4.proto.resources', + recommendation_pb2='google.ads.google_ads.v4.proto.resources', + remarketing_action_pb2='google.ads.google_ads.v4.proto.resources', + search_term_view_pb2='google.ads.google_ads.v4.proto.resources', + shared_criterion_pb2='google.ads.google_ads.v4.proto.resources', + shared_set_pb2='google.ads.google_ads.v4.proto.resources', + shopping_performance_view_pb2='google.ads.google_ads.v4.proto.resources', + third_party_app_analytics_link_pb2='google.ads.google_ads.v4.proto.resources', + topic_constant_pb2='google.ads.google_ads.v4.proto.resources', + topic_view_pb2='google.ads.google_ads.v4.proto.resources', + user_interest_pb2='google.ads.google_ads.v4.proto.resources', + user_list_pb2='google.ads.google_ads.v4.proto.resources', + user_location_view_pb2='google.ads.google_ads.v4.proto.resources', + video_pb2='google.ads.google_ads.v4.proto.resources', + account_budget_proposal_service_pb2='google.ads.google_ads.v4.proto.services', + account_budget_service_pb2='google.ads.google_ads.v4.proto.services', + account_link_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_ad_asset_view_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_ad_label_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_ad_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_audience_view_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_bid_modifier_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_criterion_label_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_criterion_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_criterion_simulation_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_extension_setting_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_feed_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_label_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_service_pb2='google.ads.google_ads.v4.proto.services', + ad_group_simulation_service_pb2='google.ads.google_ads.v4.proto.services', + ad_parameter_service_pb2='google.ads.google_ads.v4.proto.services', + ad_schedule_view_service_pb2='google.ads.google_ads.v4.proto.services', + ad_service_pb2='google.ads.google_ads.v4.proto.services', + age_range_view_service_pb2='google.ads.google_ads.v4.proto.services', + asset_service_pb2='google.ads.google_ads.v4.proto.services', + batch_job_service_pb2='google.ads.google_ads.v4.proto.services', + bidding_strategy_service_pb2='google.ads.google_ads.v4.proto.services', + billing_setup_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_audience_view_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_bid_modifier_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_budget_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_criterion_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_criterion_simulation_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_draft_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_experiment_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_extension_setting_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_feed_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_label_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_service_pb2='google.ads.google_ads.v4.proto.services', + campaign_shared_set_service_pb2='google.ads.google_ads.v4.proto.services', + carrier_constant_service_pb2='google.ads.google_ads.v4.proto.services', + change_status_service_pb2='google.ads.google_ads.v4.proto.services', + click_view_service_pb2='google.ads.google_ads.v4.proto.services', + conversion_action_service_pb2='google.ads.google_ads.v4.proto.services', + conversion_adjustment_upload_service_pb2='google.ads.google_ads.v4.proto.services', + conversion_upload_service_pb2='google.ads.google_ads.v4.proto.services', + currency_constant_service_pb2='google.ads.google_ads.v4.proto.services', + custom_interest_service_pb2='google.ads.google_ads.v4.proto.services', + customer_client_link_service_pb2='google.ads.google_ads.v4.proto.services', + customer_client_service_pb2='google.ads.google_ads.v4.proto.services', + customer_extension_setting_service_pb2='google.ads.google_ads.v4.proto.services', + customer_feed_service_pb2='google.ads.google_ads.v4.proto.services', + customer_label_service_pb2='google.ads.google_ads.v4.proto.services', + customer_manager_link_service_pb2='google.ads.google_ads.v4.proto.services', + customer_negative_criterion_service_pb2='google.ads.google_ads.v4.proto.services', + customer_service_pb2='google.ads.google_ads.v4.proto.services', + detail_placement_view_service_pb2='google.ads.google_ads.v4.proto.services', + display_keyword_view_service_pb2='google.ads.google_ads.v4.proto.services', + distance_view_service_pb2='google.ads.google_ads.v4.proto.services', + domain_category_service_pb2='google.ads.google_ads.v4.proto.services', + dynamic_search_ads_search_term_view_service_pb2='google.ads.google_ads.v4.proto.services', + expanded_landing_page_view_service_pb2='google.ads.google_ads.v4.proto.services', + extension_feed_item_service_pb2='google.ads.google_ads.v4.proto.services', + feed_item_service_pb2='google.ads.google_ads.v4.proto.services', + feed_item_target_service_pb2='google.ads.google_ads.v4.proto.services', + feed_mapping_service_pb2='google.ads.google_ads.v4.proto.services', + feed_placeholder_view_service_pb2='google.ads.google_ads.v4.proto.services', + feed_service_pb2='google.ads.google_ads.v4.proto.services', + gender_view_service_pb2='google.ads.google_ads.v4.proto.services', + geo_target_constant_service_pb2='google.ads.google_ads.v4.proto.services', + geographic_view_service_pb2='google.ads.google_ads.v4.proto.services', + google_ads_field_service_pb2='google.ads.google_ads.v4.proto.services', + google_ads_service_pb2='google.ads.google_ads.v4.proto.services', + group_placement_view_service_pb2='google.ads.google_ads.v4.proto.services', + hotel_group_view_service_pb2='google.ads.google_ads.v4.proto.services', + hotel_performance_view_service_pb2='google.ads.google_ads.v4.proto.services', + income_range_view_service_pb2='google.ads.google_ads.v4.proto.services', + invoice_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_ad_group_keyword_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_ad_group_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_campaign_keyword_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_campaign_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_idea_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_plan_service_pb2='google.ads.google_ads.v4.proto.services', + keyword_view_service_pb2='google.ads.google_ads.v4.proto.services', + label_service_pb2='google.ads.google_ads.v4.proto.services', + landing_page_view_service_pb2='google.ads.google_ads.v4.proto.services', + language_constant_service_pb2='google.ads.google_ads.v4.proto.services', + location_view_service_pb2='google.ads.google_ads.v4.proto.services', + managed_placement_view_service_pb2='google.ads.google_ads.v4.proto.services', + media_file_service_pb2='google.ads.google_ads.v4.proto.services', + merchant_center_link_service_pb2='google.ads.google_ads.v4.proto.services', + mobile_app_category_constant_service_pb2='google.ads.google_ads.v4.proto.services', + mobile_device_constant_service_pb2='google.ads.google_ads.v4.proto.services', + offline_user_data_job_service_pb2='google.ads.google_ads.v4.proto.services', + operating_system_version_constant_service_pb2='google.ads.google_ads.v4.proto.services', + paid_organic_search_term_view_service_pb2='google.ads.google_ads.v4.proto.services', + parental_status_view_service_pb2='google.ads.google_ads.v4.proto.services', + payments_account_service_pb2='google.ads.google_ads.v4.proto.services', + product_bidding_category_constant_service_pb2='google.ads.google_ads.v4.proto.services', + product_group_view_service_pb2='google.ads.google_ads.v4.proto.services', + reach_plan_service_pb2='google.ads.google_ads.v4.proto.services', + recommendation_service_pb2='google.ads.google_ads.v4.proto.services', + remarketing_action_service_pb2='google.ads.google_ads.v4.proto.services', + search_term_view_service_pb2='google.ads.google_ads.v4.proto.services', + shared_criterion_service_pb2='google.ads.google_ads.v4.proto.services', + shared_set_service_pb2='google.ads.google_ads.v4.proto.services', + shopping_performance_view_service_pb2='google.ads.google_ads.v4.proto.services', + third_party_app_analytics_link_service_pb2='google.ads.google_ads.v4.proto.services', + topic_constant_service_pb2='google.ads.google_ads.v4.proto.services', + topic_view_service_pb2='google.ads.google_ads.v4.proto.services', + user_data_service_pb2='google.ads.google_ads.v4.proto.services', + user_interest_service_pb2='google.ads.google_ads.v4.proto.services', + user_list_service_pb2='google.ads.google_ads.v4.proto.services', + user_location_view_service_pb2='google.ads.google_ads.v4.proto.services', + video_service_pb2='google.ads.google_ads.v4.proto.services', + operations_pb2='google.longrunning', + any_pb2='google.protobuf', + empty_pb2='google.protobuf', + field_mask_pb2='google.protobuf', + wrappers_pb2='google.protobuf', + status_pb2='google.rpc', +) + + +_lazy_class_to_package_map = dict( + AccessInvitationErrorEnum='google.ads.google_ads.v4.proto.errors.access_invitation_error_pb2', + AccessReasonEnum='google.ads.google_ads.v4.proto.enums.access_reason_pb2', + AccessRoleEnum='google.ads.google_ads.v4.proto.enums.access_role_pb2', + AccountBudget='google.ads.google_ads.v4.proto.resources.account_budget_pb2', + AccountBudgetProposal='google.ads.google_ads.v4.proto.resources.account_budget_proposal_pb2', + AccountBudgetProposalErrorEnum='google.ads.google_ads.v4.proto.errors.account_budget_proposal_error_pb2', + AccountBudgetProposalOperation='google.ads.google_ads.v4.proto.services.account_budget_proposal_service_pb2', + AccountBudgetProposalStatusEnum='google.ads.google_ads.v4.proto.enums.account_budget_proposal_status_pb2', + AccountBudgetProposalTypeEnum='google.ads.google_ads.v4.proto.enums.account_budget_proposal_type_pb2', + AccountBudgetStatusEnum='google.ads.google_ads.v4.proto.enums.account_budget_status_pb2', + AccountLink='google.ads.google_ads.v4.proto.resources.account_link_pb2', + AccountLinkOperation='google.ads.google_ads.v4.proto.services.account_link_service_pb2', + AccountLinkStatusEnum='google.ads.google_ads.v4.proto.enums.account_link_status_pb2', + Ad='google.ads.google_ads.v4.proto.resources.ad_pb2', + AdCustomizerErrorEnum='google.ads.google_ads.v4.proto.errors.ad_customizer_error_pb2', + AdCustomizerPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.ad_customizer_placeholder_field_pb2', + AdErrorEnum='google.ads.google_ads.v4.proto.errors.ad_error_pb2', + AdGroup='google.ads.google_ads.v4.proto.resources.ad_group_pb2', + AdGroupAd='google.ads.google_ads.v4.proto.resources.ad_group_ad_pb2', + AdGroupAdAssetPolicySummary='google.ads.google_ads.v4.proto.resources.ad_group_ad_asset_view_pb2', + AdGroupAdAssetView='google.ads.google_ads.v4.proto.resources.ad_group_ad_asset_view_pb2', + AdGroupAdErrorEnum='google.ads.google_ads.v4.proto.errors.ad_group_ad_error_pb2', + AdGroupAdLabel='google.ads.google_ads.v4.proto.resources.ad_group_ad_label_pb2', + AdGroupAdLabelOperation='google.ads.google_ads.v4.proto.services.ad_group_ad_label_service_pb2', + AdGroupAdOperation='google.ads.google_ads.v4.proto.services.ad_group_ad_service_pb2', + AdGroupAdPolicySummary='google.ads.google_ads.v4.proto.resources.ad_group_ad_pb2', + AdGroupAdRotationModeEnum='google.ads.google_ads.v4.proto.enums.ad_group_ad_rotation_mode_pb2', + AdGroupAdStatusEnum='google.ads.google_ads.v4.proto.enums.ad_group_ad_status_pb2', + AdGroupAudienceView='google.ads.google_ads.v4.proto.resources.ad_group_audience_view_pb2', + AdGroupBidModifier='google.ads.google_ads.v4.proto.resources.ad_group_bid_modifier_pb2', + AdGroupBidModifierErrorEnum='google.ads.google_ads.v4.proto.errors.ad_group_bid_modifier_error_pb2', + AdGroupBidModifierOperation='google.ads.google_ads.v4.proto.services.ad_group_bid_modifier_service_pb2', + AdGroupCriterion='google.ads.google_ads.v4.proto.resources.ad_group_criterion_pb2', + AdGroupCriterionApprovalStatusEnum='google.ads.google_ads.v4.proto.enums.ad_group_criterion_approval_status_pb2', + AdGroupCriterionErrorEnum='google.ads.google_ads.v4.proto.errors.ad_group_criterion_error_pb2', + AdGroupCriterionLabel='google.ads.google_ads.v4.proto.resources.ad_group_criterion_label_pb2', + AdGroupCriterionLabelOperation='google.ads.google_ads.v4.proto.services.ad_group_criterion_label_service_pb2', + AdGroupCriterionOperation='google.ads.google_ads.v4.proto.services.ad_group_criterion_service_pb2', + AdGroupCriterionSimulation='google.ads.google_ads.v4.proto.resources.ad_group_criterion_simulation_pb2', + AdGroupCriterionStatusEnum='google.ads.google_ads.v4.proto.enums.ad_group_criterion_status_pb2', + AdGroupErrorEnum='google.ads.google_ads.v4.proto.errors.ad_group_error_pb2', + AdGroupExtensionSetting='google.ads.google_ads.v4.proto.resources.ad_group_extension_setting_pb2', + AdGroupExtensionSettingOperation='google.ads.google_ads.v4.proto.services.ad_group_extension_setting_service_pb2', + AdGroupFeed='google.ads.google_ads.v4.proto.resources.ad_group_feed_pb2', + AdGroupFeedErrorEnum='google.ads.google_ads.v4.proto.errors.ad_group_feed_error_pb2', + AdGroupFeedOperation='google.ads.google_ads.v4.proto.services.ad_group_feed_service_pb2', + AdGroupLabel='google.ads.google_ads.v4.proto.resources.ad_group_label_pb2', + AdGroupLabelOperation='google.ads.google_ads.v4.proto.services.ad_group_label_service_pb2', + AdGroupOperation='google.ads.google_ads.v4.proto.services.ad_group_service_pb2', + AdGroupSimulation='google.ads.google_ads.v4.proto.resources.ad_group_simulation_pb2', + AdGroupStatusEnum='google.ads.google_ads.v4.proto.enums.ad_group_status_pb2', + AdGroupTypeEnum='google.ads.google_ads.v4.proto.enums.ad_group_type_pb2', + AdImageAsset='google.ads.google_ads.v4.proto.common.ad_asset_pb2', + AdMediaBundleAsset='google.ads.google_ads.v4.proto.common.ad_asset_pb2', + AdNetworkTypeEnum='google.ads.google_ads.v4.proto.enums.ad_network_type_pb2', + AdOperation='google.ads.google_ads.v4.proto.services.ad_service_pb2', + AdParameter='google.ads.google_ads.v4.proto.resources.ad_parameter_pb2', + AdParameterErrorEnum='google.ads.google_ads.v4.proto.errors.ad_parameter_error_pb2', + AdParameterOperation='google.ads.google_ads.v4.proto.services.ad_parameter_service_pb2', + AdScheduleInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + AdScheduleView='google.ads.google_ads.v4.proto.resources.ad_schedule_view_pb2', + AdServingOptimizationStatusEnum='google.ads.google_ads.v4.proto.enums.ad_serving_optimization_status_pb2', + AdSharingErrorEnum='google.ads.google_ads.v4.proto.errors.ad_sharing_error_pb2', + AdStrengthEnum='google.ads.google_ads.v4.proto.enums.ad_strength_pb2', + AdTextAsset='google.ads.google_ads.v4.proto.common.ad_asset_pb2', + AdTypeEnum='google.ads.google_ads.v4.proto.enums.ad_type_pb2', + AdVideoAsset='google.ads.google_ads.v4.proto.common.ad_asset_pb2', + AddBatchJobOperationsRequest='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + AddBatchJobOperationsResponse='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + AddOfflineUserDataJobOperationsRequest='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + AddOfflineUserDataJobOperationsResponse='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + AddressInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + AdvertisingChannelSubTypeEnum='google.ads.google_ads.v4.proto.enums.advertising_channel_sub_type_pb2', + AdvertisingChannelTypeEnum='google.ads.google_ads.v4.proto.enums.advertising_channel_type_pb2', + AdxErrorEnum='google.ads.google_ads.v4.proto.errors.adx_error_pb2', + AffiliateLocationFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + AffiliateLocationFeedRelationshipTypeEnum='google.ads.google_ads.v4.proto.enums.affiliate_location_feed_relationship_type_pb2', + AffiliateLocationPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.affiliate_location_placeholder_field_pb2', + AgeRangeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + AgeRangeTypeEnum='google.ads.google_ads.v4.proto.enums.age_range_type_pb2', + AgeRangeView='google.ads.google_ads.v4.proto.resources.age_range_view_pb2', + AppAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + AppCampaignAppStoreEnum='google.ads.google_ads.v4.proto.enums.app_campaign_app_store_pb2', + AppCampaignBiddingStrategyGoalTypeEnum='google.ads.google_ads.v4.proto.enums.app_campaign_bidding_strategy_goal_type_pb2', + AppEngagementAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + AppFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + AppPaymentModelInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + AppPaymentModelTypeEnum='google.ads.google_ads.v4.proto.enums.app_payment_model_type_pb2', + AppPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.app_placeholder_field_pb2', + AppStoreEnum='google.ads.google_ads.v4.proto.enums.app_store_pb2', + AppUrlOperatingSystemTypeEnum='google.ads.google_ads.v4.proto.enums.app_url_operating_system_type_pb2', + ApplyRecommendationOperation='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + ApplyRecommendationRequest='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + ApplyRecommendationResponse='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + ApplyRecommendationResult='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + Asset='google.ads.google_ads.v4.proto.resources.asset_pb2', + AssetErrorEnum='google.ads.google_ads.v4.proto.errors.asset_error_pb2', + AssetFieldTypeEnum='google.ads.google_ads.v4.proto.enums.asset_field_type_pb2', + AssetLinkErrorEnum='google.ads.google_ads.v4.proto.errors.asset_link_error_pb2', + AssetOperation='google.ads.google_ads.v4.proto.services.asset_service_pb2', + AssetPerformanceLabelEnum='google.ads.google_ads.v4.proto.enums.asset_performance_label_pb2', + AssetTypeEnum='google.ads.google_ads.v4.proto.enums.asset_type_pb2', + AttributeFieldMapping='google.ads.google_ads.v4.proto.resources.feed_mapping_pb2', + AttributionModelEnum='google.ads.google_ads.v4.proto.enums.attribution_model_pb2', + AuthenticationErrorEnum='google.ads.google_ads.v4.proto.errors.authentication_error_pb2', + AuthorizationErrorEnum='google.ads.google_ads.v4.proto.errors.authorization_error_pb2', + BasicUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + BatchJob='google.ads.google_ads.v4.proto.resources.batch_job_pb2', + BatchJobErrorEnum='google.ads.google_ads.v4.proto.errors.batch_job_error_pb2', + BatchJobOperation='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + BatchJobResult='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + BatchJobStatusEnum='google.ads.google_ads.v4.proto.enums.batch_job_status_pb2', + BidModifierSimulationPoint='google.ads.google_ads.v4.proto.common.simulation_pb2', + BidModifierSimulationPointList='google.ads.google_ads.v4.proto.common.simulation_pb2', + BidModifierSourceEnum='google.ads.google_ads.v4.proto.enums.bid_modifier_source_pb2', + BiddingErrorEnum='google.ads.google_ads.v4.proto.errors.bidding_error_pb2', + BiddingSourceEnum='google.ads.google_ads.v4.proto.enums.bidding_source_pb2', + BiddingStrategy='google.ads.google_ads.v4.proto.resources.bidding_strategy_pb2', + BiddingStrategyErrorEnum='google.ads.google_ads.v4.proto.errors.bidding_strategy_error_pb2', + BiddingStrategyOperation='google.ads.google_ads.v4.proto.services.bidding_strategy_service_pb2', + BiddingStrategyStatusEnum='google.ads.google_ads.v4.proto.enums.bidding_strategy_status_pb2', + BiddingStrategyTypeEnum='google.ads.google_ads.v4.proto.enums.bidding_strategy_type_pb2', + BillingSetup='google.ads.google_ads.v4.proto.resources.billing_setup_pb2', + BillingSetupErrorEnum='google.ads.google_ads.v4.proto.errors.billing_setup_error_pb2', + BillingSetupOperation='google.ads.google_ads.v4.proto.services.billing_setup_service_pb2', + BillingSetupStatusEnum='google.ads.google_ads.v4.proto.enums.billing_setup_status_pb2', + BookOnGoogleAsset='google.ads.google_ads.v4.proto.common.asset_types_pb2', + BrandSafetySuitabilityEnum='google.ads.google_ads.v4.proto.enums.brand_safety_suitability_pb2', + BudgetDeliveryMethodEnum='google.ads.google_ads.v4.proto.enums.budget_delivery_method_pb2', + BudgetPeriodEnum='google.ads.google_ads.v4.proto.enums.budget_period_pb2', + BudgetStatusEnum='google.ads.google_ads.v4.proto.enums.budget_status_pb2', + BudgetTypeEnum='google.ads.google_ads.v4.proto.enums.budget_type_pb2', + CallConversion='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + CallConversionReportingStateEnum='google.ads.google_ads.v4.proto.enums.call_conversion_reporting_state_pb2', + CallConversionResult='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + CallFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + CallOnlyAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + CallPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.call_placeholder_field_pb2', + CallReportingSetting='google.ads.google_ads.v4.proto.resources.customer_pb2', + CalloutFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + CalloutPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.callout_placeholder_field_pb2', + Campaign='google.ads.google_ads.v4.proto.resources.campaign_pb2', + CampaignAudienceView='google.ads.google_ads.v4.proto.resources.campaign_audience_view_pb2', + CampaignBidModifier='google.ads.google_ads.v4.proto.resources.campaign_bid_modifier_pb2', + CampaignBidModifierOperation='google.ads.google_ads.v4.proto.services.campaign_bid_modifier_service_pb2', + CampaignBudget='google.ads.google_ads.v4.proto.resources.campaign_budget_pb2', + CampaignBudgetErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_budget_error_pb2', + CampaignBudgetOperation='google.ads.google_ads.v4.proto.services.campaign_budget_service_pb2', + CampaignCriterion='google.ads.google_ads.v4.proto.resources.campaign_criterion_pb2', + CampaignCriterionErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_criterion_error_pb2', + CampaignCriterionOperation='google.ads.google_ads.v4.proto.services.campaign_criterion_service_pb2', + CampaignCriterionSimulation='google.ads.google_ads.v4.proto.resources.campaign_criterion_simulation_pb2', + CampaignCriterionStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_criterion_status_pb2', + CampaignDraft='google.ads.google_ads.v4.proto.resources.campaign_draft_pb2', + CampaignDraftErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_draft_error_pb2', + CampaignDraftOperation='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + CampaignDraftStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_draft_status_pb2', + CampaignDuration='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + CampaignErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_error_pb2', + CampaignExperiment='google.ads.google_ads.v4.proto.resources.campaign_experiment_pb2', + CampaignExperimentErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_experiment_error_pb2', + CampaignExperimentOperation='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + CampaignExperimentStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_experiment_status_pb2', + CampaignExperimentTrafficSplitTypeEnum='google.ads.google_ads.v4.proto.enums.campaign_experiment_traffic_split_type_pb2', + CampaignExperimentTypeEnum='google.ads.google_ads.v4.proto.enums.campaign_experiment_type_pb2', + CampaignExtensionSetting='google.ads.google_ads.v4.proto.resources.campaign_extension_setting_pb2', + CampaignExtensionSettingOperation='google.ads.google_ads.v4.proto.services.campaign_extension_setting_service_pb2', + CampaignFeed='google.ads.google_ads.v4.proto.resources.campaign_feed_pb2', + CampaignFeedErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_feed_error_pb2', + CampaignFeedOperation='google.ads.google_ads.v4.proto.services.campaign_feed_service_pb2', + CampaignLabel='google.ads.google_ads.v4.proto.resources.campaign_label_pb2', + CampaignLabelOperation='google.ads.google_ads.v4.proto.services.campaign_label_service_pb2', + CampaignOperation='google.ads.google_ads.v4.proto.services.campaign_service_pb2', + CampaignServingStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_serving_status_pb2', + CampaignSharedSet='google.ads.google_ads.v4.proto.resources.campaign_shared_set_pb2', + CampaignSharedSetErrorEnum='google.ads.google_ads.v4.proto.errors.campaign_shared_set_error_pb2', + CampaignSharedSetOperation='google.ads.google_ads.v4.proto.services.campaign_shared_set_service_pb2', + CampaignSharedSetStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_shared_set_status_pb2', + CampaignStatusEnum='google.ads.google_ads.v4.proto.enums.campaign_status_pb2', + CarrierConstant='google.ads.google_ads.v4.proto.resources.carrier_constant_pb2', + CarrierInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ChangeStatus='google.ads.google_ads.v4.proto.resources.change_status_pb2', + ChangeStatusErrorEnum='google.ads.google_ads.v4.proto.errors.change_status_error_pb2', + ChangeStatusOperationEnum='google.ads.google_ads.v4.proto.enums.change_status_operation_pb2', + ChangeStatusResourceTypeEnum='google.ads.google_ads.v4.proto.enums.change_status_resource_type_pb2', + ClickConversion='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + ClickConversionResult='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + ClickLocation='google.ads.google_ads.v4.proto.common.click_location_pb2', + ClickTypeEnum='google.ads.google_ads.v4.proto.enums.click_type_pb2', + ClickView='google.ads.google_ads.v4.proto.resources.click_view_pb2', + CollectionSizeErrorEnum='google.ads.google_ads.v4.proto.errors.collection_size_error_pb2', + CombinedRuleUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + Commission='google.ads.google_ads.v4.proto.common.bidding_pb2', + ContentLabelInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ContentLabelTypeEnum='google.ads.google_ads.v4.proto.enums.content_label_type_pb2', + ContextErrorEnum='google.ads.google_ads.v4.proto.errors.context_error_pb2', + ConversionAction='google.ads.google_ads.v4.proto.resources.conversion_action_pb2', + ConversionActionCategoryEnum='google.ads.google_ads.v4.proto.enums.conversion_action_category_pb2', + ConversionActionCountingTypeEnum='google.ads.google_ads.v4.proto.enums.conversion_action_counting_type_pb2', + ConversionActionErrorEnum='google.ads.google_ads.v4.proto.errors.conversion_action_error_pb2', + ConversionActionOperation='google.ads.google_ads.v4.proto.services.conversion_action_service_pb2', + ConversionActionStatusEnum='google.ads.google_ads.v4.proto.enums.conversion_action_status_pb2', + ConversionActionTypeEnum='google.ads.google_ads.v4.proto.enums.conversion_action_type_pb2', + ConversionAdjustment='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + ConversionAdjustmentResult='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + ConversionAdjustmentTypeEnum='google.ads.google_ads.v4.proto.enums.conversion_adjustment_type_pb2', + ConversionAdjustmentUploadErrorEnum='google.ads.google_ads.v4.proto.errors.conversion_adjustment_upload_error_pb2', + ConversionAttributionEventTypeEnum='google.ads.google_ads.v4.proto.enums.conversion_attribution_event_type_pb2', + ConversionLagBucketEnum='google.ads.google_ads.v4.proto.enums.conversion_lag_bucket_pb2', + ConversionOrAdjustmentLagBucketEnum='google.ads.google_ads.v4.proto.enums.conversion_or_adjustment_lag_bucket_pb2', + ConversionTrackingSetting='google.ads.google_ads.v4.proto.resources.customer_pb2', + ConversionUploadErrorEnum='google.ads.google_ads.v4.proto.errors.conversion_upload_error_pb2', + CountryCodeErrorEnum='google.ads.google_ads.v4.proto.errors.country_code_error_pb2', + CpcBidSimulationPoint='google.ads.google_ads.v4.proto.common.simulation_pb2', + CpcBidSimulationPointList='google.ads.google_ads.v4.proto.common.simulation_pb2', + CpvBidSimulationPoint='google.ads.google_ads.v4.proto.common.simulation_pb2', + CpvBidSimulationPointList='google.ads.google_ads.v4.proto.common.simulation_pb2', + CreateCampaignExperimentMetadata='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + CreateCampaignExperimentRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + CreateCustomerClientRequest='google.ads.google_ads.v4.proto.services.customer_service_pb2', + CreateCustomerClientResponse='google.ads.google_ads.v4.proto.services.customer_service_pb2', + CreateOfflineUserDataJobRequest='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + CreateOfflineUserDataJobResponse='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + CriterionCategoryAvailability='google.ads.google_ads.v4.proto.common.criterion_category_availability_pb2', + CriterionCategoryChannelAvailability='google.ads.google_ads.v4.proto.common.criterion_category_availability_pb2', + CriterionCategoryChannelAvailabilityModeEnum='google.ads.google_ads.v4.proto.enums.criterion_category_channel_availability_mode_pb2', + CriterionCategoryLocaleAvailability='google.ads.google_ads.v4.proto.common.criterion_category_availability_pb2', + CriterionCategoryLocaleAvailabilityModeEnum='google.ads.google_ads.v4.proto.enums.criterion_category_locale_availability_mode_pb2', + CriterionErrorEnum='google.ads.google_ads.v4.proto.errors.criterion_error_pb2', + CriterionSystemServingStatusEnum='google.ads.google_ads.v4.proto.enums.criterion_system_serving_status_pb2', + CriterionTypeEnum='google.ads.google_ads.v4.proto.enums.criterion_type_pb2', + CrmBasedUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + CurrencyCodeErrorEnum='google.ads.google_ads.v4.proto.errors.currency_code_error_pb2', + CurrencyConstant='google.ads.google_ads.v4.proto.resources.currency_constant_pb2', + CustomAffinityInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + CustomIntentInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + CustomInterest='google.ads.google_ads.v4.proto.resources.custom_interest_pb2', + CustomInterestErrorEnum='google.ads.google_ads.v4.proto.errors.custom_interest_error_pb2', + CustomInterestMember='google.ads.google_ads.v4.proto.resources.custom_interest_pb2', + CustomInterestMemberTypeEnum='google.ads.google_ads.v4.proto.enums.custom_interest_member_type_pb2', + CustomInterestOperation='google.ads.google_ads.v4.proto.services.custom_interest_service_pb2', + CustomInterestStatusEnum='google.ads.google_ads.v4.proto.enums.custom_interest_status_pb2', + CustomInterestTypeEnum='google.ads.google_ads.v4.proto.enums.custom_interest_type_pb2', + CustomParameter='google.ads.google_ads.v4.proto.common.custom_parameter_pb2', + CustomPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.custom_placeholder_field_pb2', + Customer='google.ads.google_ads.v4.proto.resources.customer_pb2', + CustomerClient='google.ads.google_ads.v4.proto.resources.customer_client_pb2', + CustomerClientLink='google.ads.google_ads.v4.proto.resources.customer_client_link_pb2', + CustomerClientLinkErrorEnum='google.ads.google_ads.v4.proto.errors.customer_client_link_error_pb2', + CustomerClientLinkOperation='google.ads.google_ads.v4.proto.services.customer_client_link_service_pb2', + CustomerErrorEnum='google.ads.google_ads.v4.proto.errors.customer_error_pb2', + CustomerExtensionSetting='google.ads.google_ads.v4.proto.resources.customer_extension_setting_pb2', + CustomerExtensionSettingOperation='google.ads.google_ads.v4.proto.services.customer_extension_setting_service_pb2', + CustomerFeed='google.ads.google_ads.v4.proto.resources.customer_feed_pb2', + CustomerFeedErrorEnum='google.ads.google_ads.v4.proto.errors.customer_feed_error_pb2', + CustomerFeedOperation='google.ads.google_ads.v4.proto.services.customer_feed_service_pb2', + CustomerLabel='google.ads.google_ads.v4.proto.resources.customer_label_pb2', + CustomerLabelOperation='google.ads.google_ads.v4.proto.services.customer_label_service_pb2', + CustomerManagerLink='google.ads.google_ads.v4.proto.resources.customer_manager_link_pb2', + CustomerManagerLinkErrorEnum='google.ads.google_ads.v4.proto.errors.customer_manager_link_error_pb2', + CustomerManagerLinkOperation='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + CustomerMatchUploadKeyTypeEnum='google.ads.google_ads.v4.proto.enums.customer_match_upload_key_type_pb2', + CustomerMatchUserListMetadata='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + CustomerNegativeCriterion='google.ads.google_ads.v4.proto.resources.customer_negative_criterion_pb2', + CustomerNegativeCriterionOperation='google.ads.google_ads.v4.proto.services.customer_negative_criterion_service_pb2', + CustomerOperation='google.ads.google_ads.v4.proto.services.customer_service_pb2', + CustomerPayPerConversionEligibilityFailureReasonEnum='google.ads.google_ads.v4.proto.enums.customer_pay_per_conversion_eligibility_failure_reason_pb2', + DataDrivenModelStatusEnum='google.ads.google_ads.v4.proto.enums.data_driven_model_status_pb2', + DatabaseErrorEnum='google.ads.google_ads.v4.proto.errors.database_error_pb2', + DateErrorEnum='google.ads.google_ads.v4.proto.errors.date_error_pb2', + DateRange='google.ads.google_ads.v4.proto.common.dates_pb2', + DateRangeErrorEnum='google.ads.google_ads.v4.proto.errors.date_range_error_pb2', + DateSpecificRuleUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + DayOfWeekEnum='google.ads.google_ads.v4.proto.enums.day_of_week_pb2', + DetailPlacementView='google.ads.google_ads.v4.proto.resources.detail_placement_view_pb2', + DeviceEnum='google.ads.google_ads.v4.proto.enums.device_pb2', + DeviceInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + DismissRecommendationRequest='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + DismissRecommendationResponse='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + DisplayAdFormatSettingEnum='google.ads.google_ads.v4.proto.enums.display_ad_format_setting_pb2', + DisplayCallToAction='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + DisplayKeywordView='google.ads.google_ads.v4.proto.resources.display_keyword_view_pb2', + DisplayUploadAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + DisplayUploadProductTypeEnum='google.ads.google_ads.v4.proto.enums.display_upload_product_type_pb2', + DistanceBucketEnum='google.ads.google_ads.v4.proto.enums.distance_bucket_pb2', + DistanceView='google.ads.google_ads.v4.proto.resources.distance_view_pb2', + DistinctErrorEnum='google.ads.google_ads.v4.proto.errors.distinct_error_pb2', + DomainCategory='google.ads.google_ads.v4.proto.resources.domain_category_pb2', + DsaPageFeedCriterionFieldEnum='google.ads.google_ads.v4.proto.enums.dsa_page_feed_criterion_field_pb2', + DynamicSearchAdsSearchTermView='google.ads.google_ads.v4.proto.resources.dynamic_search_ads_search_term_view_pb2', + EducationPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.education_placeholder_field_pb2', + EndCampaignExperimentRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + EnhancedCpc='google.ads.google_ads.v4.proto.common.bidding_pb2', + EnumErrorEnum='google.ads.google_ads.v4.proto.errors.enum_error_pb2', + ErrorCode='google.ads.google_ads.v4.proto.errors.errors_pb2', + ErrorDetails='google.ads.google_ads.v4.proto.errors.errors_pb2', + ErrorLocation='google.ads.google_ads.v4.proto.errors.errors_pb2', + ExpandedDynamicSearchAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ExpandedLandingPageView='google.ads.google_ads.v4.proto.resources.expanded_landing_page_view_pb2', + ExpandedTextAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ExplorerAutoOptimizerSetting='google.ads.google_ads.v4.proto.common.explorer_auto_optimizer_setting_pb2', + ExpressionRuleUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + ExtensionFeedItem='google.ads.google_ads.v4.proto.resources.extension_feed_item_pb2', + ExtensionFeedItemErrorEnum='google.ads.google_ads.v4.proto.errors.extension_feed_item_error_pb2', + ExtensionFeedItemOperation='google.ads.google_ads.v4.proto.services.extension_feed_item_service_pb2', + ExtensionSettingDeviceEnum='google.ads.google_ads.v4.proto.enums.extension_setting_device_pb2', + ExtensionSettingErrorEnum='google.ads.google_ads.v4.proto.errors.extension_setting_error_pb2', + ExtensionTypeEnum='google.ads.google_ads.v4.proto.enums.extension_type_pb2', + ExternalAttributionData='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + ExternalConversionSourceEnum='google.ads.google_ads.v4.proto.enums.external_conversion_source_pb2', + Feed='google.ads.google_ads.v4.proto.resources.feed_pb2', + FeedAttribute='google.ads.google_ads.v4.proto.resources.feed_pb2', + FeedAttributeOperation='google.ads.google_ads.v4.proto.resources.feed_pb2', + FeedAttributeReferenceErrorEnum='google.ads.google_ads.v4.proto.errors.feed_attribute_reference_error_pb2', + FeedAttributeTypeEnum='google.ads.google_ads.v4.proto.enums.feed_attribute_type_pb2', + FeedErrorEnum='google.ads.google_ads.v4.proto.errors.feed_error_pb2', + FeedItem='google.ads.google_ads.v4.proto.resources.feed_item_pb2', + FeedItemAttributeValue='google.ads.google_ads.v4.proto.resources.feed_item_pb2', + FeedItemErrorEnum='google.ads.google_ads.v4.proto.errors.feed_item_error_pb2', + FeedItemOperation='google.ads.google_ads.v4.proto.services.feed_item_service_pb2', + FeedItemPlaceholderPolicyInfo='google.ads.google_ads.v4.proto.resources.feed_item_pb2', + FeedItemQualityApprovalStatusEnum='google.ads.google_ads.v4.proto.enums.feed_item_quality_approval_status_pb2', + FeedItemQualityDisapprovalReasonEnum='google.ads.google_ads.v4.proto.enums.feed_item_quality_disapproval_reason_pb2', + FeedItemStatusEnum='google.ads.google_ads.v4.proto.enums.feed_item_status_pb2', + FeedItemTarget='google.ads.google_ads.v4.proto.resources.feed_item_target_pb2', + FeedItemTargetDeviceEnum='google.ads.google_ads.v4.proto.enums.feed_item_target_device_pb2', + FeedItemTargetErrorEnum='google.ads.google_ads.v4.proto.errors.feed_item_target_error_pb2', + FeedItemTargetOperation='google.ads.google_ads.v4.proto.services.feed_item_target_service_pb2', + FeedItemTargetStatusEnum='google.ads.google_ads.v4.proto.enums.feed_item_target_status_pb2', + FeedItemTargetTypeEnum='google.ads.google_ads.v4.proto.enums.feed_item_target_type_pb2', + FeedItemValidationError='google.ads.google_ads.v4.proto.resources.feed_item_pb2', + FeedItemValidationErrorEnum='google.ads.google_ads.v4.proto.errors.feed_item_validation_error_pb2', + FeedItemValidationStatusEnum='google.ads.google_ads.v4.proto.enums.feed_item_validation_status_pb2', + FeedLinkStatusEnum='google.ads.google_ads.v4.proto.enums.feed_link_status_pb2', + FeedMapping='google.ads.google_ads.v4.proto.resources.feed_mapping_pb2', + FeedMappingCriterionTypeEnum='google.ads.google_ads.v4.proto.enums.feed_mapping_criterion_type_pb2', + FeedMappingErrorEnum='google.ads.google_ads.v4.proto.errors.feed_mapping_error_pb2', + FeedMappingOperation='google.ads.google_ads.v4.proto.services.feed_mapping_service_pb2', + FeedMappingStatusEnum='google.ads.google_ads.v4.proto.enums.feed_mapping_status_pb2', + FeedOperation='google.ads.google_ads.v4.proto.services.feed_service_pb2', + FeedOriginEnum='google.ads.google_ads.v4.proto.enums.feed_origin_pb2', + FeedPlaceholderView='google.ads.google_ads.v4.proto.resources.feed_placeholder_view_pb2', + FeedStatusEnum='google.ads.google_ads.v4.proto.enums.feed_status_pb2', + FieldErrorEnum='google.ads.google_ads.v4.proto.errors.field_error_pb2', + FieldMaskErrorEnum='google.ads.google_ads.v4.proto.errors.field_mask_error_pb2', + FinalAppUrl='google.ads.google_ads.v4.proto.common.final_app_url_pb2', + FlightPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.flight_placeholder_field_pb2', + Forecast='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ForecastMetrics='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + FrequencyCap='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + FrequencyCapEntry='google.ads.google_ads.v4.proto.common.frequency_cap_pb2', + FrequencyCapEventTypeEnum='google.ads.google_ads.v4.proto.enums.frequency_cap_event_type_pb2', + FrequencyCapKey='google.ads.google_ads.v4.proto.common.frequency_cap_pb2', + FrequencyCapLevelEnum='google.ads.google_ads.v4.proto.enums.frequency_cap_level_pb2', + FrequencyCapTimeUnitEnum='google.ads.google_ads.v4.proto.enums.frequency_cap_time_unit_pb2', + FunctionErrorEnum='google.ads.google_ads.v4.proto.errors.function_error_pb2', + FunctionParsingErrorEnum='google.ads.google_ads.v4.proto.errors.function_parsing_error_pb2', + GclidDateTimePair='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + GenderInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + GenderTypeEnum='google.ads.google_ads.v4.proto.enums.gender_type_pb2', + GenderView='google.ads.google_ads.v4.proto.resources.gender_view_pb2', + GenerateForecastCurveRequest='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateForecastCurveResponse='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateForecastMetricsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateForecastMetricsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateHistoricalMetricsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateHistoricalMetricsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GenerateKeywordIdeaResponse='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + GenerateKeywordIdeaResult='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + GenerateKeywordIdeasRequest='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + GenerateProductMixIdeasRequest='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + GenerateProductMixIdeasResponse='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + GenerateReachForecastRequest='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + GenerateReachForecastResponse='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + GeoPointInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + GeoTargetConstant='google.ads.google_ads.v4.proto.resources.geo_target_constant_pb2', + GeoTargetConstantStatusEnum='google.ads.google_ads.v4.proto.enums.geo_target_constant_status_pb2', + GeoTargetConstantSuggestion='google.ads.google_ads.v4.proto.services.geo_target_constant_service_pb2', + GeoTargetConstantSuggestionErrorEnum='google.ads.google_ads.v4.proto.errors.geo_target_constant_suggestion_error_pb2', + GeoTargetingRestrictionEnum='google.ads.google_ads.v4.proto.enums.geo_targeting_restriction_pb2', + GeoTargetingTypeEnum='google.ads.google_ads.v4.proto.enums.geo_targeting_type_pb2', + GeographicView='google.ads.google_ads.v4.proto.resources.geographic_view_pb2', + GetAccountBudgetProposalRequest='google.ads.google_ads.v4.proto.services.account_budget_proposal_service_pb2', + GetAccountBudgetRequest='google.ads.google_ads.v4.proto.services.account_budget_service_pb2', + GetAccountLinkRequest='google.ads.google_ads.v4.proto.services.account_link_service_pb2', + GetAdGroupAdAssetViewRequest='google.ads.google_ads.v4.proto.services.ad_group_ad_asset_view_service_pb2', + GetAdGroupAdLabelRequest='google.ads.google_ads.v4.proto.services.ad_group_ad_label_service_pb2', + GetAdGroupAdRequest='google.ads.google_ads.v4.proto.services.ad_group_ad_service_pb2', + GetAdGroupAudienceViewRequest='google.ads.google_ads.v4.proto.services.ad_group_audience_view_service_pb2', + GetAdGroupBidModifierRequest='google.ads.google_ads.v4.proto.services.ad_group_bid_modifier_service_pb2', + GetAdGroupCriterionLabelRequest='google.ads.google_ads.v4.proto.services.ad_group_criterion_label_service_pb2', + GetAdGroupCriterionRequest='google.ads.google_ads.v4.proto.services.ad_group_criterion_service_pb2', + GetAdGroupCriterionSimulationRequest='google.ads.google_ads.v4.proto.services.ad_group_criterion_simulation_service_pb2', + GetAdGroupExtensionSettingRequest='google.ads.google_ads.v4.proto.services.ad_group_extension_setting_service_pb2', + GetAdGroupFeedRequest='google.ads.google_ads.v4.proto.services.ad_group_feed_service_pb2', + GetAdGroupLabelRequest='google.ads.google_ads.v4.proto.services.ad_group_label_service_pb2', + GetAdGroupRequest='google.ads.google_ads.v4.proto.services.ad_group_service_pb2', + GetAdGroupSimulationRequest='google.ads.google_ads.v4.proto.services.ad_group_simulation_service_pb2', + GetAdParameterRequest='google.ads.google_ads.v4.proto.services.ad_parameter_service_pb2', + GetAdRequest='google.ads.google_ads.v4.proto.services.ad_service_pb2', + GetAdScheduleViewRequest='google.ads.google_ads.v4.proto.services.ad_schedule_view_service_pb2', + GetAgeRangeViewRequest='google.ads.google_ads.v4.proto.services.age_range_view_service_pb2', + GetAssetRequest='google.ads.google_ads.v4.proto.services.asset_service_pb2', + GetBatchJobRequest='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + GetBiddingStrategyRequest='google.ads.google_ads.v4.proto.services.bidding_strategy_service_pb2', + GetBillingSetupRequest='google.ads.google_ads.v4.proto.services.billing_setup_service_pb2', + GetCampaignAudienceViewRequest='google.ads.google_ads.v4.proto.services.campaign_audience_view_service_pb2', + GetCampaignBidModifierRequest='google.ads.google_ads.v4.proto.services.campaign_bid_modifier_service_pb2', + GetCampaignBudgetRequest='google.ads.google_ads.v4.proto.services.campaign_budget_service_pb2', + GetCampaignCriterionRequest='google.ads.google_ads.v4.proto.services.campaign_criterion_service_pb2', + GetCampaignCriterionSimulationRequest='google.ads.google_ads.v4.proto.services.campaign_criterion_simulation_service_pb2', + GetCampaignDraftRequest='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + GetCampaignExperimentRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + GetCampaignExtensionSettingRequest='google.ads.google_ads.v4.proto.services.campaign_extension_setting_service_pb2', + GetCampaignFeedRequest='google.ads.google_ads.v4.proto.services.campaign_feed_service_pb2', + GetCampaignLabelRequest='google.ads.google_ads.v4.proto.services.campaign_label_service_pb2', + GetCampaignRequest='google.ads.google_ads.v4.proto.services.campaign_service_pb2', + GetCampaignSharedSetRequest='google.ads.google_ads.v4.proto.services.campaign_shared_set_service_pb2', + GetCarrierConstantRequest='google.ads.google_ads.v4.proto.services.carrier_constant_service_pb2', + GetChangeStatusRequest='google.ads.google_ads.v4.proto.services.change_status_service_pb2', + GetClickViewRequest='google.ads.google_ads.v4.proto.services.click_view_service_pb2', + GetConversionActionRequest='google.ads.google_ads.v4.proto.services.conversion_action_service_pb2', + GetCurrencyConstantRequest='google.ads.google_ads.v4.proto.services.currency_constant_service_pb2', + GetCustomInterestRequest='google.ads.google_ads.v4.proto.services.custom_interest_service_pb2', + GetCustomerClientLinkRequest='google.ads.google_ads.v4.proto.services.customer_client_link_service_pb2', + GetCustomerClientRequest='google.ads.google_ads.v4.proto.services.customer_client_service_pb2', + GetCustomerExtensionSettingRequest='google.ads.google_ads.v4.proto.services.customer_extension_setting_service_pb2', + GetCustomerFeedRequest='google.ads.google_ads.v4.proto.services.customer_feed_service_pb2', + GetCustomerLabelRequest='google.ads.google_ads.v4.proto.services.customer_label_service_pb2', + GetCustomerManagerLinkRequest='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + GetCustomerNegativeCriterionRequest='google.ads.google_ads.v4.proto.services.customer_negative_criterion_service_pb2', + GetCustomerRequest='google.ads.google_ads.v4.proto.services.customer_service_pb2', + GetDetailPlacementViewRequest='google.ads.google_ads.v4.proto.services.detail_placement_view_service_pb2', + GetDisplayKeywordViewRequest='google.ads.google_ads.v4.proto.services.display_keyword_view_service_pb2', + GetDistanceViewRequest='google.ads.google_ads.v4.proto.services.distance_view_service_pb2', + GetDomainCategoryRequest='google.ads.google_ads.v4.proto.services.domain_category_service_pb2', + GetDynamicSearchAdsSearchTermViewRequest='google.ads.google_ads.v4.proto.services.dynamic_search_ads_search_term_view_service_pb2', + GetExpandedLandingPageViewRequest='google.ads.google_ads.v4.proto.services.expanded_landing_page_view_service_pb2', + GetExtensionFeedItemRequest='google.ads.google_ads.v4.proto.services.extension_feed_item_service_pb2', + GetFeedItemRequest='google.ads.google_ads.v4.proto.services.feed_item_service_pb2', + GetFeedItemTargetRequest='google.ads.google_ads.v4.proto.services.feed_item_target_service_pb2', + GetFeedMappingRequest='google.ads.google_ads.v4.proto.services.feed_mapping_service_pb2', + GetFeedPlaceholderViewRequest='google.ads.google_ads.v4.proto.services.feed_placeholder_view_service_pb2', + GetFeedRequest='google.ads.google_ads.v4.proto.services.feed_service_pb2', + GetGenderViewRequest='google.ads.google_ads.v4.proto.services.gender_view_service_pb2', + GetGeoTargetConstantRequest='google.ads.google_ads.v4.proto.services.geo_target_constant_service_pb2', + GetGeographicViewRequest='google.ads.google_ads.v4.proto.services.geographic_view_service_pb2', + GetGoogleAdsFieldRequest='google.ads.google_ads.v4.proto.services.google_ads_field_service_pb2', + GetGroupPlacementViewRequest='google.ads.google_ads.v4.proto.services.group_placement_view_service_pb2', + GetHotelGroupViewRequest='google.ads.google_ads.v4.proto.services.hotel_group_view_service_pb2', + GetHotelPerformanceViewRequest='google.ads.google_ads.v4.proto.services.hotel_performance_view_service_pb2', + GetIncomeRangeViewRequest='google.ads.google_ads.v4.proto.services.income_range_view_service_pb2', + GetKeywordPlanAdGroupKeywordRequest='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_keyword_service_pb2', + GetKeywordPlanAdGroupRequest='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_service_pb2', + GetKeywordPlanCampaignKeywordRequest='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_keyword_service_pb2', + GetKeywordPlanCampaignRequest='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_service_pb2', + GetKeywordPlanRequest='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + GetKeywordViewRequest='google.ads.google_ads.v4.proto.services.keyword_view_service_pb2', + GetLabelRequest='google.ads.google_ads.v4.proto.services.label_service_pb2', + GetLandingPageViewRequest='google.ads.google_ads.v4.proto.services.landing_page_view_service_pb2', + GetLanguageConstantRequest='google.ads.google_ads.v4.proto.services.language_constant_service_pb2', + GetLocationViewRequest='google.ads.google_ads.v4.proto.services.location_view_service_pb2', + GetManagedPlacementViewRequest='google.ads.google_ads.v4.proto.services.managed_placement_view_service_pb2', + GetMediaFileRequest='google.ads.google_ads.v4.proto.services.media_file_service_pb2', + GetMerchantCenterLinkRequest='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + GetMobileAppCategoryConstantRequest='google.ads.google_ads.v4.proto.services.mobile_app_category_constant_service_pb2', + GetMobileDeviceConstantRequest='google.ads.google_ads.v4.proto.services.mobile_device_constant_service_pb2', + GetOfflineUserDataJobRequest='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + GetOperatingSystemVersionConstantRequest='google.ads.google_ads.v4.proto.services.operating_system_version_constant_service_pb2', + GetPaidOrganicSearchTermViewRequest='google.ads.google_ads.v4.proto.services.paid_organic_search_term_view_service_pb2', + GetParentalStatusViewRequest='google.ads.google_ads.v4.proto.services.parental_status_view_service_pb2', + GetProductBiddingCategoryConstantRequest='google.ads.google_ads.v4.proto.services.product_bidding_category_constant_service_pb2', + GetProductGroupViewRequest='google.ads.google_ads.v4.proto.services.product_group_view_service_pb2', + GetRecommendationRequest='google.ads.google_ads.v4.proto.services.recommendation_service_pb2', + GetRemarketingActionRequest='google.ads.google_ads.v4.proto.services.remarketing_action_service_pb2', + GetSearchTermViewRequest='google.ads.google_ads.v4.proto.services.search_term_view_service_pb2', + GetSharedCriterionRequest='google.ads.google_ads.v4.proto.services.shared_criterion_service_pb2', + GetSharedSetRequest='google.ads.google_ads.v4.proto.services.shared_set_service_pb2', + GetShoppingPerformanceViewRequest='google.ads.google_ads.v4.proto.services.shopping_performance_view_service_pb2', + GetThirdPartyAppAnalyticsLinkRequest='google.ads.google_ads.v4.proto.services.third_party_app_analytics_link_service_pb2', + GetTopicConstantRequest='google.ads.google_ads.v4.proto.services.topic_constant_service_pb2', + GetTopicViewRequest='google.ads.google_ads.v4.proto.services.topic_view_service_pb2', + GetUserInterestRequest='google.ads.google_ads.v4.proto.services.user_interest_service_pb2', + GetUserListRequest='google.ads.google_ads.v4.proto.services.user_list_service_pb2', + GetUserLocationViewRequest='google.ads.google_ads.v4.proto.services.user_location_view_service_pb2', + GetVideoRequest='google.ads.google_ads.v4.proto.services.video_service_pb2', + GmailAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + GmailTeaser='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + GoogleAdsError='google.ads.google_ads.v4.proto.errors.errors_pb2', + GoogleAdsFailure='google.ads.google_ads.v4.proto.errors.errors_pb2', + GoogleAdsField='google.ads.google_ads.v4.proto.resources.google_ads_field_pb2', + GoogleAdsFieldCategoryEnum='google.ads.google_ads.v4.proto.enums.google_ads_field_category_pb2', + GoogleAdsFieldDataTypeEnum='google.ads.google_ads.v4.proto.enums.google_ads_field_data_type_pb2', + GoogleAdsRow='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + GraduateCampaignExperimentRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + GraduateCampaignExperimentResponse='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + GroupPlacementView='google.ads.google_ads.v4.proto.resources.group_placement_view_pb2', + HeaderErrorEnum='google.ads.google_ads.v4.proto.errors.header_error_pb2', + HotelAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + HotelAdvanceBookingWindowInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelCalloutFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + HotelCheckInDayInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelCityInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelClassInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelCountryRegionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelDateSelectionTypeEnum='google.ads.google_ads.v4.proto.enums.hotel_date_selection_type_pb2', + HotelDateSelectionTypeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelGroupView='google.ads.google_ads.v4.proto.resources.hotel_group_view_pb2', + HotelIdInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelLengthOfStayInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + HotelPerformanceView='google.ads.google_ads.v4.proto.resources.hotel_performance_view_pb2', + HotelPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.hotel_placeholder_field_pb2', + HotelPriceBucketEnum='google.ads.google_ads.v4.proto.enums.hotel_price_bucket_pb2', + HotelRateTypeEnum='google.ads.google_ads.v4.proto.enums.hotel_rate_type_pb2', + HotelStateInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + IdErrorEnum='google.ads.google_ads.v4.proto.errors.id_error_pb2', + ImageAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ImageAsset='google.ads.google_ads.v4.proto.common.asset_types_pb2', + ImageDimension='google.ads.google_ads.v4.proto.common.asset_types_pb2', + ImageErrorEnum='google.ads.google_ads.v4.proto.errors.image_error_pb2', + IncomeRangeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + IncomeRangeTypeEnum='google.ads.google_ads.v4.proto.enums.income_range_type_pb2', + IncomeRangeView='google.ads.google_ads.v4.proto.resources.income_range_view_pb2', + InteractionEventTypeEnum='google.ads.google_ads.v4.proto.enums.interaction_event_type_pb2', + InteractionTypeEnum='google.ads.google_ads.v4.proto.enums.interaction_type_pb2', + InteractionTypeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + InternalErrorEnum='google.ads.google_ads.v4.proto.errors.internal_error_pb2', + Invoice='google.ads.google_ads.v4.proto.resources.invoice_pb2', + InvoiceErrorEnum='google.ads.google_ads.v4.proto.errors.invoice_error_pb2', + InvoiceTypeEnum='google.ads.google_ads.v4.proto.enums.invoice_type_pb2', + IpBlockInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + JobPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.job_placeholder_field_pb2', + Keyword='google.ads.google_ads.v4.proto.common.segments_pb2', + KeywordAndUrlSeed='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + KeywordInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + KeywordMatchTypeEnum='google.ads.google_ads.v4.proto.enums.keyword_match_type_pb2', + KeywordPlan='google.ads.google_ads.v4.proto.resources.keyword_plan_pb2', + KeywordPlanAdGroup='google.ads.google_ads.v4.proto.resources.keyword_plan_ad_group_pb2', + KeywordPlanAdGroupErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_ad_group_error_pb2', + KeywordPlanAdGroupForecast='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanAdGroupKeyword='google.ads.google_ads.v4.proto.resources.keyword_plan_ad_group_keyword_pb2', + KeywordPlanAdGroupKeywordErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_ad_group_keyword_error_pb2', + KeywordPlanAdGroupKeywordOperation='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_keyword_service_pb2', + KeywordPlanAdGroupOperation='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_service_pb2', + KeywordPlanCampaign='google.ads.google_ads.v4.proto.resources.keyword_plan_campaign_pb2', + KeywordPlanCampaignErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_campaign_error_pb2', + KeywordPlanCampaignForecast='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanCampaignForecastCurve='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanCampaignKeyword='google.ads.google_ads.v4.proto.resources.keyword_plan_campaign_keyword_pb2', + KeywordPlanCampaignKeywordErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_campaign_keyword_error_pb2', + KeywordPlanCampaignKeywordOperation='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_keyword_service_pb2', + KeywordPlanCampaignOperation='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_service_pb2', + KeywordPlanCompetitionLevelEnum='google.ads.google_ads.v4.proto.enums.keyword_plan_competition_level_pb2', + KeywordPlanErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_error_pb2', + KeywordPlanForecastIntervalEnum='google.ads.google_ads.v4.proto.enums.keyword_plan_forecast_interval_pb2', + KeywordPlanForecastPeriod='google.ads.google_ads.v4.proto.resources.keyword_plan_pb2', + KeywordPlanGeoTarget='google.ads.google_ads.v4.proto.resources.keyword_plan_campaign_pb2', + KeywordPlanHistoricalMetrics='google.ads.google_ads.v4.proto.common.keyword_plan_common_pb2', + KeywordPlanIdeaErrorEnum='google.ads.google_ads.v4.proto.errors.keyword_plan_idea_error_pb2', + KeywordPlanKeywordForecast='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanKeywordHistoricalMetrics='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanMaxCpcBidForecast='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanMaxCpcBidForecastCurve='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordPlanNetworkEnum='google.ads.google_ads.v4.proto.enums.keyword_plan_network_pb2', + KeywordPlanOperation='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + KeywordSeed='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + KeywordView='google.ads.google_ads.v4.proto.resources.keyword_view_pb2', + Label='google.ads.google_ads.v4.proto.resources.label_pb2', + LabelErrorEnum='google.ads.google_ads.v4.proto.errors.label_error_pb2', + LabelOperation='google.ads.google_ads.v4.proto.services.label_service_pb2', + LabelStatusEnum='google.ads.google_ads.v4.proto.enums.label_status_pb2', + LandingPageView='google.ads.google_ads.v4.proto.resources.landing_page_view_pb2', + LanguageCodeErrorEnum='google.ads.google_ads.v4.proto.errors.language_code_error_pb2', + LanguageConstant='google.ads.google_ads.v4.proto.resources.language_constant_pb2', + LanguageInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + LegacyAppInstallAdAppStoreEnum='google.ads.google_ads.v4.proto.enums.legacy_app_install_ad_app_store_pb2', + LegacyAppInstallAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + LegacyResponsiveDisplayAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + LinkedAccountTypeEnum='google.ads.google_ads.v4.proto.enums.linked_account_type_pb2', + ListAccessibleCustomersRequest='google.ads.google_ads.v4.proto.services.customer_service_pb2', + ListAccessibleCustomersResponse='google.ads.google_ads.v4.proto.services.customer_service_pb2', + ListBatchJobResultsRequest='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + ListBatchJobResultsResponse='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + ListCampaignDraftAsyncErrorsRequest='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + ListCampaignDraftAsyncErrorsResponse='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + ListCampaignExperimentAsyncErrorsRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + ListCampaignExperimentAsyncErrorsResponse='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + ListInvoicesRequest='google.ads.google_ads.v4.proto.services.invoice_service_pb2', + ListInvoicesResponse='google.ads.google_ads.v4.proto.services.invoice_service_pb2', + ListMerchantCenterLinksRequest='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + ListMerchantCenterLinksResponse='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + ListOperationErrorEnum='google.ads.google_ads.v4.proto.errors.list_operation_error_pb2', + ListPaymentsAccountsRequest='google.ads.google_ads.v4.proto.services.payments_account_service_pb2', + ListPaymentsAccountsResponse='google.ads.google_ads.v4.proto.services.payments_account_service_pb2', + ListPlannableLocationsRequest='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ListPlannableLocationsResponse='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ListPlannableProductsRequest='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ListPlannableProductsResponse='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ListingDimensionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ListingGroupInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ListingGroupTypeEnum='google.ads.google_ads.v4.proto.enums.listing_group_type_pb2', + ListingScopeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + LocalAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + LocalPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.local_placeholder_field_pb2', + LocationExtensionTargetingCriterionFieldEnum='google.ads.google_ads.v4.proto.enums.location_extension_targeting_criterion_field_pb2', + LocationFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + LocationGroupInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + LocationGroupRadiusUnitsEnum='google.ads.google_ads.v4.proto.enums.location_group_radius_units_pb2', + LocationInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + LocationPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.location_placeholder_field_pb2', + LocationSourceTypeEnum='google.ads.google_ads.v4.proto.enums.location_source_type_pb2', + LocationView='google.ads.google_ads.v4.proto.resources.location_view_pb2', + LogicalUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + LogicalUserListOperandInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + ManagedPlacementView='google.ads.google_ads.v4.proto.resources.managed_placement_view_pb2', + ManagerLinkErrorEnum='google.ads.google_ads.v4.proto.errors.manager_link_error_pb2', + ManagerLinkStatusEnum='google.ads.google_ads.v4.proto.enums.manager_link_status_pb2', + ManualCpc='google.ads.google_ads.v4.proto.common.bidding_pb2', + ManualCpm='google.ads.google_ads.v4.proto.common.bidding_pb2', + ManualCpv='google.ads.google_ads.v4.proto.common.bidding_pb2', + MatchingFunction='google.ads.google_ads.v4.proto.common.matching_function_pb2', + MatchingFunctionContextTypeEnum='google.ads.google_ads.v4.proto.enums.matching_function_context_type_pb2', + MatchingFunctionOperatorEnum='google.ads.google_ads.v4.proto.enums.matching_function_operator_pb2', + MaximizeConversionValue='google.ads.google_ads.v4.proto.common.bidding_pb2', + MaximizeConversions='google.ads.google_ads.v4.proto.common.bidding_pb2', + MediaAudio='google.ads.google_ads.v4.proto.resources.media_file_pb2', + MediaBundle='google.ads.google_ads.v4.proto.resources.media_file_pb2', + MediaBundleAsset='google.ads.google_ads.v4.proto.common.asset_types_pb2', + MediaBundleErrorEnum='google.ads.google_ads.v4.proto.errors.media_bundle_error_pb2', + MediaFile='google.ads.google_ads.v4.proto.resources.media_file_pb2', + MediaFileErrorEnum='google.ads.google_ads.v4.proto.errors.media_file_error_pb2', + MediaFileOperation='google.ads.google_ads.v4.proto.services.media_file_service_pb2', + MediaImage='google.ads.google_ads.v4.proto.resources.media_file_pb2', + MediaTypeEnum='google.ads.google_ads.v4.proto.enums.media_type_pb2', + MediaUploadErrorEnum='google.ads.google_ads.v4.proto.errors.media_upload_error_pb2', + MediaVideo='google.ads.google_ads.v4.proto.resources.media_file_pb2', + MerchantCenterLink='google.ads.google_ads.v4.proto.resources.merchant_center_link_pb2', + MerchantCenterLinkOperation='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + MerchantCenterLinkStatusEnum='google.ads.google_ads.v4.proto.enums.merchant_center_link_status_pb2', + MessagePlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.message_placeholder_field_pb2', + Metrics='google.ads.google_ads.v4.proto.common.metrics_pb2', + MimeTypeEnum='google.ads.google_ads.v4.proto.enums.mime_type_pb2', + MinuteOfHourEnum='google.ads.google_ads.v4.proto.enums.minute_of_hour_pb2', + MobileAppCategoryConstant='google.ads.google_ads.v4.proto.resources.mobile_app_category_constant_pb2', + MobileAppCategoryInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + MobileAppVendorEnum='google.ads.google_ads.v4.proto.enums.mobile_app_vendor_pb2', + MobileApplicationInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + MobileDeviceConstant='google.ads.google_ads.v4.proto.resources.mobile_device_constant_pb2', + MobileDeviceInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + MobileDeviceTypeEnum='google.ads.google_ads.v4.proto.enums.mobile_device_type_pb2', + Money='google.ads.google_ads.v4.proto.common.feed_common_pb2', + MonthOfYearEnum='google.ads.google_ads.v4.proto.enums.month_of_year_pb2', + MonthlySearchVolume='google.ads.google_ads.v4.proto.common.keyword_plan_common_pb2', + MoveManagerLinkRequest='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + MoveManagerLinkResponse='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + MultiplierErrorEnum='google.ads.google_ads.v4.proto.errors.multiplier_error_pb2', + MutateAccountBudgetProposalRequest='google.ads.google_ads.v4.proto.services.account_budget_proposal_service_pb2', + MutateAccountBudgetProposalResponse='google.ads.google_ads.v4.proto.services.account_budget_proposal_service_pb2', + MutateAccountBudgetProposalResult='google.ads.google_ads.v4.proto.services.account_budget_proposal_service_pb2', + MutateAccountLinkRequest='google.ads.google_ads.v4.proto.services.account_link_service_pb2', + MutateAccountLinkResponse='google.ads.google_ads.v4.proto.services.account_link_service_pb2', + MutateAccountLinkResult='google.ads.google_ads.v4.proto.services.account_link_service_pb2', + MutateAdGroupAdLabelResult='google.ads.google_ads.v4.proto.services.ad_group_ad_label_service_pb2', + MutateAdGroupAdLabelsRequest='google.ads.google_ads.v4.proto.services.ad_group_ad_label_service_pb2', + MutateAdGroupAdLabelsResponse='google.ads.google_ads.v4.proto.services.ad_group_ad_label_service_pb2', + MutateAdGroupAdResult='google.ads.google_ads.v4.proto.services.ad_group_ad_service_pb2', + MutateAdGroupAdsRequest='google.ads.google_ads.v4.proto.services.ad_group_ad_service_pb2', + MutateAdGroupAdsResponse='google.ads.google_ads.v4.proto.services.ad_group_ad_service_pb2', + MutateAdGroupBidModifierResult='google.ads.google_ads.v4.proto.services.ad_group_bid_modifier_service_pb2', + MutateAdGroupBidModifiersRequest='google.ads.google_ads.v4.proto.services.ad_group_bid_modifier_service_pb2', + MutateAdGroupBidModifiersResponse='google.ads.google_ads.v4.proto.services.ad_group_bid_modifier_service_pb2', + MutateAdGroupCriteriaRequest='google.ads.google_ads.v4.proto.services.ad_group_criterion_service_pb2', + MutateAdGroupCriteriaResponse='google.ads.google_ads.v4.proto.services.ad_group_criterion_service_pb2', + MutateAdGroupCriterionLabelResult='google.ads.google_ads.v4.proto.services.ad_group_criterion_label_service_pb2', + MutateAdGroupCriterionLabelsRequest='google.ads.google_ads.v4.proto.services.ad_group_criterion_label_service_pb2', + MutateAdGroupCriterionLabelsResponse='google.ads.google_ads.v4.proto.services.ad_group_criterion_label_service_pb2', + MutateAdGroupCriterionResult='google.ads.google_ads.v4.proto.services.ad_group_criterion_service_pb2', + MutateAdGroupExtensionSettingResult='google.ads.google_ads.v4.proto.services.ad_group_extension_setting_service_pb2', + MutateAdGroupExtensionSettingsRequest='google.ads.google_ads.v4.proto.services.ad_group_extension_setting_service_pb2', + MutateAdGroupExtensionSettingsResponse='google.ads.google_ads.v4.proto.services.ad_group_extension_setting_service_pb2', + MutateAdGroupFeedResult='google.ads.google_ads.v4.proto.services.ad_group_feed_service_pb2', + MutateAdGroupFeedsRequest='google.ads.google_ads.v4.proto.services.ad_group_feed_service_pb2', + MutateAdGroupFeedsResponse='google.ads.google_ads.v4.proto.services.ad_group_feed_service_pb2', + MutateAdGroupLabelResult='google.ads.google_ads.v4.proto.services.ad_group_label_service_pb2', + MutateAdGroupLabelsRequest='google.ads.google_ads.v4.proto.services.ad_group_label_service_pb2', + MutateAdGroupLabelsResponse='google.ads.google_ads.v4.proto.services.ad_group_label_service_pb2', + MutateAdGroupResult='google.ads.google_ads.v4.proto.services.ad_group_service_pb2', + MutateAdGroupsRequest='google.ads.google_ads.v4.proto.services.ad_group_service_pb2', + MutateAdGroupsResponse='google.ads.google_ads.v4.proto.services.ad_group_service_pb2', + MutateAdParameterResult='google.ads.google_ads.v4.proto.services.ad_parameter_service_pb2', + MutateAdParametersRequest='google.ads.google_ads.v4.proto.services.ad_parameter_service_pb2', + MutateAdParametersResponse='google.ads.google_ads.v4.proto.services.ad_parameter_service_pb2', + MutateAdResult='google.ads.google_ads.v4.proto.services.ad_service_pb2', + MutateAdsRequest='google.ads.google_ads.v4.proto.services.ad_service_pb2', + MutateAdsResponse='google.ads.google_ads.v4.proto.services.ad_service_pb2', + MutateAssetResult='google.ads.google_ads.v4.proto.services.asset_service_pb2', + MutateAssetsRequest='google.ads.google_ads.v4.proto.services.asset_service_pb2', + MutateAssetsResponse='google.ads.google_ads.v4.proto.services.asset_service_pb2', + MutateBatchJobRequest='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + MutateBatchJobResponse='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + MutateBatchJobResult='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + MutateBiddingStrategiesRequest='google.ads.google_ads.v4.proto.services.bidding_strategy_service_pb2', + MutateBiddingStrategiesResponse='google.ads.google_ads.v4.proto.services.bidding_strategy_service_pb2', + MutateBiddingStrategyResult='google.ads.google_ads.v4.proto.services.bidding_strategy_service_pb2', + MutateBillingSetupRequest='google.ads.google_ads.v4.proto.services.billing_setup_service_pb2', + MutateBillingSetupResponse='google.ads.google_ads.v4.proto.services.billing_setup_service_pb2', + MutateBillingSetupResult='google.ads.google_ads.v4.proto.services.billing_setup_service_pb2', + MutateCampaignBidModifierResult='google.ads.google_ads.v4.proto.services.campaign_bid_modifier_service_pb2', + MutateCampaignBidModifiersRequest='google.ads.google_ads.v4.proto.services.campaign_bid_modifier_service_pb2', + MutateCampaignBidModifiersResponse='google.ads.google_ads.v4.proto.services.campaign_bid_modifier_service_pb2', + MutateCampaignBudgetResult='google.ads.google_ads.v4.proto.services.campaign_budget_service_pb2', + MutateCampaignBudgetsRequest='google.ads.google_ads.v4.proto.services.campaign_budget_service_pb2', + MutateCampaignBudgetsResponse='google.ads.google_ads.v4.proto.services.campaign_budget_service_pb2', + MutateCampaignCriteriaRequest='google.ads.google_ads.v4.proto.services.campaign_criterion_service_pb2', + MutateCampaignCriteriaResponse='google.ads.google_ads.v4.proto.services.campaign_criterion_service_pb2', + MutateCampaignCriterionResult='google.ads.google_ads.v4.proto.services.campaign_criterion_service_pb2', + MutateCampaignDraftResult='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + MutateCampaignDraftsRequest='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + MutateCampaignDraftsResponse='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + MutateCampaignExperimentResult='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + MutateCampaignExperimentsRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + MutateCampaignExperimentsResponse='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + MutateCampaignExtensionSettingResult='google.ads.google_ads.v4.proto.services.campaign_extension_setting_service_pb2', + MutateCampaignExtensionSettingsRequest='google.ads.google_ads.v4.proto.services.campaign_extension_setting_service_pb2', + MutateCampaignExtensionSettingsResponse='google.ads.google_ads.v4.proto.services.campaign_extension_setting_service_pb2', + MutateCampaignFeedResult='google.ads.google_ads.v4.proto.services.campaign_feed_service_pb2', + MutateCampaignFeedsRequest='google.ads.google_ads.v4.proto.services.campaign_feed_service_pb2', + MutateCampaignFeedsResponse='google.ads.google_ads.v4.proto.services.campaign_feed_service_pb2', + MutateCampaignLabelResult='google.ads.google_ads.v4.proto.services.campaign_label_service_pb2', + MutateCampaignLabelsRequest='google.ads.google_ads.v4.proto.services.campaign_label_service_pb2', + MutateCampaignLabelsResponse='google.ads.google_ads.v4.proto.services.campaign_label_service_pb2', + MutateCampaignResult='google.ads.google_ads.v4.proto.services.campaign_service_pb2', + MutateCampaignSharedSetResult='google.ads.google_ads.v4.proto.services.campaign_shared_set_service_pb2', + MutateCampaignSharedSetsRequest='google.ads.google_ads.v4.proto.services.campaign_shared_set_service_pb2', + MutateCampaignSharedSetsResponse='google.ads.google_ads.v4.proto.services.campaign_shared_set_service_pb2', + MutateCampaignsRequest='google.ads.google_ads.v4.proto.services.campaign_service_pb2', + MutateCampaignsResponse='google.ads.google_ads.v4.proto.services.campaign_service_pb2', + MutateConversionActionResult='google.ads.google_ads.v4.proto.services.conversion_action_service_pb2', + MutateConversionActionsRequest='google.ads.google_ads.v4.proto.services.conversion_action_service_pb2', + MutateConversionActionsResponse='google.ads.google_ads.v4.proto.services.conversion_action_service_pb2', + MutateCustomInterestResult='google.ads.google_ads.v4.proto.services.custom_interest_service_pb2', + MutateCustomInterestsRequest='google.ads.google_ads.v4.proto.services.custom_interest_service_pb2', + MutateCustomInterestsResponse='google.ads.google_ads.v4.proto.services.custom_interest_service_pb2', + MutateCustomerClientLinkRequest='google.ads.google_ads.v4.proto.services.customer_client_link_service_pb2', + MutateCustomerClientLinkResponse='google.ads.google_ads.v4.proto.services.customer_client_link_service_pb2', + MutateCustomerClientLinkResult='google.ads.google_ads.v4.proto.services.customer_client_link_service_pb2', + MutateCustomerExtensionSettingResult='google.ads.google_ads.v4.proto.services.customer_extension_setting_service_pb2', + MutateCustomerExtensionSettingsRequest='google.ads.google_ads.v4.proto.services.customer_extension_setting_service_pb2', + MutateCustomerExtensionSettingsResponse='google.ads.google_ads.v4.proto.services.customer_extension_setting_service_pb2', + MutateCustomerFeedResult='google.ads.google_ads.v4.proto.services.customer_feed_service_pb2', + MutateCustomerFeedsRequest='google.ads.google_ads.v4.proto.services.customer_feed_service_pb2', + MutateCustomerFeedsResponse='google.ads.google_ads.v4.proto.services.customer_feed_service_pb2', + MutateCustomerLabelResult='google.ads.google_ads.v4.proto.services.customer_label_service_pb2', + MutateCustomerLabelsRequest='google.ads.google_ads.v4.proto.services.customer_label_service_pb2', + MutateCustomerLabelsResponse='google.ads.google_ads.v4.proto.services.customer_label_service_pb2', + MutateCustomerManagerLinkRequest='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + MutateCustomerManagerLinkResponse='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + MutateCustomerManagerLinkResult='google.ads.google_ads.v4.proto.services.customer_manager_link_service_pb2', + MutateCustomerNegativeCriteriaRequest='google.ads.google_ads.v4.proto.services.customer_negative_criterion_service_pb2', + MutateCustomerNegativeCriteriaResponse='google.ads.google_ads.v4.proto.services.customer_negative_criterion_service_pb2', + MutateCustomerNegativeCriteriaResult='google.ads.google_ads.v4.proto.services.customer_negative_criterion_service_pb2', + MutateCustomerRequest='google.ads.google_ads.v4.proto.services.customer_service_pb2', + MutateCustomerResponse='google.ads.google_ads.v4.proto.services.customer_service_pb2', + MutateCustomerResult='google.ads.google_ads.v4.proto.services.customer_service_pb2', + MutateErrorEnum='google.ads.google_ads.v4.proto.errors.mutate_error_pb2', + MutateExtensionFeedItemResult='google.ads.google_ads.v4.proto.services.extension_feed_item_service_pb2', + MutateExtensionFeedItemsRequest='google.ads.google_ads.v4.proto.services.extension_feed_item_service_pb2', + MutateExtensionFeedItemsResponse='google.ads.google_ads.v4.proto.services.extension_feed_item_service_pb2', + MutateFeedItemResult='google.ads.google_ads.v4.proto.services.feed_item_service_pb2', + MutateFeedItemTargetResult='google.ads.google_ads.v4.proto.services.feed_item_target_service_pb2', + MutateFeedItemTargetsRequest='google.ads.google_ads.v4.proto.services.feed_item_target_service_pb2', + MutateFeedItemTargetsResponse='google.ads.google_ads.v4.proto.services.feed_item_target_service_pb2', + MutateFeedItemsRequest='google.ads.google_ads.v4.proto.services.feed_item_service_pb2', + MutateFeedItemsResponse='google.ads.google_ads.v4.proto.services.feed_item_service_pb2', + MutateFeedMappingResult='google.ads.google_ads.v4.proto.services.feed_mapping_service_pb2', + MutateFeedMappingsRequest='google.ads.google_ads.v4.proto.services.feed_mapping_service_pb2', + MutateFeedMappingsResponse='google.ads.google_ads.v4.proto.services.feed_mapping_service_pb2', + MutateFeedResult='google.ads.google_ads.v4.proto.services.feed_service_pb2', + MutateFeedsRequest='google.ads.google_ads.v4.proto.services.feed_service_pb2', + MutateFeedsResponse='google.ads.google_ads.v4.proto.services.feed_service_pb2', + MutateGoogleAdsRequest='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + MutateGoogleAdsResponse='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + MutateKeywordPlanAdGroupKeywordResult='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_keyword_service_pb2', + MutateKeywordPlanAdGroupKeywordsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_keyword_service_pb2', + MutateKeywordPlanAdGroupKeywordsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_keyword_service_pb2', + MutateKeywordPlanAdGroupResult='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_service_pb2', + MutateKeywordPlanAdGroupsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_service_pb2', + MutateKeywordPlanAdGroupsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_ad_group_service_pb2', + MutateKeywordPlanCampaignKeywordResult='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_keyword_service_pb2', + MutateKeywordPlanCampaignKeywordsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_keyword_service_pb2', + MutateKeywordPlanCampaignKeywordsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_keyword_service_pb2', + MutateKeywordPlanCampaignResult='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_service_pb2', + MutateKeywordPlanCampaignsRequest='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_service_pb2', + MutateKeywordPlanCampaignsResponse='google.ads.google_ads.v4.proto.services.keyword_plan_campaign_service_pb2', + MutateKeywordPlansRequest='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + MutateKeywordPlansResponse='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + MutateKeywordPlansResult='google.ads.google_ads.v4.proto.services.keyword_plan_service_pb2', + MutateLabelResult='google.ads.google_ads.v4.proto.services.label_service_pb2', + MutateLabelsRequest='google.ads.google_ads.v4.proto.services.label_service_pb2', + MutateLabelsResponse='google.ads.google_ads.v4.proto.services.label_service_pb2', + MutateMediaFileResult='google.ads.google_ads.v4.proto.services.media_file_service_pb2', + MutateMediaFilesRequest='google.ads.google_ads.v4.proto.services.media_file_service_pb2', + MutateMediaFilesResponse='google.ads.google_ads.v4.proto.services.media_file_service_pb2', + MutateMerchantCenterLinkRequest='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + MutateMerchantCenterLinkResponse='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + MutateMerchantCenterLinkResult='google.ads.google_ads.v4.proto.services.merchant_center_link_service_pb2', + MutateOperation='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + MutateOperationResponse='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + MutateRemarketingActionResult='google.ads.google_ads.v4.proto.services.remarketing_action_service_pb2', + MutateRemarketingActionsRequest='google.ads.google_ads.v4.proto.services.remarketing_action_service_pb2', + MutateRemarketingActionsResponse='google.ads.google_ads.v4.proto.services.remarketing_action_service_pb2', + MutateSharedCriteriaRequest='google.ads.google_ads.v4.proto.services.shared_criterion_service_pb2', + MutateSharedCriteriaResponse='google.ads.google_ads.v4.proto.services.shared_criterion_service_pb2', + MutateSharedCriterionResult='google.ads.google_ads.v4.proto.services.shared_criterion_service_pb2', + MutateSharedSetResult='google.ads.google_ads.v4.proto.services.shared_set_service_pb2', + MutateSharedSetsRequest='google.ads.google_ads.v4.proto.services.shared_set_service_pb2', + MutateSharedSetsResponse='google.ads.google_ads.v4.proto.services.shared_set_service_pb2', + MutateUserListResult='google.ads.google_ads.v4.proto.services.user_list_service_pb2', + MutateUserListsRequest='google.ads.google_ads.v4.proto.services.user_list_service_pb2', + MutateUserListsResponse='google.ads.google_ads.v4.proto.services.user_list_service_pb2', + NegativeGeoTargetTypeEnum='google.ads.google_ads.v4.proto.enums.negative_geo_target_type_pb2', + NewResourceCreationErrorEnum='google.ads.google_ads.v4.proto.errors.new_resource_creation_error_pb2', + NotEmptyErrorEnum='google.ads.google_ads.v4.proto.errors.not_empty_error_pb2', + NotWhitelistedErrorEnum='google.ads.google_ads.v4.proto.errors.not_whitelisted_error_pb2', + NullErrorEnum='google.ads.google_ads.v4.proto.errors.null_error_pb2', + OfflineUserAddressInfo='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + OfflineUserDataJob='google.ads.google_ads.v4.proto.resources.offline_user_data_job_pb2', + OfflineUserDataJobErrorEnum='google.ads.google_ads.v4.proto.errors.offline_user_data_job_error_pb2', + OfflineUserDataJobFailureReasonEnum='google.ads.google_ads.v4.proto.enums.offline_user_data_job_failure_reason_pb2', + OfflineUserDataJobOperation='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + OfflineUserDataJobStatusEnum='google.ads.google_ads.v4.proto.enums.offline_user_data_job_status_pb2', + OfflineUserDataJobTypeEnum='google.ads.google_ads.v4.proto.enums.offline_user_data_job_type_pb2', + OnTargetAudienceMetrics='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + Operand='google.ads.google_ads.v4.proto.common.matching_function_pb2', + OperatingSystemVersionConstant='google.ads.google_ads.v4.proto.resources.operating_system_version_constant_pb2', + OperatingSystemVersionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + OperatingSystemVersionOperatorTypeEnum='google.ads.google_ads.v4.proto.enums.operating_system_version_operator_type_pb2', + OperationAccessDeniedErrorEnum='google.ads.google_ads.v4.proto.errors.operation_access_denied_error_pb2', + OperatorErrorEnum='google.ads.google_ads.v4.proto.errors.operator_error_pb2', + OptimizationGoalTypeEnum='google.ads.google_ads.v4.proto.enums.optimization_goal_type_pb2', + PaidOrganicSearchTermView='google.ads.google_ads.v4.proto.resources.paid_organic_search_term_view_pb2', + ParentalStatusInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ParentalStatusTypeEnum='google.ads.google_ads.v4.proto.enums.parental_status_type_pb2', + ParentalStatusView='google.ads.google_ads.v4.proto.resources.parental_status_view_pb2', + PartialFailureErrorEnum='google.ads.google_ads.v4.proto.errors.partial_failure_error_pb2', + PaymentModeEnum='google.ads.google_ads.v4.proto.enums.payment_mode_pb2', + PaymentsAccount='google.ads.google_ads.v4.proto.resources.payments_account_pb2', + PaymentsAccountErrorEnum='google.ads.google_ads.v4.proto.errors.payments_account_error_pb2', + PercentCpc='google.ads.google_ads.v4.proto.common.bidding_pb2', + PlaceholderTypeEnum='google.ads.google_ads.v4.proto.enums.placeholder_type_pb2', + PlacementInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + PlacementTypeEnum='google.ads.google_ads.v4.proto.enums.placement_type_pb2', + PlannableLocation='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + PlannableTargeting='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + PlannedProduct='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + PolicyApprovalStatusEnum='google.ads.google_ads.v4.proto.enums.policy_approval_status_pb2', + PolicyFindingDetails='google.ads.google_ads.v4.proto.errors.errors_pb2', + PolicyFindingErrorEnum='google.ads.google_ads.v4.proto.errors.policy_finding_error_pb2', + PolicyReviewStatusEnum='google.ads.google_ads.v4.proto.enums.policy_review_status_pb2', + PolicyTopicConstraint='google.ads.google_ads.v4.proto.common.policy_pb2', + PolicyTopicEntry='google.ads.google_ads.v4.proto.common.policy_pb2', + PolicyTopicEntryTypeEnum='google.ads.google_ads.v4.proto.enums.policy_topic_entry_type_pb2', + PolicyTopicEvidence='google.ads.google_ads.v4.proto.common.policy_pb2', + PolicyTopicEvidenceDestinationMismatchUrlTypeEnum='google.ads.google_ads.v4.proto.enums.policy_topic_evidence_destination_mismatch_url_type_pb2', + PolicyTopicEvidenceDestinationNotWorkingDeviceEnum='google.ads.google_ads.v4.proto.enums.policy_topic_evidence_destination_not_working_device_pb2', + PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum='google.ads.google_ads.v4.proto.enums.policy_topic_evidence_destination_not_working_dns_error_type_pb2', + PolicyValidationParameter='google.ads.google_ads.v4.proto.common.policy_pb2', + PolicyValidationParameterErrorEnum='google.ads.google_ads.v4.proto.errors.policy_validation_parameter_error_pb2', + PolicyViolationDetails='google.ads.google_ads.v4.proto.errors.errors_pb2', + PolicyViolationErrorEnum='google.ads.google_ads.v4.proto.errors.policy_violation_error_pb2', + PolicyViolationKey='google.ads.google_ads.v4.proto.common.policy_pb2', + PositiveGeoTargetTypeEnum='google.ads.google_ads.v4.proto.enums.positive_geo_target_type_pb2', + Preferences='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + PreferredContentInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + PreferredContentTypeEnum='google.ads.google_ads.v4.proto.enums.preferred_content_type_pb2', + PriceExtensionPriceQualifierEnum='google.ads.google_ads.v4.proto.enums.price_extension_price_qualifier_pb2', + PriceExtensionPriceUnitEnum='google.ads.google_ads.v4.proto.enums.price_extension_price_unit_pb2', + PriceExtensionTypeEnum='google.ads.google_ads.v4.proto.enums.price_extension_type_pb2', + PriceFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + PriceOffer='google.ads.google_ads.v4.proto.common.extensions_pb2', + PricePlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.price_placeholder_field_pb2', + ProductAllocation='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ProductBiddingCategoryConstant='google.ads.google_ads.v4.proto.resources.product_bidding_category_constant_pb2', + ProductBiddingCategoryInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductBiddingCategoryLevelEnum='google.ads.google_ads.v4.proto.enums.product_bidding_category_level_pb2', + ProductBiddingCategoryStatusEnum='google.ads.google_ads.v4.proto.enums.product_bidding_category_status_pb2', + ProductBrandInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductChannelEnum='google.ads.google_ads.v4.proto.enums.product_channel_pb2', + ProductChannelExclusivityEnum='google.ads.google_ads.v4.proto.enums.product_channel_exclusivity_pb2', + ProductChannelExclusivityInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductChannelInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductConditionEnum='google.ads.google_ads.v4.proto.enums.product_condition_pb2', + ProductConditionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductCustomAttributeIndexEnum='google.ads.google_ads.v4.proto.enums.product_custom_attribute_index_pb2', + ProductCustomAttributeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductGroupView='google.ads.google_ads.v4.proto.resources.product_group_view_pb2', + ProductImage='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ProductItemIdInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductMetadata='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ProductTypeInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProductTypeLevelEnum='google.ads.google_ads.v4.proto.enums.product_type_level_pb2', + ProductVideo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + PromoteCampaignDraftRequest='google.ads.google_ads.v4.proto.services.campaign_draft_service_pb2', + PromoteCampaignExperimentRequest='google.ads.google_ads.v4.proto.services.campaign_experiment_service_pb2', + PromotionExtensionDiscountModifierEnum='google.ads.google_ads.v4.proto.enums.promotion_extension_discount_modifier_pb2', + PromotionExtensionOccasionEnum='google.ads.google_ads.v4.proto.enums.promotion_extension_occasion_pb2', + PromotionFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + PromotionPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.promotion_placeholder_field_pb2', + ProximityInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + ProximityRadiusUnitsEnum='google.ads.google_ads.v4.proto.enums.proximity_radius_units_pb2', + QualityScoreBucketEnum='google.ads.google_ads.v4.proto.enums.quality_score_bucket_pb2', + QueryErrorEnum='google.ads.google_ads.v4.proto.errors.query_error_pb2', + QuotaErrorEnum='google.ads.google_ads.v4.proto.errors.quota_error_pb2', + RangeErrorEnum='google.ads.google_ads.v4.proto.errors.range_error_pb2', + ReachCurve='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ReachForecast='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + ReachPlanAdLengthEnum='google.ads.google_ads.v4.proto.enums.reach_plan_ad_length_pb2', + ReachPlanAgeRangeEnum='google.ads.google_ads.v4.proto.enums.reach_plan_age_range_pb2', + ReachPlanErrorEnum='google.ads.google_ads.v4.proto.errors.reach_plan_error_pb2', + ReachPlanNetworkEnum='google.ads.google_ads.v4.proto.enums.reach_plan_network_pb2', + RealEstatePlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.real_estate_placeholder_field_pb2', + RealTimeBiddingSetting='google.ads.google_ads.v4.proto.common.real_time_bidding_setting_pb2', + Recommendation='google.ads.google_ads.v4.proto.resources.recommendation_pb2', + RecommendationErrorEnum='google.ads.google_ads.v4.proto.errors.recommendation_error_pb2', + RecommendationTypeEnum='google.ads.google_ads.v4.proto.enums.recommendation_type_pb2', + RegionCodeErrorEnum='google.ads.google_ads.v4.proto.errors.region_code_error_pb2', + RemarketingAction='google.ads.google_ads.v4.proto.resources.remarketing_action_pb2', + RemarketingActionOperation='google.ads.google_ads.v4.proto.services.remarketing_action_service_pb2', + RemarketingSetting='google.ads.google_ads.v4.proto.resources.customer_pb2', + RequestErrorEnum='google.ads.google_ads.v4.proto.errors.request_error_pb2', + ResourceAccessDeniedErrorEnum='google.ads.google_ads.v4.proto.errors.resource_access_denied_error_pb2', + ResourceCountLimitExceededErrorEnum='google.ads.google_ads.v4.proto.errors.resource_count_limit_exceeded_error_pb2', + ResponsiveDisplayAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ResponsiveSearchAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + RestatementValue='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + RuleBasedUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + RunBatchJobRequest='google.ads.google_ads.v4.proto.services.batch_job_service_pb2', + RunOfflineUserDataJobRequest='google.ads.google_ads.v4.proto.services.offline_user_data_job_service_pb2', + SearchEngineResultsPageTypeEnum='google.ads.google_ads.v4.proto.enums.search_engine_results_page_type_pb2', + SearchGoogleAdsFieldsRequest='google.ads.google_ads.v4.proto.services.google_ads_field_service_pb2', + SearchGoogleAdsFieldsResponse='google.ads.google_ads.v4.proto.services.google_ads_field_service_pb2', + SearchGoogleAdsRequest='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + SearchGoogleAdsResponse='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + SearchGoogleAdsStreamRequest='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + SearchGoogleAdsStreamResponse='google.ads.google_ads.v4.proto.services.google_ads_service_pb2', + SearchTermMatchTypeEnum='google.ads.google_ads.v4.proto.enums.search_term_match_type_pb2', + SearchTermTargetingStatusEnum='google.ads.google_ads.v4.proto.enums.search_term_targeting_status_pb2', + SearchTermView='google.ads.google_ads.v4.proto.resources.search_term_view_pb2', + Segments='google.ads.google_ads.v4.proto.common.segments_pb2', + ServedAssetFieldTypeEnum='google.ads.google_ads.v4.proto.enums.served_asset_field_type_pb2', + SettingErrorEnum='google.ads.google_ads.v4.proto.errors.setting_error_pb2', + SharedCriterion='google.ads.google_ads.v4.proto.resources.shared_criterion_pb2', + SharedCriterionErrorEnum='google.ads.google_ads.v4.proto.errors.shared_criterion_error_pb2', + SharedCriterionOperation='google.ads.google_ads.v4.proto.services.shared_criterion_service_pb2', + SharedSet='google.ads.google_ads.v4.proto.resources.shared_set_pb2', + SharedSetErrorEnum='google.ads.google_ads.v4.proto.errors.shared_set_error_pb2', + SharedSetOperation='google.ads.google_ads.v4.proto.services.shared_set_service_pb2', + SharedSetStatusEnum='google.ads.google_ads.v4.proto.enums.shared_set_status_pb2', + SharedSetTypeEnum='google.ads.google_ads.v4.proto.enums.shared_set_type_pb2', + ShoppingComparisonListingAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ShoppingPerformanceView='google.ads.google_ads.v4.proto.resources.shopping_performance_view_pb2', + ShoppingProductAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + ShoppingSmartAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + SimilarUserListInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + SimulationModificationMethodEnum='google.ads.google_ads.v4.proto.enums.simulation_modification_method_pb2', + SimulationTypeEnum='google.ads.google_ads.v4.proto.enums.simulation_type_pb2', + SiteSeed='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + SitelinkFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + SitelinkPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.sitelink_placeholder_field_pb2', + SizeLimitErrorEnum='google.ads.google_ads.v4.proto.errors.size_limit_error_pb2', + SlotEnum='google.ads.google_ads.v4.proto.enums.slot_pb2', + SpendingLimitTypeEnum='google.ads.google_ads.v4.proto.enums.spending_limit_type_pb2', + StoreAttribute='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + StoreSalesMetadata='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + StoreSalesThirdPartyMetadata='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + StringFormatErrorEnum='google.ads.google_ads.v4.proto.errors.string_format_error_pb2', + StringLengthErrorEnum='google.ads.google_ads.v4.proto.errors.string_length_error_pb2', + StructuredSnippetFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + StructuredSnippetPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.structured_snippet_placeholder_field_pb2', + SuggestGeoTargetConstantsRequest='google.ads.google_ads.v4.proto.services.geo_target_constant_service_pb2', + SuggestGeoTargetConstantsResponse='google.ads.google_ads.v4.proto.services.geo_target_constant_service_pb2', + SummaryRowSettingEnum='google.ads.google_ads.v4.proto.enums.summary_row_setting_pb2', + SystemManagedResourceSourceEnum='google.ads.google_ads.v4.proto.enums.system_managed_entity_source_pb2', + TagSnippet='google.ads.google_ads.v4.proto.common.tag_snippet_pb2', + TargetCpa='google.ads.google_ads.v4.proto.common.bidding_pb2', + TargetCpaOptInRecommendationGoalEnum='google.ads.google_ads.v4.proto.enums.target_cpa_opt_in_recommendation_goal_pb2', + TargetCpaSimulationPoint='google.ads.google_ads.v4.proto.common.simulation_pb2', + TargetCpaSimulationPointList='google.ads.google_ads.v4.proto.common.simulation_pb2', + TargetCpm='google.ads.google_ads.v4.proto.common.bidding_pb2', + TargetImpressionShare='google.ads.google_ads.v4.proto.common.bidding_pb2', + TargetImpressionShareLocationEnum='google.ads.google_ads.v4.proto.enums.target_impression_share_location_pb2', + TargetRestriction='google.ads.google_ads.v4.proto.common.targeting_setting_pb2', + TargetRestrictionOperation='google.ads.google_ads.v4.proto.common.targeting_setting_pb2', + TargetRoas='google.ads.google_ads.v4.proto.common.bidding_pb2', + TargetRoasSimulationPoint='google.ads.google_ads.v4.proto.common.simulation_pb2', + TargetRoasSimulationPointList='google.ads.google_ads.v4.proto.common.simulation_pb2', + TargetSpend='google.ads.google_ads.v4.proto.common.bidding_pb2', + Targeting='google.ads.google_ads.v4.proto.services.reach_plan_service_pb2', + TargetingDimensionEnum='google.ads.google_ads.v4.proto.enums.targeting_dimension_pb2', + TargetingSetting='google.ads.google_ads.v4.proto.common.targeting_setting_pb2', + TextAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + TextAsset='google.ads.google_ads.v4.proto.common.asset_types_pb2', + TextLabel='google.ads.google_ads.v4.proto.common.text_label_pb2', + TextMessageFeedItem='google.ads.google_ads.v4.proto.common.extensions_pb2', + ThirdPartyAppAnalyticsLink='google.ads.google_ads.v4.proto.resources.third_party_app_analytics_link_pb2', + ThirdPartyAppAnalyticsLinkIdentifier='google.ads.google_ads.v4.proto.resources.account_link_pb2', + TimeTypeEnum='google.ads.google_ads.v4.proto.enums.time_type_pb2', + TimeZoneErrorEnum='google.ads.google_ads.v4.proto.errors.time_zone_error_pb2', + TopicConstant='google.ads.google_ads.v4.proto.resources.topic_constant_pb2', + TopicInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + TopicView='google.ads.google_ads.v4.proto.resources.topic_view_pb2', + TrackingCodePageFormatEnum='google.ads.google_ads.v4.proto.enums.tracking_code_page_format_pb2', + TrackingCodeTypeEnum='google.ads.google_ads.v4.proto.enums.tracking_code_type_pb2', + TransactionAttribute='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + TravelPlaceholderFieldEnum='google.ads.google_ads.v4.proto.enums.travel_placeholder_field_pb2', + UnknownListingDimensionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + UploadCallConversionsRequest='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + UploadCallConversionsResponse='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + UploadClickConversionsRequest='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + UploadClickConversionsResponse='google.ads.google_ads.v4.proto.services.conversion_upload_service_pb2', + UploadConversionAdjustmentsRequest='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + UploadConversionAdjustmentsResponse='google.ads.google_ads.v4.proto.services.conversion_adjustment_upload_service_pb2', + UploadUserDataRequest='google.ads.google_ads.v4.proto.services.user_data_service_pb2', + UploadUserDataResponse='google.ads.google_ads.v4.proto.services.user_data_service_pb2', + UrlCollection='google.ads.google_ads.v4.proto.common.url_collection_pb2', + UrlFieldErrorEnum='google.ads.google_ads.v4.proto.errors.url_field_error_pb2', + UrlSeed='google.ads.google_ads.v4.proto.services.keyword_plan_idea_service_pb2', + UserData='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + UserDataErrorEnum='google.ads.google_ads.v4.proto.errors.user_data_error_pb2', + UserDataOperation='google.ads.google_ads.v4.proto.services.user_data_service_pb2', + UserIdentifier='google.ads.google_ads.v4.proto.common.offline_user_data_pb2', + UserInterest='google.ads.google_ads.v4.proto.resources.user_interest_pb2', + UserInterestInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + UserInterestTaxonomyTypeEnum='google.ads.google_ads.v4.proto.enums.user_interest_taxonomy_type_pb2', + UserList='google.ads.google_ads.v4.proto.resources.user_list_pb2', + UserListAccessStatusEnum='google.ads.google_ads.v4.proto.enums.user_list_access_status_pb2', + UserListActionInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListClosingReasonEnum='google.ads.google_ads.v4.proto.enums.user_list_closing_reason_pb2', + UserListCombinedRuleOperatorEnum='google.ads.google_ads.v4.proto.enums.user_list_combined_rule_operator_pb2', + UserListCrmDataSourceTypeEnum='google.ads.google_ads.v4.proto.enums.user_list_crm_data_source_type_pb2', + UserListDateRuleItemInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListDateRuleItemOperatorEnum='google.ads.google_ads.v4.proto.enums.user_list_date_rule_item_operator_pb2', + UserListErrorEnum='google.ads.google_ads.v4.proto.errors.user_list_error_pb2', + UserListInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + UserListLogicalRuleInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListLogicalRuleOperatorEnum='google.ads.google_ads.v4.proto.enums.user_list_logical_rule_operator_pb2', + UserListMembershipStatusEnum='google.ads.google_ads.v4.proto.enums.user_list_membership_status_pb2', + UserListNumberRuleItemInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListNumberRuleItemOperatorEnum='google.ads.google_ads.v4.proto.enums.user_list_number_rule_item_operator_pb2', + UserListOperation='google.ads.google_ads.v4.proto.services.user_list_service_pb2', + UserListPrepopulationStatusEnum='google.ads.google_ads.v4.proto.enums.user_list_prepopulation_status_pb2', + UserListRuleInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListRuleItemGroupInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListRuleItemInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListRuleTypeEnum='google.ads.google_ads.v4.proto.enums.user_list_rule_type_pb2', + UserListSizeRangeEnum='google.ads.google_ads.v4.proto.enums.user_list_size_range_pb2', + UserListStringRuleItemInfo='google.ads.google_ads.v4.proto.common.user_lists_pb2', + UserListStringRuleItemOperatorEnum='google.ads.google_ads.v4.proto.enums.user_list_string_rule_item_operator_pb2', + UserListTypeEnum='google.ads.google_ads.v4.proto.enums.user_list_type_pb2', + UserLocationView='google.ads.google_ads.v4.proto.resources.user_location_view_pb2', + Value='google.ads.google_ads.v4.proto.common.value_pb2', + VanityPharmaDisplayUrlModeEnum='google.ads.google_ads.v4.proto.enums.vanity_pharma_display_url_mode_pb2', + VanityPharmaTextEnum='google.ads.google_ads.v4.proto.enums.vanity_pharma_text_pb2', + Video='google.ads.google_ads.v4.proto.resources.video_pb2', + VideoAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + VideoBumperInStreamAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + VideoNonSkippableInStreamAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + VideoOutstreamAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + VideoTrueViewDiscoveryAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + VideoTrueViewInStreamAdInfo='google.ads.google_ads.v4.proto.common.ad_type_infos_pb2', + WebpageConditionInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + WebpageConditionOperandEnum='google.ads.google_ads.v4.proto.enums.webpage_condition_operand_pb2', + WebpageConditionOperatorEnum='google.ads.google_ads.v4.proto.enums.webpage_condition_operator_pb2', + WebpageInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + YouTubeChannelInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + YouTubeVideoInfo='google.ads.google_ads.v4.proto.common.criteria_pb2', + YoutubeVideoAsset='google.ads.google_ads.v4.proto.common.asset_types_pb2', + YoutubeVideoRegistrationErrorEnum='google.ads.google_ads.v4.proto.errors.youtube_video_registration_error_pb2', +) + + +DEPENDENT_MODULE_LIST = [ + 'google.longrunning.operations_pb2', + 'google.protobuf.any_pb2', + 'google.protobuf.empty_pb2', + 'google.protobuf.field_mask_pb2', + 'google.protobuf.wrappers_pb2', + 'google.rpc.status_pb2'] + +def _get_class_from_module(module_name): + module = importlib.import_module(module_name) + for class_name in get_messages(module).keys(): # from inspect module + yield class_name + +def _populate_dependent_classes(module_list = DEPENDENT_MODULE_LIST): + class_list = {} + for module_name in module_list: + for cls in _get_class_from_module(module_name): + class_list[cls] = module_name + return class_list + +_lazy_dependent_class_to_package_map = _populate_dependent_classes() + +def _load_module(module_name): + """Load a module by it's name. + + Args: + module_name: a str of the name of a sub-module to load. + + Returns: + A module class instance. + + Raises: + AttributeError if the given module can't be found. + """ + try: + if module_name in _lazy_name_to_package_map: + module_path = f'{_lazy_name_to_package_map[module_name]}.{module_name}' + else: + module_path = module_name + return importlib.import_module(module_path) + except KeyError: + raise AttributeError(f'unknown sub-module {module_name!r}.') + + +def _get_module_by_name(module_name): + """Get a module containing one or more message classes. + + For example: google.ads.google_ads.v2.proto.services.video_service_pb2. + + Args: + module_name: a str of the name of a module. + + Returns: + a module class instance. + """ + module = _load_module(module_name) + globals()[module_name] = module + + for name, message in get_messages(module).items(): + if name.endswith('_service_pb2'): + message.__module__ = 'google.ads.google_ads.v2.types' + globals()[name] = message + + return module + + +def _get_message_class_by_name(class_name): + """Get a message class instance by name. + + For example: VideoService + + Args: + module_name: a str of the name of a protobuf class to load. + + Returns: + a protobuf message class definition that inherits from + google.protobuf.pyext.cpp_message.GeneratedProtocolMessageType. + """ + if class_name in _lazy_dependent_class_to_package_map: + module_path = _lazy_dependent_class_to_package_map[class_name] + elif class_name in _lazy_class_to_package_map: + module_path = _lazy_class_to_package_map[class_name] + else: + raise AttributeError(f'unknown sub-module {class_name!r}.') + + try: + module = _load_module(module_path) + message = getattr(module, class_name) + except AttributeError: + raise AttributeError(f'unknown message class {class_name!r}.') + + if class_name.endswith('Service'): + message.__module__ = 'google.ads.google_ads.v2.types' + + globals()[class_name] = message + return message + + +# Background on how this behaves: https://www.python.org/dev/peps/pep-0562/ +def __getattr__(name): # Requires Python >= 3.7 + """Lazily perform imports and class definitions on first demand.""" + if name == '__all__': + converted = (util.convert_snake_case_to_upper_case(key) for + key in chain(_lazy_name_to_package_map, + _lazy_class_to_package_map, + _lazy_dependent_class_to_package_map)) + all_names = sorted(converted) + globals()['__all__'] = all_names + return all_names + elif name.endswith('_pb2'): + return _get_module_by_name(name) + elif name.endswith('Pb2'): + module_name = f'{util.convert_upper_case_to_snake_case(name)}' + return _get_module_by_name(module_name) + else: + return _get_message_class_by_name(name) + + +def __dir__(): + return globals().get('__all__') or __getattr__('__all__') diff --git a/setup.py b/setup.py index c68349034..76928b1d3 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ setup( name='google-ads', - version='5.1.0', + version='6.0.0', author='Google LLC', author_email='googleapis-packages@google.com', classifiers=[ diff --git a/tests/client_test.py b/tests/client_test.py index f5338fb66..2a72eaca3 100644 --- a/tests/client_test.py +++ b/tests/client_test.py @@ -360,7 +360,7 @@ def test_get_service(self): # Iterate through retrieval of all service clients by name. for service_name in service_names: - client.get_service(service_name) + client.get_service(service_name, version=ver) def test_get_service_custom_endpoint(self): service_name = 'GoogleAdsService'